* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    width: 100%;
}

/* Hide page content during navigation to prevent overlap */
html.navigating {
    opacity: 0;
    pointer-events: none;
}

:root {
    --primary: #A0522D;
    --primary-dark: #8B4513;
    --secondary: #CD853F;
    --accent: #DAA520;
    --gold: #D4AF37;
    --success: #10b981;
    --danger: #ef4444;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #FFFEF7;
    color: #3E2723;
    line-height: 1.6;
    transition: direction 0.3s ease;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(160, 82, 45, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(218, 165, 32, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(205, 133, 63, 0.06) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

body.rtl {
    direction: rtl;
}

body {
    padding-top: 59px; /* Reserve space for fixed navbar - mobile */
}

/* Desktop: More spacing between navbar and content */
@media (min-width: 769px) {
    body {
        padding-top: 88px;
    }
}

.navbar {
    background: rgba(255, 254, 247, 0.9);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(160, 82, 45, 0.15);
    padding: 16px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: transform 1.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 1.5s ease;
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.02);
}

.logo-icon {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #A0522D 0%, #CD853F 100%);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 900;
    font-family: 'Inter', sans-serif;
    font-style: normal;
    letter-spacing: 0;
    color: #FFFFFF;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3), 0 0 6px rgba(255, 255, 255, 0.2);
    box-shadow:
        0 3px 8px rgba(160, 82, 45, 0.25),
        0 1px 4px rgba(0, 0, 0, 0.15),
        inset 0 -1px 1px rgba(0, 0, 0, 0.1),
        inset 0 1px 1px rgba(255, 255, 255, 0.2);
    position: relative;
    transition: all 0.3s ease;
}

.logo-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.15) 50%, transparent 100%);
    border-radius: 6px;
    opacity: 0.8;
}

.logo:hover .logo-icon {
    transform: translateY(-2px);
    box-shadow:
        0 6px 20px rgba(160, 82, 45, 0.35),
        0 3px 8px rgba(0, 0, 0, 0.2),
        inset 0 -1px 2px rgba(0, 0, 0, 0.1),
        inset 0 1px 1px rgba(255, 255, 255, 0.25);
}

@keyframes glow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.logo-text {
    font-size: 22px;
    font-weight: 800;
    background: linear-gradient(135deg, #3E2723 0%, #5D4037 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.nav-right {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-link {
    color: #A0522D;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    padding: 10px 20px;
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    -webkit-tap-highlight-color: rgba(160, 82, 45, 0.2);
    touch-action: manipulation;
    user-select: none;
}

.nav-link:hover {
    opacity: 0.7;
}

.nav-link.active {
    font-weight: 700;
    color: #5D4037;
}

.lang-selector {
    display: flex;
    gap: 4px;
    background: rgba(160, 82, 45, 0.08);
    padding: 4px;
    border-radius: 12px;
    border: 1px solid rgba(160, 82, 45, 0.15);
}

.lang-btn {
    padding: 10px 24px;
    background: transparent;
    border: none;
    color: rgba(62, 39, 35, 0.6);
    cursor: pointer;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    color: rgba(62, 39, 35, 0.9);
}

.lang-btn.active {
    background: linear-gradient(135deg, #A0522D, #CD853F);
    color: white;
    box-shadow: 0 4px 16px rgba(160, 82, 45, 0.3);
}

.hero {
    max-width: 1400px;
    margin: 0 auto;
    padding: 140px 60px 120px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #FFFEFA;
    border: 1px solid rgba(160, 82, 45, 0.15);
    padding: 12px 24px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 700;
    color: #A0522D;
    margin-bottom: 40px;
    animation: fadeInUp 1.8s ease-out;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 2px 12px rgba(160, 82, 45, 0.08);
}

.hero-badge::before {
    content: "✦";
    font-size: 16px;
    color: #DAA520;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

.hero h1 {
    font-size: 96px;
    font-weight: 900;
    margin-bottom: 32px;
    letter-spacing: -5px;
    line-height: 1.15;
    animation: fadeInUp 1.8s ease-out 0.3s both;
    color: #3E2723;
    overflow: visible;
}

.gradient-text {
    background: linear-gradient(135deg, #3E2723 0%, #A0522D 30%, #CD853F 60%, #DAA520 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmerText 10s linear infinite;
    display: inline-block;
    padding-bottom: 4px;
}

@keyframes shimmerText {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.hero-description {
    font-size: 22px;
    color: rgba(62, 39, 35, 0.7);
    max-width: 700px;
    margin: 0 auto 48px;
    font-weight: 400;
    line-height: 1.7;
    animation: fadeInUp 1.8s ease-out 0.6s both;
}

.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    animation: fadeInUp 1.8s ease-out 0.9s both;
}

.btn-primary {
    background: linear-gradient(135deg, #A0522D 0%, #CD853F 100%);
    color: white;
    padding: 20px 48px;
    border-radius: 14px;
    font-size: 17px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    box-shadow: 0 0 40px rgba(160, 82, 45, 0.3), 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #CD853F 0%, #A0522D 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary span {
    position: relative;
    z-index: 1;
}

/* Pricing Section */
.pricing-section {
    padding: 100px 0;
    margin-bottom: 60px;
    background: transparent;
    position: relative;
}

.pricing-card {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(180deg, #FFFFFF 0%, #FFFEF7 100%);
    border-radius: 28px;
    padding: 0;
    box-shadow: 0 8px 40px rgba(160, 82, 45, 0.10), 0 2px 8px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(160, 82, 45, 0.10);
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s, box-shadow 0.4s ease;
    overflow: hidden;
    position: relative;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #A0522D, #CD853F, #DAA520);
}

.pricing-card:hover {
    box-shadow: 0 16px 60px rgba(160, 82, 45, 0.14), 0 4px 16px rgba(0, 0, 0, 0.04);
}

.pricing-card.scroll-visible {
    opacity: 1;
    transform: translateY(0);
}

.pricing-header {
    text-align: center;
    padding: 56px 40px 44px 40px;
    background: transparent;
}

.pricing-header .section-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 32px;
    background: rgba(218, 165, 32, 0.12);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 24px;
    color: #A0522D;
    border: 1px solid rgba(218, 165, 32, 0.2);
}

.pricing-title {
    font-size: 42px;
    font-weight: 800;
    color: #3E2723;
    margin: 0 0 12px 0;
    line-height: 1.2;
}

.pricing-subtitle {
    font-size: 17px;
    font-weight: 400;
    color: #6D4C41;
    margin: 0;
}

.pricing-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    padding: 20px 48px 48px 48px;
    border-bottom: none;
}

.pricing-item {
    text-align: center;
}

.pricing-amount {
    font-size: 56px;
    font-weight: 900;
    background: linear-gradient(135deg, #A0522D 0%, #CD853F 50%, #DAA520 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 12px;
}

.pricing-label {
    font-size: 18px;
    font-weight: 700;
    color: #6D4C41;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.pricing-description {
    font-size: 14px;
    color: #8D6E63;
    max-width: 200px;
}

.pricing-divider {
    font-size: 40px;
    font-weight: 300;
    color: #CD853F;
    opacity: 0.6;
}

.pricing-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 40px 48px;
    background: rgba(160, 82, 45, 0.02);
}

.pricing-feature {
    font-size: 15px;
    font-weight: 600;
    color: #5D4037;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    border: 1px solid rgba(160, 82, 45, 0.08);
    transition: all 0.3s ease;
}

.pricing-feature:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(160, 82, 45, 0.15);
    transform: translateX(4px);
}

.pricing-cta {
    text-align: center;
    padding: 16px 48px 56px 48px;
}

.pricing-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #A0522D 0%, #CD853F 50%, #DAA520 100%);
    border: none;
    padding: 12px 48px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    white-space: nowrap;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(160, 82, 45, 0.25);
    position: relative;
    overflow: hidden;
}

.pricing-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #CD853F 0%, #DAA520 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.pricing-btn span {
    position: relative;
    z-index: 1;
}

.pricing-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 32px rgba(160, 82, 45, 0.35);
}

.pricing-btn:hover::before {
    opacity: 1;
}

@media (max-width: 768px) {
    .pricing-content {
        flex-direction: column;
        gap: 30px;
    }

    .pricing-features {
        grid-template-columns: 1fr;
    }

    .pricing-header {
        padding: 32px 24px;
    }

    .pricing-content {
        padding: 32px 24px;
    }

    .pricing-features {
        padding: 32px 24px;
    }

    .pricing-cta {
        padding: 0 24px 32px 24px;
    }

    .pricing-title {
        font-size: 28px;
    }

    .pricing-amount {
        font-size: 42px;
    }
}

/* Legacy support */
.price-badge {
    background: rgba(218, 165, 32, 0.15);
    border: 2px solid rgba(218, 165, 32, 0.4);
    padding: 18px 32px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 600;
    color: #5D4037;
    backdrop-filter: blur(10px);
}

.price-amount {
    color: #B8860B;
    font-size: 22px;
    font-weight: 800;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    position: relative;
    z-index: 1;
}

.section {
    margin-bottom: 140px;
}

.value-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    margin-bottom: 140px;
    min-height: 400px;
    background: rgba(160, 82, 45, 0.15);
    border-radius: 32px;
    padding: 0;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(160, 82, 45, 0.15);
}

.value-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #A0522D, #CD853F, #DAA520, transparent);
    z-index: 10;
    animation: slide 6s linear infinite;
}



.value-item {
    position: relative;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 1;
    overflow: hidden;
}

.value-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #FFFFFF;
    z-index: -2;
}

.value-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
                rgba(160, 82, 45, 0.12) 0%,
                rgba(205, 133, 63, 0.06) 25%,
                transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: -1;
}


.value-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    background: linear-gradient(90deg, #96512A 0%, #B5693D 50%, #C99520 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.value-desc {
    font-size: 17px;
    color: #5D4037;
    line-height: 1.7;
    font-weight: 400;
    max-width: 420px;
}

.stats-wrapper {
    background: linear-gradient(135deg, #ffffff 0%, #FFF9F0 100%);
    border-radius: 28px;
    padding: 80px;
    border: 1px solid rgba(160, 82, 45, 0.15);
    position: relative;
    overflow: hidden;
}

.stats-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #A0522D, #CD853F, #DAA520, transparent);
    animation: slide 3s linear infinite;
}

@keyframes slide {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
}

.stat-item {
    text-align: center;
    position: relative;
    padding: 28px;
    border-radius: 20px;
    transition: all 0.4s ease;
}

.stat-item:hover {
    background: rgba(0, 0, 0, 0.03);
    transform: translateY(-8px) !important;
}

.stat-value {
    font-size: 72px;
    font-weight: 900;
    background: linear-gradient(135deg, #A0522D 0%, #CD853F 50%, #DAA520 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
    line-height: 1;
    letter-spacing: -4px;
}

.stat-label {
    font-size: 15px;
    color: #5D4037;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 254, 250, 0.9);
    color: #A0522D;
    padding: 10px 32px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    border: 1px solid rgba(218, 165, 32, 0.2);
}

.section-title {
    font-size: 64px;
    font-weight: 900;
    margin-bottom: 24px;
    letter-spacing: -3px;
    line-height: 1.1;
    color: #3E2723;
}

.section-subtitle {
    font-size: 20px;
    color: #5D4037;
    max-width: 750px;
    margin: 0 auto;
    font-weight: 400;
    line-height: 1.7;
}

.chart-wrapper {
    background: linear-gradient(135deg, #ffffff 0%, #FFF9F0 100%);
    border-radius: 28px;
    padding: 60px;
    border: 1px solid rgba(160, 82, 45, 0.15);
    transition: all 0.4s ease;
}

.chart-wrapper:hover {
    transform: translateY(-4px) !important;
}

.signals-grid {
    display: grid;
    gap: 28px;
    direction: ltr;
}

.signal-card {
    background: linear-gradient(135deg, #ffffff 0%, #FFF9F0 100%);
    border: 1px solid rgba(160, 82, 45, 0.15);
    border-radius: 24px;
    padding: 44px;
    transition: all 0.12s ease-out;
    position: relative;
    overflow: visible;
    transform-origin: center center;
}

.signal-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, #A0522D, #CD853F, #DAA520);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.12s ease;
}

.signal-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(160, 82, 45, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.12s ease;
    pointer-events: none;
}

.signal-card:hover {
    transform: scale(1.08);
    z-index: 10;
}

.signal-card:hover::before {
    opacity: 1;
}

.signal-card:hover::after {
    opacity: 1;
}

.signal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(160, 82, 45, 0.15);
}

.signal-pair {
    display: flex;
    align-items: center;
    gap: 20px;
}

.pair-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #A0522D 0%, #CD853F 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 900;
    color: white;
    box-shadow: 0 0 40px rgba(160, 82, 45, 0.4);
    position: relative;
    transition: all 0.12s ease-out;
}

.pair-icon::after {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(135deg, #A0522D, #CD853F);
    border-radius: 16px;
    z-index: -1;
    opacity: 0.6;
    filter: blur(12px);
}

.signal-card:hover .pair-icon {
    transform: none;
}

.pair-details {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pair-name {
    font-size: 32px;
    font-weight: 900;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #3E2723 0%, #5D4037 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pair-time {
    font-size: 14px;
    color: #5D4037;
    font-weight: 600;
    margin-bottom: 15px;
}

.signal-badge {
    padding: 14px 28px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    backdrop-filter: blur(10px);
}

.badge-win {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 2px solid rgba(16, 185, 129, 0.3);
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.2);
}

.badge-win::before {
    content: "↗";
    font-size: 20px;
    font-weight: 900;
}

.badge-loss {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 2px solid rgba(239, 68, 68, 0.3);
    box-shadow: 0 0 30px rgba(239, 68, 68, 0.2);
}

.badge-loss::before {
    content: "↘";
    font-size: 20px;
    font-weight: 900;
}

.badge-active {
    background: rgba(160, 82, 45, 0.15);
    color: #A0522D;
    border: 2px solid rgba(160, 82, 45, 0.3);
    box-shadow: 0 0 30px rgba(160, 82, 45, 0.2);
}

.badge-active::before {
    content: "⟳";
    font-size: 20px;
    font-weight: 900;
    animation: rotate 2s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.signal-description {
    position: absolute;
    bottom: 26px;
    left: 44px;
    font-size: 13px;
    font-weight: 700;
    color: #5D4037;
    padding: 8px 16px;
    background: rgba(160, 82, 45, 0.08);
    border-radius: 8px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: 1px solid rgba(160, 82, 45, 0.15);
}

.signal-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    margin-top: 30px;
}

.detail-item {
    position: relative;
}

.detail-label {
    font-size: 13px;
    color: #5D4037;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 4px;
}

.detail-value {
    font-size: 16px;
    font-weight: 600;
    color: #5D4037;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    background: linear-gradient(135deg, #ffffff 0%, #FFF9F0 100%);
    border: 1px solid rgba(160, 82, 45, 0.15);
    border-radius: 24px;
    padding: 52px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, #A0522D, #CD853F, #DAA520);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.feature-card:hover {
    transform: translateY(-12px) scale(1.02) !important;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(160, 82, 45, 0.1), rgba(205, 133, 63, 0.1));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    margin-bottom: 32px;
    transition: all 0.4s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.15) rotate(5deg);
}

.feature-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #3E2723 0%, #5D4037 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-desc {
    font-size: 16px;
    color: #5D4037;
    line-height: 1.8;
    font-weight: 400;
}

.footer {
    background: rgba(255, 254, 247, 0.9);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(160, 82, 45, 0.15);
    padding: 30px 40px;
    margin-top: 140px;
    position: relative;
    z-index: 1;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.footer-logo {
    font-size: 22px;
    font-weight: 800;
    background: linear-gradient(135deg, #A0522D 0%, #CD853F 50%, #DAA520 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.footer-text {
    color: rgba(62, 39, 35, 0.6);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Animation Classes */
.scroll-hidden {
    opacity: 0;
}

.scroll-fade-up {
    transform: translateY(60px);
    transition: opacity 1.4s ease, transform 1.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-fade-up.scroll-visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-scale {
    transform: scale(0.85);
    transition: opacity 1.4s ease, transform 1.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.scroll-scale.scroll-visible {
    opacity: 1;
    transform: scale(1);
}

.scroll-slide-left {
    transform: translateX(-80px);
    transition: opacity 1.4s ease, transform 1.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-slide-left.scroll-visible {
    opacity: 1;
    transform: translateX(0);
}

.scroll-slide-right {
    transform: translateX(80px);
    transition: opacity 1.4s ease, transform 1.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-slide-right.scroll-visible {
    opacity: 1;
    transform: translateX(0);
}

.scroll-rotate-in {
    transform: perspective(1000px) rotateX(-15deg) translateY(40px);
    transition: opacity 1.6s ease, transform 1.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.scroll-rotate-in.scroll-visible {
    opacity: 1;
    transform: perspective(1000px) rotateX(0) translateY(0);
}

.scroll-flip {
    transform: perspective(1000px) rotateY(90deg);
    transition: opacity 1.5s ease, transform 1.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.scroll-flip.scroll-visible {
    opacity: 1;
    transform: perspective(1000px) rotateY(0);
}

.scroll-slide-bottom {
    transform: translateY(150px);
    transition: opacity 2.2s ease, transform 2.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.scroll-slide-bottom.scroll-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .value-section {
        grid-template-columns: 1fr;
    }
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #A0522D;
    padding: 8px;
    -webkit-tap-highlight-color: rgba(160, 82, 45, 0.2);
    touch-action: manipulation;
}

@media (max-width: 768px) {
    /* Solid background behind iOS status bar */
    body::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: env(safe-area-inset-top);
        background: rgba(255, 254, 247, 1);
        z-index: 10000;
    }

    .navbar {
        border-bottom: none;
        background: rgba(255, 254, 247, 0.98);
        transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease;
        padding-top: calc(env(safe-area-inset-top) + 6px);
        padding-bottom: 5px;
    }

    .navbar-container {
        padding-top: 0;
        padding-bottom: 5px;
    }

    .navbar.navbar-hidden {
        transform: translateY(calc(-100% - env(safe-area-inset-top)));
    }

    .mobile-menu-toggle {
        display: block;
    }

    .nav-right {
        position: fixed;
        top: 59px;
        left: 0;
        right: 0;
        background: transparent;
        backdrop-filter: none;
        flex-direction: column;
        padding: 0;
        gap: 8px;
        border: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        z-index: 999;
    }

    .nav-right.active {
        background: rgba(255, 254, 247, 0.98);
        backdrop-filter: blur(20px);
        padding: 20px;
        border-bottom: 1px solid rgba(160, 82, 45, 0.15);
    }

    .nav-right.active {
        max-height: 600px;
    }

    .nav-link {
        width: 100%;
        text-align: left;
        padding: 16px 20px;
        font-size: 16px;
    }

    .logout-btn {
        width: 100%;
        text-align: left;
    }

    .lang-selector {
        width: 100%;
        justify-content: center;
        margin-top: 12px;
    }

    .hero h1 {
        font-size: 52px;
        letter-spacing: -2px;
    }

    .section-title {
        font-size: 42px;
        letter-spacing: -2px;
    }

    .navbar-container,
    .container {
        padding: 0 24px;
    }

    .hero {
        padding: 100px 24px 80px;
    }

    .stats-wrapper,
    .chart-wrapper {
        padding: 40px 28px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .signals-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .signal-card {
        padding: 20px;
    }

    .signal-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        margin-bottom: 24px;
        padding-bottom: 16px;
    }

    .pair-name {
        font-size: 22px;
    }

    .pair-time {
        font-size: 12px;
    }

    .signal-badge {
        padding: 8px 16px;
        font-size: 12px;
        width: 100%;
        justify-content: center;
    }

    .badge-win::before,
    .badge-loss::before {
        font-size: 16px;
    }

    .signal-details {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .detail-label {
        font-size: 11px;
    }

    .detail-value {
        font-size: 14px;
    }

    .footer {
        padding: 24px 20px;
    }

    .footer-logo {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .footer-text {
        font-size: 12px;
    }

    .value-section {
        gap: 0;
        margin-bottom: 80px;
        grid-template-columns: 1fr;
    }

    .value-item {
        padding: 50px 40px;
    }

    .value-title {
        font-size: 24px;
    }

    .value-desc {
        font-size: 16px;
    }
}
