:root {
    --primary: #8b5cf6;
    --primary-dark: #6d28d9;
    --primary-light: #a78bfa;
    --accent: #c084fc;
    --accent-bright: #e9d5ff;
    
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;
    
    --bg: #0a0a0f;
    --bg-secondary: #13131a;
    --card-bg: #1a1a24;
    --card-hover: #242433;
    --border: #2d2d3f;
    
    --text: #e4e4e7;
    --text-muted: #a1a1aa;
    --text-dim: #71717a;
    --white: #ffffff;
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 30px rgba(139, 92, 246, 0.3);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Animated Background */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(192, 132, 252, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(16, 185, 129, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
    animation: gradientPulse 15s ease-in-out infinite;
}

@keyframes gradientPulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Trust Banner */
.trust-banner {
    background: linear-gradient(90deg, var(--success) 0%, var(--info) 100%);
    padding: 12px 0;
    text-align: center;
    font-size: 0.9em;
    font-weight: 600;
    color: white;
}

.trust-items {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.trust-items span {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Navbar */
.navbar {
    background: rgba(26, 26, 36, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
}

.navbar:hover {
    background: rgba(26, 26, 36, 0.95);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.logo-wrapper:hover {
    transform: translateY(-2px);
}

.logo {
    height: 48px;
    width: auto;
    filter: drop-shadow(0 0 12px rgba(139, 92, 246, 0.6));
    transition: var(--transition);
}

.logo:hover {
    filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.9));
}

.logo-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.6em;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 8px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent);
    transform: translateY(-2px);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 12px 0;
    font-size: 0.85em;
    color: var(--text-muted);
}

.breadcrumbs a {
    color: var(--accent);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumbs a:hover {
    color: var(--primary-light);
}

/* Hero Section */
.hero {
    padding: 10px 0 20px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.badge-container {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
    animation: fadeInUp 0.6s ease;
}

.badge-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
}

.badge-success {
    background: linear-gradient(135deg, var(--success), #059669);
    color: white;
}

.hero-text h1 {
    color: var(--white);
    font-size: 2.8em;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 0 40px rgba(139, 92, 246, 0.4);
    animation: fadeInUp 0.8s ease;
}

.lead {
    font-size: 1.25em;
    color: var(--text);
    margin-bottom: 40px;
    line-height: 1.6;
    animation: fadeInUp 1s ease;
}

.lead strong {
    color: var(--accent);
    font-weight: 700;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 40px 0;
    animation: fadeInUp 1.2s ease;
}

.stat-item {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.stat-item:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: 0 12px 32px rgba(139, 92, 246, 0.3);
}

.stat-item:hover::before {
    transform: scaleX(1);
}

.stat-item i {
    font-size: 2.2em;
    color: var(--primary);
    margin-bottom: 12px;
    display: block;
}

.stat-number {
    display: block;
    font-size: 2.2em;
    font-weight: 800;
    color: var(--white);
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 4px;
}

.stat-label {
    display: block;
    font-size: 0.9em;
    color: var(--text-muted);
}

/* CTA Button */
.cta-button {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    padding: 0;
    font-size: 1.1em;
    border-radius: 16px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 12px 32px rgba(139, 92, 246, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1.4s ease;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 48px rgba(139, 92, 246, 0.6);
}

.cta-button:active {
    transform: translateY(-2px) scale(1);
}

.btn-icon {
    background: rgba(255, 255, 255, 0.15);
    padding: 20px 24px;
    font-size: 1.3em;
    display: flex;
    align-items: center;
}

.btn-content {
    padding: 20px 32px 20px 8px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.btn-main {
    font-weight: 700;
    font-size: 1.1em;
    display: block;
}

.btn-sub {
    font-size: 0.75em;
    opacity: 0.9;
    font-weight: 400;
    margin-top: 4px;
}

.cta-large {
    font-size: 1.2em;
}

.pulse-animation {
    animation: pulseGlow 2.5s infinite;
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 12px 32px rgba(139, 92, 246, 0.4); }
    50% { box-shadow: 0 12px 48px rgba(139, 92, 246, 0.7); }
}

.trust-text {
    margin-top: 20px;
    font-size: 0.95em;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    animation: fadeInUp 1.6s ease;
}

.trust-text i {
    color: var(--success);
}

/* Hero Image */
.hero-image {
    position: relative;
    animation: fadeInRight 1s ease;
}

.hero-image .feature-img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    border: 2px solid var(--border);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    transition: var(--transition);
}

.floating-animation {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(1deg); }
}

.zoom-animation:hover {
    transform: scale(1.03);
}

.image-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--success);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9em;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.4);
    animation: slideInRight 1.2s ease;
}

/* Social Share */
.social-share {
    margin: 32px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    animation: fadeInUp 1.8s ease;
}

.social-share span {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.95em;
}

.social-share a {
    color: var(--white);
    background: var(--card-bg);
    border: 1px solid var(--border);
    padding: 10px 14px;
    border-radius: 10px;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.15em;
}

.social-share a:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.4);
}

.bottom-share {
    justify-content: center;
    padding: 48px 0;
    border-top: 2px solid var(--border);
    margin-top: 80px;
}

/* Content Sections */
.section-block {
    margin: 100px 0;
    scroll-margin-top: 80px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    color: var(--white);
    font-size: 2.4em;
    font-weight: 800;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.section-header h2 i {
    color: var(--primary);
}

.section-subtitle {
    font-size: 1.15em;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin: 50px 0;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 36px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.card-hover:hover {
    background: var(--card-hover);
    border-color: var(--primary);
    transform: translateY(-10px);
    box-shadow: 0 16px 48px rgba(139, 92, 246, 0.3);
}

.card-hover:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    font-size: 3.2em;
    margin-bottom: 20px;
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.3);
}

.gradient-purple { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.gradient-blue { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.gradient-green { background: linear-gradient(135deg, #10b981, #059669); }
.gradient-orange { background: linear-gradient(135deg, #f59e0b, #d97706); }
.gradient-red { background: linear-gradient(135deg, #ef4444, #dc2626); }
.gradient-cyan { background: linear-gradient(135deg, #06b6d4, #0891b2); }

.feature-card h3 {
    color: var(--white);
    font-size: 1.5em;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 16px;
}

.feature-tag {
    display: inline-block;
    background: rgba(139, 92, 246, 0.15);
    color: var(--accent);
    padding: 6px 14px;
    border-radius: 12px;
    font-size: 0.85em;
    font-weight: 600;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

/* Content Images */
.content-image {
    margin: 60px 0;
    text-align: center;
}

.content-image .feature-img {
    width: 100%;
    max-width: 1000px;
    height: auto;
    border-radius: 20px;
    border: 2px solid var(--border);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.content-image .feature-img:hover {
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.2);
}

.image-caption {
    margin-top: 20px;
    color: var(--text-muted);
    font-size: 0.95em;
    font-style: italic;
}

/* Comparison Table */
.comparison-section {
    margin: 60px 0;
    padding: 40px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
}

.comparison-section h3 {
    color: var(--white);
    font-size: 1.8em;
    margin-bottom: 30px;
    text-align: center;
}

.comparison-table {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

thead {
    background: var(--bg);
}

th {
    color: var(--white);
    font-weight: 700;
    padding: 16px;
    text-align: left;
    border-bottom: 2px solid var(--primary);
}

td {
    padding: 16px;
    border-bottom: 1px solid var(--border);
    color: var(--text);
}

tbody tr:hover {
    background: var(--card-hover);
}

.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-warning { color: var(--warning); }

/* Timeline */
.timeline {
    position: relative;
    padding-left: 50px;
    margin-top: 50px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary), var(--accent));
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
}

.timeline-badge {
    position: absolute;
    left: -34px;
    top: 4px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border: 4px solid var(--bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1em;
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.4);
}

.timeline-content {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
    transition: var(--transition);
}

.timeline-content:hover {
    border-color: var(--primary);
    box-shadow: 0 12px 40px rgba(139, 92, 246, 0.2);
    transform: translateX(5px);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.timeline-content h3 {
    color: var(--white);
    font-size: 1.6em;
    display: flex;
    align-items: center;
    gap: 12px;
}

.badge-new {
    background: linear-gradient(135deg, var(--success), #059669);
    color: white;
    font-size: 0.55em;
    padding: 6px 14px;
    border-radius: 16px;
    font-weight: 700;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.date {
    color: var(--text-muted);
    font-size: 0.9em;
    display: flex;
    align-items: center;
    gap: 6px;
}

.changelog-list {
    list-style: none;
    padding: 0;
}

.changelog-list li {
    padding: 12px 0 12px 32px;
    position: relative;
    color: var(--text);
    line-height: 1.7;
}

.changelog-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
    font-size: 1.2em;
}

/* Documentation Grid */
.docs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 24px;
    margin: 50px 0;
}

.doc-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
    transition: var(--transition);
}

.doc-card:hover {
    border-color: var(--primary);
    box-shadow: 0 12px 40px rgba(139, 92, 246, 0.25);
    transform: translateY(-5px);
}

.doc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.doc-header h3 {
    color: var(--white);
    font-size: 1.4em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.doc-header i {
    color: var(--primary);
}

.api-badge {
    background: rgba(139, 92, 246, 0.15);
    color: var(--accent);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75em;
    font-weight: 600;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.doc-description {
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
}

.code-box {
    background: #000000;
    padding: 24px;
    border-left: 4px solid var(--primary);
    border-radius: 12px;
    font-family: 'Courier New', 'Consolas', monospace;
    color: #00ff88;
    overflow-x: auto;
    font-size: 0.9em;
    line-height: 1.9;
}

.code-comment { color: #6b7280; font-style: italic; }
.code-keyword { color: #c084fc; font-weight: 600; }

/* Accordion */
.accordion {
    margin-top: 40px;
}

.accordion-item {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.accordion-item:hover {
    border-color: var(--primary);
}

.accordion-header {
    width: 100%;
    background: transparent;
    border: none;
    padding: 24px 28px;
    text-align: left;
    font-size: 1.15em;
    font-weight: 600;
    color: var(--white);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.accordion-header:hover {
    background: var(--card-hover);
    color: var(--accent);
}

.accordion-header span {
    display: flex;
    align-items: center;
    gap: 12px;
}

.accordion-header i:first-child {
    color: var(--primary);
    font-size: 1.1em;
}

.accordion-arrow {
    transition: transform 0.3s ease;
    color: var(--text-muted);
}

.accordion-header.active {
    background: var(--card-hover);
}

.accordion-header.active .accordion-arrow {
    transform: rotate(180deg);
    color: var(--primary);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 28px;
}

.accordion-content.active {
    max-height: 1500px;
    padding: 0 28px 28px;
}

.accordion-content p,
.accordion-content ul,
.accordion-content ol {
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 16px;
}

.accordion-content strong {
    color: var(--white);
    font-weight: 600;
}

.accordion-content ul,
.accordion-content ol {
    padding-left: 28px;
}

.accordion-content li {
    margin-bottom: 10px;
}

.accordion-content a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

.accordion-content a:hover {
    text-decoration: underline;
}

kbd {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 2px 8px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: var(--accent);
}

.info-box,
.success-box {
    background: rgba(59, 130, 246, 0.1);
    border-left: 4px solid var(--info);
    padding: 16px 20px;
    margin: 20px 0;
    border-radius: 8px;
    display: flex;
    gap: 12px;
}

.success-box {
    background: rgba(16, 185, 129, 0.1);
    border-left-color: var(--success);
}

.info-box i,
.success-box i {
    color: var(--info);
    font-size: 1.2em;
}

.success-box i {
    color: var(--success);
}

.link-primary {
    color: var(--accent);
    font-weight: 600;
}

/* FAQ Grid */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.2);
}

.faq-item h3 {
    color: var(--white);
    font-size: 1.3em;
    margin-bottom: 12px;
}

.faq-item p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* CTA Section */
.cta-section {
    margin: 100px 0;
}

.cta-box {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    border-radius: 32px;
    padding: 80px 60px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.4);
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.cta-box h2 {
    color: white;
    font-size: 2.5em;
    font-weight: 800;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.cta-box p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2em;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.cta-box .cta-button {
    position: relative;
    z-index: 1;
    background: white;
    color: var(--primary);
}

.cta-box .cta-button:hover {
    background: var(--accent-bright);
}

.cta-box .trust-text {
    color: rgba(255, 255, 255, 0.9);
    justify-content: center;
    position: relative;
    z-index: 1;
}

/* Footer */
footer {
    background: var(--bg-secondary);
    border-top: 2px solid var(--border);
    padding: 60px 0 30px;
    margin-top: 120px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-logo-img {
    height: 48px;
    width: 48px;
    margin-bottom: 8px;
}

.footer-logo p {
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-tagline {
    color: var(--accent);
    font-weight: 600;
}

.footer-section h4 {
    color: var(--white);
    font-size: 1.1em;
    margin-bottom: 16px;
    font-weight: 700;
}

.footer-section a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 10px;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--accent);
    transform: translateX(5px);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.copyright {
    color: var(--text-muted);
    font-size: 0.9em;
    margin-bottom: 8px;
}

.disclaimer {
    color: var(--text-dim);
    font-size: 0.85em;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Mobile Responsiveness */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero-text h1 {
        font-size: 2.2em;
    }

    .stats-grid,
    .features-grid,
    .docs-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .footer-section a {
        margin: 0 auto 10px;
    }

    .cta-button {
        width: 100%;
        justify-content: center;
    }

    .trust-banner .trust-items {
        gap: 20px;
        font-size: 0.85em;
    }

    .comparison-table {
        font-size: 0.9em;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .cta-box {
        padding: 50px 30px;
    }

    .section-header h2 {
        font-size: 2em;
    }

    .timeline {
        padding-left: 35px;
    }

    .timeline::before {
        left: 15px;
    }

    .timeline-badge {
        left: -26px;
        width: 32px;
        height: 32px;
    }
}

/* Copy Code Button */
.copy-code-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--primary);
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9em;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.copy-code-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
}

.code-box:hover + .copy-code-btn,
.copy-code-btn:hover {
    opacity: 1;
}

div:has(> .code-box):hover .copy-code-btn {
    opacity: 1;
}
