/* ==============================
   OnePage Generator - Main Styles
   ============================== */

:root {
    --primary: #6366F1;
    --primary-light: #818CF8;
    --primary-dark: #4F46E5;
    --secondary: #0F172A;
    --accent: #06B6D4;
    --bg: #030712;
    --bg-light: #111827;
    --bg-card: #1F2937;
    --text: #F9FAFB;
    --text-muted: #9CA3AF;
    --text-dim: #6B7280;
    --border: #374151;
    --success: #10B981;
    --error: #EF4444;
    --warning: #F59E0B;
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Particles Canvas */
/* particles-canvas removed — replaced by hero-bg orbs */

/* === NAVBAR === */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    backdrop-filter: blur(0);
}
.navbar.scrolled {
    padding: 10px 0;
    background: rgba(3, 7, 18, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}
.logo-icon {
    color: var(--primary);
    font-size: 1.5rem;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}
.nav-links a:hover { color: var(--text); }
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    width: 24px; height: 2px;
    background: var(--text);
    transition: var(--transition);
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}
.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}
.btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.5);
    transform: translateY(-2px);
}
.btn-secondary {
    background: var(--bg-card);
    color: var(--text);
    border: 1px solid var(--border);
}
.btn-secondary:hover { background: var(--border); transform: translateY(-2px); }
.btn-ghost {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border);
}
.btn-ghost:hover { color: var(--text); border-color: var(--text-muted); }
.btn-nav {
    background: var(--primary);
    color: white !important;
    padding: 8px 18px;
    border-radius: 8px;
    font-size: 0.85rem;
}
.btn-nav:hover { background: var(--primary-dark); color: white !important; }
.btn-lg { padding: 14px 28px; font-size: 1rem; border-radius: 12px; }

/* === HERO === */
.hero {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 24px 80px;
}

/* === HERO ANIMATED BACKGROUND === */
.hero-bg {
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
    will-change: transform;
}
.hero-orb-1 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, #6366F1, transparent 70%);
    top: -10%; left: -5%;
    animation: orbFloat1 12s ease-in-out infinite alternate;
}
.hero-orb-2 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, #06B6D4, transparent 70%);
    top: 20%; right: -8%;
    animation: orbFloat2 15s ease-in-out infinite alternate;
}
.hero-orb-3 {
    width: 350px; height: 350px;
    background: radial-gradient(circle, #8B5CF6, transparent 70%);
    bottom: -5%; left: 30%;
    animation: orbFloat3 10s ease-in-out infinite alternate;
}
@keyframes orbFloat1 {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(60px, 40px) scale(1.15); }
    100% { transform: translate(-30px, 80px) scale(0.95); }
}
@keyframes orbFloat2 {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-50px, 30px) scale(1.1); }
    100% { transform: translate(40px, -40px) scale(0.9); }
}
@keyframes orbFloat3 {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40px, -30px) scale(1.2); }
    100% { transform: translate(-60px, 20px) scale(1); }
}
/* Grid lines overlay */
.hero-grid-lines {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(99, 102, 241, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black 20%, transparent 70%);
}

/* Full-width top section */
.hero-top, .hero-bottom {
    position: relative;
    z-index: 2;
}
.hero-top {
    text-align: center;
    margin-bottom: 56px;
}
.hero-top .hero-badge {
    margin: 0 auto 24px;
}
.hero-top .hero-subtitle {
    max-width: 600px;
    margin: 0 auto;
}
.hero-top .free-guarantee-banner {
    max-width: 700px;
    margin: 24px auto 0;
    justify-content: center;
    animation: floatBanner 4s ease-in-out infinite;
}
@keyframes floatBanner {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Hero bottom (centered) */
.hero-bottom {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}
.hero-bottom .hero-subtitle {
    max-width: 600px;
    margin: 0 auto;
}
.hero-bottom .hero-actions {
    justify-content: center;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--primary-light);
    font-weight: 500;
    margin-bottom: 24px;
}
.badge-dot {
    width: 8px; height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}
.hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}
.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 500px;
    margin-bottom: 32px;
    line-height: 1.7;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
}
.stat { text-align: center; }
.stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text);
}
.stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-top: 2px;
}
.stat-divider {
    width: 1px; height: 40px;
    background: var(--border);
}

/* Browser Mockup */
.browser-mockup {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0,0,0,0.4);
    animation: float 6s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
.browser-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
}
.browser-dots { display: flex; gap: 6px; }
.browser-dots span {
    width: 10px; height: 10px;
    border-radius: 50%;
}
.browser-dots span:nth-child(1) { background: #EF4444; }
.browser-dots span:nth-child(2) { background: #F59E0B; }
.browser-dots span:nth-child(3) { background: #10B981; }
.browser-url {
    flex: 1;
    background: var(--bg);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    color: var(--text-dim);
}
.browser-content { padding: 20px; }
.mockup-hero-section {
    height: 120px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 8px;
    margin-bottom: 16px;
    opacity: 0.6;
}
.mockup-line {
    height: 10px;
    background: var(--bg-card);
    border-radius: 4px;
    margin-bottom: 8px;
}
.w-60 { width: 60%; }
.w-80 { width: 80%; }
.w-40 { width: 40%; }
.mockup-cards { display: flex; gap: 10px; margin-top: 16px; }
.mockup-card {
    flex: 1;
    height: 60px;
    background: var(--bg-card);
    border-radius: 6px;
}

/* === SECTIONS COMMON === */
section {
    position: relative;
    z-index: 1;
    padding: 100px 0;
}
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}
.section-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}
.section-header h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 700;
    margin-bottom: 16px;
}
.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}
.section-header:has(.section-title-inline) {
    max-width: none;
}

/* === FEATURES === */
.features { background: var(--bg-light); }
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.feature-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}
.feature-card:hover {
    border-color: var(--primary);
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(99, 102, 241, 0.15);
}
/* Feature visual header */
.feature-visual {
    position: relative;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.feature-visual svg {
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.3));
}
/* Decorative elements */
.feature-visual-deco {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0.3;
}
.fv-line {
    position: absolute;
    height: 2px;
    background: rgba(255,255,255,0.6);
    border-radius: 2px;
}
.fv-dot {
    position: absolute;
    width: 6px; height: 6px;
    background: rgba(255,255,255,0.7);
    border-radius: 50%;
}
.fv-circle {
    position: absolute;
    width: 24px; height: 24px;
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: 50%;
}
.fv-square {
    position: absolute;
    width: 16px; height: 16px;
    border: 2px solid rgba(255,255,255,0.35);
    border-radius: 3px;
    transform: rotate(15deg);
}
.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    padding: 20px 24px 0;
}
.feature-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    padding: 0 24px 24px;
}

/* === HOW IT WORKS === */
.steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    max-width: 900px;
    margin: 0 auto;
}
.step {
    text-align: center;
    flex: 1;
    padding: 0 20px;
}
.step-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}
.step-content h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 8px;
}
.step-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
}
.step-connector {
    width: 60px;
    height: 2px;
    background: var(--border);
    margin-top: 40px;
    flex-shrink: 0;
}

/* === COLOR PICKER === */
/* Color Palette Panel — directly visible */
.color-palette-panel {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 20px;
}
.color-presets-large {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 18px;
}
.color-preset-lg {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 70px;
    border-radius: 12px;
    border: 3px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}
.color-preset-lg .preset-name {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.85);
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
    margin-top: 4px;
}
.color-preset-lg:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
.color-preset-lg.selected {
    border-color: #fff;
    box-shadow: 0 0 0 2px var(--bg), 0 0 0 5px var(--primary-light), 0 4px 15px rgba(0,0,0,0.3);
    transform: scale(1.05);
}
.color-custom-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}
.color-custom-left label,
.color-custom-right label {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 8px;
}
.color-input-group-lg {
    display: flex;
    gap: 10px;
    align-items: center;
}
.color-picker-native-lg {
    width: 56px;
    height: 46px;
    border: 2px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    background: none;
    padding: 3px;
}
.color-hex-input {
    width: 110px;
    padding: 8px 12px !important;
    font-family: 'Space Grotesk', monospace !important;
    font-size: 0.9rem !important;
    text-transform: uppercase;
}
.color-preview-strip-lg {
    display: flex;
    gap: 6px;
}
.strip-swatch-lg {
    flex: 1;
    height: 46px;
    border-radius: 10px;
    transition: background 0.4s ease;
}
.color-auto-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.82rem;
    color: var(--text-muted);
    transition: var(--transition);
}
.color-auto-option:hover {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
}
.color-auto-option input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--primary);
}
.color-auto-option svg {
    flex-shrink: 0;
    color: var(--primary-light);
}
@media (max-width: 600px) {
    .color-presets-large { grid-template-columns: repeat(3, 1fr); }
    .color-custom-section { grid-template-columns: 1fr; }
}

/* === EXAMPLES === */
.examples { background: var(--bg-light); }
.examples-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.example-card {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg);
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
}
.example-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,0.3); }
.example-preview {
    height: 200px;
    display: flex;
    align-items: flex-end;
    padding: 16px;
    position: relative;
}
.example-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: flex-end;
    padding: 16px;
}
.example-sector {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
}
.example-info { padding: 16px; }
.example-info h3 { font-size: 1rem; margin-bottom: 4px; }
.example-info p { color: var(--text-dim); font-size: 0.85rem; }

/* === GENERATOR FORM === */
.generator-section { padding-bottom: 120px; }
.generator-wrapper {
    max-width: 720px;
    margin: 0 auto;
    background: var(--bg-light);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
}

/* Progress */
.form-progress { margin-bottom: 40px; }
.progress-bar {
    height: 4px;
    background: var(--bg-card);
    border-radius: 2px;
    margin-bottom: 24px;
    overflow: hidden;
}
.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 2px;
    transition: width 0.5s ease;
    width: 25%;
}
.progress-steps {
    display: flex;
    justify-content: space-between;
}
.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-dim);
    transition: var(--transition);
}
.progress-step.active { color: var(--primary-light); }
.progress-step.completed { color: var(--success); }
.step-dot {
    width: 32px; height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--border);
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition);
}
.progress-step.active .step-dot {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}
.progress-step.completed .step-dot {
    background: var(--success);
    border-color: var(--success);
    color: white;
}

/* Form Steps */
.form-step {
    display: none;
    animation: fadeInUp 0.4s ease;
}
.form-step.active { display: block; }
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.form-step h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 28px;
}

/* Form Groups */
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text);
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    font-size: 0.95rem;
    font-family: inherit;
    transition: var(--transition);
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-dim);
}
.form-hint {
    display: block;
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-top: 6px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Sector Grid */
.sector-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
}
.sector-card {
    cursor: pointer;
}
.sector-card input { display: none; }
.sector-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 8px;
    background: var(--bg);
    border: 2px solid var(--border);
    border-radius: 12px;
    transition: var(--transition);
    text-align: center;
    font-size: 0.82rem;
    font-weight: 500;
}
.sector-card input:checked + .sector-content {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.08);
}
.sector-content:hover {
    border-color: var(--primary);
}
.sector-icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* File Upload */
.file-upload {
    border: 2px dashed var(--border);
    border-radius: 12px;
    padding: 32px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}
.file-upload:hover, .file-upload.dragover {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
}
.file-upload-content { color: var(--text-muted); }
.file-upload-content svg { margin-bottom: 12px; color: var(--text-dim); }
.file-upload-content p { font-size: 0.9rem; }
.upload-link { color: var(--primary-light); font-weight: 500; }
.upload-hint { font-size: 0.8rem; color: var(--text-dim); display: block; margin-top: 4px; }
.file-preview {
    max-height: 100px;
    border-radius: 8px;
    object-fit: contain;
}

/* Services Tags */
.services-input input {
    margin-bottom: 8px;
}
.services-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.service-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--primary-light);
}
.service-tag button {
    background: none;
    border: none;
    color: var(--primary-light);
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    padding: 0;
}

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

/* === GENERATION STATUS === */
.generation-status {
    text-align: center;
    padding: 40px 0;
}
.generation-loader {
    position: relative;
    width: 80px; height: 80px;
    margin: 0 auto 24px;
}
.loader-ring {
    position: absolute;
    inset: 0;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loader-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
}
.generation-status h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 8px;
}
.generation-status > p {
    color: var(--text-muted);
}
.generation-steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 300px;
    margin: 32px auto 0;
    text-align: left;
}
.gen-step {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-dim);
    font-size: 0.9rem;
    transition: var(--transition);
}
.gen-step.active { color: var(--text); }
.gen-step.completed { color: var(--success); }
.gen-step-icon {
    width: 24px; height: 24px;
    border-radius: 50%;
    border: 2px solid var(--border);
    flex-shrink: 0;
    position: relative;
    transition: var(--transition);
}
.gen-step.active .gen-step-icon {
    border-color: var(--primary);
    background: var(--primary);
    animation: pulse 1.5s infinite;
}
.gen-step.completed .gen-step-icon {
    border-color: var(--success);
    background: var(--success);
}
.gen-step.completed .gen-step-icon::after {
    content: '✓';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
}
/* Image Style Selector */
.image-style-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.image-style-option input { display: none; }
.image-style-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border: 2px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
    background: var(--card-bg);
}
.image-style-card:hover { border-color: var(--primary-dim); }
.image-style-option input:checked + .image-style-card {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
}
.image-style-card svg { flex-shrink: 0; color: var(--primary-light); }
.image-style-card strong { display: block; font-size: 0.9rem; color: var(--text); }
.image-style-card span { display: block; font-size: 0.8rem; color: var(--text-muted); }
@media (max-width: 600px) {
    .image-style-wrapper { grid-template-columns: 1fr; }
}

/* Generation Progress Bar */
.gen-progress-wrapper {
    max-width: 400px;
    margin: 24px auto 0;
    display: flex;
    align-items: center;
    gap: 12px;
}
.gen-progress-bar {
    flex: 1;
    height: 8px;
    background: var(--border);
    border-radius: 4px;
    overflow: hidden;
}
.gen-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary), var(--accent, #818CF8));
    border-radius: 4px;
    transition: width 0.5s ease;
}
.gen-progress-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-light);
    min-width: 36px;
    text-align: right;
}
.gen-patience {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-align: center;
    margin-top: 16px;
    font-style: italic;
}

.result-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 24px;
}
.result-hint {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-align: center;
    margin-top: 16px;
}
.btn-success {
    background: linear-gradient(135deg, #10B981, #059669);
    color: white;
    border: none;
    cursor: pointer;
    font-family: inherit;
}
.btn-success:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
}
.btn-success:disabled {
    opacity: 0.7;
    cursor: wait;
    transform: none;
}
.btn-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* === PRICING SECTION === */
.pricing-section {
    position: relative;
    z-index: 1;
    padding: 100px 0;
    background: var(--bg-light);
}
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
    align-items: stretch;
}
.pricing-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}
.pricing-card .btn-block {
    margin-top: auto;
}

/* Domain check */
.domain-check-row {
    display: flex;
    gap: 8px;
}
.domain-check-row input { flex: 1; }
.btn-sm {
    padding: 10px 16px;
    font-size: 0.85rem;
    border-radius: 8px;
    white-space: nowrap;
}
.domain-result {
    margin-top: 8px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
}
.domain-result.available {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: var(--success);
}
.domain-result.taken {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: var(--error);
}
.domain-result.checking {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    color: var(--primary-light);
}
.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.pricing-card.popular {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
    transform: scale(1.03);
}
.pricing-card.popular:hover {
    transform: scale(1.03) translateY(-4px);
}
.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 4px 16px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
}
.pricing-header { text-align: center; margin-bottom: 24px; }
.pricing-header h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 4px; }
.pricing-desc { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 16px; }
.pricing-price { display: flex; align-items: baseline; justify-content: center; gap: 2px; }
.price-amount { font-size: 2.5rem; font-weight: 800; }
.price-currency { font-size: 1.2rem; font-weight: 700; }
.price-period { color: var(--text-muted); font-size: 0.8rem; margin-left: 4px; }
.pricing-card > .pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}
.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}
.feature-included svg { color: var(--success); flex-shrink: 0; }
.feature-excluded { color: var(--text-dim); }
.feature-excluded svg { color: var(--text-dim); flex-shrink: 0; }
.btn-block { display: block; text-align: center; width: 100%; }

.pricing-options {
    margin-top: 64px;
    text-align: center;
}
.pricing-options h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 24px;
}
.options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.option-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
}
.option-icon {
    width: 48px;
    height: 48px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    color: var(--primary-light);
}
.option-card h4 { font-size: 1rem; margin-bottom: 8px; }
.option-card p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 12px; line-height: 1.5; }
.option-price {
    display: inline-block;
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 100px;
}

/* Plan Selector in form */
.plan-selector {
    display: flex;
    gap: 12px;
}
.plan-option {
    flex: 1;
    cursor: pointer;
}
.plan-option input { display: none; }
.plan-option-content {
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    transition: all 0.2s ease;
    position: relative;
}
.plan-option input:checked + .plan-option-content {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.08);
}
.plan-option.recommended .plan-option-content {
    border-color: rgba(99, 102, 241, 0.3);
}
.plan-rec-badge {
    display: inline-block;
    background: var(--primary);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 100px;
    margin-bottom: 6px;
}
.plan-option-content strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 4px;
}
.plan-option-price {
    display: block;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary-light);
    margin-bottom: 4px;
}
.plan-option-desc {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    line-height: 1.3;
}

/* === FOOTER === */
.footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border);
    padding: 60px 0 24px;
    background: var(--bg-light);
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}
.footer-brand {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-brand p {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: var(--text-muted);
    max-width: 300px;
    font-weight: 400;
}
.footer-links {
    display: flex;
    gap: 24px;
}
.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}
.footer-links a:hover { color: var(--text); }
.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 20px;
    text-align: center;
}
.footer-bottom p { color: var(--text-dim); font-size: 0.85rem; }

/* === ANIMATIONS === */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-animate="fade-left"] {
    transform: translateX(30px);
}
[data-animate].visible {
    opacity: 1;
    transform: translate(0);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .hero-actions { justify-content: center; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
    .pricing-card.popular { transform: none; }
    .pricing-card.popular:hover { transform: translateY(-4px); }
    .options-grid { grid-template-columns: 1fr; }
    .plan-selector { flex-direction: column; }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-toggle { display: flex; }
    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: var(--bg-light);
        border-top: 1px solid var(--border);
        padding: 20px;
        gap: 16px;
    }
    .features-grid, .examples-grid { grid-template-columns: 1fr; }
    .steps { flex-direction: column; gap: 24px; }
    .step-connector { width: 2px; height: 30px; margin: 0 auto; }
    .form-row { grid-template-columns: 1fr; }
    .generator-wrapper { padding: 24px; }
    .sector-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-content { flex-direction: column; gap: 24px; }
    .footer-links { flex-wrap: wrap; }
    .result-actions { flex-direction: column; }
    .hero-actions { flex-direction: column; align-items: center; }
    .free-guarantee-banner { flex-direction: column; text-align: center; }
}

/* === FREE GUARANTEE BANNER (Hero) === */
.free-guarantee-banner {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 22px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(6, 182, 212, 0.08));
    border: 2px solid rgba(16, 185, 129, 0.35);
    border-radius: var(--radius);
    margin-bottom: 28px;
    animation: subtleGlow 3s ease-in-out infinite alternate;
}
@keyframes subtleGlow {
    0% { box-shadow: 0 0 8px rgba(16, 185, 129, 0.15); }
    100% { box-shadow: 0 0 20px rgba(16, 185, 129, 0.3); }
}
.free-guarantee-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.15);
    border-radius: 50%;
    color: var(--success);
}
.free-guarantee-text {
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.5;
}
.free-guarantee-text strong {
    color: var(--success);
    font-size: 1.05rem;
}

/* === PRICING FREE NOTICE === */
.pricing-free-notice,
.generator-free-notice {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    margin-top: 16px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 100px;
    color: var(--success);
    font-weight: 600;
    font-size: 0.95rem;
}
.pricing-free-notice svg,
.generator-free-notice svg {
    flex-shrink: 0;
    color: var(--success);
}

/* === STATS BANNER === */
.stats-banner {
    position: relative;
    z-index: 1;
    padding: 48px 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(6, 182, 212, 0.06));
    border-top: 1px solid rgba(99, 102, 241, 0.1);
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
}
.stats-banner .container {
    max-width: 100%;
    padding: 0;
}
.stats-banner-grid {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
}
.stat-banner-item {
    text-align: center;
}
.stat-banner-item .stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text);
}
.stat-banner-item .stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-top: 4px;
}
.stat-banner-divider {
    width: 1px;
    height: 50px;
    background: var(--border);
}
@media (max-width: 768px) {
    .stats-banner-grid { flex-wrap: wrap; gap: 24px; }
    .stat-banner-divider { display: none; }
    .stat-banner-item { flex: 1 1 40%; }
}

/* === GENERATION COUNTDOWN === */
.gen-countdown {
    margin: 16px 0 8px;
    text-align: center;
}
.countdown-value {
    font-family: 'Space Grotesk', monospace;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: 2px;
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.countdown-value small {
    font-size: 1.2rem;
    opacity: 0.6;
}

/* === CGU CHECKBOX & MODAL === */
.cgu-accept {
    margin-bottom: 20px;
    text-align: center;
}
.cgu-checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-muted);
    cursor: pointer;
}
.cgu-checkbox-label input[type="checkbox"] {
    width: 18px; height: 18px;
    accent-color: var(--primary);
    cursor: pointer;
}
.cgu-checkbox-label a {
    color: var(--primary-light);
    text-decoration: underline;
}
.btn-disabled {
    opacity: 0.4;
    pointer-events: none;
    filter: grayscale(0.5);
}
/* CGU Modal */
.cgu-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(4px);
    justify-content: center;
    align-items: center;
    padding: 20px;
}
.cgu-modal-overlay.active { display: flex; }
.cgu-modal {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    max-width: 700px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 40px;
    position: relative;
}
.cgu-modal-close {
    position: absolute;
    top: 16px; right: 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
}
.cgu-modal-close:hover { color: var(--text); }
.cgu-iframe {
    width: 100%;
    height: calc(85vh - 60px);
    border: none;
    border-radius: 8px;
}

/* === PRICING RENEWAL === */
.pricing-renewal {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-top: 6px;
    font-style: italic;
}

/* === FOOTER SEO GRID === */
.footer-brand-header {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 28px;
}
.footer-seo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 32px;
}
.footer-seo-col h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 10px;
}
.footer-seo-col p {
    font-size: 0.85rem;
    color: var(--text-dim);
    line-height: 1.7;
}
@media (max-width: 768px) {
    .footer-seo-grid { grid-template-columns: 1fr; gap: 24px; }
}
