/* Modern NexTrader Landing Page Styles */
/* Theme Colors Preserved:
   - Primary Blue: #0092ff
   - Red/Accent: #ef473d
   - Green CTA: #16c66d
   - Dark Headings: #223150
   - Body Text: #5e6576
   - Light Background: #fcfafb
   - Purple: #dc63ff
   - Orange: #ff6c02
*/

/* ===========================
   CSS Variables
   =========================== */
:root {
    --primary: #0092ff;
    --primary-dark: #0078d4;
    --primary-light: #33a7ff;
    --accent-red: #ef473d;
    --accent-green: #16c66d;
    --accent-green-dark: #13a859;
    --accent-purple: #dc63ff;
    --accent-orange: #ff6c02;
    --dark: #223150;
    --text: #5e6576;
    --text-light: #8a8f9c;
    --bg-light: #fcfafb;
    --bg-white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #0092ff 0%, #223150 100%);
    --gradient-hero: linear-gradient(135deg, #fcfafb 0%, #e8f4ff 50%, #fcfafb 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.12);
    --shadow-glow: 0 0 40px rgba(0, 146, 255, 0.15);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===========================
   Base Styles
   =========================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* ===========================
   Animated Background
   =========================== */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, rgba(0, 146, 255, 0.3), rgba(34, 49, 80, 0.2));
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, rgba(22, 198, 109, 0.2), rgba(0, 146, 255, 0.15));
    bottom: -150px;
    left: -150px;
    animation-delay: -7s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(220, 99, 255, 0.15), rgba(0, 146, 255, 0.1));
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -30px) scale(1.05);
    }
    50% {
        transform: translate(-20px, 20px) scale(0.95);
    }
    75% {
        transform: translate(-30px, -20px) scale(1.02);
    }
}

/* ===========================
   Typography
   =========================== */
h1, h2, h3, h4, h5, h6 {
    color: var(--dark);
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h4 { font-size: clamp(1rem, 2vw, 1.25rem); }

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title {
    margin-bottom: 1rem;
}

.section-title.white {
    color: white;
}

.section-description {
    font-size: 1rem;
    color: var(--text);
    max-width: 560px;
}

.section-description.white {
    color: rgba(255, 255, 255, 0.9);
}

.section-badge {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(0, 146, 255, 0.1), rgba(0, 146, 255, 0.05));
    border: 1px solid rgba(0, 146, 255, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1rem;
}

/* ===========================
   Buttons
   =========================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9375rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}

.btn i {
    font-size: 0.875rem;
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateX(4px);
}

.btn-primary {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 20px rgba(0, 146, 255, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 146, 255, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--dark);
    border-color: var(--dark);
}

.btn-outline:hover {
    background: var(--dark);
    color: white;
    transform: translateY(-2px);
}

.btn-success {
    background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-green-dark) 100%);
    color: white;
    border-color: var(--accent-green);
    box-shadow: 0 4px 20px rgba(22, 198, 109, 0.3);
}

.btn-success:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(22, 198, 109, 0.4);
}

.btn-telegram {
    background: #0088cc;
    color: white;
    border-color: #0088cc;
}

.btn-telegram:hover {
    background: #006da3;
    border-color: #006da3;
    transform: translateY(-2px);
}

.btn-lg {
    padding: 14px 28px;
    font-size: 0.9375rem;
}

.btn-xl {
    padding: 18px 36px;
    font-size: 1rem;
}

.btn-nav {
    padding: 8px 16px;
    font-size: 0.8125rem;
}

/* ===========================
   Navigation
   =========================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 8px 0;
    background: rgba(252, 250, 251, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(252, 250, 251, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    padding: 6px 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 26px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-link {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text);
    padding: 6px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ===========================
   Hero Section
   =========================== */
.hero {
    padding: 100px 0 50px;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(0, 146, 255, 0.1);
    border: 1px solid rgba(0, 146, 255, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 16px;
}

.pulse {
    width: 8px;
    height: 8px;
    background: var(--accent-green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.5);
    }
}

.hero-title {
    margin-bottom: 16px;
    line-height: 1.15;
}

.hero-title span {
    display: block;
    margin-top: 4px;
}

.hero-description {
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 24px;
    max-width: 480px;
}

.hero-cta {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-light);
}

.stat-divider {
    width: 1px;
    height: 32px;
    background: rgba(34, 49, 80, 0.15);
}

.hero-visual {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
}

.hero-image {
    width: 100%;
    max-width: 600px;
    filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.15));
    animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    font-weight: 600;
    animation: cardFloat 4s ease-in-out infinite;
}

.floating-card i {
    font-size: 1.25rem;
}

.card-1 {
    top: 20%;
    left: -20px;
    color: var(--accent-green);
    animation-delay: 0s;
}

.card-2 {
    bottom: 30%;
    right: -10px;
    color: var(--primary);
    animation-delay: -2s;
}

@keyframes cardFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(2deg);
    }
}

/* ===========================
   Features Cards Section
   =========================== */
.features-cards {
    padding: 60px 0;
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    position: relative;
    padding: 28px 24px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    font-size: 1.5rem;
}

.feature-icon.blue {
    background: rgba(0, 146, 255, 0.1);
    color: var(--primary);
}

.feature-icon.red {
    background: rgba(239, 71, 61, 0.1);
    color: var(--accent-red);
}

.feature-icon.green {
    background: rgba(22, 198, 109, 0.1);
    color: var(--accent-green);
}

.feature-card h3 {
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.feature-card p {
    color: var(--text);
    line-height: 1.7;
}

.feature-glow {
    position: absolute;
    bottom: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 200px;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.feature-glow.blue { background: var(--primary); }
.feature-glow.red { background: var(--accent-red); }
.feature-glow.green { background: var(--accent-green); }

.feature-card:hover .feature-glow {
    opacity: 0.15;
}

/* ===========================
   Signup Section
   =========================== */
.signup-section {
    padding: 60px 0;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.signup-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    pointer-events: none;
}

.signup-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.signup-section .section-title {
    color: white;
    margin-bottom: 1rem;
}

.signup-section .section-description {
    color: rgba(255, 255, 255, 0.9);
    margin: 0 auto 32px;
}

.signup-features {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.signup-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: white;
    transition: var(--transition);
}

.signup-feature:hover {
    transform: translateY(-5px);
}

.signup-feature-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    font-size: 1.25rem;
    transition: var(--transition);
}

.signup-feature:hover .signup-feature-icon {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

.signup-feature span {
    font-weight: 600;
    font-size: 0.875rem;
}

.signup-note {
    margin-top: 16px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

/* ===========================
   Platform Preview
   =========================== */
.platform-preview {
    padding: 40px 0;
    background: white;
}

.preview-wrapper {
    text-align: center;
}

.preview-image {
    max-width: 100%;
    border-radius: var(--radius-lg);
}

/* ===========================
   App Section
   =========================== */
.app-section {
    padding: 60px 0;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.app-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.app-text {
    color: white;
}

.app-section .section-badge {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    color: white;
}

.app-section .section-title {
    color: white;
}

.app-section .section-description {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 24px;
    max-width: none;
}

.app-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

.app-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.app-feature:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
}

.app-feature i {
    font-size: 1.1rem;
}

.app-feature span {
    font-weight: 500;
    font-size: 0.9rem;
}

.play-store-btn {
    display: inline-block;
}

.play-store-btn img {
    height: 60px;
}

.app-note {
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

.app-note .rating {
    color: #ffd700;
}

.app-visual {
    display: flex;
    justify-content: center;
}

.phone-mockup {
    position: relative;
}

.phone-mockup img {
    max-width: 300px;
    filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.3));
    animation: phoneFloat 6s ease-in-out infinite;
}

@keyframes phoneFloat {
    0%, 100% {
        transform: translateY(0) rotate(-2deg);
    }
    50% {
        transform: translateY(-15px) rotate(2deg);
    }
}

/* ===========================
   Timeframe Section
   =========================== */
.timeframe-section {
    padding: 60px 0;
    background: white;
}

.timeframe-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.timeframe-visual {
    position: relative;
}

.timeframe-image {
    width: 100%;
    border-radius: var(--radius-lg);
}

.timeframe-text .section-badge {
    background: rgba(239, 71, 61, 0.1);
    border-color: rgba(239, 71, 61, 0.2);
    color: var(--accent-red);
}

.timeframe-text .section-description {
    margin-bottom: 24px;
    max-width: none;
}

/* ===========================
   Telegram Section
   =========================== */
.telegram-section {
    padding: 40px 0;
    background: var(--bg-light);
}

.telegram-card {
    text-align: center;
    padding: 32px;
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.telegram-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0088cc, #006da3);
    border-radius: 50%;
    margin: 0 auto 16px;
    font-size: 1.5rem;
    color: white;
}

.telegram-card h3 {
    margin-bottom: 8px;
}

.telegram-card p {
    color: var(--text);
    margin-bottom: 16px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* ===========================
   Features Section
   =========================== */
.features-section {
    padding: 60px 0;
    background: var(--gradient-primary);
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header .section-description {
    margin: 0 auto;
}

.features-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-item {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.feature-item:hover,
.feature-item.active {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.feature-item-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    font-size: 1.1rem;
    color: white;
}

.feature-item-icon.green { background: var(--accent-green); }
.feature-item-icon.blue { background: var(--primary); }
.feature-item-icon.purple { background: var(--accent-purple); }
.feature-item-icon.orange { background: var(--accent-orange); }

.feature-item-content h4 {
    color: white;
    margin-bottom: 6px;
    font-size: 1rem;
}

.feature-item-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    line-height: 1.5;
    display: none;
}

.feature-item.active .feature-item-content p {
    display: block;
}

.features-visual {
    display: flex;
    justify-content: center;
}

.features-visual img {
    max-width: 100%;
    border-radius: var(--radius-lg);
}

/* ===========================
   Trusted Section
   =========================== */
.trusted-section {
    padding: 40px 0;
    background: white;
}

.trusted-content {
    text-align: center;
}

.trusted-content h4 {
    margin-bottom: 20px;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text);
}

.trusted-content .highlight {
    color: var(--primary);
    font-weight: 700;
}

.trusted-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

.trusted-logos img {
    height: 32px;
    opacity: 0.6;
    transition: var(--transition);
    filter: grayscale(100%);
}

.trusted-logos img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* ===========================
   Auto Trading Section
   =========================== */
.auto-trading-section {
    padding: 40px 0 60px;
    background: var(--bg-light);
}

.auto-trading-card {
    text-align: center;
    padding: 40px 32px;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    color: white;
}

.auto-trading-card h2 {
    color: white;
    margin-bottom: 12px;
}

.auto-trading-card p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 24px;
}

/* ===========================
   Footer
   =========================== */
.footer {
    padding: 50px 0 30px;
    background: var(--bg-light);
}

.footer-content {
    text-align: center;
    margin-bottom: 24px;
}

.footer-content h4 {
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.social-link {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    color: var(--primary);
    font-size: 1.1rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(34, 49, 80, 0.1);
}

.footer-bottom p {
    color: var(--text-light);
    font-size: 0.875rem;
}

.footer-bottom a {
    color: var(--primary);
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* ===========================
   Back to Top
   =========================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary);
    transform: translateY(-4px);
}

/* ===========================
   Animations
   =========================== */
.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===========================
   Google Translate Override
   =========================== */
#gt_float_wrapper {
    bottom: 100px !important;
    right: 20px !important;
}

.gt_float_switcher {
    font-size: 13px !important;
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 1024px) {
    .hero-content,
    .app-content,
    .timeframe-content,
    .features-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-text {
        text-align: center;
    }

    .hero-description {
        margin: 0 auto 24px;
        max-width: 100%;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
    }

    .hero-image {
        max-width: 350px;
        margin: 0 auto;
        display: block;
    }

    .floating-card {
        display: none;
    }

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .feature-card {
        padding: 20px 16px;
    }

    .app-text {
        text-align: center;
    }

    .app-features {
        max-width: 400px;
        margin: 0 auto 24px;
    }

    .timeframe-content {
        text-align: center;
    }

    .timeframe-text .section-description {
        margin: 0 auto 24px;
    }

    .features-visual {
        order: -1;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 70px 24px 24px;
        box-shadow: var(--shadow-lg);
        transition: right 0.3s ease;
        gap: 20px;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-links {
        flex-direction: column;
        gap: 8px;
    }

    .nav-link {
        font-size: 1rem;
        padding: 10px 0;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .hero {
        padding: 80px 0 40px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 16px;
        justify-content: center;
    }

    .stat-item {
        text-align: center;
    }

    .stat-divider {
        display: none;
    }

    .features-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .feature-card {
        padding: 24px 20px;
    }

    .signup-features {
        gap: 16px;
    }

    .signup-feature-icon {
        width: 48px;
        height: 48px;
        font-size: 1.1rem;
    }

    .app-features {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .phone-mockup img {
        max-width: 220px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .features-content {
        gap: 30px;
    }

    .feature-item {
        padding: 14px;
    }

    .telegram-card {
        padding: 28px 20px;
    }

    .auto-trading-card {
        padding: 32px 20px;
    }

    .footer {
        padding: 40px 0 24px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .btn {
        padding: 12px 20px;
        font-size: 0.8125rem;
    }

    .btn-lg {
        padding: 12px 22px;
        font-size: 0.875rem;
    }

    .btn-xl {
        padding: 14px 26px;
        font-size: 0.9375rem;
    }

    .hero {
        padding: 70px 0 30px;
    }

    .hero-title {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .hero-description {
        font-size: 0.9rem;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 6px 12px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .hero-cta .btn {
        width: 100%;
        max-width: 280px;
    }

    .hero-stats {
        gap: 12px;
    }

    .stat-number {
        font-size: 1.25rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    .features-cards,
    .signup-section,
    .app-section,
    .timeframe-section,
    .features-section {
        padding: 40px 0;
    }

    .signup-features {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .signup-feature span {
        font-size: 0.75rem;
    }

    .signup-feature-icon {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }

    .app-features {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .app-feature {
        padding: 10px;
    }

    .app-feature span {
        font-size: 0.8rem;
    }

    .phone-mockup img {
        max-width: 180px;
    }

    .feature-item {
        flex-direction: column;
        text-align: center;
        padding: 12px;
    }

    .feature-item-icon {
        margin: 0 auto 8px;
    }

    .feature-item-content h4 {
        font-size: 0.9rem;
    }

    .telegram-card {
        padding: 24px 16px;
    }

    .telegram-icon {
        width: 52px;
        height: 52px;
        font-size: 1.25rem;
    }

    .auto-trading-card {
        padding: 28px 16px;
    }

    .section-title {
        font-size: 1.25rem;
    }

    .section-description {
        font-size: 0.9rem;
    }

    .footer {
        padding: 32px 0 20px;
    }

    .footer-content h4 {
        font-size: 1rem;
    }

    .social-link {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }

    .trusted-logos img {
        height: 24px;
    }

    .platform-preview {
        padding: 24px 0;
    }

    .telegram-section {
        padding: 30px 0;
    }

    .trusted-section {
        padding: 30px 0;
    }

    .auto-trading-section {
        padding: 30px 0 40px;
    }
}

/* Extra small devices */
@media (max-width: 360px) {
    .container {
        padding: 0 12px;
    }

    .hero-title {
        font-size: 1.35rem;
    }

    .hero-cta .btn {
        max-width: 100%;
    }

    .signup-features {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .signup-feature-icon {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .signup-feature span {
        font-size: 0.7rem;
    }

    .section-title {
        font-size: 1.15rem;
    }

    .btn-xl {
        padding: 12px 20px;
        font-size: 0.875rem;
    }
}

#gt_float_wrapper {
	bottom: 1em !important;
	right: 10px !important;
}

.gt_float_switcher {
	font-size: 13px !important;
}

.gt_float_switcher img {
	width: 20px !important;
}

.gt_float_switcher .gt-selected .gt-current-lang {
	padding: 3px 8px !important;
}