:root[data-theme="dark"] {
    --bg-main: #050508;
    --bg-secondary: #0a0b10;
    --glass-bg: rgba(15, 16, 25, 0.6);
    --glass-border: rgba(255, 255, 255, 0.05);
    
    --text-primary: #ffffff;
    --text-muted: #a0a5bc;
    
    --accent-cyan: #25f4ee;
    --accent-cyan-glow: rgba(37, 244, 238, 0.3);
    
    --accent-pink: #fe2c55;
    --accent-pink-glow: rgba(254, 44, 85, 0.3);
    
    --gradient-brand: linear-gradient(135deg, var(--accent-cyan), #9c4cff, var(--accent-pink));
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(5, 5, 8, 0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.2rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.5px;
}

.app-icon-placeholder {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--gradient-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px var(--accent-pink-glow);
}

.app-icon-placeholder.small {
    width: 32px;
    height: 32px;
    font-size: 1.2rem;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Sections */
.content-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 24px;
    width: 100%;
}

.glass-section {
    position: relative;
    overflow: hidden;
}

.glass-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-cyan-glow) 0%, transparent 70%);
    opacity: 0.4;
    z-index: -1;
    pointer-events: none;
}

.glass-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-pink-glow) 0%, transparent 70%);
    opacity: 0.3;
    z-index: -1;
    pointer-events: none;
}

.alt-bg {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 50px;
    max-width: 600px;
}

.content-section > h2 {
    font-size: clamp(2rem, 5vw, 2.5rem);
    margin-bottom: 10px;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Hero Section */
.hero {
    padding: 180px 24px 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 80vh;
    gap: 60px;
    width: 100%;
}

.hero-content {
    flex: 1;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 4rem);
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 500px;
}

.hero-app-icon {
    flex-shrink: 0;
    width: clamp(300px, 30vw, 400px);
    height: clamp(300px, 30vw, 400px);
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 20px 80px rgba(0,0,0,0.6), 0 0 0 1px var(--glass-border);
    transform: perspective(1000px) rotateY(-15deg);
    transition: transform 0.5s ease;
}

.hero-app-icon:hover {
    transform: perspective(1000px) rotateY(-5deg) scale(1.02);
}

.hero-app-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Integration Cards */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px 30px;
    transition: all 0.4s ease;
}

.glass-card:hover {
    transform: translateY(-10px);
    background: rgba(25, 27, 40, 0.8);
    border-color: rgba(255,255,255,0.1);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--accent-cyan);
    margin-bottom: 24px;
}

.glass-card h3 {
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.glass-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Demo Video */
.video-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 60px rgba(0,0,0,0.8);
}

.video-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    backdrop-filter: blur(10px);
}

.video-placeholder i {
    font-size: 4rem;
    color: var(--accent-pink);
    margin-bottom: 20px;
    opacity: 0.8;
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.btn.primary {
    background: var(--primary-color, var(--accent-pink));
    color: white;
}

.btn.secondary {
    background: rgba(255,255,255,0.05);
    color: white;
    border: 1px solid var(--glass-border);
}

/* Legal Documents */
.text-heavy .legal-doc {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: clamp(20px, 5vw, 60px);
    max-width: 900px;
    margin: 0 auto;
}

/* Creator Specific Styles */
.badge-creator {
    background: rgba(254, 44, 85, 0.2);
    color: var(--accent-pink);
    border: 1px solid var(--accent-pink);
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat .value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
}

.stat .label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.video-preview-placeholder {
    width: 100%;
    aspect-ratio: 9/16;
    background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 16px;
    border: 1px solid var(--glass-border);
}

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

.section-center .section-subtitle {
    margin: 0 auto;
}

/* Footer */
footer {
    padding: 60px 24px;
    border-top: 1px solid var(--glass-border);
    text-align: center;
    margin-top: 80px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-legal {
    display: flex;
    gap: 24px;
    margin-top: 10px;
}

.footer-legal a {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.2s;
}

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

/* Responsive */
@media (max-width: 1024px) {
    .navbar {
        padding: 20px 30px;
    }
}

@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 140px;
        gap: 40px;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero p {
        margin: 0 auto;
    }

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

    .hero-actions {
        justify-content: center;
    }

    .hero-app-icon {
        transform: none !important;
        width: 100%;
        max-width: 350px;
        height: auto;
        aspect-ratio: 1;
    }
}

@media (max-width: 600px) {
    .navbar {
        padding: 15px 20px;
    }
    .nav-links {
        display: none;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .content-section {
        padding: 60px 20px;
    }
}
