/* ========================================
   IndieBiz OS - Professional Homepage Styles
   ======================================== */

/* CSS Variables */
:root {
    --primary: #D97706;
    --primary-dark: #B45309;
    --primary-light: #FBBF24;
    --secondary: #3B82F6;
    --bg-light: #FAFAF9;
    --bg-cream: #F5F1EB;
    --bg-dark: #0F172A;
    --bg-darker: #020617;
    --text-primary: #1E293B;
    --text-secondary: #64748B;
    --text-muted: #94A3B8;
    --text-light: #F8FAFC;
    --border-light: #E2E8F0;
    --border-dark: #334155;
    --success: #10B981;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: 0.2s ease;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-light);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* ========================================
   Navigation
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 72px;
    background: rgba(250, 250, 249, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent;
    z-index: 1000;
    transition: all var(--transition);
}

.navbar.scrolled {
    background: rgba(250, 250, 249, 0.95);
    border-bottom-color: var(--border-light);
    box-shadow: var(--shadow-sm);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-icon svg {
    display: block;
}

.logo-text {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.logo-os {
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 500;
    transition: color var(--transition);
}

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

.nav-github {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--text-primary);
    color: white !important;
    border-radius: var(--radius-md);
    transition: all var(--transition);
}

.nav-github:hover {
    background: var(--primary);
    transform: translateY(-1px);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    padding: 120px 0 80px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.hero-gradient {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(ellipse at center, rgba(217, 119, 6, 0.08) 0%, transparent 60%);
}

.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(217, 119, 6, 0.1);
    border: 1px solid rgba(217, 119, 6, 0.2);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.hero-line {
    display: block;
}

.hero h1 .highlight {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 4px 14px rgba(217, 119, 6, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(217, 119, 6, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--text-primary);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-light);
}

/* Hero Visual - Screenshot */
.hero-visual {
    display: flex;
    justify-content: center;
}

.screenshot-container {
    width: 100%;
    max-width: 560px;
}

.hero-screenshot {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl), 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.screenshot-caption {
    text-align: center;
    margin-top: 16px;
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

/* ========================================
   Section Common Styles
   ======================================== */
section {
    padding: 100px 0;
}

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

.section-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(217, 119, 6, 0.1);
    color: var(--primary-dark);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 100px;
    margin-bottom: 16px;
}

.section-badge.light {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   Expert Network Section (NEW)
   ======================================== */
.expert-network-section {
    background: linear-gradient(180deg, #FFF7ED 0%, #FFFBF5 100%);
    padding: 100px 0;
}

.expert-problem {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-bottom: 64px;
}

.problem-card, .solution-card {
    flex: 1;
    max-width: 400px;
    padding: 32px;
    border-radius: var(--radius-lg);
    background: white;
    border: 1px solid var(--border-light);
}

.problem-card {
    background: #FEF2F2;
    border-color: #FECACA;
}

.solution-card {
    background: #F0FDF4;
    border-color: #BBF7D0;
}

.problem-icon, .solution-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.problem-card h3, .solution-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
}

.problem-list, .solution-list {
    list-style: none;
}

.problem-list li, .solution-list li {
    font-size: 14px;
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: var(--text-secondary);
}

.problem-list li::before {
    content: '✕';
    position: absolute;
    left: 0;
    color: #EF4444;
    font-weight: bold;
}

.solution-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #22C55E;
    font-weight: bold;
}

.solution-list li strong {
    color: var(--text-primary);
}

.solution-arrow {
    color: var(--primary);
    flex-shrink: 0;
}

.expert-examples {
    margin-bottom: 64px;
}

.expert-examples h3 {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 32px;
}

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

.expert-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: center;
    transition: all var(--transition);
}

.expert-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.expert-emoji {
    font-size: 48px;
    margin-bottom: 16px;
}

.expert-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.expert-knows {
    font-size: 12px;
    color: var(--primary-dark);
    background: rgba(217, 119, 6, 0.1);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
}

.expert-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Hardware card with real image */
.hardware-card .expert-image {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hardware-card .expert-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.expert-insight {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.expert-insight blockquote {
    font-size: 20px;
    line-height: 1.8;
    color: var(--text-secondary);
    font-style: italic;
}

.insight-highlight {
    display: block;
    margin-top: 16px;
    font-size: 22px;
    font-weight: 700;
    font-style: normal;
    color: var(--primary-dark);
}

/* Expert Section Responsive */
@media (max-width: 1024px) {
    .expert-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .expert-problem {
        flex-direction: column;
    }
    
    .solution-arrow {
        transform: rotate(90deg);
    }
    
    .problem-card, .solution-card {
        max-width: 100%;
    }
    
    .expert-grid {
        grid-template-columns: 1fr;
    }
    
    .expert-insight blockquote {
        font-size: 16px;
    }
    
    .insight-highlight {
        font-size: 18px;
    }
}

/* ========================================
   Core Concepts Section
   ======================================== */
.concepts-section {
    background: white;
}

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

.concept-card {
    padding: 32px;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}

.concept-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.concept-card.featured {
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.05), rgba(217, 119, 6, 0.1));
    border-color: rgba(217, 119, 6, 0.2);
}

.concept-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

.project-icon { color: var(--primary); }
.switch-icon { color: var(--success); }
.folder-icon { color: var(--secondary); }

.concept-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.concept-tagline {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.concept-details {
    margin-bottom: 20px;
}

.concept-details p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.concept-details ul {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.concept-details li {
    font-size: 13px;
    color: var(--text-primary);
    padding-left: 16px;
    position: relative;
}

.concept-details li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}

.concept-example {
    padding: 16px;
    background: white;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
}

.example-label {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.concept-example p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ========================================
   Agents Section
   ======================================== */
.agents-section {
    background: var(--bg-light);
}

.agents-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 64px;
}

.agent-types {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.agent-type-card {
    padding: 24px;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}

.agent-type-card:hover {
    box-shadow: var(--shadow-md);
}

.agent-type-card.featured {
    border-color: var(--primary);
    background: linear-gradient(135deg, white, rgba(217, 119, 6, 0.03));
}

.agent-type-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.agent-type-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: var(--radius-md);
}

.agent-type-icon.internal { color: var(--secondary); }
.agent-type-icon.external { color: var(--primary); }

.agent-type-header h4 {
    font-size: 18px;
    font-weight: 600;
}

.agent-type-badge {
    display: inline-block;
    padding: 4px 10px;
    background: var(--bg-light);
    color: var(--text-secondary);
    font-size: 11px;
    font-weight: 500;
    border-radius: 100px;
}

.agent-type-badge.external-badge {
    background: rgba(217, 119, 6, 0.1);
    color: var(--primary-dark);
}

.agent-type-card > p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.6;
}

.agent-capabilities {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.agent-capabilities span {
    padding: 6px 12px;
    background: var(--bg-light);
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 500;
    border-radius: var(--radius-sm);
}

/* Agent Flow Diagram */
.agent-flow {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.flow-diagram {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 40px;
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
}

.flow-user, .flow-butler {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.flow-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: 50%;
    color: var(--text-secondary);
}

.flow-icon.butler {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
}

.flow-icon.agent {
    width: 48px;
    height: 48px;
    background: var(--secondary);
    color: white;
    font-size: 14px;
    font-weight: 700;
    border-radius: var(--radius-md);
}

.flow-user span, .flow-butler span {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

.flow-desc {
    font-size: 11px;
    color: var(--text-muted);
}

.flow-arrow {
    color: var(--border-light);
}

.flow-agents {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.flow-agent {
    display: flex;
    align-items: center;
    gap: 12px;
}

.flow-agent span {
    font-size: 12px;
    color: var(--text-secondary);
}

.flow-caption {
    margin-top: 24px;
    font-size: 14px;
    color: var(--text-muted);
    text-align: center;
}

/* AI Providers */
.ai-providers {
    text-align: center;
    padding: 48px;
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
}

.ai-providers h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.providers-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.provider-grid {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.provider-card {
    padding: 20px 32px;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    text-align: center;
    transition: all var(--transition);
}

.provider-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.provider-card.featured {
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.05), rgba(217, 119, 6, 0.1));
    border-color: var(--primary);
}

.provider-logo {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.provider-company {
    font-size: 12px;
    color: var(--text-muted);
}

.provider-card.featured .provider-company {
    color: var(--primary-dark);
}

/* ========================================
   Packages Section
   ======================================== */
.packages-section {
    background: white;
}

.packages-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.philosophy-card {
    padding: 40px;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
}

.philosophy-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.philosophy-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.philosophy-card blockquote {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-dark);
    padding-left: 16px;
    border-left: 3px solid var(--primary);
    margin-bottom: 16px;
}

.philosophy-card > p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}

.philosophy-card strong {
    color: var(--text-primary);
}

.philosophy-point {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.philosophy-point:last-child {
    margin-bottom: 0;
}

.point-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: white;
    font-size: 14px;
    font-weight: 700;
    border-radius: 50%;
    flex-shrink: 0;
}

.philosophy-point h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
}

.philosophy-point p {
    font-size: 13px;
    color: var(--text-secondary);
}

/* Package Examples */
.package-examples h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
}

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

.package-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    transition: all var(--transition);
}

.package-item:hover {
    border-color: var(--primary);
    background: white;
}

.package-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: var(--radius-sm);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.package-info h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
    font-family: 'SF Mono', 'Monaco', monospace;
}

.package-info p {
    font-size: 12px;
    color: var(--text-secondary);
}

/* ========================================
   IndieNet Section
   ======================================== */
.indienet-section {
    background: var(--bg-dark);
    color: var(--text-light);
}

.indienet-section .section-title,
.indienet-section .section-subtitle {
    color: var(--text-light);
}

.indienet-section .section-subtitle {
    color: var(--text-muted);
}

.indienet-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.network-visualization {
    position: relative;
    width: 100%;
    height: 400px;
}

.network-connections {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.network-connections .conn {
    stroke: rgba(255, 255, 255, 0.15);
    stroke-width: 1;
}

.network-connections .peer-conn {
    stroke: rgba(255, 255, 255, 0.08);
    stroke-dasharray: 4 4;
}

.network-node {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.network-node.center {
    width: 80px;
    height: 80px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--primary);
    border-color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    color: white;
}

.network-node.peer {
    width: 40px;
    height: 40px;
}

.network-node.n1 { top: 15%; left: 15%; }
.network-node.n2 { top: 15%; right: 15%; }
.network-node.n3 { top: 50%; left: 5%; transform: translateY(-50%); }
.network-node.n4 { top: 50%; right: 5%; transform: translateY(-50%); }
.network-node.n5 { bottom: 15%; left: 15%; }
.network-node.n6 { bottom: 15%; right: 15%; }

.indienet-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.indie-feature {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}

.indie-feature:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--primary-light);
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-content p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ========================================
   Sovereignty Section
   ======================================== */
.sovereignty-section {
    background: var(--bg-light);
}

.sovereignty-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.sovereignty-text h2 {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 16px 0 24px;
}

.sovereignty-text h2 .highlight {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sovereignty-text > p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
}

.sovereignty-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sovereignty-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
}

.sovereignty-list svg {
    color: var(--success);
}

/* VS Diagram */
.vs-diagram {
    display: flex;
    align-items: stretch;
    gap: 0;
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.vs-side {
    flex: 1;
    padding: 40px 32px;
    text-align: center;
}

.vs-side.cloud {
    background: #F8FAFC;
}

.vs-side.local {
    background: linear-gradient(135deg, rgba(217, 119, 6, 0.05), rgba(217, 119, 6, 0.1));
}

.vs-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    background: white;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
}

.vs-side.cloud .vs-icon { color: var(--text-muted); }
.vs-side.local .vs-icon { color: var(--primary); }

.vs-side h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
}

.vs-side ul {
    list-style: none;
}

.vs-side li {
    font-size: 13px;
    color: var(--text-secondary);
    padding: 8px 0;
}

.vs-divider {
    display: flex;
    align-items: center;
    padding: 0 8px;
    background: var(--bg-light);
}

.vs-divider span {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* ========================================
   CTA Section
   ======================================== */
.cta-section {
    background: linear-gradient(135deg, var(--bg-dark), var(--bg-darker));
    padding: 100px 0;
}

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

.cta-content h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 16px;
}

.cta-content > p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.cta-section .btn-secondary {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-light);
}

.cta-section .btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.cta-platforms {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    color: var(--text-muted);
    font-size: 14px;
}

.platform-icons {
    display: flex;
    gap: 16px;
}

.platform {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    color: var(--text-light);
    font-size: 13px;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: var(--bg-darker);
    padding: 64px 0 32px;
    border-top: 1px solid var(--border-dark);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 48px;
}

.footer-brand .logo {
    margin-bottom: 12px;
}

.footer-brand .logo-text {
    color: var(--text-light);
}

.footer-brand > p {
    color: var(--text-muted);
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 64px;
}

.footer-section h4 {
    color: var(--text-light);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-section a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    padding: 6px 0;
    transition: color var(--transition);
}

.footer-section a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid var(--border-dark);
}

.footer-bottom p {
    font-size: 14px;
    color: var(--text-muted);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-visual {
        order: -1;
    }

    .hero h1 {
        font-size: 44px;
    }

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

    .agents-layout {
        grid-template-columns: 1fr;
    }

    .packages-content {
        grid-template-columns: 1fr;
    }

    .indienet-content {
        grid-template-columns: 1fr;
    }

    .network-visualization {
        height: 300px;
    }

    .sovereignty-content {
        grid-template-columns: 1fr;
    }

    .vs-diagram {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border-light);
        box-shadow: var(--shadow-lg);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-github {
        width: 100%;
        justify-content: center;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-description br {
        display: none;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-stats {
        flex-wrap: wrap;
        justify-content: center;
    }

    .os-window {
        max-width: 100%;
    }

    section {
        padding: 60px 0;
    }

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

    .concept-details ul {
        grid-template-columns: 1fr;
    }

    .flow-diagram {
        flex-wrap: wrap;
        gap: 16px;
        padding: 24px;
    }

    .flow-arrow {
        transform: rotate(90deg);
    }

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

    .vs-diagram {
        flex-direction: column;
    }

    .vs-divider {
        padding: 16px;
        justify-content: center;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-platforms {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
        gap: 32px;
    }

    .footer-links {
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .concept-card {
        padding: 24px;
    }

    .agent-type-card {
        padding: 20px;
    }

    .philosophy-card {
        padding: 24px;
    }

    .indie-feature {
        flex-direction: column;
        gap: 16px;
    }

    .provider-grid {
        flex-direction: column;
        align-items: stretch;
    }

    .provider-card {
        padding: 16px;
    }
}
