/* ==========================
   CSS Variables & Typography
   ========================== */
:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f4f4f5;
    --text-primary: #1a1a1a;
    --text-secondary: #52525b;
    --accent: #ff4a4a;
    --accent-hover: #e63e3e;
    --nav-bg: rgba(255, 255, 255, 0.85);
    --border-color: rgba(0, 0, 0, 0.1);
    --accent-glow: rgba(255, 74, 74, 0.15);

    --font-outfit: 'Outfit', sans-serif;

    /* Clamp fonts for responsiveness */
    --fs-huge: clamp(48px, 8vw, 120px);
    --fs-h2: clamp(40px, 6vw, 104px);
    --fs-h3: clamp(32px, 4vw, 90px);
    --fs-h4: clamp(22px, 2.5vw, 36px);
    --fs-h5: clamp(17px, 1.8vw, 24px);
    --fs-h6: clamp(14px, 1.4vw, 18px);
    --fs-body: clamp(15px, 1.25vw, 17px);
    --fs-label: clamp(11px, 1vw, 14px);
}

.dark {
    --bg-primary: #222222;
    --bg-secondary: #2a2a2a;
    --text-primary: #fafafa;
    --text-secondary: #a1a1aa;
    --accent: #ff4a4a;
    --accent-hover: #e63e3e;
    --nav-bg: rgba(34, 34, 34, 0.85);
    --border-color: rgba(255, 255, 255, 0.1);
    --accent-glow: rgba(255, 74, 74, 0.2);
}

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

html {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-outfit);
    overflow-x: hidden;
    max-width: 100%;
    transition: background-color 0.3s ease, color 0.3s ease;
}

h1 { font-size: var(--fs-huge); font-weight: 800; line-height: 0.9; }
h2 { font-size: var(--fs-h2);   font-weight: 800; line-height: 0.9; }
h3 { font-size: var(--fs-h3);   font-weight: 700; line-height: 1.1;  }
h4 { font-size: var(--fs-h4);   font-weight: 700; line-height: 1.2;  }
h5 { font-size: var(--fs-h5);   font-weight: 600; line-height: 1.3;  }
h6 { font-size: var(--fs-h6);   font-weight: 600; line-height: 1.4;  }

/* ==========================
   Placeholders
   ========================== */
.img-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-secondary);
    border-radius: 12px;
    border: 1px dashed var(--text-secondary);
}

.hero, .feature-panel, .presets-split {
    perspective: 1200px;
}

.perspective-img {
    flex: 4;
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    box-shadow: 0 30px 60px rgba(0,0,0,0.12);
    transition: box-shadow 0.3s ease;
    transform-style: preserve-3d;
    will-change: transform;
    background-color: transparent !important;
}

.perspective-img[data-side="right"] {
    transform: rotateY(-15deg) rotateX(5deg);
}

.perspective-img[data-side="left"] {
    transform: rotateY(15deg) rotateX(5deg);
}

.dark .perspective-img {
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
    background-color: transparent !important;
}

.preset-card-thumb img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    background-color: transparent !important;
}

.dark .preset-card-thumb img {
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    background-color: transparent !important;
}

/* ==========================
   Components 
   ========================== */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    border: none;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn svg {
    width: 1em;
    height: 1em;
    flex-shrink: 0;
    opacity: 0;
    max-width: 0;
    overflow: hidden;
    margin-left: 0;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                max-width 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn:hover svg {
    opacity: 1;
    max-width: 1.5em;
    margin-left: 0.5em;
}

.btn-primary {
    background-color: var(--accent);
    color: #fff;
    box-shadow: 0 4px 15px var(--accent-glow);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 74, 74, 0.25);
}

.btn-large {
    font-size: clamp(0.95rem, 1.5vw, 1.25rem);
    padding: clamp(0.65rem, 1.2vw, 1rem) clamp(1.25rem, 2vw, 2rem);
}

.btn-massive {
    font-size: clamp(1.1rem, 2.5vw, 2rem);
    padding: clamp(0.85rem, 1.5vw, 1.5rem) clamp(1.5rem, 3vw, 3rem);
}

/* ==========================
   Splash Screen 
   ========================== */
.splash-wrapper {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.splash-title {
    font-family: var(--font-outfit);
    font-size: var(--fs-huge);
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 0.5rem;
}

.progress-bar-container {
    width: 300px;
    height: 4px;
    background-color: var(--border-color);
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar {
    width: 0%;
    height: 100%;
    background-color: var(--accent);
}

/* ==========================
   Navigation 
   ========================== */
.main-nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 8vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(12px);
    background-color: var(--nav-bg);
    z-index: 1000;
    transition: padding 0.35s ease;
}

.main-nav.scrolled {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: var(--fs-h6);
    font-weight: 800;
    letter-spacing: -0.5px;
    text-decoration: none;
    color: var(--text-primary);
}

.nav-logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: block;
    transition: width 0.35s ease, height 0.35s ease;
}

.main-nav.scrolled .nav-logo-icon {
    width: 26px;
    height: 26px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: color 0.2s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    transition: width 0.25s ease;
}

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

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

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

.nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

#theme-toggle {
    background: transparent;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
}

/* ==========================
   Layouts: Hero
   ========================== */
.hero {
    min-height: 100dvh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 8vw;
    gap: 4rem;
    perspective: 1200px;
}

.hero-title {
    font-size: var(--fs-huge);
    line-height: 1.05;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.text-accent {
    color: var(--accent);
}

.text-line {
    display: inline-block;
}

.hero-subtitle {
    font-size: var(--fs-body);
    color: var(--text-secondary);
    max-width: 680px;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-visual {
    width: 100%;
    aspect-ratio: 4/3;
}

/* ==========================
   Layouts: Features
   ========================== */
.features-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 5rem 8vw 0;
}

.features-header {
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 0;
    text-align: center;
}

.features-header h2 {
    width: 100%;
    font-size: clamp(48px, 10vw, 120px);
    line-height: 1;
}

.section-subtitle {
    font-size: var(--fs-body);
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 1200px;
    width: 100%;
    margin-top: 1.25rem;
}

.feature-panel {
    display: flex;
    min-height: 70vh;
    width: 100%;
    gap: 4rem;
    align-items: center;
    padding: 2.5rem 0;
}

.feature-panel.reverse {
    flex-direction: row-reverse;
}

.feature-text {
    flex: 6;
    min-width: 40vw;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0;
}

.feature-text h3 {
    margin-bottom: 1.5rem;
    line-height: 1.1;
    font-size: clamp(36px, 4.5vw, 84px);
    font-weight: 800;
}

.feature-text p {
    font-size: var(--fs-body);
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==========================
   Workflow / Full Span
   ========================== */
.workflow-section {
    padding: 8rem 8vw;
    width: 100%;
}

.workflow-card.full-span {
    height: 80vh;
    width: 100%;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
}

.workflow-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 4rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
}

.workflow-overlay h2 {
    line-height: 1.1;
}
.workflow-overlay p {
    font-size: var(--fs-body);
    max-width: 600px;
}

/* ==========================
   Footer
   ========================== */
.footer-cta {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: var(--accent);
    color: #ffffff;
    position: relative;
}

.footer-title {
    font-size: var(--fs-huge);
    margin-bottom: 3rem;
    color: #ffffff;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.9);
}

.footer-links-col strong {
    color: #ffffff;
}

.footer-links-col a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-links-col a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.footer-links, .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom {
    width: 100%;
    padding: 2rem 8vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--fs-label);
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-link {
    color: inherit;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-cta .btn-primary {
    background-color: #ffffff;
    color: var(--accent);
}

.footer-cta .btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--accent);
}

/* ==========================
   Media Queries
   ========================== */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        min-height: 100vh;
        text-align: center;
        padding: 8rem 5vw 5rem;
        justify-content: center;
        align-items: center;
    }
    .hero-subtitle { max-width: 100%; margin: 0 auto 2.5rem; }
    .perspective-img { order: -1; width: 100%; }
    
    .feature-panel, .feature-panel.reverse {
        flex-direction: column;
        height: auto;
        gap: 3rem;
        padding: 4rem 0;
    }
    .feature-text, .perspective-img {
        padding: 0;
        height: auto;
        width: 100%;
        min-width: 100%;
    }
    .perspective-img {
        transform: none !important;
        order: -1;
        aspect-ratio: auto;
        width: 100%;
        object-fit: contain;
    }
    .canvas-inner {
        grid-template-columns: 1fr;
    }
    .export-inner {
        grid-template-columns: 1fr;
    }
    .export-visual { order: -1; }
    .workflow-section { padding: 4rem 5vw; }
}

/* ==========================
   Missing & Utility Classes
   ========================== */
.dark-bg {
    /* no alternating grey — all sections use base background */
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: var(--fs-label);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    margin-bottom: 1rem;
}

.section-label svg {
    width: 14px;
    height: 14px;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 2rem;
    margin-bottom: 2.5rem;
}

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

.feature-list li svg {
    color: var(--accent);
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

.feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: var(--fs-label);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    margin-bottom: 1rem;
}

.feature-tag svg {
    width: 14px;
    height: 14px;
}

.btn-outline {
    background-color: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
    background-color: var(--accent-glow);
}

/* ==========================
   Splash Additions
   ========================== */
.splash-logo-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.splash-icon {
    width: 80px;
    height: 80px;
    border-radius: 18px;
    margin-bottom: 0.5rem;
}

.splash-tagline {
    font-size: var(--fs-label);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    opacity: 0.5;
}

.splash-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ==========================
   Hero Additions
   ========================== */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: var(--fs-label);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    margin-bottom: 1rem;
}

.hero-badge svg {
    width: 14px;
    height: 14px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    width: 100%;
}

.hero-cta .btn {
    flex: 1;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
}

.hero-cta .btn-hug {
    flex: none;
}

.hero-scroll-hint {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
    color: var(--text-secondary);
    font-size: var(--fs-label);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero-scroll-hint svg {
    animation: bounceY 1.5s ease-in-out infinite;
    width: 18px;
    height: 18px;
}

@keyframes bounceY {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

.features-header h2 {
    line-height: 1.1;
    width: 100%;
}

/* ==========================
   Stats Section
   ========================== */
.stats-section {
    width: 100%;
    padding: 11.25rem 8vw 5rem;
}

.stats-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-divider {
    display: none;
}

.stat-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
}

.stat-row {
    display: flex;
    align-items: baseline;
    gap: 0.1rem;
}

.stat-number {
    font-size: clamp(3rem, 6vw, 6rem);
    font-weight: 800;
    line-height: 1;
    color: var(--accent);
}

.stat-unit {
    font-size: clamp(1.5rem, 3vw, 3rem);
    font-weight: 800;
    color: var(--accent);
}

.stat-label {
    font-size: var(--fs-label);
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.stat-divider {
    width: 1px;
    height: 80px;
    background-color: var(--border-color);
    flex-shrink: 0;
}

/* ==========================
   Marquee
   ========================== */
.marquee-strip {
    width: 100%;
    overflow: hidden;
    padding: 1.5rem 0;
    background-color: var(--accent);
    position: absolute;
    bottom: 0;
    left: 0;
}

.marquee-track {
    display: flex;
    gap: 0;
    width: max-content;
    will-change: transform;
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0 2rem;
    color: #fff;
    font-size: var(--fs-label);
    font-weight: 600;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.marquee-item svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* ==========================
   AI Hub Section
   ========================== */
.ai-hub-section {
    width: 100%;
    padding: 11.25rem 8vw;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* Section header shared style */
.ai-hub-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    margin-bottom: 4rem;
}

.ai-hub-header h2 {
    line-height: 1.05;
    width: 100%;
}

/* Uniform 3-column card grid */
.ai-hub-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.ai-card {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding: 1.75rem;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    background-color: var(--bg-primary);
    transition: border-color 0.2s ease;
    will-change: transform, opacity;
}

.ai-card:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
}

.ai-card-header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.ai-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid var(--border-color);
}

.ai-card-icon svg {
    width: 18px;
    height: 18px;
}

.ai-icon-image   { background: rgba(245,158,11,0.1);  border-color: rgba(245,158,11,0.3); }
.ai-icon-image svg { color: #f59e0b; }
.ai-icon-edit    { background: rgba(139,92,246,0.1);  border-color: rgba(139,92,246,0.3); }
.ai-icon-edit svg  { color: #8b5cf6; }
.ai-icon-video   { background: rgba(16,185,129,0.1);  border-color: rgba(16,185,129,0.3); }
.ai-icon-video svg { color: #10b981; }
.ai-icon-music   { background: rgba(236,72,153,0.1);  border-color: rgba(236,72,153,0.3); }
.ai-icon-music svg { color: #ec4899; }
.ai-icon-voice   { background: rgba(249,115,22,0.1);  border-color: rgba(249,115,22,0.3); }
.ai-icon-voice svg { color: #f97316; }
.ai-icon-subtitle { background: rgba(59,130,246,0.1); border-color: rgba(59,130,246,0.3); }
.ai-icon-subtitle svg { color: #3b82f6; }

.ai-card-tag {
    font-size: var(--fs-label);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
}

.ai-card-title {
    font-size: var(--fs-h6);
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-primary);
}

.ai-card-desc {
    font-size: var(--fs-label);
    color: var(--text-secondary);
    line-height: 1.65;
    flex: 1;
}

.ai-card-tags-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: auto;
}

.ai-pill {
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-secondary);
    font-size: var(--fs-label);
    font-weight: 600;
    color: var(--text-secondary);
    white-space: nowrap;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.ai-card:hover .ai-pill {
    border-color: var(--accent);
    color: var(--accent);
}

/* Footer bar */
.ai-hub-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 1.5rem 2rem;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background-color: var(--bg-primary);
    flex-wrap: wrap;
}

.ai-hub-footer p {
    font-size: var(--fs-body);
    color: var(--text-secondary);
    line-height: 1.5;
}

.ai-hub-footer strong {
    color: var(--text-primary);
    font-weight: 700;
}

@media (max-width: 1024px) {
    .ai-hub-section { padding: 4rem 5vw; gap: 2.5rem; }
    .ai-hub-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .ai-hub-grid { grid-template-columns: 1fr; }
    .ai-hub-footer { flex-direction: column; align-items: flex-start; }
}

/* ==========================
   Canvas Section
   ========================== */
.canvas-section {
    width: 100%;
}

.canvas-inner {
    min-height: 100vh;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    padding: 8rem 8vw;
}

.canvas-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.canvas-text h2 {
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.canvas-text p {
    font-size: var(--fs-body);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.canvas-visual {
    width: 100%;
    aspect-ratio: 4/3;
}

/* ==========================
   Export Section
   ========================== */
.export-section {
    width: 100%;
}

.export-inner {
    min-height: 100vh;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    padding: 8rem 8vw;
}

.export-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.export-headline {
    font-size: var(--fs-h2);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.export-desc {
    font-size: var(--fs-body);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.export-formats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.format-tag {
    padding: 0.4rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--border-color);
    font-size: var(--fs-label);
    font-weight: 600;
    color: var(--text-secondary);
    background-color: var(--bg-primary);
    transition: border-color 0.2s ease, color 0.2s ease;
}

.format-tag:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.export-visual {
    width: 100%;
    aspect-ratio: 4/3;
}

/* ==========================
   Presets Section
   ========================== */
.presets-section {
    width: 100%;
    padding: 11.25rem 8vw;
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

.presets-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    margin-bottom: 4rem;
}

.presets-title {
    font-size: var(--fs-h2);
    line-height: 1.05;
    width: 100%;
}

/* Split: visual left, steps right */
.presets-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.presets-visual {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    position: sticky;
    top: 7rem;
    aspect-ratio: 4/3;
}

.presets-visual .img-placeholder {
    border-radius: 0;
    border: none;
    height: 100%;
}

.presets-details {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

/* Numbered steps */
.preset-step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--border-color);
}

.preset-step:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
}

.preset-step-num {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--accent);
    opacity: 0.5;
    line-height: 1;
    flex-shrink: 0;
    min-width: 3rem;
}

.preset-step-body h4 {
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.preset-step-body p {
    font-size: var(--fs-body);
    color: var(--text-secondary);
    line-height: 1.7;
}

.presets-tags-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

/* Preset card row */
.presets-card-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}

.preset-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    overflow: hidden;
    background-color: var(--bg-secondary);
    transition: border-color 0.2s ease, transform 0.2s ease;
    cursor: default;
}

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

.preset-card-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.preset-card-thumb .img-placeholder {
    border-radius: 0;
    border: none;
    height: 100%;
}

.preset-card-info {
    padding: 0.85rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.preset-card-name {
    font-size: var(--fs-body);
    font-weight: 700;
    color: var(--text-primary);
}

.preset-card-meta {
    font-size: var(--fs-label);
    color: var(--text-secondary);
}

/* Add-new card */
.preset-card-add {
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    aspect-ratio: unset;
    min-height: 120px;
    border-style: dashed;
    opacity: 0.5;
    transition: opacity 0.2s ease, border-color 0.2s ease;
}

.preset-card-add:hover {
    opacity: 1;
    border-color: var(--accent);
}

.preset-card-add svg {
    width: 26px;
    height: 26px;
    color: var(--accent);
}

.preset-card-add span {
    font-size: var(--fs-label);
    font-weight: 700;
    color: var(--text-secondary);
}

@media (max-width: 1200px) {
    .presets-card-row { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
    .presets-section { padding: 4rem 5vw; gap: 3rem; }
    .presets-split { grid-template-columns: 1fr; gap: 3rem; }
    .presets-visual { position: static; }
    .presets-card-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .presets-card-row { grid-template-columns: 1fr; }
}

/* ==========================
   Steps / How It Works
   ========================== */
.steps-section {
    width: 100%;
    padding: 11.25rem 8vw;
}

.steps-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    margin-bottom: 6rem;
}

.steps-header h2 {
    line-height: 1.1;
    width: 100%;
}

.steps-inner {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: stretch;
    gap: 0;
}

.step-item {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 3rem 2.5rem;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    background-color: var(--bg-primary);
}

.step-number {
    font-size: clamp(3rem, 6vw, 6rem);
    font-weight: 800;
    line-height: 1;
    color: var(--accent);
    opacity: 0.35;
}

.step-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.step-title {
    font-weight: 700;
    color: var(--text-primary);
}

.step-desc {
    font-size: var(--fs-body);
    color: var(--text-secondary);
    line-height: 1.7;
}

.step-divider {
    width: 60px;
    height: 2px;
    background-color: var(--accent);
    opacity: 0.3;
    align-self: center;
    margin: 0 1.5rem;
}

/* ==========================
   Manifesto Section
   ========================== */
.manifesto-section {
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 11.25rem 8vw;
    background-color: var(--bg-primary);
}

.manifesto-inner {
    max-width: 1200px;
    width: 100%;
}

.manifesto-text {
    font-size: var(--fs-huge);
    font-weight: 800;
    line-height: 0.95;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35em;
}

.manifesto-word {
    display: inline-block;
    opacity: 0.15;
}

/* ==========================
   FAQ Section
   ========================== */
.faq-section {
    width: 100%;
    padding: 11.25rem 8vw;
}

.faq-inner {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.faq-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.faq-header h2 {
    line-height: 1.1;
    width: 100%;
}

.faq-list {
    display: flex;
    flex-direction: column;
    width: 100%;
    border-top: 1px solid var(--border-color);
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

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

.faq-icon {
    color: var(--accent);
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 20px;
    height: 20px;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer-inner {
    padding-bottom: 2rem;
    font-size: var(--fs-body);
    color: var(--text-secondary);
    line-height: 1.7;
}

.faq-support-footer {
    margin-top: 2rem;
    width: 100%;
}

.support-card {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2.5rem;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    background-color: var(--bg-secondary);
    flex-wrap: wrap;
    justify-content: space-between;
}

.support-icon-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.support-icon-circle svg {
    width: 28px;
    height: 28px;
}

.support-text {
    flex: 1;
    min-width: 280px;
}

.support-text h4 {
    font-size: var(--fs-h5);
    margin-bottom: 0.5rem;
}

.support-text p {
    font-size: var(--fs-body);
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .support-card {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 2rem;
    }
    
    .support-text {
        min-width: unset;
    }
    
    .support-icon-circle {
        margin: 0 auto;
    }
}

/* ==========================
   Footer Additions
   ========================== */
.footer-cta {
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    background-color: var(--accent);
    color: #ffffff;
    position: relative;
    padding: 0;
}

.footer-cta-inner {
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8vw 8vw 0;
}

.footer-tagline {
    font-size: var(--fs-body);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    margin-top: -1.5rem;
}

.footer-cta-actions {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 6rem;
}

.footer-links {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    border-top: 1px solid var(--border-color);
    padding: 4rem 0;
    text-align: left;
}

.footer-links-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links-col strong {
    font-size: var(--fs-label);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.footer-links-col a {
    font-size: var(--fs-body);
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links-col a:hover {
    color: var(--accent);
}

/* ==========================
   Responsive Additions
   ========================== */
@media (max-width: 1200px) {
    .steps-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .step-divider {
        display: none;
    }
}

@media (max-width: 1024px) {
    .main-nav { padding-left: 5vw; padding-right: 5vw; }
    .stats-grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
    .steps-section { padding: 4rem 5vw; }
    .faq-section { padding: 4rem 5vw; }
    .faq-header { width: 100%; }
    .manifesto-section { padding: 4rem 5vw; }
    .manifesto-text { font-size: var(--fs-h2); }
    .footer-cta-inner { padding: 0 5vw; flex: 1; display: flex; flex-direction: column; justify-content: center; }
    .footer-links { grid-template-columns: 1fr 1fr; padding: 3rem 0; }
    .hero-cta { justify-content: center; }
    .hero-cta .btn { width: 100%; justify-content: center; }
    .hero-cta .btn-hug { width: auto; }
    .hero-badge { align-self: center; }
    .hero-scroll-hint { justify-content: center; }
    .stats-section { padding: 4rem 5vw; }
    .marquee-strip { position: relative; bottom: auto; left: auto; overflow: hidden; width: 100%; }
    .footer-bottom { flex-direction: column; gap: 1.5rem; text-align: center; padding: 3rem 5vw; }
}

/* ==========================
   Mobile Nav / Hamburger
   ========================== */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.nav-hamburger:hover {
    background: var(--bg-secondary);
}

.nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.3s ease,
                width 0.3s ease;
    transform-origin: center;
}

/* Animate to X when open */
body.menu-open .nav-hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .nav-hamburger span:nth-child(2) { opacity: 0; width: 0; }
body.menu-open .nav-hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

body.menu-open .mobile-menu-overlay {
    display: block;
    opacity: 1;
}

/* Drawer */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 85vw);
    height: 100dvh;
    background: var(--bg-primary);
    z-index: 999;
    display: flex;
    flex-direction: column;
    padding: 6rem 2rem 3rem;
    gap: 2.5rem;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 1px solid var(--border-color);
}

body.menu-open .mobile-menu {
    transform: translateX(0);
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mobile-menu-links a {
    font-size: var(--fs-h5);
    font-weight: 700;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    transition: color 0.2s ease;
}

.mobile-menu-links a:hover,
.mobile-menu-links a.active {
    color: var(--accent);
}

.mobile-menu-cta {
    width: 100%;
    justify-content: center;
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-cta-desktop { display: none; }
    .nav-hamburger { display: flex; }
}

@media (max-width: 640px) {
    .footer-links { grid-template-columns: 1fr; }
    .footer-cta-actions { flex-direction: column; align-items: stretch; }
    .footer-cta-actions .btn { width: 100%; justify-content: center; }
    .steps-section, .faq-section, .manifesto-section { padding: 3rem 5vw; }
    .stats-section { padding: 6rem 5vw 1.5rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
    .marquee-item { padding: 0 1rem; }
}