/* Story Engine AI - Clean & Premium Design (v4.0) */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800;900&family=Inter:wght@300;400;600;700&display=swap');

:root {
    --p-glow: #8b5cf6;
    --s-glow: #ec4899;
    --a-glow: #06b6d4;
    --bg: #030014;
    --card-bg: rgba(13, 12, 34, 0.7);
    --border: rgba(255, 255, 255, 0.1);
    --grad-1: linear-gradient(90deg, #8b5cf6, #ec4899);
}

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

body {
    background-color: var(--bg);
    color: #fff;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Luxury Animated BG */
body::after {
    content: '';
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(139, 92, 246, 0.12) 0%, transparent 40%),
                radial-gradient(circle at 80% 70%, rgba(236, 72, 153, 0.12) 0%, transparent 40%);
    z-index: -1;
}

.container { max-width: 1300px; margin: 0 auto; padding: 0 40px; }

/* Navbar - Floating Glass */
nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    z-index: 1000;
    padding: 15px 30px;
    background: rgba(2, 6, 23, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 100px;
    transition: all 0.4s ease;
}

nav.scrolled {
    width: 100%;
    top: 0;
    border-radius: 0;
    background: rgba(0, 0, 0, 0.9);
}

.nav-content { display: flex; justify-content: space-between; align-items: center; }

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 20px;
    color: #fff;
    text-decoration: none;
}

.logo img { height: 35px; filter: drop-shadow(0 0 8px var(--p-glow)); }

.nav-links { display: flex; gap: 30px; list-style: none; align-items: center; }
.nav-links a { color: #ccc; text-decoration: none; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; transition: color 0.3s; }
.nav-links a:hover { color: var(--p-glow); }

/* Buttons - Glowing */
.btn {
    padding: 14px 34px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    display: inline-block;
    border: none;
    text-align: center;
}

.btn-neon {
    background: var(--grad-1);
    color: #fff !important;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
}

.btn-neon:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.7);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--p-glow);
    color: #fff !important;
}

.btn-outline:hover {
    background: rgba(139, 92, 246, 0.1);
}

/* Sections */
section { padding: 120px 0; }

.tagline {
    font-family: 'Outfit', sans-serif;
    color: var(--p-glow);
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 20px;
    text-align: center;
}

h2 {
    font-size: clamp(32px, 5vw, 45px);
    font-weight: 900;
    text-align: center;
    margin-bottom: 60px;
    font-family: 'Outfit', sans-serif;
}

h2 span {
    background: var(--grad-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Hero Section */
#hero { text-align: center; padding-top: 200px; min-height: 100vh; }
#hero h1 {
    font-size: clamp(40px, 8vw, 85px);
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: -2px;
}
#hero h1 span { background: var(--grad-1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
#hero p { font-size: 20px; color: #aaa; max-width: 800px; margin: 0 auto 50px; }

/* Video Section */
#how { text-align: center; }
.v-container {
    max-width: 1000px;
    margin: 40px auto 0;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 30px;
    border: 2px solid var(--border);
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0,0,0,0.8);
}

/* Showcase - Cards Style */
.showcase-grid { display: grid; gap: 100px; padding-top: 40px; }
.showcase-item { display: flex; align-items: center; gap: 80px; }
.showcase-item:nth-child(even) { flex-direction: row-reverse; }

.img-box {
    flex: 1.2;
    background: var(--bg);
    padding: 0;
    border-radius: 30px;
    border: 1px solid var(--border);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.15);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}
/* Hide white edges with inner shadow */
.img-box::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    box-shadow: inset 0 0 40px 10px var(--bg);
    pointer-events: none;
    z-index: 2;
}
.img-box:hover { transform: scale(1.02); border-color: var(--p-glow); }
.img-box img { width: 100%; border-radius: 20px; display: block; filter: brightness(0.95) contrast(1.1); }

.info-box { flex: 1; }
.info-box h3 { font-size: 34px; font-family: 'Outfit', sans-serif; margin-bottom: 25px; color: var(--a-glow); font-weight: 900; }
.info-box p { font-size: 18px; color: #bbb; margin-bottom: 25px; }

/* Pricing Grid */
.p-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 40px; }
.p-card {
    background: var(--card-bg);
    padding: 60px 40px;
    border-radius: 40px;
    border: 1px solid var(--border);
    transition: all 0.4s;
    position: relative;
    display: flex;
    flex-direction: column;
}

.p-card.featured {
    border-color: var(--p-glow);
    box-shadow: 0 0 50px rgba(139, 92, 246, 0.2);
    transform: scale(1.05);
}

.p-card h3 { font-family: 'Outfit', sans-serif; font-size: 22px; margin-bottom: 10px; font-weight: 900; }
.p-price { font-size: 52px; font-weight: 900; margin: 25px 0; font-family: 'Outfit', sans-serif; }
.p-price span { font-size: 16px; color: #888; letter-spacing: 0; font-family: 'Inter', sans-serif; }

.p-list { list-style: none; margin: 30px 0; text-align: left; }
.p-list li { margin-bottom: 15px; font-size: 14px; display: flex; align-items: center; gap: 12px; color: #ddd; }
.p-list li::before { content: "\2713"; color: var(--a-glow); font-weight: bold; }

/* FAQ Accordion */
.faq-wrap { max-width: 900px; margin: 50px auto 0; }
.faq-item { background: rgba(255,255,255,0.03); margin-bottom: 15px; border-radius: 20px; border: 1px solid var(--border); }
.faq-q { padding: 30px; cursor: pointer; font-weight: 800; display: flex; justify-content: space-between; font-size: 18px; font-family: 'Outfit', sans-serif; }
.faq-a { padding: 0 30px; max-height: 0; overflow: hidden; transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1); color: #aaa; }
.faq-item.active .faq-a { padding-bottom: 30px; max-height: 300px; }

/* Download Hub */
#download { text-align: center; }
.dl-card {
    background: var(--card-bg);
    padding: 80px;
    border-radius: 50px;
    border: 2px solid var(--p-glow);
    display: inline-block;
    box-shadow: 0 0 60px rgba(139, 92, 246, 0.3);
    max-width: 1000px;
    width: 100%;
}

/* Footer */
footer { padding: 100px 0 50px; border-top: 1px solid var(--border); text-align: center; }
.f-logo { font-family: 'Outfit', sans-serif; font-size: 28px; font-weight: 900; margin-bottom: 20px; }

/* Creative Features Section */
.c-feat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.c-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
    border: 1px solid var(--border);
    padding: 40px 30px;
    border-radius: 25px;
    text-align: left;
    transition: all 0.4s;
}

.c-card:hover {
    transform: translateY(-10px);
    border-color: var(--p-glow);
    background: rgba(139, 92, 246, 0.05);
}

.c-icon-row { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 25px; }
.c-main-icon { 
    width: 60px; height: 60px; 
    background: rgba(255,255,255,0.05); 
    border-radius: 15px; 
    display: flex; justify-content: center; align-items: center; 
    font-size: 24px; color: var(--a-glow);
    box-shadow: inset 0 0 15px rgba(255,255,255,0.05);
}

.c-card h4 { font-family: 'Outfit', sans-serif; font-size: 20px; margin-bottom: 12px; font-weight: 900; }
.c-card p { font-size: 14px; color: #aaa; line-height: 1.4; }

.flag-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
}
.flag-grid img { width: 18px; border-radius: 2px; }

@media (max-width: 1024px) {
    .p-grid { grid-template-columns: 1fr; }
    .showcase-item { flex-direction: column !important; text-align: center; }
    .p-card.featured { transform: none; }
    .c-feat-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .c-feat-grid { grid-template-columns: 1fr; }
}
