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

:root {
    --bg-color: #03060b;
    --card-bg: #0d1117;
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --accent-color: #3b82f6;
    --accent-glow: rgba(59, 130, 246, 0.5);
    --border-color: #1e293b;
    --nav-bg: rgba(3, 6, 11, 0.8);
    --font-main: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #2dd4bf 100%);
    --gradient-text: linear-gradient(to right, #ffffff, #94a3b8);
}

body {
    background-color: var(--bg-color);
    background-image: 
        radial-gradient(circle at 50% -20%, #1e1b4b 0%, transparent 50%),
        radial-gradient(circle at 0% 100%, #0f172a 0%, transparent 40%),
        radial-gradient(circle at 100% 100%, #020617 0%, transparent 40%);
    background-attachment: fixed;
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Grid Pattern Overlay */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(30, 41, 59, 0.3) 1px, transparent 1px), 
        linear-gradient(90deg, rgba(30, 41, 59, 0.3) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 1;
    pointer-events: none;
    z-index: -1;
}

/* Global Elements */
a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #60a5fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--nav-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.logo img {
    height: 32px;
    border-radius: 6px;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--text-primary);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: 0.3s;
}

/* Hero Section Refinement */
.hero {
    padding: 180px 0 60px;
    text-align: center;
    position: relative;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10b981;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
    color: var(--text-primary);
}

.hero h1 span.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 50px;
}

/* Updated Buttons */
.btn {
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white !important;
    border: none;
    box-shadow: 0 10px 20px -10px rgba(59, 130, 246, 0.5);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -10px rgba(59, 130, 246, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary) !important;
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: #475569;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
    border-radius: 8px;
    white-space: nowrap;
}

/* Mobile Banner */
.mobile-banner {
    margin-top: 80px;
    background: rgba(13, 17, 23, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    backdrop-filter: blur(10px);
}

.mobile-banner-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.mobile-icon {
    width: 48px;
    height: 48px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 1.5rem;
}

.mobile-banner-text {
    text-align: left;
}

.mobile-banner-text h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.mobile-banner-text p {
    font-size: 0.85rem;
    margin: 0;
    color: var(--text-secondary);
}

.mobile-banner-actions {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

/* Dashboard Mockup Container */
.dashboard-mockup {
    max-width: 1000px;
    margin: 60px auto 0;
    background: #0d1117;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.8);
    position: relative;
}

.mockup-header {
    height: 40px;
    background: #161b22;
    display: flex;
    align-items: center;
    padding: 0 15px;
    gap: 8px;
    border-bottom: 1px solid var(--border-color);
}

.dot-red { width: 10px; height: 10px; background: #ff5f56; border-radius: 50%; }
.dot-yellow { width: 10px; height: 10px; background: #ffbd2e; border-radius: 50%; }
.dot-green { width: 10px; height: 10px; background: #27c93f; border-radius: 50%; }

.mockup-address-bar {
    flex: 1;
    height: 24px;
    background: #0d1117;
    margin: 0 60px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.mockup-body {
    display: flex;
    height: 550px;
}

/* Mockup Sidebar */
.mockup-sidebar {
    width: 200px;
    background: #0d1117;
    border-right: 1px solid var(--border-color);
    padding: 20px;
    text-align: left;
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 30px;
}

.sidebar-menu {
    list-style: none;
}

.sidebar-item {
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
    cursor: pointer;
}

.sidebar-item.active {
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-color);
}

/* Mockup Main Content */
.mockup-main {
    flex: 1;
    padding: 25px;
    overflow: hidden;
    background: #0d1117;
}

.mockup-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.mockup-stat-card {
    background: #161b22;
    padding: 15px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    text-align: left;
}

.stat-label { font-size: 0.65rem; color: var(--text-secondary); text-transform: uppercase; margin-bottom: 8px; display: block; }
.stat-value { font-size: 1.1rem; font-weight: 700; display: block; margin-bottom: 4px; }
.stat-change { font-size: 0.7rem; font-weight: 600; }
.change-up { color: #10b981; }
.change-down { color: #ef4444; }

/* Mockup Chart Area */
.mockup-chart-container {
    background: #161b22;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
    height: 180px;
    position: relative;
}

.mockup-chart {
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(59, 130, 246, 0.1), transparent);
    border-bottom: 2px solid var(--accent-color);
    position: relative;
    overflow: hidden;
}

.mockup-chart::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,60 C150,100 350,0 500,50 C650,100 850,20 1000,60 C1150,100 1200,60 1200,60 L1200,120 L0,120 Z' fill='rgba(59, 130, 246, 0.2)'/%3E%3Cpath d='M0,60 C150,100 350,0 500,50 C650,100 850,20 1000,60 C1150,100 1200,60 1200,60' fill='none' stroke='%233b82f6' stroke-width='2'/%3E%3C/svg%3E");
    background-size: 100% 100%;
}

/* Mockup Table */
.mockup-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.mockup-table th {
    font-size: 0.65rem;
    color: var(--text-secondary);
    padding: 10px;
    border-bottom: 1px solid var(--border-color);
}

.mockup-table td {
    padding: 12px 10px;
    font-size: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.badge-sm {
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.6rem;
    font-weight: 700;
}

.badge-grid { background: rgba(139, 92, 246, 0.2); color: #a78bfa; }
.badge-dca { background: rgba(14, 165, 233, 0.2); color: #38bdf8; }
.badge-mart { background: rgba(245, 158, 11, 0.2); color: #fbbf24; }
.badge-trend { background: rgba(16, 185, 129, 0.2); color: #34d399; }

.status-running { display: inline-flex; align-items: center; gap: 5px; color: #10b981; }
.status-running::before { content: ""; width: 6px; height: 6px; background: #10b981; border-radius: 50%; }

/* Section Headers Refinement */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 10;
}

.platform-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(45, 212, 191, 0.1);
    border: 1px solid rgba(45, 212, 191, 0.2);
    border-radius: 100px;
    color: #2dd4bf;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.section-header p {
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Feature Grid Restoration */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
    position: relative;
    z-index: 10;
}

.feature-card {
    background: rgba(13, 17, 23, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-align: left;
}

.feature-card:hover {
    border-color: rgba(59, 130, 246, 0.5);
    background: rgba(13, 17, 23, 0.8);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.5);
}

.feature-icon-wrapper {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: #818cf8;
    font-size: 1.2rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* Audience Section Styling */
.audience-grid, .scenarios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
    position: relative;
    z-index: 10;
}

.audience-card, .scenario-card {
    background: rgba(13, 17, 23, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-align: left;
    position: relative;
    overflow: hidden;
}

.audience-card:hover, .scenario-card:hover {
    border-color: rgba(59, 130, 246, 0.4);
    background: rgba(13, 17, 23, 0.6);
    transform: translateY(-5px);
}

.pill-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.audience-badge {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: #3b82f6;
}

.scenarios-badge {
    background: rgba(45, 212, 191, 0.1);
    border: 1px solid rgba(45, 212, 191, 0.2);
    color: #2dd4bf;
}

.audience-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 1.1rem;
}

.icon-blue { background: rgba(59, 130, 246, 0.1); color: #3b82f6; border: 1px solid rgba(59, 130, 246, 0.2); }
.icon-cyan { background: rgba(6, 182, 212, 0.1); color: #06b6d4; border: 1px solid rgba(6, 182, 212, 0.2); }
.icon-purple { background: rgba(139, 92, 246, 0.1); color: #8b5cf6; border: 1px solid rgba(139, 92, 246, 0.2); }
.icon-indigo { background: rgba(99, 102, 241, 0.1); color: #6366f1; border: 1px solid rgba(99, 102, 241, 0.2); }
.icon-teal { background: rgba(20, 184, 166, 0.1); color: #14b8a6; border: 1px solid rgba(20, 184, 166, 0.2); }
.icon-blue-dark { background: rgba(30, 58, 138, 0.1); color: #60a5fa; border: 1px solid rgba(30, 58, 138, 0.2); }

.audience-card h3, .scenario-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.audience-card p, .scenario-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* Scenario Specific */
.scenario-number {
    width: 32px;
    height: 24px;
    background: #3b82f6;
    color: white;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
    margin-bottom: 24px;
}

.scenarios-grid .scenario-card:nth-child(2) .scenario-number { background: #06b6d4; }
.scenarios-grid .scenario-card:nth-child(3) .scenario-number { background: #8b5cf6; }
.scenarios-grid .scenario-card:nth-child(4) .scenario-number { background: #6366f1; }
.scenarios-grid .scenario-card:nth-child(5) .scenario-number { background: #14b8a6; }
.scenarios-grid .scenario-card:nth-child(6) .scenario-number { background: #3b82f6; }

/* Market Coverage Section */
.market-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 60px;
    position: relative;
    z-index: 10;
}

.market-card {
    background: rgba(13, 17, 23, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.market-card:hover {
    border-color: rgba(59, 130, 246, 0.4);
    background: rgba(13, 17, 23, 0.6);
    transform: translateY(-2px);
}

.market-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(37, 99, 235, 0.05));
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.market-info h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.market-info p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.4;
}

.market-badge {
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.2);
    color: #06b6d4;
}

/* Mobile Section */
.mobile-section-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
    margin-top: 60px;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: #000;
    border-radius: 40px;
    border: 8px solid #1e293b;
    position: relative;
    margin: 0 auto;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(59, 130, 246, 0.2);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #0d1117;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.phone-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; font-size: 0.7rem; }
.phone-nav { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.8rem; }
.phone-total-equity { background: #161b22; padding: 15px; border-radius: 12px; margin-bottom: 15px; border: 1px solid var(--border-color); }
.phone-chart { height: 60px; background: linear-gradient(to bottom, rgba(59, 130, 246, 0.1), transparent); border-bottom: 2px solid #3b82f6; margin: 10px 0; }
.phone-strategy-list { display: flex; flex-direction: column; gap: 8px; }
.phone-strategy-item { display: flex; justify-content: space-between; align-items: center; background: #161b22; padding: 10px; border-radius: 8px; font-size: 0.7rem; }

.mobile-cards { display: flex; flex-direction: column; gap: 20px; }
.mobile-download-card {
    background: rgba(13, 17, 23, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    justify-content: space-between; 
    align-items: center;
    backdrop-filter: blur(10px);
}

.download-info-main { display: flex; gap: 20px; align-items: flex-start; }
.download-icon-box { width: 40px; height: 40px; background: rgba(59, 130, 246, 0.1); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #3b82f6; font-size: 1.2rem; }
.download-text h3 { font-size: 1.1rem; margin-bottom: 6px; }
.download-text p { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 15px; }
.qr-box { text-align: center; flex-shrink: 0; }
.qr-box img { width: 80px; height: 80px; background: white; padding: 4px; border-radius: 4px; margin-bottom: 8px; }
.qr-box span { font-size: 0.65rem; color: var(--text-secondary); display: block; }

.btn-glass {
    background: linear-gradient(90deg, #6366f1, #06b6d4);
    color: white !important;
    width: 100%;
    justify-content: center;
    border: none;
}

.url-preview { background: #000; padding: 6px 12px; border-radius: 6px; font-family: monospace; font-size: 0.75rem; color: var(--text-secondary); display: inline-block; margin-top: 15px; }

/* Workflow Grid */
.workflow-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.workflow-card {
    background: rgba(13, 17, 23, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
    position: relative;
}

.workflow-num { font-size: 0.75rem; color: #06b6d4; font-weight: 800; margin-bottom: 20px; display: block; }

/* AI Tags */
.ai-tags-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.ai-tag {
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: all 0.3s;
}

.ai-tag:hover { background: rgba(255, 255, 255, 0.08); color: white; border-color: #475569; }

/* FAQ Accordion */
.faq-accordion {
    max-width: 800px;
    margin: 60px auto 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: rgba(13, 17, 23, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
}

.faq-question {
    padding: 20px 25px;
    display: flex; 
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
}

.faq-answer {
    padding: 0 25px 20px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    display: none;
}

.faq-item.active .faq-answer { display: block; }
.faq-item.active .faq-question { color: var(--accent-color); }

/* Legal Section */
.legal-warning-card {
    background: rgba(251, 191, 36, 0.05);
    border: 1px solid rgba(251, 191, 36, 0.2);
    border-radius: 20px;
    padding: 40px;
    margin-top: 60px;
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.warning-icon { font-size: 2rem; color: #fbbf24; }
.warning-content h3 { font-size: 1.25rem; margin-bottom: 15px; color: #fbbf24; }
.warning-content p { font-size: 0.95rem; color: var(--text-secondary); margin-bottom: 25px; }

.channel-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.channel-tag { padding: 6px 16px; background: #000; border: 1px solid var(--border-color); border-radius: 100px; font-size: 0.75rem; color: var(--text-secondary); }

.legal-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.legal-card {
    background: rgba(13, 17, 23, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 25px;
}

.legal-card h4 { font-size: 1rem; margin-bottom: 12px; }
.legal-card p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.6; }

/* CTA Section */
.cta-box {
    background: linear-gradient(rgba(13, 17, 23, 0.8), rgba(13, 17, 23, 0.8)), 
                url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath d='M0 0 L100 0 L100 100 L0 100 Z' fill='none' stroke='rgba(59, 130, 246, 0.05)' stroke-width='1'/%3E%3C/svg%3E");
    border: 1px solid var(--border-color);
    border-radius: 30px;
    padding: 80px 40px;
    text-align: center;
    margin-top: 120px;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: ""; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cta-box h2 { font-size: 3rem; margin-bottom: 20px; }
.cta-box p { color: var(--text-secondary); margin-bottom: 40px; }

/* Documentation Center Styles */
.docs-container {
    display: flex;
    gap: 40px;
    padding: 120px 0 60px;
    min-height: 100vh;
}

.docs-sidebar {
    width: 280px;
    height: calc(100vh - 140px);
    position: sticky;
    top: 100px;
    overflow-y: auto;
    padding-right: 20px;
    border-right: 1px solid var(--border-color);
}

.docs-sidebar::-webkit-scrollbar {
    width: 4px;
}

.docs-sidebar::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 100px;
}

.sidebar-group {
    margin-bottom: 30px;
}

.group-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.docs-sidebar ul {
    list-style: none;
}

.docs-sidebar ul li {
    margin-bottom: 8px;
}

.docs-sidebar ul li a {
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: block;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.2s;
}

.docs-sidebar ul li a:hover, .docs-sidebar ul li a.active {
    color: var(--text-primary);
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-color);
}

.docs-content {
    flex: 1;
    max-width: 850px;
}

.docs-content section {
    margin-bottom: 80px;
    scroll-margin-top: 120px;
}

.docs-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 100px;
    color: var(--accent-color);
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.docs-content h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 24px;
}

.docs-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.docs-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 30px 0 15px;
}

.docs-content p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}

.docs-content ul, .docs-content ol {
    margin-bottom: 20px;
    padding-left: 20px;
    color: var(--text-secondary);
}

.docs-content li {
    margin-bottom: 10px;
}

/* Docs Tables */
.docs-content table {
    width: 100%;
    border-spacing: 0;
    margin: 32px 0;
    font-size: 0.95rem;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    background: rgba(13, 17, 23, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.docs-content th {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    font-weight: 700;
    text-align: left;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-color);
    letter-spacing: 0.5px;
}

.docs-content td {
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    line-height: 1.6;
}

.docs-content tr:last-child td {
    border-bottom: none;
}

.docs-content tr:hover td {
    background: rgba(255, 255, 255, 0.03);
}

/* Ensure first/last cells respect border-radius */
.docs-content th:first-child { border-top-left-radius: 12px; }
.docs-content th:last-child { border-top-right-radius: 12px; }
.docs-content tr:last-child td:first-child { border-bottom-left-radius: 12px; }
.docs-content tr:last-child td:last-child { border-bottom-right-radius: 12px; }

/* Docs Feature Grid */
.docs-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.docs-feature-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
}

.docs-feature-card h3 {
    font-size: 1.1rem;
    margin-top: 0;
    margin-bottom: 12px;
}

.docs-feature-card p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Code Blocks */
.code-block-container {
    background: #010409;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin: 25px 0;
    overflow: hidden;
}

.code-block-header {
    background: #161b22;
    padding: 8px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.code-block-lang {
    font-size: 0.75rem;
    font-family: monospace;
    color: var(--text-secondary);
}

.copy-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.2s;
}

.copy-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

pre {
    padding: 20px;
    overflow-x: auto;
}

code {
    font-family: 'Fira Code', 'Courier New', Courier, monospace;
    font-size: 0.9rem;
}

.inline-code {
    background: rgba(255, 255, 255, 0.05);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.9em;
    color: #e2e8f0;
}

.code-badge {
    background: #1e293b;
    color: #38bdf8;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
}

/* Alerts */
.docs-alert {
    display: flex;
    gap: 20px;
    background: rgba(251, 191, 36, 0.05);
    border: 1px solid rgba(251, 191, 36, 0.2);
    border-radius: 12px;
    padding: 24px;
    margin: 30px 0;
}

.docs-alert-icon {
    font-size: 1.5rem;
    color: #fbbf24;
}

.docs-alert-content h4 {
    color: #fbbf24;
    margin-bottom: 8px;
}

.docs-alert-content p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Search Box in Header */
.docs-header-search {
    position: relative;
    margin: 0 40px;
    flex: 1;
    max-width: 400px;
}

.docs-header-search i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

#docs-search {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 10px 40px;
    color: white;
    font-size: 0.9rem;
    transition: all 0.3s;
}

#docs-search:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-color);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.2);
}

.search-shortcut {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
}

/* Responsive Docs */
@media (max-width: 992px) {
    .docs-sidebar { display: none; }
    .docs-header-search { margin: 0 20px; }
}

/* Footer Styling */
.footer-main {
    padding: 100px 0 60px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 60px;
    text-align: left;
}

.footer-brand .logo { margin-bottom: 20px; }
.footer-brand p { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 30px; line-height: 1.7; }
.social-links { display: flex; gap: 15px; }
.social-link { width: 36px; height: 36px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--border-color); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--text-secondary); transition: all 0.3s; }
.social-link:hover { color: white; border-color: #475569; background: rgba(255, 255, 255, 0.08); }

.footer-col h4 { font-size: 1rem; margin-bottom: 25px; color: white; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { color: var(--text-secondary); font-size: 0.9rem; transition: 0.3s; }
.footer-col ul li a:hover { color: white; }

.footer-bottom {
    padding: 30px 0;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-secondary);
    font-size: 0.8rem;
}

/* Responsive Fixes */
@media (max-width: 1200px) {
    .market-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-main { grid-template-columns: 1fr 1fr 1fr; }
    .footer-brand { grid-column: span 3; margin-bottom: 40px; }
}

@media (max-width: 992px) {
    .dashboard-mockup { display: none; }
    .features-grid, .audience-grid, .scenarios-grid { grid-template-columns: repeat(2, 1fr); }
    .market-grid { grid-template-columns: repeat(2, 1fr); }
    .mobile-section-content { grid-template-columns: 1fr; }
    .phone-mockup { display: none; }
    .workflow-grid { grid-template-columns: repeat(2, 1fr); }
    .legal-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .features-grid, .audience-grid, .scenarios-grid, .market-grid, .workflow-grid, .legal-grid { grid-template-columns: 1fr; }
    .section-header h2 { font-size: 2.2rem; }
    .feature-card, .audience-card, .scenario-card { padding: 30px; }
    .hero h1 { font-size: 3rem; }
    .nav-links { display: none; }
    
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--nav-bg);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 40px;
        border-bottom: 1px solid var(--border-color);
        gap: 24px;
        text-align: center;
        z-index: 1000;
    }
    
    .mobile-toggle {
        display: flex;
    }

    .footer-main { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: span 2; }
    .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
}
