@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Outfit:wght@500;600;700;800&display=swap');

/* ==========================================
   DESIGN TOKENS & VARIABLES
   ========================================== */
:root {
    /* Color Palette */
    --bg-dark: #09090b;
    --bg-card: rgba(20, 20, 25, 0.6);
    --bg-card-hover: rgba(28, 28, 36, 0.8);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.16);
    
    --text-primary: #f4f4f5;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    
    /* Harmonious HSL Accent Gradients */
    --accent-purple: hsl(263, 90%, 50%);
    --accent-purple-glow: hsla(263, 90%, 50%, 0.15);
    --accent-pink: hsl(322, 85%, 55%);
    --accent-pink-glow: hsla(322, 85%, 55%, 0.15);
    --accent-cyan: hsl(180, 100%, 50%);
    
    --gradient-hero: linear-gradient(135deg, var(--text-primary) 30%, #a78bfa 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-pink) 100%);
    
    /* Social Brand Colors */
    --brand-tiktok: #00f2fe;
    --brand-instagram: #e1306c;
    --brand-youtube: #ff0000;
    
    /* Typography */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    /* Layout & Spacing */
    --max-width: 1200px;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================
   RESET & GLOBAL BASICS
   ========================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    color-scheme: dark;
    background-color: var(--bg-dark);
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    background-color: var(--bg-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

/* Background Glowing Accents */
body::before {
    content: '';
    position: absolute;
    top: -10%;
    left: 20%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, rgba(0,0,0,0) 70%);
    z-index: -1;
    pointer-events: none;
}

body::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.05) 0%, rgba(0,0,0,0) 70%);
    z-index: -1;
    pointer-events: none;
}

/* Typography Defaults */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

p {
    color: var(--text-secondary);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

/* ==========================================
   NAVIGATION
   ========================================== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(9, 9, 11, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    padding: 1.25rem 0;
    transition: background var(--transition-fast);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-primary);
    letter-spacing: -0.03em;
}

.logo span {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-icon {
    width: 2rem;
    height: 2rem;
    background: var(--gradient-accent);
    border-radius: 8px;
    display: grid;
    place-items: center;
    color: white;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

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

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

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--gradient-accent);
    color: white;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(139, 92, 246, 0.35);
}

.btn-secondary {
    background: var(--glass-bg);
    border-color: var(--border-color);
    color: var(--text-primary);
}

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

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    border-radius: 6px;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    padding: 8rem 0 6rem;
    text-align: center;
    position: relative;
}

.hero-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.badge {
    background: var(--accent-purple-glow);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: #c084fc;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.35rem 1rem;
    border-radius: 100px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    animation: pulse 2s infinite;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.05;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0.5rem 0 1rem;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
}

/* Hero Showcase Mockup */
.hero-mockup {
    margin-top: 5rem;
    width: 100%;
    max-width: 800px;
    background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.1);
    position: relative;
    overflow: hidden;
}

.hero-mockup::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.05) 0%, rgba(0,0,0,0) 50%);
    pointer-events: none;
}

.mockup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.mockup-dots {
    display: flex;
    gap: 0.4rem;
}

.mockup-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--border-hover);
}

.mockup-dot:nth-child(1) { background-color: #ef4444; }
.mockup-dot:nth-child(2) { background-color: #f59e0b; }
.mockup-dot:nth-child(3) { background-color: #10b981; }

.mockup-title {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.mockup-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
    text-align: left;
}

.mockup-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: border-color var(--transition-fast);
}

.mockup-item:hover {
    border-color: var(--accent-purple);
}

.mockup-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--border-radius-sm);
    display: grid;
    place-items: center;
    color: white;
}

.mockup-tiktok { background-color: #000; box-shadow: 0 0 15px rgba(0, 242, 254, 0.2); }
.mockup-instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); box-shadow: 0 0 15px rgba(225, 48, 108, 0.2); }
.mockup-youtube { background-color: #ff0000; box-shadow: 0 0 15px rgba(255, 0, 0, 0.2); }

.mockup-video-card {
    height: 120px;
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
}

.mockup-video-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.8) 100%);
    padding: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mockup-play-icon {
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 50%;
    background-color: white;
    color: black;
    display: grid;
    place-items: center;
    font-size: 0.6rem;
}

.mockup-video-title {
    font-size: 0.75rem;
    font-weight: 500;
}

.mockup-status {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    font-weight: 600;
}

.mockup-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #10b981;
}

/* ==========================================
   FEATURES SECTION
   ========================================== */
.features {
    padding: 6rem 0;
    background: linear-gradient(180deg, rgba(9,9,11,0) 0%, rgba(20,20,25,0.3) 50%, rgba(9,9,11,0) 100%);
}

.section-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    background: linear-gradient(135deg, #fff 40%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.03) 0%, rgba(236, 72, 153, 0.03) 100%);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    box-shadow: 0 12px 30px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.05);
}

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

.feature-icon-wrapper {
    width: 3.5rem;
    height: 3.5rem;
    background: var(--accent-purple-glow);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: var(--border-radius-md);
    color: #c084fc;
    display: grid;
    place-items: center;
    margin-bottom: 1.5rem;
}

.feature-card:nth-child(2) .feature-icon-wrapper {
    background: rgba(236, 72, 153, 0.1);
    border-color: rgba(236, 72, 153, 0.2);
    color: #f472b6;
}

.feature-card:nth-child(3) .feature-icon-wrapper {
    background: rgba(6, 182, 212, 0.1);
    border-color: rgba(6, 182, 212, 0.2);
    color: #22d3ee;
}

.feature-card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

.feature-card p {
    font-size: 0.95rem;
}

/* ==========================================
   PRICING SECTION
   ========================================== */
.pricing {
    padding: 6rem 0;
}

/* Billing Toggle */
.pricing-toggle-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 4rem;
}

.toggle-label {
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
}

.toggle-label.active {
    color: var(--text-primary);
}

.toggle-label:not(.active) {
    color: var(--text-muted);
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 32px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 24px;
    width: 24px;
    left: 3px;
    bottom: 3px;
    background: var(--gradient-accent);
    transition: .4s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.4);
}

input:checked + .slider:before {
    transform: translateX(28px);
}

.discount-badge {
    background-color: #10b981;
    color: #060608;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 100px;
    letter-spacing: 0.02em;
}

/* Pricing Cards */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
    align-items: stretch;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 3rem 2.25rem;
    display: flex;
    flex-direction: column;
    transition: all var(--transition-normal);
    position: relative;
}

.pricing-card.popular {
    border-color: var(--accent-purple);
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.12), inset 0 1px 0 rgba(255,255,255,0.05);
    transform: scale(1.03);
}

.pricing-card.popular::after {
    content: 'Popular';
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    background: var(--gradient-accent);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.35rem 0.85rem;
    border-radius: 100px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.pricing-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.pricing-card.popular:hover {
    border-color: var(--accent-pink);
    transform: translateY(-4px) scale(1.03);
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.pricing-description {
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.pricing-price {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 2rem;
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.pricing-price span.period {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
}

.pricing-features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.pricing-features-list li {
    font-size: 0.95rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pricing-features-list li svg {
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    color: #10b981;
}

.pricing-card.popular .btn {
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

/* ==========================================
   FAQ SECTION
   ========================================== */
.faqs {
    padding: 6rem 0;
    background: linear-gradient(180deg, rgba(9,9,11,0) 0%, rgba(20,20,25,0.2) 100%);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    transition: all var(--transition-fast);
}

.faq-item:hover {
    border-color: var(--border-hover);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    text-align: left;
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all var(--transition-normal);
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.faq-answer p {
    padding-bottom: 1.5rem;
}

.faq-icon {
    width: 1.25rem;
    height: 1.25rem;
    transition: transform var(--transition-normal);
    color: var(--text-muted);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--text-primary);
}

.faq-item.active .faq-answer {
    max-height: 250px; /* Sensible maximum for clean expand anim */
    padding-top: 0.25rem;
}

/* ==========================================
   STATIC LEGAL/POLICY TEMPLATE
   ========================================== */
.policy-page {
    padding: 8rem 0 6rem;
}

.policy-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.policy-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 2rem;
    margin-bottom: 3rem;
}

.policy-header h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 0.75rem;
}

.policy-meta {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.policy-content h2 {
    font-size: 1.5rem;
    margin: 2.5rem 0 1rem;
    color: var(--text-primary);
}

.policy-content p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.7;
}

.policy-content ul {
    list-style-type: none;
    margin-bottom: 1.5rem;
    padding-left: 0.5rem;
}

.policy-content ul li {
    font-size: 0.95rem;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
}

.policy-content ul li::before {
    content: "•";
    color: var(--accent-pink);
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: -2px;
}

.policy-disclaimer-box {
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.15);
    padding: 1.5rem;
    border-radius: var(--border-radius-md);
    margin: 2.5rem 0;
}

.policy-disclaimer-box p {
    color: #ef4444;
    font-size: 0.9rem;
    margin-bottom: 0;
    font-weight: 500;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 5rem 0 3rem;
    background-color: rgba(9, 9, 11, 0.9);
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 320px;
}

.footer-tagline {
    font-size: 0.9rem;
}

.footer-links h4 {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links ul li a {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-links ul li a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-legal-disclosure {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.footer-copyright {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ==========================================
   RESPONSIVE DESIGN MEDIA QUERIES
   ========================================== */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        gap: 2.5rem;
    }
    
    .pricing-card.popular {
        transform: none;
    }
    
    .pricing-card.popular:hover {
        transform: translateY(-4px);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    .footer-brand {
        grid-column: span 2;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none; /* Keep it clean, minimal static */
    }
    
    .hero {
        padding: 6rem 0 4rem;
    }
    
    .hero-mockup {
        margin-top: 3.5rem;
        padding: 0.75rem;
    }
    
    .mockup-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .mockup-header {
        margin-bottom: 1rem;
        padding-bottom: 0.75rem;
    }
    
    .mockup-video-card {
        height: 100px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-brand {
        grid-column: span 1;
    }
    
    .footer-copyright {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* ==========================================
   ANIMATIONS & KEYFRAMES
   ========================================== */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.4);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(139, 92, 246, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(139, 92, 246, 0);
    }
}
