/**
 * Jyle Theme Main Stylesheet
 * Based on design.json specifications
 */

/* CSS Variables - Following background.json specifications */
:root {
    /* Background Colors from background.json */
    --primary-background: #0A0518;
    --surface-background: rgba(23, 17, 43, 0.5);

    /* Text Colors from background.json */
    --text-primary: #FFFFFF;
    --text-secondary: #B0A8D9;

    /* Accent Colors from background.json */
    --accent-magenta: #D900FF;
    --accent-purple: #8C1EFF;
    --accent-cyan: #00F0FF;

    /* Component Colors from background.json */
    --border-color: rgba(140, 30, 255, 0.4);
    --component-surface: rgba(23, 17, 43, 0.5);

    /* Gradients from background.json */
    --gradient-primary-cta: linear-gradient(90deg, #D900FF, #8C1EFF);
    --gradient-secondary-cta: linear-gradient(90deg, #8C1EFF, #00F0FF);
    --gradient-aura: radial-gradient(circle, rgba(140, 30, 255, 0.2), transparent 70%);

    /* Grid System from background.json */
    --grid-color: rgba(140, 30, 255, 0.08);
    --grid-size: 40px;
    --grid-line-width: 1px;

    /* Effects from background.json */
    --border-radius: 12px;
    --glow-subtle: 0 0 15px rgba(140, 30, 255, 0.3);
    --glow-strong: 0 0 25px rgba(217, 0, 255, 0.5);
    --glassmorphism-bg: rgba(23, 17, 43, 0.5);
    --glassmorphism-border: 1px solid rgba(140, 30, 255, 0.4);
    --glassmorphism-blur: blur(10px);

    /* Spacing from background.json */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 32px;
    --spacing-xl: 64px;
    --spacing-xxl: 128px;

    /* Container Width */
    --container-width: 1200px;
}

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    background-color: var(--primary-background);
    position: relative;
    overflow-x: hidden;
}

/* Background System from background.json */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Static Grid Layer - background.json layer 1 */
    background-image:
        linear-gradient(var(--grid-color) var(--grid-line-width), transparent var(--grid-line-width)),
        linear-gradient(90deg, var(--grid-color) var(--grid-line-width), transparent var(--grid-line-width));
    background-size: var(--grid-size) var(--grid-size);
    z-index: -3;
    pointer-events: none;
}

/* Dynamic Auras Layer - background.json layer 2 */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 30%, rgba(140, 30, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 240, 255, 0.2) 0%, transparent 60%),
        radial-gradient(circle at 60% 20%, rgba(217, 0, 255, 0.18) 0%, transparent 55%);
    filter: blur(100px);
    animation: dynamicAuras 60s ease-in-out infinite alternate;
    z-index: -2;
    pointer-events: none;
    mix-blend-mode: hard-light;
}

/* Vertical Light Streaks - background.json layer 3 */
.light-streak {
    position: fixed;
    top: 0;
    width: 2px;
    height: 100vh;
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(255, 255, 255, 0.5) 20%,
        rgba(255, 255, 255, 0.8) 50%,
        rgba(255, 255, 255, 0.5) 80%,
        transparent 100%);
    z-index: -1;
    pointer-events: none;
    opacity: 0;
    animation: lightStreak 8s ease-in-out infinite;
}

.light-streak:nth-child(1) {
    left: 15%;
    animation-delay: 2s;
}

.light-streak:nth-child(2) {
    left: 75%;
    animation-delay: 12s;
}

.light-streak:nth-child(3) {
    left: 45%;
    animation-delay: 25s;
}

/* Background Animation Keyframes from background.json */
@keyframes dynamicAuras {
    0% {
        background:
            radial-gradient(circle at 20% 30%, rgba(140, 30, 255, 0.15) 0%, transparent 50%),
            radial-gradient(circle at 80% 70%, rgba(0, 240, 255, 0.2) 0%, transparent 60%),
            radial-gradient(circle at 60% 20%, rgba(217, 0, 255, 0.18) 0%, transparent 55%);
    }
    25% {
        background:
            radial-gradient(circle at 70% 60%, rgba(140, 30, 255, 0.2) 0%, transparent 55%),
            radial-gradient(circle at 30% 20%, rgba(0, 240, 255, 0.15) 0%, transparent 50%),
            radial-gradient(circle at 90% 80%, rgba(217, 0, 255, 0.25) 0%, transparent 60%);
    }
    50% {
        background:
            radial-gradient(circle at 40% 80%, rgba(140, 30, 255, 0.18) 0%, transparent 50%),
            radial-gradient(circle at 90% 30%, rgba(0, 240, 255, 0.22) 0%, transparent 65%),
            radial-gradient(circle at 10% 50%, rgba(217, 0, 255, 0.15) 0%, transparent 50%);
    }
    75% {
        background:
            radial-gradient(circle at 80% 20%, rgba(140, 30, 255, 0.25) 0%, transparent 60%),
            radial-gradient(circle at 20% 80%, rgba(0, 240, 255, 0.18) 0%, transparent 55%),
            radial-gradient(circle at 50% 40%, rgba(217, 0, 255, 0.2) 0%, transparent 50%);
    }
    100% {
        background:
            radial-gradient(circle at 30% 40%, rgba(140, 30, 255, 0.2) 0%, transparent 55%),
            radial-gradient(circle at 70% 90%, rgba(0, 240, 255, 0.25) 0%, transparent 60%),
            radial-gradient(circle at 85% 10%, rgba(217, 0, 255, 0.15) 0%, transparent 50%);
    }
}

@keyframes lightStreak {
    0% {
        opacity: 0;
        transform: translateX(-100px) scaleY(0.5);
    }
    10% {
        opacity: 1;
        transform: translateX(0) scaleY(1);
    }
    90% {
        opacity: 1;
        transform: translateX(0) scaleY(1);
    }
    100% {
        opacity: 0;
        transform: translateX(100px) scaleY(0.5);
    }
}

/* Typography - Following background.json specifications */
h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
    font-family: 'Inter', 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Heading sizes from background.json */
h1 {
    font-size: clamp(2rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(1.8rem, 4vw, 3.5rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
}

/* Subheadings from background.json */
.subheading {
    font-family: 'Inter', 'Poppins', sans-serif;
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-weight: 400;
    color: var(--text-secondary);
    text-transform: none;
    letter-spacing: normal;
}

/* Body text from background.json */
p, body {
    font-family: 'Inter', 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
}

/* Labels from background.json */
.label {
    font-family: 'Inter', 'Poppins', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
}

h1, .h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

h2, .h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
}

h3, .h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

p {
    margin-top: 0;
    margin-bottom: var(--spacing-md);
}

.command-text {
    font-family: 'Fira Code', monospace;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-primary);
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin-right: auto;
    margin-left: auto;
    padding-right: var(--spacing-md);
    padding-left: var(--spacing-md);
}

/* Sections - Following background.json specifications */
.section {
    padding: var(--spacing-xl) 0;
    position: relative;
    overflow: hidden;
}

/* Glassmorphism Cards - Following background.json specifications */
.glassmorphism-card {
    background: var(--glassmorphism-bg);
    backdrop-filter: var(--glassmorphism-blur);
    border: var(--glassmorphism-border);
    border-radius: var(--border-radius);
    padding: var(--spacing-lg);
    box-shadow: var(--glow-subtle);
    transition: all 0.3s ease;
}

.glassmorphism-card:hover {
    border-color: rgba(217, 0, 255, 0.6);
    transform: translateY(-5px);
}

/* Floating particles for enhanced effect */
.section .floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.section .floating-particles::before,
.section .floating-particles::after {
    content: '';
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--accent-purple);
    border-radius: 50%;
    animation: floatParticle 15s linear infinite;
    box-shadow: 0 0 6px var(--accent-purple);
}

.section .floating-particles::before {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 18s;
}

.section .floating-particles::after {
    top: 60%;
    right: 15%;
    background: var(--accent-cyan);
    box-shadow: 0 0 6px var(--accent-cyan);
    animation-delay: 8s;
    animation-duration: 22s;
}

/* Scroll Animations - Following background.json specifications */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-up.animate {
    opacity: 1;
    transform: translateY(0px);
}

/* Stagger delay for grid items */
.fade-in-up:nth-child(1) { transition-delay: 0s; }
.fade-in-up:nth-child(2) { transition-delay: 0.1s; }
.fade-in-up:nth-child(3) { transition-delay: 0.2s; }
.fade-in-up:nth-child(4) { transition-delay: 0.3s; }
.fade-in-up:nth-child(5) { transition-delay: 0.4s; }
.fade-in-up:nth-child(6) { transition-delay: 0.5s; }

/* Accessibility - Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .light-streak {
        display: none;
    }

    body::after {
        animation: none;
    }
}

.reduced-motion .light-streak {
    display: none;
}

.reduced-motion body::after {
    animation-duration: 120s;
}

/* Text Glitch Animation - Following glitch.json specifications */
.glitch-text {
    position: relative;
    display: inline-block;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.glitch-text::before {
    color: var(--accent-magenta);
    animation: glitch-anim-1 2.5s infinite linear alternate-reverse;
    z-index: -1;
}

.glitch-text::after {
    color: var(--accent-cyan);
    animation: glitch-anim-2 3.5s infinite linear alternate-reverse;
    z-index: -2;
}

.glitch-text:hover::before,
.glitch-text:hover::after {
    opacity: 1;
}

/* Ensure all glitch elements have consistent hover behavior */
.glitch-text::before,
.glitch-text::after {
    opacity: 0;
    transition: opacity 0.2s ease;
    background: transparent;
}

/* Glitch Animation Keyframes from glitch.json */
@keyframes glitch-anim-1 {
    0% { transform: translate(0); }
    2% { transform: translate(-3px, 2px); }
    4% { transform: translate(3px, -2px); }
    6% { transform: translate(-2px, 3px); }
    8% { transform: translate(2px, -3px); }
    10% { transform: translate(0); }
    12% { transform: translate(-1px, 1px); }
    14% { transform: translate(1px, -1px); }
    16% { transform: translate(-2px, 0px); }
    18% { transform: translate(2px, 0px); }
    20% { transform: translate(0); }
    22% { transform: translate(-3px, 1px); }
    24% { transform: translate(3px, -1px); }
    26% { transform: translate(-1px, 2px); }
    28% { transform: translate(1px, -2px); }
    30% { transform: translate(0); }
    35% { transform: translate(-2px, 1px); }
    40% { transform: translate(2px, -1px); }
    45% { transform: translate(-1px, 3px); }
    50% { transform: translate(1px, -3px); }
    55% { transform: translate(-3px, 0px); }
    60% { transform: translate(3px, 0px); }
    65% { transform: translate(0); }
    70% { transform: translate(-1px, 1px); }
    75% { transform: translate(1px, -1px); }
    80% { transform: translate(-2px, 2px); }
    85% { transform: translate(2px, -2px); }
    90% { transform: translate(0); }
    100% { transform: translate(0); }
}

@keyframes glitch-anim-2 {
    0% { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
    2% { clip-path: polygon(0 20%, 100% 20%, 100% 25%, 0 25%); }
    4% { clip-path: polygon(0 45%, 100% 45%, 100% 55%, 0 55%); }
    6% { clip-path: polygon(0 0, 100% 0, 100% 15%, 0 15%); }
    8% { clip-path: polygon(0 70%, 100% 70%, 100% 80%, 0 80%); }
    10% { clip-path: polygon(0 85%, 100% 85%, 100% 100%, 0 100%); }
    12% { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
    14% { clip-path: polygon(0 30%, 100% 30%, 100% 35%, 0 35%); }
    16% { clip-path: polygon(0 60%, 100% 60%, 100% 70%, 0 70%); }
    18% { clip-path: polygon(0 0, 100% 0, 100% 25%, 0 25%); }
    20% { clip-path: polygon(0 90%, 100% 90%, 100% 100%, 0 100%); }
    22% { clip-path: polygon(0 75%, 100% 75%, 100% 85%, 0 85%); }
    24% { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
    26% { clip-path: polygon(0 40%, 100% 40%, 100% 50%, 0 50%); }
    28% { clip-path: polygon(0 10%, 100% 10%, 100% 20%, 0 20%); }
    30% { clip-path: polygon(0 65%, 100% 65%, 100% 75%, 0 75%); }
    32% { clip-path: polygon(0 0, 100% 0, 100% 5%, 0 5%); }
    34% { clip-path: polygon(0 95%, 100% 95%, 100% 100%, 0 100%); }
    36% { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
    40% { clip-path: polygon(0 50%, 100% 50%, 100% 60%, 0 60%); }
    45% { clip-path: polygon(0 0, 100% 0, 100% 30%, 0 30%); }
    50% { clip-path: polygon(0 80%, 100% 80%, 100% 90%, 0 90%); }
    55% { clip-path: polygon(0 35%, 100% 35%, 100% 45%, 0 45%); }
    60% { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
    65% { clip-path: polygon(0 15%, 100% 15%, 100% 25%, 0 25%); }
    70% { clip-path: polygon(0 55%, 100% 55%, 100% 65%, 0 65%); }
    75% { clip-path: polygon(0 85%, 100% 85%, 100% 95%, 0 95%); }
    80% { clip-path: polygon(0 0, 100% 0, 100% 10%, 0 10%); }
    85% { clip-path: polygon(0 25%, 100% 25%, 100% 35%, 0 35%); }
    90% { clip-path: polygon(0 75%, 100% 75%, 100% 85%, 0 85%); }
    95% { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
    100% { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
}

/* Accessibility - Disable glitch for reduced motion */
@media (prefers-reduced-motion: reduce) {
    .glitch-text::before,
    .glitch-text::after {
        animation: none;
    }
}

.reduced-motion .glitch-text::before,
.reduced-motion .glitch-text::after {
    animation: none;
}

/* Enhanced Glitch Effects - Unified navbar-style timing for all titles */
.hero-title.glitch-text::before,
.section-title.glitch-text::before,
.cta-title.glitch-text::before,
.glitch-intense::before {
    animation: glitch-anim-1 1.5s infinite linear alternate-reverse;
    font-size: inherit;
    font-weight: inherit;
    text-transform: inherit;
    letter-spacing: inherit;
    opacity: 0;
    transition: opacity 0.2s ease;
    background: transparent;
}

.hero-title.glitch-text::after,
.section-title.glitch-text::after,
.cta-title.glitch-text::after,
.glitch-intense::after {
    animation: glitch-anim-2 2.2s infinite linear alternate-reverse;
    font-size: inherit;
    font-weight: inherit;
    text-transform: inherit;
    letter-spacing: inherit;
    opacity: 0;
    transition: opacity 0.2s ease;
    background: transparent;
}

/* Hover states for intense glitch effect */
.hero-title.glitch-text:hover::before,
.section-title.glitch-text:hover::before,
.cta-title.glitch-text:hover::before,
.glitch-intense:hover::before {
    opacity: 1;
}

.hero-title.glitch-text:hover::after,
.section-title.glitch-text:hover::after,
.cta-title.glitch-text:hover::after,
.glitch-intense:hover::after {
    opacity: 1;
}

/* Navigation glitch effects - same timing as titles */
.primary-menu a.glitch-text::before {
    animation: glitch-anim-1 1.5s infinite linear alternate-reverse;
    font-size: inherit;
    font-weight: inherit;
    text-transform: inherit;
    letter-spacing: inherit;
    opacity: 0;
    transition: opacity 0.2s ease;
    background: transparent;
}

.primary-menu a.glitch-text::after {
    animation: glitch-anim-2 2.2s infinite linear alternate-reverse;
    font-size: inherit;
    font-weight: inherit;
    text-transform: inherit;
    letter-spacing: inherit;
    opacity: 0;
    transition: opacity 0.2s ease;
    background: transparent;
}

.primary-menu a.glitch-text:hover::before,
.primary-menu a.glitch-text:hover::after {
    opacity: 1;
}

/* Subtle glitch for smaller text elements */
.feature-title.glitch-text::before,
.command-title.glitch-text::before,
.metric-title.glitch-text::before {
    animation: glitch-anim-1 1.5s infinite linear alternate-reverse;
}

.feature-title.glitch-text::after,
.command-title.glitch-text::after,
.metric-title.glitch-text::after {
    animation: glitch-anim-2 2.2s infinite linear alternate-reverse;
}

/* Intense glitch for CTA buttons */
.btn-primary.glitch-text:hover::before,
.btn-primary.glitch-text:hover::after {
    opacity: 0.8;
    animation-duration: 0.8s, 1.2s;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    position: relative;
    z-index: 1;
}

.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: var(--spacing-lg);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    border-radius: 3px;
}

/* Buttons */
.btn {
    display: inline-block;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 1px solid transparent;
    padding: 12px 24px;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: var(--border-radius-md);
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}

/* Primary Button - Following background.json specifications */
.btn-primary {
    color: var(--text-primary);
    background: var(--gradient-primary-cta);
    border: none;
    border-radius: var(--border-radius);
    padding: 12px 24px;
    box-shadow: var(--glow-strong);
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.telegram-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.telegram-icon svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.btn-primary:hover, .btn-primary:focus {
    transform: scale(1.05);
    box-shadow: 0 0 35px rgba(217, 0, 255, 0.7);
    color: var(--text-primary);
}

/* Secondary Button - Following background.json specifications */
.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--accent-purple);
    border-radius: var(--border-radius);
    padding: 12px 24px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn-secondary:hover {
    background-color: rgba(140, 30, 255, 0.15);
    box-shadow: var(--glow-subtle);
    color: var(--text-primary);
}

.btn-secondary:hover, .btn-secondary:focus {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border-color: var(--accent-purple);
}

.btn-pill {
    display: inline-block;
    padding: 6px 12px;
    border-radius: var(--border-radius-sm);
    background-color: var(--pill-background);
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 500;
}

/* Cards */
.card {
    background-color: var(--container-background);
    border-radius: var(--border-radius-xl);
    border: 1px solid var(--border-color);
    padding: var(--spacing-lg);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 0 20px var(--glow-color);
    border-color: var(--accent-purple);
}

/* Icon Containers */
.icon-container {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-sm);
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid var(--border-color);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-xl);
    max-width: 1400px;
    padding: 0 var(--spacing-lg);
}

.site-branding {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.custom-logo-link {
    display: block;
    max-width: 150px;
}

.custom-logo {
    max-width: 100%;
    height: auto;
}

.site-title {
    margin: 0;
    font-size: 1.5rem;
}

.site-title a {
    color: var(--text-primary);
    text-decoration: none;
}

.site-description {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Navigation */
.main-navigation {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: center;
    margin: 0 var(--spacing-xl);
}

.menu-toggle {
    display: none;
}

.primary-menu-container {
    display: flex;
    justify-content: center;
}

/* Hide the WordPress menu */
.wp-primary-menu-container {
    display: none;
}

.primary-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: var(--spacing-xl);
    align-items: center;
}

.primary-menu li {
    position: relative;
}

.primary-menu a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
    position: relative;
}

.primary-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gradient-start), var(--gradient-end));
    transition: width 0.3s ease;
}

.primary-menu a:hover {
    color: var(--accent-purple);
}

.primary-menu a:hover::after {
    width: 100%;
}

.primary-menu .current-menu-item a {
    color: var(--accent-purple);
}

.primary-menu .current-menu-item a::after {
    width: 100%;
}

.header-cta {
    flex-shrink: 0;
    margin-left: var(--spacing-lg);
}

/* Footer */
.site-footer {
    background: linear-gradient(135deg,
        rgba(0, 0, 0, 0.9) 0%,
        rgba(20, 20, 40, 0.95) 50%,
        rgba(0, 0, 0, 0.9) 100%);
    padding: var(--spacing-xxl) 0 var(--spacing-lg);
    border-top: 1px solid rgba(138, 43, 226, 0.2);
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 20%, rgba(138, 43, 226, 0.05), transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(75, 0, 130, 0.05), transparent 50%);
    z-index: -1;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--spacing-xxl);
    margin-bottom: var(--spacing-xxl);
    align-items: start;
}

.footer-brand {
    max-width: 350px;
}

.footer-logo {
    margin-bottom: var(--spacing-lg);
}

.footer-logo .custom-logo {
    max-height: 40px;
    width: auto;
}

.footer-description {
    margin-bottom: var(--spacing-xl);
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-description p {
    margin-bottom: 0.5rem;
}

.footer-social {
    margin-top: var(--spacing-lg);
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
    list-style: none;
    margin: 0;
    padding: 0;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    background-color: var(--accent-purple);
    color: var(--text-primary);
    transform: translateY(-2px);
    border-color: var(--accent-purple);
}

.social-links svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.footer-links-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
}

.footer-column-title {
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-lg);
    position: relative;
}

.footer-column-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-purple), var(--accent-cyan));
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: var(--spacing-sm);
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: block;
    padding: 4px 0;
}

.footer-links a:hover {
    color: var(--accent-purple);
    padding-left: 8px;
}

.footer-bottom {
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-copyright {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.6;
}

.footer-copyright p {
    margin-bottom: 0.25rem;
}

.footer-copyright p:first-child {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

/* Hero Section - Following Jyle Design System */
.section-hero {
    padding: var(--spacing-xxl) 0;
    position: relative;
    overflow: hidden;
    background: hsla(257, 75%, 6%, 1); /* primaryBackground from design system */
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.section-hero::before {
    background: radial-gradient(circle at 20% 30%, rgba(138, 43, 226, 0.15), transparent 60%),
                radial-gradient(circle at 80% 70%, rgba(75, 0, 130, 0.12), transparent 60%),
                radial-gradient(circle at 60% 20%, rgba(0, 191, 255, 0.08), transparent 50%);
    animation: backgroundFlow 25s ease-in-out infinite;
}

.section-hero::after {
    background:
        linear-gradient(45deg, transparent 48%, rgba(138, 43, 226, 0.03) 49%, rgba(138, 43, 226, 0.03) 51%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(0, 191, 255, 0.03) 49%, rgba(0, 191, 255, 0.03) 51%, transparent 52%);
    background-size: 80px 80px;
    animation: gridFlow 40s linear infinite;
}

.section-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 50%, hsla(270, 100%, 65%, 0.4), transparent 50%); /* glowColor from design system */
    opacity: 0.5;
    z-index: -1;
}

.section-hero .container {
    max-width: 1400px;
    width: 100%;
}

/* Hero Header - Centered title section */
.hero-header {
    text-align: center;
    margin-bottom: var(--spacing-xxl);
}

/* Hero Main Content - Two column layout */
.hero-main-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: flex-start;
}

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

.hero-title {
    margin-bottom: var(--spacing-sm);
    font-family: 'SF Pro Display', 'Roboto', sans-serif; /* headingLarge from design system */
    font-weight: 700;
    font-size: clamp(3rem, 6vw, 5rem);
    text-transform: uppercase;
    letter-spacing: 2px;
    color: hsl(0, 0%, 100%); /* textPrimary from design system */
    background: linear-gradient(90deg, hsl(0, 0%, 100%), hsl(270, 100%, 65%));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    line-height: 1.1;
}

.hero-subtitle {
    margin-bottom: var(--spacing-lg);
    font-family: 'SF Pro Display', 'Roboto', sans-serif; /* headingMedium from design system */
    font-weight: 600;
    color: hsl(180, 80%, 70%); /* accentCyan from design system */
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.chain-buttons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    margin: var(--spacing-lg) 0;
    flex-wrap: wrap;
}

.chain-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px; /* pills padding from design system */
    border-radius: 25px; /* More rounded for pill effect */
    background-color: hsla(240, 10%, 20%, 0.7); /* pills backgroundColor from design system */
    border: 1px solid hsla(240, 20%, 80%, 0.2); /* from cards.default.border */
    color: hsl(0, 0%, 100%); /* textPrimary from design system */
    font-family: 'Inter', 'Helvetica Neue', sans-serif; /* body font from design system */
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chain-button:hover {
    background: linear-gradient(135deg, hsl(270, 90%, 60%), hsl(210, 90%, 60%)); /* gradient from design system */
    border-color: hsl(270, 100%, 65%); /* accentPurple from design system */
    transform: translateY(-1px);
    box-shadow: 0 4px 12px hsla(270, 100%, 65%, 0.3); /* using glowColor from design system */
}

.hero-description {
    margin: var(--spacing-lg) 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-description p {
    font-family: 'Inter', 'Helvetica Neue', sans-serif; /* body font from design system */
    font-weight: 400;
    font-size: 1.1rem;
    line-height: 1.6;
    color: hsl(240, 10%, 75%); /* textSecondary from design system */
}

.hero-cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
    flex-wrap: wrap;
    justify-content: flex-start;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px; /* primary/secondary padding from design system */
    border-radius: 8px; /* primary/secondary borderRadius from design system */
    text-decoration: none;
    font-family: 'Inter', 'Helvetica Neue', sans-serif; /* body font from design system */
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.cta-primary {
    background: linear-gradient(135deg, hsl(270, 90%, 60%), hsl(210, 90%, 60%)); /* gradientStart to gradientEnd from design system */
    color: hsl(0, 0%, 100%); /* white text as specified */
    box-shadow: 0 4px 15px hsla(270, 100%, 65%, 0.4); /* subtle glow effect */
}

.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px hsla(270, 100%, 65%, 0.4); /* intensified glow on hover */
    color: hsl(0, 0%, 100%);
}

.cta-secondary {
    background: transparent;
    color: hsl(270, 100%, 65%); /* accentPurple from design system */
    border-color: hsl(270, 100%, 65%); /* solid 1px border in accent color */
}

.cta-secondary:hover {
    background-color: hsla(270, 100%, 65%, 0.1); /* semi-transparent fill on hover */
    border-color: hsl(270, 100%, 65%);
    color: hsl(270, 100%, 65%);
    transform: translateY(-2px);
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 100%;
    max-width: 320px;
    aspect-ratio: 9/19;
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    border-radius: 24px;
    border: 2px solid #2a2a4a;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.6),
        0 0 20px hsla(270, 100%, 65%, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.phone-mockup:hover {
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.7),
        0 0 30px hsla(270, 100%, 65%, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #0f0f23 0%, #1a1a2e 100%);
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bot-interface {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: #ffffff;
    font-family: 'Inter', 'Helvetica Neue', sans-serif;
    font-size: 0.8rem;
    line-height: 1.4;
    gap: 8px;
}

/* Bot Logo at Top Center */
.bot-logo-top {
    display: flex;
    justify-content: center;
    margin-bottom: 8px;
    padding-top: 4px;
}

.bot-logo-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(139, 92, 246, 0.3));
    animation: spin 3s linear infinite;
}

/* Spinning animation keyframes */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Bot Header */
.bot-header {
    text-align: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 12px;
}

.bot-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Bot Messages and Sections */
.bot-message {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    font-size: 0.75rem;
}

.message-icon {
    font-size: 0.9rem;
}

.bot-wallet-section {
    padding: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
}

.wallet-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

.wallet-address {
    font-family: 'Fira Code', monospace;
    font-size: 0.65rem;
    color: #a0a0a0;
    background: rgba(0, 0, 0, 0.3);
    padding: 4px 6px;
    border-radius: 4px;
    word-break: break-all;
}

.bot-balance-section {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    font-size: 0.75rem;
}

.bot-input-section {
    padding: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
}

.input-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    font-size: 0.75rem;
    font-weight: 500;
}

.token-input-field input {
    width: 100%;
    padding: 6px 8px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: #a0a0a0;
    font-size: 0.65rem;
    font-family: 'Fira Code', monospace;
    outline: none;
}

/* Bot Status */
.bot-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #10b981;
    text-align: center;
}

/* Main Action Buttons */
.bot-main-buttons {
    display: flex;
    gap: 6px;
    margin: 8px 0;
}

.main-btn {
    flex: 1;
    padding: 8px 4px;
    background: #10b981;
    border: none;
    border-radius: 6px;
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.main-btn:hover {
    background: #059669;
    transform: translateY(-1px);
}

/* Action Grid */
.bot-action-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    margin: 8px 0;
}

.grid-btn {
    padding: 8px 4px;
    background: #10b981;
    border: none;
    border-radius: 4px;
    color: white;
    font-size: 0.65rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.grid-btn:hover {
    background: #059669;
    transform: translateY(-1px);
}

/* Chain Section */
.bot-chain-section {
    display: flex;
    gap: 4px;
    margin-top: auto;
}

.chain-btn {
    flex: 1;
    padding: 6px 4px;
    border: none;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.chain-btn.switch {
    background: rgba(255, 255, 255, 0.1);
    color: #a0a0a0;
}

.chain-btn.ethereum {
    background: #10b981;
    color: white;
}

.chain-btn:hover {
    transform: translateY(-1px);
}





/* Hero Right Content */
.hero-right-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

/* Why Choose Section */
.why-choose-section {
    background-color: hsla(257, 40%, 10%, 0.3);
    border-radius: 16px;
    border: 1px solid hsla(240, 20%, 80%, 0.1);
    padding: 24px;
}

.why-choose-title {
    font-family: 'SF Pro Display', 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 1.5rem;
    color: hsl(270, 100%, 65%);
    margin-bottom: var(--spacing-lg);
    text-align: left;
}

.why-choose-features {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    background-color: hsla(257, 40%, 10%, 0.5);
    border-radius: 12px;
    border: 1px solid hsla(240, 20%, 80%, 0.1);
    transition: all 0.3s ease;
}

.feature-item:hover {
    border-color: hsl(270, 100%, 65%);
    box-shadow: 0 4px 12px hsla(270, 100%, 65%, 0.2);
    transform: translateY(-2px);
}

.feature-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, hsl(270, 90%, 60%), hsl(210, 90%, 60%));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.feature-content {
    flex: 1;
}

.feature-title {
    font-family: 'SF Pro Display', 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: hsl(0, 0%, 100%);
    margin-bottom: 4px;
}

.feature-description {
    font-family: 'Inter', 'Helvetica Neue', sans-serif;
    font-weight: 400;
    font-size: 0.9rem;
    line-height: 1.5;
    color: hsl(240, 10%, 75%);
    margin: 0;
}

/* Live Statistics Section */
.live-statistics-section {
    background-color: hsla(257, 40%, 10%, 0.3);
    border-radius: 16px;
    border: 1px solid hsla(240, 20%, 80%, 0.1);
    padding: 24px;
}

.stats-title {
    font-family: 'SF Pro Display', 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
    color: hsl(0, 0%, 100%);
    margin-bottom: var(--spacing-lg);
    text-align: left;
}

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

.stat-item {
    text-align: center;
    padding: 16px;
    background-color: hsla(257, 40%, 10%, 0.5);
    border-radius: 12px;
    border: 1px solid hsla(240, 20%, 80%, 0.1);
    transition: all 0.3s ease;
}

.stat-item:hover {
    border-color: hsl(180, 80%, 70%);
    box-shadow: 0 4px 12px hsla(180, 80%, 70%, 0.2);
    transform: translateY(-2px);
}

.stat-value {
    font-family: 'SF Pro Display', 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: hsl(180, 80%, 70%);
    margin-bottom: 4px;
}

.stat-label {
    font-family: 'Inter', 'Helvetica Neue', sans-serif;
    font-weight: 400;
    font-size: 0.85rem;
    color: hsl(240, 10%, 75%);
}

/* Why Choose Section */
.section-why-choose {
    background-color: rgba(0, 0, 0, 0.3);
    padding: var(--spacing-xxl) 0;
}

.section-why-choose::before {
    background: radial-gradient(circle at 80% 20%, rgba(138, 43, 226, 0.09), transparent 50%),
                radial-gradient(circle at 30% 80%, rgba(75, 0, 130, 0.07), transparent 50%),
                radial-gradient(circle at 70% 60%, rgba(0, 191, 255, 0.06), transparent 40%);
    animation: backgroundFlow 24s ease-in-out infinite reverse;
}

.section-why-choose::after {
    background:
        linear-gradient(75deg, transparent 48%, rgba(138, 43, 226, 0.02) 49%, rgba(138, 43, 226, 0.02) 51%, transparent 52%),
        linear-gradient(-75deg, transparent 48%, rgba(0, 191, 255, 0.02) 49%, rgba(0, 191, 255, 0.02) 51%, transparent 52%);
    background-size: 55px 55px;
    animation: gridFlow 26s linear infinite reverse;
}

.why-choose-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    max-width: 1400px;
    margin: 0 auto;
}

.why-choose-item {
    background: linear-gradient(135deg, #8B5CF6, #A855F7);
    border-radius: 16px;
    padding: var(--spacing-lg);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.why-choose-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
}

.item-icon-container {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.item-icon {
    width: 24px;
    height: 24px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
}

.item-content {
    flex: 1;
}

.item-title {
    margin-bottom: var(--spacing-xs);
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
}

.item-description {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
}

/* Live Statistics Section */
.section-live-statistics {
    padding: var(--spacing-xl) 0;
    background-color: rgba(0, 0, 0, 0.2);
}

.section-live-statistics::before {
    background: radial-gradient(circle at 60% 40%, rgba(138, 43, 226, 0.08), transparent 45%),
                radial-gradient(circle at 10% 70%, rgba(75, 0, 130, 0.06), transparent 45%),
                radial-gradient(circle at 90% 20%, rgba(0, 191, 255, 0.05), transparent 35%);
    animation: backgroundFlow 20s ease-in-out infinite;
}

.section-live-statistics::after {
    background:
        linear-gradient(90deg, transparent 48%, rgba(138, 43, 226, 0.015) 49%, rgba(138, 43, 226, 0.015) 51%, transparent 52%),
        linear-gradient(0deg, transparent 48%, rgba(0, 191, 255, 0.015) 49%, rgba(0, 191, 255, 0.015) 51%, transparent 52%);
    background-size: 45px 45px;
    animation: gridFlow 24s linear infinite;
}

.statistics-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    max-width: 1400px;
    margin: 0 auto;
}

.statistic-card {
    background-color: rgba(20, 20, 20, 0.8);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--spacing-lg);
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.statistic-card:hover {
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.2);
    border-color: var(--accent-purple);
    transform: translateY(-5px);
}

.statistic-value {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--accent-purple);
    margin-bottom: var(--spacing-xs);
}

.statistic-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    opacity: 0.8;
}

/* Features Grid Section */
.section-features-grid {
    padding: 100px 0;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    position: relative;
    overflow: hidden;
}

.section-features-grid::before {
    background: radial-gradient(circle at 40% 10%, rgba(138, 43, 226, 0.12), transparent 55%),
                radial-gradient(circle at 90% 60%, rgba(75, 0, 130, 0.10), transparent 55%),
                radial-gradient(circle at 10% 90%, rgba(0, 191, 255, 0.08), transparent 45%);
    animation: backgroundFlow 30s ease-in-out infinite reverse;
}

.section-features-grid::after {
    background:
        linear-gradient(30deg, transparent 48%, rgba(138, 43, 226, 0.025) 49%, rgba(138, 43, 226, 0.025) 51%, transparent 52%),
        linear-gradient(-30deg, transparent 48%, rgba(0, 191, 255, 0.025) 49%, rgba(0, 191, 255, 0.025) 51%, transparent 52%);
    background-size: 70px 70px;
    animation: gridFlow 35s linear infinite reverse;
}

.section-features-grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.feature-card {
    background: rgba(30, 30, 60, 0.6);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 32px 24px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    text-align: left;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05), rgba(168, 85, 247, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
}

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

.feature-icon-container {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    background: linear-gradient(135deg, #8B5CF6, #A855F7);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    position: relative;
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.3);
}

.feature-icon {
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
}

.feature-title {
    margin-bottom: 12px;
    font-family: 'Inter', 'Helvetica Neue', sans-serif;
    font-weight: 600;
    font-size: 1.25rem;
    color: #ffffff;
    line-height: 1.4;
}

.feature-description {
    margin-bottom: 0;
    font-family: 'Inter', 'Helvetica Neue', sans-serif;
    font-weight: 400;
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

/* Bot Commands Section */
.section-bot-commands {
    padding: var(--spacing-xxl) 0;
    background-color: #000;
}

.section-bot-commands::before {
    background: radial-gradient(circle at 70% 20%, rgba(138, 43, 226, 0.10), transparent 50%),
                radial-gradient(circle at 20% 80%, rgba(75, 0, 130, 0.08), transparent 50%),
                radial-gradient(circle at 90% 90%, rgba(0, 191, 255, 0.06), transparent 40%);
    animation: backgroundFlow 22s ease-in-out infinite;
}

.section-bot-commands::after {
    background:
        linear-gradient(60deg, transparent 48%, rgba(138, 43, 226, 0.02) 49%, rgba(138, 43, 226, 0.02) 51%, transparent 52%),
        linear-gradient(-60deg, transparent 48%, rgba(0, 191, 255, 0.02) 49%, rgba(0, 191, 255, 0.02) 51%, transparent 52%);
    background-size: 50px 50px;
    animation: gridFlow 28s linear infinite;
}

.section-bot-commands .section-title {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--spacing-xl);
    letter-spacing: 2px;
}

.commands-terminal {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    border: 1px solid #333;
    border-radius: 12px;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.terminal-header {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    padding: var(--spacing-lg);
    border-bottom: 1px solid #333;
    position: relative;
}

.terminal-header::before {
    content: '';
    position: absolute;
    left: var(--spacing-lg);
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 60%;
    background: linear-gradient(to bottom, #8b5cf6, #a855f7);
    border-radius: 2px;
}

.terminal-title {
    color: #8b5cf6;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    margin-left: var(--spacing-lg);
}

.commands-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    padding: var(--spacing-xl);
}

.commands-column-title {
    color: #9ca3af;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.commands-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.command-item {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid #333;
    border-radius: 8px;
    padding: 12px 16px;
    font-family: 'Fira Code', 'Courier New', monospace;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.command-item:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: #8b5cf6;
    transform: translateY(-2px);
}

.command-name {
    color: #10b981;
    font-weight: 600;
}

.command-separator {
    color: #6b7280;
    margin: 0 8px;
}

.command-description {
    color: #d1d5db;
}

.pro-tip {
    background: linear-gradient(135deg, #4c1d95 0%, #5b21b6 100%);
    margin: 0 var(--spacing-xl) var(--spacing-xl);
    padding: var(--spacing-lg);
    border-radius: 8px;
    border: 1px solid #7c3aed;
}

.pro-tip-label {
    color: #c4b5fd;
    font-weight: 700;
    margin-right: var(--spacing-sm);
}

.pro-tip-text {
    color: #e5e7eb;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .commands-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .section-bot-commands .section-title {
        font-size: 2rem;
    }

    .terminal-title {
        font-size: 1.2rem;
    }
}

/* Performance Metrics Section */
.section-performance-metrics {
    padding: var(--spacing-xxl) 0;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    position: relative;
    overflow: hidden;
}

.section-performance-metrics::before {
    background: radial-gradient(circle at 50% 30%, rgba(138, 43, 226, 0.12), transparent 55%),
                radial-gradient(circle at 80% 80%, rgba(75, 0, 130, 0.10), transparent 55%),
                radial-gradient(circle at 20% 70%, rgba(0, 191, 255, 0.08), transparent 45%);
    animation: backgroundFlow 28s ease-in-out infinite;
}

.section-performance-metrics::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(120deg, transparent 48%, rgba(138, 43, 226, 0.025) 49%, rgba(138, 43, 226, 0.025) 51%, transparent 52%),
        linear-gradient(-120deg, transparent 48%, rgba(0, 191, 255, 0.025) 49%, rgba(0, 191, 255, 0.025) 51%, transparent 52%);
    background-size: 65px 65px;
    z-index: -1;
    animation: gridFlow 32s linear infinite;
}

.section-performance-metrics .section-title {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--spacing-xxl);
    letter-spacing: 2px;
    position: relative;
    z-index: 2;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-xl);
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.metric-card {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: var(--spacing-lg);
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 180px;
    aspect-ratio: 1;
}

.metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255, 255, 255, 0.05) 100%);
    pointer-events: none;
}

.metric-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Green Card - Win Rate */
.metric-card-green .metric-value {
    color: #10b981;
    font-size: clamp(2.2rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    text-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
    line-height: 1;
}

.metric-card-green:hover {
    border-color: #10b981;
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.2);
}

/* Purple Card - Total Volume */
.metric-card-purple .metric-value {
    color: #8b5cf6;
    font-size: clamp(2.2rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    text-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
    line-height: 1;
}

.metric-card-purple:hover {
    border-color: #8b5cf6;
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
}

/* Pink Card - Active Users */
.metric-card-pink .metric-value {
    color: #ec4899;
    font-size: clamp(2.2rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    text-shadow: 0 0 20px rgba(236, 72, 153, 0.5);
    line-height: 1;
}

.metric-card-pink:hover {
    border-color: #ec4899;
    box-shadow: 0 20px 40px rgba(236, 72, 153, 0.2);
}

/* Cyan Card - Execution Time */
.metric-card-cyan .metric-value {
    color: #06b6d4;
    font-size: clamp(2.2rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    text-shadow: 0 0 20px rgba(6, 182, 212, 0.5);
    line-height: 1;
}

.metric-card-cyan:hover {
    border-color: #06b6d4;
    box-shadow: 0 20px 40px rgba(6, 182, 212, 0.2);
}

.metric-label {
    color: #9ca3af;
    font-size: clamp(0.75rem, 1.5vw, 0.9rem);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
    margin-top: var(--spacing-xs);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }

    .metric-card {
        min-height: 160px;
        padding: var(--spacing-md);
    }
}

@media (max-width: 768px) {
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }

    .section-performance-metrics .section-title {
        font-size: 2rem;
    }

    .metric-card {
        min-height: 140px;
        padding: var(--spacing-md);
    }

    .metric-card-green .metric-value,
    .metric-card-purple .metric-value,
    .metric-card-pink .metric-value,
    .metric-card-cyan .metric-value {
        font-size: clamp(1.8rem, 5vw, 2.2rem);
        margin-bottom: var(--spacing-xs);
    }

    .metric-label {
        font-size: clamp(0.7rem, 2vw, 0.8rem);
        letter-spacing: 0.5px;
    }
}

@media (max-width: 480px) {
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
    }

    .metric-card {
        min-height: 120px;
        padding: var(--spacing-sm);
    }

    .metric-card-green .metric-value,
    .metric-card-purple .metric-value,
    .metric-card-pink .metric-value,
    .metric-card-cyan .metric-value {
        font-size: clamp(1.4rem, 6vw, 1.8rem);
    }
}

/* How It Works Section */
.section-how-it-works {
    padding: var(--spacing-xxl) 0;
    position: relative;
    overflow: hidden;
}

.section-how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 20%, rgba(138, 43, 226, 0.1), transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(75, 0, 130, 0.1), transparent 50%);
    z-index: -1;
}

.steps-flow {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.flow-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.flow-line {
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        var(--accent-purple) 20%,
        var(--accent-cyan) 50%,
        var(--accent-purple) 80%,
        transparent 100%);
    transform: translateY(-50%);
    opacity: 0.6;
    animation: flowPulse 3s ease-in-out infinite;
}

.flow-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.flow-particles::before,
.flow-particles::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent-cyan);
    border-radius: 50%;
    top: 50%;
    animation: particleFlow 4s linear infinite;
    box-shadow: 0 0 10px var(--accent-cyan);
}

.flow-particles::before {
    left: 10%;
    animation-delay: 0s;
}

.flow-particles::after {
    left: 15%;
    animation-delay: 2s;
}

.steps-grid {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: var(--spacing-lg);
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
}

.step-card {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: var(--spacing-xl);
    text-align: center;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    overflow: hidden;
    flex: 1;
    min-width: 250px;
    max-width: 320px;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
        rgba(138, 43, 226, 0.1) 0%,
        rgba(75, 0, 130, 0.1) 50%,
        rgba(0, 191, 255, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

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

.step-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-purple);
    box-shadow: 0 20px 40px rgba(138, 43, 226, 0.3);
}

.step-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--accent-purple) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    animation: glowRotate 6s linear infinite;
}

.step-card:hover .step-glow {
    opacity: 0.1;
}

.step-number {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-md);
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(138, 43, 226, 0.4);
}

.step-digit {
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.5rem;
    z-index: 2;
}

.step-pulse {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid var(--accent-purple);
    border-radius: 50%;
    animation: stepPulse 2s ease-in-out infinite;
}

.step-icon {
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
    filter: drop-shadow(0 0 10px rgba(138, 43, 226, 0.5));
}

.step-title {
    margin-bottom: var(--spacing-sm);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.step-description {
    margin-bottom: 0;
    color: var(--text-secondary);
    line-height: 1.6;
}

.step-connector {
    position: absolute;
    top: 50%;
    right: -30px;
    transform: translateY(-50%);
    z-index: 2;
}

.connector-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-purple), var(--accent-cyan));
    position: relative;
}

.connector-arrow {
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-cyan);
    font-size: 1.2rem;
    animation: arrowPulse 2s ease-in-out infinite;
}

/* Animations */
@keyframes flowPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

@keyframes particleFlow {
    0% { left: 10%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { left: 90%; opacity: 0; }
}

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

@keyframes glowRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes arrowPulse {
    0%, 100% { transform: translateY(-50%) translateX(0); }
    50% { transform: translateY(-50%) translateX(5px); }
}

/* Universal Background Animations */
@keyframes backgroundFlow {
    0%, 100% {
        background: radial-gradient(circle at 30% 20%, rgba(138, 43, 226, 0.08), transparent 50%),
                    radial-gradient(circle at 70% 80%, rgba(75, 0, 130, 0.08), transparent 50%),
                    radial-gradient(circle at 90% 10%, rgba(0, 191, 255, 0.05), transparent 40%);
    }
    25% {
        background: radial-gradient(circle at 60% 30%, rgba(138, 43, 226, 0.1), transparent 50%),
                    radial-gradient(circle at 20% 70%, rgba(75, 0, 130, 0.06), transparent 50%),
                    radial-gradient(circle at 80% 20%, rgba(0, 191, 255, 0.07), transparent 40%);
    }
    50% {
        background: radial-gradient(circle at 80% 60%, rgba(138, 43, 226, 0.06), transparent 50%),
                    radial-gradient(circle at 40% 20%, rgba(75, 0, 130, 0.08), transparent 50%),
                    radial-gradient(circle at 10% 80%, rgba(0, 191, 255, 0.05), transparent 40%);
    }
    75% {
        background: radial-gradient(circle at 20% 80%, rgba(138, 43, 226, 0.08), transparent 50%),
                    radial-gradient(circle at 90% 40%, rgba(75, 0, 130, 0.07), transparent 50%),
                    radial-gradient(circle at 50% 10%, rgba(0, 191, 255, 0.06), transparent 40%);
    }
}

@keyframes gridFlow {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

@keyframes floatParticle {
    0% {
        transform: translateY(0) translateX(0) scale(0.5);
        opacity: 0;
    }
    10% {
        opacity: 1;
        transform: translateY(-20px) translateX(10px) scale(1);
    }
    50% {
        transform: translateY(-100px) translateX(-30px) scale(0.8);
    }
    90% {
        opacity: 1;
        transform: translateY(-180px) translateX(20px) scale(0.6);
    }
    100% {
        transform: translateY(-200px) translateX(0) scale(0.3);
        opacity: 0;
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .steps-grid {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--spacing-lg);
    }

    .step-card {
        min-width: 280px;
        max-width: 350px;
    }
}

@media (max-width: 768px) {
    .steps-grid {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-lg);
    }

    .step-connector {
        display: none;
    }

    .flow-line {
        display: none;
    }

    .step-card {
        padding: var(--spacing-lg);
        width: 100%;
        max-width: 400px;
        min-width: auto;
    }

    .step-number {
        width: 60px;
        height: 60px;
    }

    .step-digit {
        font-size: 1.2rem;
    }
}

/* Final CTA Section */
.section-final-cta {
    padding: var(--spacing-xxl) 0;
    position: relative;
    overflow: hidden;
}

.section-final-cta::before {
    background: radial-gradient(circle at 70% 30%, rgba(138, 43, 226, 0.15), transparent 60%),
                radial-gradient(circle at 30% 70%, rgba(75, 0, 130, 0.12), transparent 60%),
                radial-gradient(circle at 90% 80%, rgba(0, 191, 255, 0.10), transparent 50%);
    animation: backgroundFlow 26s ease-in-out infinite;
}

.section-final-cta::after {
    background:
        linear-gradient(135deg, transparent 48%, rgba(138, 43, 226, 0.03) 49%, rgba(138, 43, 226, 0.03) 51%, transparent 52%),
        linear-gradient(-135deg, transparent 48%, rgba(0, 191, 255, 0.03) 49%, rgba(0, 191, 255, 0.03) 51%, transparent 52%);
    background-size: 75px 75px;
    animation: gridFlow 30s linear infinite;
}

.cta-container {
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(135deg,
        rgba(138, 43, 226, 0.9) 0%,
        rgba(75, 0, 130, 0.9) 50%,
        rgba(138, 43, 226, 0.9) 100%);
    border-radius: 24px;
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 60px rgba(138, 43, 226, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.cta-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
        rgba(138, 43, 226, 0.1) 0%,
        transparent 50%,
        rgba(75, 0, 130, 0.1) 100%);
    border-radius: 24px;
    z-index: -1;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-title {
    margin-bottom: var(--spacing-lg);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-primary);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.cta-description {
    margin-bottom: var(--spacing-xl);
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.cta-description p {
    margin-bottom: 0.5rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
}

.cta-telegram {
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    color: var(--text-primary);
    border: none;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 0 20px rgba(138, 43, 226, 0.4);
    transition: all 0.3s ease;
}

.cta-telegram:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(138, 43, 226, 0.6);
    color: var(--text-primary);
}

.cta-telegram .telegram-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.cta-disclaimer {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    opacity: 0.8;
}

.cta-disclaimer p {
    margin: 0;
}

/* Accessibility */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: var(--primary-background);
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: var(--text-primary);
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Media Queries */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
    
    .section-hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--spacing-xxl);
    }
    
    .hero-content {
        text-align: center;
    }
    
    .chain-buttons {
        justify-content: center;
    }
    
    .hero-description {
        max-width: 100%;
        margin: var(--spacing-lg) auto;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .why-choose-items {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    /* Features Grid Responsive */
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 20px;
    }
    
    .feature-card {
        padding: 28px 20px;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
    }

    /* Navbar adjustments for tablet */
    .site-header .container {
        gap: var(--spacing-md);
        padding: 0 var(--spacing-md);
    }

    .main-navigation {
        margin: 0 var(--spacing-md);
    }

    .primary-menu {
        gap: var(--spacing-md);
    }

    .primary-menu a {
        font-size: 0.85rem;
    }
    
    .section-hero .container {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
    
    .hero-content {
        order: 1;
    }
    
    .hero-visual {
        order: 0;
        margin-bottom: var(--spacing-lg);
    }
    
    .chain-buttons {
        flex-wrap: wrap;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .phone-mockup {
        max-width: 300px;
    }
    
    .why-choose-items {
        grid-template-columns: 1fr;
    }
    
    .statistics-items {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 540px;
    }

    .section {
        padding: var(--spacing-xl) 0;
    }

    .section-title {
        font-size: 2rem;
    }

    /* Mobile navbar spacing */
    .site-header .container {
        gap: var(--spacing-sm);
        padding: 0 var(--spacing-md);
    }

    .site-header {
        padding: var(--spacing-sm) 0;
    }

    /* Hero responsive styles */
    .hero-main-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .hero-right-content {
        order: -1;
    }

    .hero-visual {
        order: 1;
        display: flex;
        justify-content: center;
    }

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

    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .hero-subtitle {
        font-size: clamp(1.2rem, 4vw, 1.5rem);
    }
    
    .hero-description {
        max-width: 100%;
        font-size: 0.95rem;
    }
    
    .phone-mockup {
        max-width: 280px;
    }
    
    .chain-buttons {
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .chain-button {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .hero-cta-buttons {
        flex-direction: column;
        gap: 12px;
        justify-content: center;
    }
    
    .cta-button {
        width: 100%;
        justify-content: center;
    }
    
    .why-choose-items {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .statistics-items {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    /* Features Grid Mobile */
    .section-features-grid {
        padding: 60px 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .feature-card {
        padding: 24px 20px;
    }
    
    .feature-icon-container {
        width: 48px;
        height: 48px;
        margin-bottom: 16px;
    }
    
    .feature-title {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .feature-description {
        font-size: 0.9rem;
    }

    .menu-toggle {
        display: block;
        background: none;
        border: none;
        padding: 0;
        cursor: pointer;
    }

    .menu-toggle-icon {
        display: block;
        width: 24px;
        height: 2px;
        background-color: var(--text-primary);
        position: relative;
        transition: all 0.3s ease;
    }

    .menu-toggle-icon::before,
    .menu-toggle-icon::after {
        content: '';
        position: absolute;
        width: 24px;
        height: 2px;
        background-color: var(--text-primary);
        transition: all 0.3s ease;
    }

    .menu-toggle-icon::before {
        top: -8px;
    }

    .menu-toggle-icon::after {
        bottom: -8px;
    }

    .menu-toggle[aria-expanded="true"] .menu-toggle-icon {
        background-color: transparent;
    }

    .menu-toggle[aria-expanded="true"] .menu-toggle-icon::before {
        transform: rotate(45deg);
        top: 0;
    }

    .menu-toggle[aria-expanded="true"] .menu-toggle-icon::after {
        transform: rotate(-45deg);
        bottom: 0;
    }

    .primary-menu-container {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.95);
        padding: var(--spacing-md);
        display: none;
        z-index: 1000;
    }

    .primary-menu {
        flex-direction: column;
    }

    .primary-menu li {
        margin-right: 0;
        margin-bottom: var(--spacing-sm);
    }

    .menu-toggle[aria-expanded="true"] + .primary-menu-container {
        display: block;
    }

    /* Footer Tablet Responsive */
    .footer-main {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
        text-align: center;
    }

    .footer-brand {
        max-width: 100%;
        margin-bottom: var(--spacing-lg);
    }

    .footer-links-section {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-lg);
    }

    .social-links {
        justify-content: center;
    }

    /* Final CTA Tablet Responsive */
    .cta-container {
        padding: 50px 30px;
    }

    .cta-title {
        font-size: 2.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-md);
    }

    .cta-telegram,
    .btn-secondary {
        width: 100%;
        max-width: 320px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }

    .hero-subtitle {
        font-size: clamp(1rem, 3vw, 1.2rem);
    }

    .hero-description {
        max-width: 100%;
    }

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

    .why-choose-section,
    .live-statistics-section {
        padding: 16px;
    }

    .feature-item {
        padding: 12px;
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .feature-icon {
        align-self: center;
    }

    .why-choose-title,
    .stats-title {
        font-size: 1.2rem;
        text-align: center;
    }

    .hero-description {
        max-width: 100%;
        font-size: 0.9rem;
    }
    
    .chain-buttons {
        gap: 6px;
    }
    
    .chain-button {
        padding: 4px 8px;
        font-size: 0.75rem;
    }
    
    .phone-mockup {
        max-width: 250px;
    }
    
    .bot-interface {
        font-size: 0.75rem;
    }
    
    .action-button {
        font-size: 0.7rem;
        padding: 6px 2px;
    }
    
    .cta-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .hero-cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    /* Features Grid Small Mobile */
    .section-features-grid {
        padding: 50px 0;
    }
    
    .features-grid {
        gap: 12px;
    }
    
    .feature-card {
        padding: 20px 16px;
    }
    
    .feature-icon-container {
        width: 44px;
        height: 44px;
        margin-bottom: 14px;
    }
    
    .feature-icon::before {
        font-size: 20px;
    }
    
    .feature-title {
        font-size: 1rem;
        margin-bottom: 8px;
    }
    
    .feature-description {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    /* Final CTA Responsive */
    .cta-container {
        margin: 0 var(--spacing-md);
        padding: 40px 24px;
    }

    .cta-title {
        font-size: 2rem;
        letter-spacing: 1px;
    }

    .cta-description {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-sm);
    }

    .cta-telegram,
    .btn-secondary {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    /* Footer Mobile Responsive */
    .footer-main {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        text-align: center;
    }

    .footer-links-section {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        text-align: center;
    }

    .footer-column-title {
        font-size: 0.85rem;
        margin-bottom: var(--spacing-md);
    }

    .footer-column-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links a {
        font-size: 0.85rem;
    }

    .social-links {
        justify-content: center;
        gap: var(--spacing-xs);
    }

    .social-links a {
        width: 32px;
        height: 32px;
    }

    .social-links svg {
        width: 16px;
        height: 16px;
    }

    .footer-copyright {
        font-size: 0.8rem;
    }
}