/* Sales Page Styles */

:root {
    --primary-color: #1e73be;
    --secondary-color: #f57c00;
    --accent-color: #23c78a;
    --dark-color: #333333;
    --light-color: #f8f9fa;
    --font-family: 'Rubik', sans-serif;
    --black: #0a0a0f;
    --dark-black: #050508;
    --darker: #030305;
    --light-gray: #b0b0bb;
    --lighter-gray: #d8d8e0;
    --light-purple: #9c6dff;
    --pink: #ff6db5;
    --primary: var(--light-purple);
    --primary-light: var(--light-purple);
    --primary-dark: #7d4bdb;
    --secondary: var(--pink);
    --primary-gradient: linear-gradient(45deg, var(--light-purple), var(--pink));
    --header-bg: rgba(10, 10, 15, 0.95);
    --bg-dark: var(--dark-black);
    --text-color: var(--lighter-gray);
    --card-bg: rgba(15, 15, 25, 0.5);
    --card-border: rgba(156, 109, 255, 0.2);
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Heebo', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.6);
    --border-radius: 12px;
}

/* General Styles */
body {
    font-family: var(--font-family);
    line-height: 1.6;
    direction: rtl;
    text-align: right;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0d47a1 100%);
    color: white;
    padding: 80px 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-image {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Section Styling */
.section {
    padding: 80px 0;
}

.section-title {
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 1.1rem;
    color: #666;
}

/* Feature Box */
.feature-box {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0d47a1 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
}

/* Steps */
.step-item {
    display: flex;
    margin-bottom: 40px;
}

.step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--secondary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.3rem;
    font-weight: 700;
    margin-left: 20px;
}

.step-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
}

/* Testimonials */
.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 30px;
    height: 100%;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    padding: 0 15px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-left: 15px;
}

.testimonial-author-name {
    font-weight: 600;
}

.testimonial-author-title {
    font-size: 0.9rem;
    color: #666;
}

/* RTL Specific Overrides */
.ms-n2 {
    margin-right: -0.5rem !important;
    margin-left: 0 !important;
}

.ms-3 {
    margin-right: 1rem !important;
    margin-left: 0 !important;
}

.pe-lg-5 {
    padding-left: 3rem !important;
    padding-right: 0 !important;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .hero {
        text-align: center;
        padding: 60px 0;
    }
    
    .hero-image {
        margin-top: 40px;
    }
    
    .section {
        padding: 60px 0;
    }
} 

/* HaMaster Premium Sales Page Styles
 * Dark Tech Luxury Theme
 */

/* Base styles */
html, body {
    font-family: var(--font-body);
    background-color: var(--black);
    color: var(--text-color);
    line-height: 1.6;
    font-display: swap;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: white;
    font-weight: 700;
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem;
    font-weight: 800;
}

h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: white;
}

h3 {
    font-size: 1.8rem;
    font-weight: 600;
}

h4 {
    font-size: 1.5rem;
    font-weight: 600;
}

h5 {
    font-size: 1.2rem;
    font-weight: 600;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

a {
    color: var(--secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

a:hover {
    color: var(--secondary-light);
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
    z-index: 1;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-dark);
    border-radius: 4px;
    transition: var(--transition);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
    cursor: pointer;
}

/* Section styling */
.section {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.section-title {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--primary-gradient);
    margin: 1rem auto 0;
    border-radius: 2px;
}

.section-subtitle {
    color: var(--light-gray);
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    opacity: 0.9;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--darker);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(rgba(156, 109, 255, 0.02) 2px, transparent 2px),
                radial-gradient(rgba(255, 109, 181, 0.02) 1px, transparent 1px);
    background-size: 50px 50px, 30px 30px;
    background-position: 0 0, 25px 25px;
    pointer-events: none;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: radial-gradient(circle at center, var(--primary-dark) 0%, transparent 25%);
    opacity: 0.05;
    z-index: 0;
    animation: pulse 15s infinite ease-in-out;
}

.hero .container {
    position: relative;
    z-index: 1;
    padding: 2rem 0;
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    background-image: linear-gradient(135deg, #fff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    z-index: 1;
    text-shadow: 0 5px 10px rgba(0,0,0,0.2);
}

.hero-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.6;
}

.hero-image {
    position: relative;
    transition: all 0.5s ease;
    transform: perspective(1000px) rotateY(-15deg);
    box-shadow: var(--shadow-lg);
    border-radius: var(--border-radius-lg);
}

.hero-image:hover {
    transform: perspective(1000px) rotateY(-5deg);
}

.hero-floating-card {
    position: absolute;
    top: -10px;
    right: -20px;
    background: var(--glass-gradient);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: float 6s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.stat-item {
    position: relative;
    z-index: 1;
    flex: 1;
    min-width: 120px;
}

.stat-item:last-child {
    margin-right: 0;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, var(--primary-light), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    font-family: var(--font-heading);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.stat-label {
    font-size: 1rem;
    color: var(--gray-light);
    opacity: 0.9;
    font-weight: 400;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.badge.bg-primary {
    background: var(--primary-gradient);
    color: white;
    border: none;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.badge.bg-info {
    background: linear-gradient(135deg, var(--info) 0%, #3BACF0 100%);
    color: white;
    border: none;
}

.badge.bg-success {
    background: linear-gradient(135deg, var(--success) 0%, #5DD693 100%);
    color: white;
    border: none;
}

.badge.bg-warning {
    background: linear-gradient(135deg, var(--warning) 0%, #FFD166 100%);
    color: var(--dark);
    border: none;
}

.badge.bg-secondary {
    background: linear-gradient(135deg, var(--secondary) 0%, #3DD9AC 100%);
    color: white;
    border: none;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    font-size: 0.875rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition);
    z-index: -1;
    opacity: 0;
}

.btn:hover::before {
    left: 100%;
    opacity: 1;
    animation: shine 1.5s infinite;
}

@keyframes shine {
    0% { left: -100%; opacity: 0; }
    50% { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(111, 66, 193, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover, .btn-primary:active, .btn-primary:focus {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #8442d8 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(111, 66, 193, 0.4);
    transform: translateY(-2px);
}

.btn-outline-light {
    background: transparent;
    color: var(--light);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.btn-outline-primary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(111, 66, 193, 0.3);
    transform: translateY(-2px);
}

.btn-light {
    background: white;
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.btn-light:hover {
    background: #f8f9fa;
    color: var(--primary-dark);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Process Cards */
.process-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 1.5rem;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.process-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-dark);
}

.process-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.process-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 10px rgba(111, 66, 193, 0.3);
    position: relative;
    z-index: 1;
}

.process-icon i {
    font-size: 1.5rem;
    color: white;
}

.process-number {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
    line-height: 1;
    font-family: var(--font-heading);
    z-index: 0;
    background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.1), transparent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.process-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.process-text {
    color: var(--gray-light);
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

/* Revenue Distribution Items */
.revenue-item {
    display: flex;
    align-items: center;
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    border: 1px solid var(--card-border);
    transition: all 0.3s ease;
}

.revenue-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.revenue-percent {
    font-size: 2.5rem;
    font-weight: 700;
    margin-right: 1.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: var(--font-heading);
    min-width: 80px;
}

.revenue-content h4 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.revenue-content p {
    margin-bottom: 0;
    color: var(--gray-light);
    opacity: 0.9;
}

/* Calculator Section */
.calculator {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--card-border);
}

.form-label {
    color: var(--light);
    margin-bottom: 0.5rem;
    font-weight: 500;
    display: block;
}

.form-control, .form-select {
    background-color: var(--input-bg);
    border: 1px solid var(--input-border);
    color: var(--input-text);
    border-radius: var(--border-radius);
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.form-control:focus, .form-select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(111, 66, 193, 0.25);
    border-color: var(--primary);
    background-color: rgba(44, 42, 64, 0.9);
}

.form-range {
    width: 100%;
    height: 0.5rem;
    padding: 0;
    background-color: var(--input-bg);
}

.form-range::-webkit-slider-thumb {
    background: var(--primary);
    border: 0;
}

.input-group-text {
    background-color: var(--input-border);
    color: var(--input-text);
    border: 1px solid var(--input-border);
}

.result {
    text-align: center;
    padding: 1rem;
}

.result-amount, .result-weight {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: var(--font-heading);
    margin-bottom: 0.5rem;
}

/* Income Source Cards */
.income-source-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    border: 1px solid var(--card-border);
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.income-source-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-dark);
}

.income-source-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-gradient);
    box-shadow: var(--shadow);
    position: relative;
}

.income-source-icon i {
    font-size: 1.75rem;
    color: white;
}

.income-source-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.income-source-card p {
    color: var(--gray-light);
    opacity: 0.9;
}

.income-source-percentage {
    margin-top: 1.5rem;
}

.percentage-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    margin: 0.5rem 0;
    overflow: hidden;
}

.income-source-percentage span {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--secondary);
}

/* Testimonial Cards */
.testimonial-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--card-border);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-dark);
}

.testimonial-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 1rem;
    border: 2px solid var(--primary);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.testimonial-name {
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.testimonial-role {
    color: var(--gray);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.testimonial-rating {
    color: var(--warning);
}

.testimonial-text {
    color: var(--gray-light);
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-income {
    font-weight: 700;
    color: var(--success);
    font-size: 1.1rem;
    padding: 0.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Accordion */
.accordion {
    margin-bottom: 1.5rem;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.accordion-item {
    background-color: transparent;
    border: 1px solid var(--card-border);
    margin-bottom: 15px;
    overflow: hidden;
    border-radius: var(--border-radius) !important;
}

.accordion-item:last-child {
    border-bottom: 1px solid var(--card-border);
}

.accordion-header {
    margin-bottom: 0;
}

.accordion-button {
    background-color: rgba(15, 15, 25, 0.6);
    color: white;
    border-radius: var(--border-radius) !important;
    font-weight: 600;
    box-shadow: none;
    padding: 1.25rem;
}

.accordion-button:not(.collapsed) {
    background-color: rgba(156, 109, 255, 0.1);
    color: var(--light-purple);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--primary);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%239c6dff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    background-color: rgba(10, 10, 15, 0.8);
    color: var(--light-gray);
    padding: 1.5rem;
}

/* Helper Classes */
.bg-light {
    background-color: var(--light);
}

.bg-primary {
    background-color: var(--primary);
}

.text-white {
    color: white !important;
}

.text-primary {
    color: var(--primary) !important;
}

.text-secondary {
    color: var(--secondary) !important;
}

.text-success {
    color: var(--success) !important;
}

.shadow-lg {
    box-shadow: var(--shadow-lg) !important;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.25rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-content {
        text-align: center;
        margin: 0 auto;
    }
    
    .hero-floating-card {
        position: relative;
        top: 0;
        right: 0;
        margin: 2rem auto;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .process-card, .testimonial-card, .income-source-card {
        padding: 1.5rem;
    }
}

/* RTL Support */
html[dir="rtl"] body, 
html[dir="rtl"] .dropdown-menu {
    text-align: right;
}

/* Override margins for RTL */
.me-3, .me-4, .ms-3, .ms-4 {
    margin-right: 0 !important;
    margin-left: 0 !important;
}

.me-lg-0 {
    margin-left: 0 !important;
}

.text-lg-end {
    text-align: start !important;
}

.padding-start-1 {
    padding-right: 1rem !important;
    padding-left: 0 !important;
}

/* Animation Classes */
.animate__animated {
    visibility: visible !important;
    animation-duration: 1s;
}

.animate__fadeIn {
    animation-name: fadeIn;
}

.animate__fadeInUp {
    animation-name: fadeInUp;
}

.animate__fadeInDown {
    animation-name: fadeInDown;
}

.animate__fadeInLeft {
    animation-name: fadeInLeft;
}

.animate__fadeInRight {
    animation-name: fadeInRight;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 30px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translate3d(0, -30px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translate3d(-30px, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translate3d(30px, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* Premium Effects */
.glow-text {
    text-shadow: var(--neon-shadow);
}

.glow-border {
    border-color: var(--primary);
    box-shadow: var(--neon-shadow);
}

/* Loading overlay */
.premium-cursor {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" style="fill:none;stroke:%236f42c1;stroke-width:2"><circle cx="10" cy="10" r="8"/></svg>') 10 10, auto;
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--darker);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.6s ease;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border-top-color: var(--primary);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loaded {
    opacity: 0;
    pointer-events: none;
}

/* Particle network background */
.network-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.network-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h20v20H0z' fill='%23151423' fill-opacity='.5'/%3E%3Cpath d='M1 1h1v1H1V1zm2 0h1v1H3V1zm2 0h1v1H5V1zm2 0h1v1H7V1zm2 0h1v1H9V1zm2 0h1v1h-1V1zM0 3h1v1H0V3zm2 0h1v1H2V3zm2 0h1v1H4V3zm2 0h1v1H6V3zm2 0h1v1H8V3zm2 0h1v1h-1V3zm2 0h1v1h-1V3zM1 5h1v1H1V5zm2 0h1v1H3V5zm2 0h1v1H5V5zm2 0h1v1H7V5zm2 0h1v1H9V5zm2 0h1v1h-1V5zm-8 2h1v1H3V7zm2 0h1v1H5V7zm2 0h1v1H7V7zm2 0h1v1H9V7zm2 0h1v1h-1V7zm-8 2h1v1H3v-1zm2 0h1v1H5v-1zm2 0h1v1H7v-1zm2 0h1v1H9v-1zm2 0h1v1h-1v-1zm-8 2h1v1H3v-1zm2 0h1v1H5v-1zm2 0h1v1H7v-1zm2 0h1v1H9v-1zm2 0h1v1h-1v-1zm-8 2h1v1H3v-1zm2 0h1v1H5v-1zm2 0h1v1H7v-1zm2 0h1v1H9v-1zm2 0h1v1h-1v-1zm-8 2h1v1H3v-1zm2 0h1v1H5v-1zm2 0h1v1H7v-1zm2 0h1v1H9v-1zm2 0h1v1h-1v-1z' fill='%236f42c1' fill-opacity='.05'/%3E%3C/svg%3E");
    opacity: 0.2;
}

/* Glass cards effect */
.glass-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.glass-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
    border-color: rgba(156, 109, 255, 0.3);
}

/* Hover effects */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.hover-glow:hover {
    box-shadow: var(--neon-glow);
}

/* Card deck */
.card-deck {
    position: relative;
}

.card-deck .card {
    transition: all 0.3s ease;
}

.card-deck:hover .card {
    opacity: 0.7;
}

.card-deck:hover .card:hover {
    transform: translateY(-10px) scale(1.03);
    opacity: 1;
    z-index: 1;
    box-shadow: var(--neon-glow);
}

/* Sales Page CSS - Dark Luxury Theme */

:root {
    --black: #0a0a0f;
    --dark-black: #050508;
    --darker: #030305;
    --light-gray: #b0b0bb;
    --lighter-gray: #d8d8e0;
    --light-purple: #9c6dff;
    --pink: #ff6db5;
    --primary: var(--light-purple);
    --primary-light: var(--light-purple);
    --primary-dark: #7d4bdb;
    --secondary: var(--pink);
    --primary-gradient: linear-gradient(45deg, var(--light-purple), var(--pink));
    --header-bg: rgba(10, 10, 15, 0.95);
    --bg-dark: var(--dark-black);
    --text-color: var(--lighter-gray);
    --card-bg: rgba(15, 15, 25, 0.5);
    --card-border: rgba(156, 109, 255, 0.2);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.6);
    --border-radius: 12px;
}

/* Global Styles */
html, body {
    font-family: var(--font-body);
    background-color: var(--black);
    color: var(--text-color);
    line-height: 1.6;
    font-display: swap;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: white;
    font-weight: 700;
    line-height: 1.3;
}

p {
    font-weight: 400;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary);
}

.btn {
    border-radius: 8px;
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    transition: all 0.3s ease;
    text-transform: none;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow);
}

.btn-lg {
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
}

.btn-primary {
    background: var(--primary-gradient);
    border-color: var(--primary);
}

.btn-primary:hover, .btn-primary:focus {
    background: linear-gradient(45deg, var(--primary-dark), var(--pink));
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.5);
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

.btn-outline-primary {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline-primary:hover {
    background: var(--primary-gradient);
    color: white;
    border-color: var(--primary);
}

.btn-light {
    background: white;
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.btn-light:hover {
    background: #f8f9fa;
    color: var(--primary-dark);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Glass Card Effect */
.glass-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.glass-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
    border-color: rgba(156, 109, 255, 0.3);
}

/* Section Styling */
.section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 800;
}

.section-subtitle {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: var(--light-gray);
}

/* Header */
.navbar {
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar-dark {
    background-color: var(--header-bg);
}

.navbar-brand {
    font-weight: 700;
}

.navbar .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
    position: relative;
}

.navbar .nav-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar .nav-link:hover:after,
.navbar .nav-link.active:after {
    width: 60%;
}

/* Hero Section */
.hero {
    padding: 100px 0 60px;
    background-color: var(--black);
    position: relative;
    overflow: hidden;
}

.network-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 10, 15, 0.9) 0%, rgba(5, 5, 8, 0.95) 100%);
    overflow: hidden;
}

.network-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(156, 109, 255, 0.1) 1px, transparent 1px),
                     radial-gradient(rgba(255, 109, 181, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: 0 0, 25px 25px;
    animation: networkBackground 120s linear infinite;
}

@keyframes networkBackground {
    0% {
        background-position: 0 0, 25px 25px;
    }
    100% {
        background-position: 1000px 1000px, 1025px 1025px;
    }
}

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--light-gray);
}

.hero-stats {
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 0.5rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--light-gray);
    white-space: nowrap;
}

.hero-image {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 1;
}

.hero-floating-card {
    position: absolute;
    right: -20px;
    bottom: 30px;
    padding: 15px;
    width: 80%;
    z-index: 2;
}

/* Process Cards */
.process-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    box-shadow: var(--shadow);
}

.process-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.process-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
    position: relative;
    z-index: 1;
}

.process-icon:before {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(156, 109, 255, 0.1);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.process-number {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-gradient);
    color: white;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1rem;
}

.process-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.process-text {
    color: var(--light-gray);
}

/* Revenue Distribution */
.revenue-item {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    background: rgba(10, 10, 15, 0.3);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.revenue-item:hover {
    background: rgba(10, 10, 15, 0.5);
    transform: translateX(5px);
}

.revenue-percent {
    font-size: 2.5rem;
    font-weight: 800;
    margin-right: 1.5rem;
    width: 80px;
    text-align: center;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.revenue-content h4 {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.revenue-content p {
    font-size: 0.95rem;
    color: var(--light-gray);
    margin-bottom: 0;
}

/* Calculator */
.calculator {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
}

.form-label {
    font-weight: 500;
    color: white;
}

.form-control, .form-select {
    background-color: rgba(15, 15, 25, 0.7);
    border: 1px solid var(--card-border);
    color: white;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    background-color: rgba(15, 15, 25, 0.9);
    border-color: var(--light-purple);
    box-shadow: 0 0 0 0.25rem rgba(156, 109, 255, 0.25);
    color: white;
}

.form-range {
    height: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.form-range::-webkit-slider-thumb {
    background: var(--primary-gradient);
    box-shadow: 0 0 10px rgba(156, 109, 255, 0.5);
    height: 18px;
    width: 18px;
    border-radius: 50%;
    cursor: pointer;
}

.form-range::-moz-range-thumb {
    background: var(--primary-gradient);
    box-shadow: 0 0 10px rgba(156, 109, 255, 0.5);
    height: 18px;
    width: 18px;
    border-radius: 50%;
    cursor: pointer;
}

.form-range::-webkit-slider-runnable-track {
    height: 8px;
    border-radius: 4px;
}

.form-range::-moz-range-track {
    height: 8px;
    border-radius: 4px;
}

.current-tier {
    font-size: 1.8rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.25rem;
}

.result {
    background: rgba(10, 10, 15, 0.5);
    border-radius: var(--border-radius);
    border: 1px solid var(--card-border);
    transition: all 0.3s ease;
}

.result:hover {
    box-shadow: 0 0 20px rgba(156, 109, 255, 0.1);
    border-color: rgba(156, 109, 255, 0.3);
}

.result-amount {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    transition: all 0.3s ease;
}

.result-weight {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

/* Income Source Cards */
.income-source-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: var(--shadow);
}

.income-source-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.income-source-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
    position: relative;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(156, 109, 255, 0.1);
    margin: 0 auto 1.5rem auto;
}

.income-source-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.income-source-card p {
    color: var(--light-gray);
    margin-bottom: 1.5rem;
}

.income-source-percentage {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.income-source-percentage span {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.percentage-bar {
    width: 100%;
    height: 8px;
    background: rgba(15, 15, 25, 0.7);
    border-radius: 4px;
    overflow: hidden;
}

/* Price Value */
.price-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Hover lift effect */
.hover-lift {
    transition: all 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(156, 109, 255, 0.4);
}

/* FAQ Accordion */
.accordion {
    margin-bottom: 2rem;
}

.accordion-item {
    background-color: transparent;
    border: 1px solid var(--card-border);
    margin-bottom: 15px;
    overflow: hidden;
    border-radius: var(--border-radius) !important;
}

.accordion-header {
    border-radius: var(--border-radius);
}

.accordion-button {
    background-color: rgba(15, 15, 25, 0.6);
    color: white;
    border-radius: var(--border-radius) !important;
    font-weight: 600;
    box-shadow: none;
    padding: 1.25rem;
}

.accordion-button:not(.collapsed) {
    background-color: rgba(156, 109, 255, 0.1);
    color: var(--light-purple);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--primary);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%239c6dff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    background-color: rgba(10, 10, 15, 0.8);
    color: var(--light-gray);
    padding: 1.5rem;
}

/* Footer */
.footer {
    background-color: var(--darker);
    padding-top: 5rem;
    padding-bottom: 2rem;
}

.footer-brand {
    margin-bottom: 1.5rem;
}

.footer h5 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.social-links a {
    font-size: 1.2rem;
    color: var(--light-gray);
    margin-right: 1rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--primary);
    transform: translateY(-3px);
}

/* Animation Classes */
.animate__animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

.animate__fadeIn {
    animation-name: fadeIn;
}

.animate__fadeInUp {
    animation-name: fadeInUp;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* RTL Support */
[dir="rtl"] .revenue-percent {
    margin-right: 0;
    margin-left: 1.5rem;
}

[dir="rtl"] .process-number {
    right: auto;
    left: 20px;
}

[dir="rtl"] .hero-floating-card {
    right: auto;
    left: -20px;
}

[dir="rtl"] .revenue-item:hover {
    transform: translateX(-5px);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    h1, .hero-title {
        font-size: 2rem;
    }
    
    h2, .section-title h2 {
        font-size: 1.8rem;
    }
    
    .hero {
        padding: 80px 0 40px;
    }
}

@media (max-width: 768px) {
    h1, .hero-title {
        font-size: 1.8rem;
    }
    
    h2, .section-title h2 {
        font-size: 1.6rem;
    }
    
    .hero {
        padding: 60px 0 30px;
    }
    
    .technical-diagram {
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    h1, .hero-title {
        font-size: 1.6rem;
    }
    
    .hero-text {
        font-size: 1rem;
    }
    
    .price-value {
        font-size: 2rem;
    }
}

/* Count-up Animation */
.count-up {
    display: inline-block;
}

/* Launch Banner */
.launch-banner {
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
}

.countdown {
    display: flex;
    justify-content: space-between;
}

.countdown-item {
    text-align: center;
}

.countdown-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.countdown-label {
    color: var(--light-gray);
    font-size: 0.8rem;
}

/* Pre-launch styling */
.pre-launch-banner {
    background: var(--primary-gradient);
    color: white;
    text-align: center;
    padding: 8px 0;
    font-weight: 500;
}

.status-tag {
    display: inline-block;
    padding: 5px 10px;
    background: var(--primary-gradient);
    color: white;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.launch-countdown {
    background: rgba(15, 15, 25, 0.7);
    border-radius: var(--border-radius);
    padding: 15px;
    border: 1px solid var(--card-border);
}

.launch-countdown .fw-bold {
    font-size: 1.5rem;
    color: var(--light-purple);
}

.launch-countdown .small {
    color: var(--light-gray);
    font-size: 0.8rem;
}

/* Technical details styling */
.technical-diagram {
    background-color: rgba(15, 15, 25, 0.7);
    border-radius: var(--border-radius);
    border: 1px solid var(--card-border);
    padding: 2rem;
    margin: 2rem 0;
}

.diagram-node {
    background: rgba(20, 20, 35, 0.8);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
    position: relative;
    transition: all 0.3s ease;
}

.diagram-node:hover {
    transform: translateY(-5px);
    border-color: var(--light-purple);
    box-shadow: var(--shadow);
}

.diagram-node::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    width: 2px;
    height: 20px;
    background-color: var(--light-purple);
    transform: translateX(-50%);
}

.diagram-node:last-child::after {
    display: none;
}

/* Code block styling */
.code-block {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    border-left: 3px solid var(--light-purple);
    padding: 1rem;
    margin: 1.5rem 0;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    overflow-x: auto;
    color: var(--lighter-gray);
}

.code-block pre {
    margin-bottom: 0;
    color: var(--lighter-gray);
}

/* Add improved calculator styling */

/* Background for darker sections */
.bg-darker {
    background-color: var(--darker);
    position: relative;
}

.bg-darker::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(rgba(156, 109, 255, 0.03) 2px, transparent 2px),
        radial-gradient(rgba(255, 109, 181, 0.02) 1px, transparent 1px);
    background-size: 30px 30px, 20px 20px;
    background-position: 0 0, 15px 15px;
    pointer-events: none;
    z-index: 0;
}

/* Enhanced calculator styles */
.results {
    background: rgba(10, 10, 15, 0.5);
    border-radius: var(--border-radius);
    border: 1px solid var(--card-border);
    transition: all 0.3s ease;
}

.results:hover {
    box-shadow: 0 0 20px rgba(156, 109, 255, 0.1);
    border-color: rgba(156, 109, 255, 0.3);
}

.result-amount {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    transition: all 0.3s ease;
}

.result-weight {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

/* Enhanced form range styling */
.form-range {
    height: 8px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.form-range::-webkit-slider-thumb {
    background: var(--primary-gradient);
    box-shadow: 0 0 10px rgba(156, 109, 255, 0.5);
    height: 18px;
    width: 18px;
    border-radius: 50%;
    cursor: pointer;
}

.form-range::-moz-range-thumb {
    background: var(--primary-gradient);
    box-shadow: 0 0 10px rgba(156, 109, 255, 0.5);
    height: 18px;
    width: 18px;
    border-radius: 50%;
    cursor: pointer;
}

.form-range::-webkit-slider-runnable-track {
    height: 8px;
    border-radius: 4px;
}

.form-range::-moz-range-track {
    height: 8px;
    border-radius: 4px;
}

/* Number input styling */
input[type="number"] {
    background: rgba(15, 15, 25, 0.7);
    border: 1px solid var(--card-border);
    color: white;
    border-radius: 8px;
}

input[type="number"]:focus {
    background: rgba(15, 15, 25, 0.9);
    border-color: var(--light-purple);
    box-shadow: 0 0 0 0.25rem rgba(156, 109, 255, 0.25);
    color: white;
}

/* Gap utility for flexbox */
.gap-3 {
    gap: 1rem;
}

/* Badge styling */
.badge {
    padding: 0.5em 0.8em;
    font-weight: 600;
    border-radius: 30px;
}

/* Better display typography */
.display-4 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
}

.display-5 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
}

/* Results note */
.results-note {
    font-size: 0.8rem;
    opacity: 0.8;
    max-width: 90%;
    margin: 0 auto;
}

/* Calculator color highlights */
.text-light-gray {
    color: var(--light-gray);
}

/* Enhanced calculation details */
.calculation-details {
    opacity: 0.7;
    transition: all 0.3s ease;
}

.calculation-details:hover {
    opacity: 1;
}

/* Nested glass card effect */
.glass-card .glass-card {
    background: rgba(5, 5, 10, 0.5);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(156, 109, 255, 0.1);
}

/* Calculator Section Styles */
.calculator-section {
    background-color: var(--dark-blue);
    position: relative;
    overflow: hidden;
}

.calculator-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(147, 51, 234, 0.15), transparent 45%),
                radial-gradient(circle at 80% 70%, rgba(236, 72, 153, 0.1), transparent 45%);
    pointer-events: none;
}

.calculator-container {
    position: relative;
    z-index: 1;
}

.calculator-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2.5rem;
}

.calculator-inputs {
    flex: 1;
    min-width: 300px;
}

.calculator-results {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
}

.input-group {
    background: rgba(20, 20, 30, 0.6);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.input-group label {
    display: block;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--light-gray);
}

.range-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.slider {
    flex: 1;
    height: 6px;
    background: linear-gradient(to right, var(--purple) 0%, var(--pink) 100%);
    -webkit-appearance: none;
    appearance: none;
    border-radius: 3px;
    outline: none;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--purple), var(--pink));
    cursor: pointer;
    box-shadow: 0 0 10px rgba(236, 72, 153, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.9);
    transition: all 0.2s ease;
}

.slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--purple), var(--pink));
    cursor: pointer;
    box-shadow: 0 0 10px rgba(236, 72, 153, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.9);
    transition: all 0.2s ease;
}

.slider::-webkit-slider-thumb:hover,
.slider:active::-webkit-slider-thumb {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(236, 72, 153, 0.8);
}

.slider::-moz-range-thumb:hover,
.slider:active::-moz-range-thumb {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(236, 72, 153, 0.8);
}

.number-input {
    width: 80px;
    height: 40px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    color: white;
    background-color: rgba(30, 30, 40, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    padding: 0.5rem;
    transition: all 0.2s ease;
}

.number-input:focus {
    outline: none;
    border-color: var(--purple);
    box-shadow: 0 0 0 2px rgba(147, 51, 234, 0.3);
}

/* Time Range Display */
.time-range-display {
    background: rgba(15, 15, 25, 0.6);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 0.5rem;
}

.time-range-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.time-label {
    color: var(--light-gray);
    font-size: 0.9rem;
}

.time-value {
    font-weight: 600;
    color: white;
    padding: 0.2rem 0.5rem;
    background: rgba(147, 51, 234, 0.2);
    border-radius: 4px;
    border: 1px solid rgba(147, 51, 234, 0.3);
}

.quarters-info {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.quarters-label {
    color: var(--light-gray);
    font-size: 0.9rem;
}

.quarters-value {
    font-weight: 600;
    color: var(--pink);
    padding: 0.2rem 0.6rem;
    background: rgba(236, 72, 153, 0.1);
    border-radius: 4px;
    border: 1px solid rgba(236, 72, 153, 0.3);
}

/* Tier Info */
.tier-info {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.tier-label {
    color: var(--light-gray);
    font-size: 0.9rem;
}

.tier-value {
    font-weight: 600;
    color: white;
    padding: 0.3rem 0.7rem;
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.3), rgba(236, 72, 153, 0.3));
    border-radius: 4px;
    border: 1px solid rgba(147, 51, 234, 0.3);
}

/* Results Card */
.result-card {
    width: 100%;
    background: rgba(20, 20, 30, 0.7);
    border-radius: 12px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
}

.result-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
    background: linear-gradient(to right, var(--light-purple), var(--pink));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.result-tier {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.result-tier span:first-child {
    color: var(--light-gray);
}

.current-tier {
    font-weight: 600;
    color: white;
    padding: 0.2rem 0.6rem;
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.3), rgba(236, 72, 153, 0.3));
    border-radius: 4px;
    text-align: center;
}

.result-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1rem 0;
}

.result-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.result-label {
    font-size: 1rem;
    color: var(--light-gray);
}

.result-amount {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(to right, var(--light-purple), var(--pink));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.result-weight {
    font-size: 2rem;
    font-weight: 700;
    color: var(--pink);
}

.result-footer {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.result-note {
    font-size: 0.8rem;
    color: var(--light-gray);
    margin: 0;
    opacity: 0.7;
}

/* RTL Support */
html[dir="rtl"] .slider {
    background: linear-gradient(to left, var(--purple) 0%, var(--pink) 100%);
}

@media (max-width: 768px) {
    .calculator-wrapper {
        flex-direction: column;
    }
    
    .result-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .result-tier {
        margin-top: 0.5rem;
    }
} 