/* ============================================================
   PastPersona - Ultra Vibrant Light Theme
   Canlı renkler, açık tema, zengin animasyonlar
   ============================================================ */

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

:root {
    --bg-primary: #F5F0FF;
    --bg-secondary: #EEEAFE;
    --bg-tertiary: #FFF8F0;
    --bg-card: rgba(255, 255, 255, 0.75);
    --bg-glass: rgba(255, 255, 255, 0.55);
    --bg-glass-hover: rgba(255, 255, 255, 0.88);

    --color-purple: #7C3AED;
    --color-purple-light: #A78BFA;
    --color-purple-dark: #5B21B6;
    --color-purple-glow: rgba(124, 58, 237, 0.35);
    --color-pink: #EC4899;
    --color-pink-glow: rgba(236, 72, 153, 0.25);
    --color-orange: #F97316;
    --color-orange-glow: rgba(249, 115, 22, 0.25);
    --color-blue: #3B82F6;
    --color-cyan: #06B6D4;
    --color-emerald: #10B981;
    --color-gold: #EAB308;
    --color-rose: #F43F5E;

    --color-text: #1E1040;
    --color-text-dim: rgba(30, 16, 64, 0.7);
    --color-text-faint: rgba(30, 16, 64, 0.45);
    --color-white: #FFFFFF;
    --color-danger: #EF4444;
    --color-success: #10B981;

    --gradient-hero: linear-gradient(135deg, #7C3AED 0%, #EC4899 50%, #F97316 100%);
    --gradient-vibrant: linear-gradient(135deg, #7C3AED, #3B82F6, #06B6D4);
    --gradient-warm: linear-gradient(135deg, #F97316, #EC4899, #7C3AED);
    --gradient-rainbow: linear-gradient(135deg, #7C3AED, #3B82F6, #06B6D4, #10B981, #EAB308, #F97316, #EC4899);
    --gradient-card-border: linear-gradient(135deg, rgba(124,58,237,0.4), rgba(236,72,153,0.3), rgba(249,115,22,0.3));
    --gradient-soft-bg: linear-gradient(135deg, #F5F0FF 0%, #FFF0F5 50%, #FFF8F0 100%);

    --font-display: 'Cinzel', serif;
    --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;

    --shadow-sm: 0 2px 12px rgba(124, 58, 237, 0.08);
    --shadow-md: 0 8px 30px rgba(124, 58, 237, 0.1);
    --shadow-lg: 0 12px 50px rgba(124, 58, 237, 0.12);
    --shadow-glow: 0 8px 40px rgba(124, 58, 237, 0.2);
    --shadow-pink: 0 8px 30px rgba(236, 72, 153, 0.15);
    --shadow-neon: 0 0 20px rgba(124, 58, 237, 0.2), 0 0 40px rgba(124, 58, 237, 0.08);

    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 100px;

    --transition-fast: 200ms ease;
    --transition-normal: 350ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 600ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);

    --container-max: 1200px;
    --container-narrow: 800px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background: var(--gradient-soft-bg);
    background-attachment: fixed;
    color: var(--color-text);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* --- Floating animated background decorations --- */
body::before {
    content: '';
    position: fixed;
    top: -200px; right: -200px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(124,58,237,0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatBlob1 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: '';
    position: fixed;
    bottom: -200px; left: -150px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(236,72,153,0.06) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatBlob2 25s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes floatBlob1 {
    0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
    25% { transform: translate(-80px, 60px) scale(1.15) rotate(5deg); }
    50% { transform: translate(-40px, 100px) scale(0.9) rotate(-3deg); }
    75% { transform: translate(50px, 40px) scale(1.1) rotate(2deg); }
}

@keyframes floatBlob2 {
    0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
    33% { transform: translate(70px, -50px) scale(1.2) rotate(-5deg); }
    66% { transform: translate(-30px, -80px) scale(0.85) rotate(3deg); }
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--color-text);
    line-height: 1.3;
    letter-spacing: 0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.5rem); font-weight: 600; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.8rem); font-weight: 600; }
h4 { font-size: clamp(1rem, 2vw, 1.3rem); font-weight: 600; }

p { color: var(--color-text-dim); margin-bottom: 1rem; }

a { color: var(--color-purple); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--color-pink); }

/* --- Container --- */
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 24px; }

/* --- Section --- */
.section { padding: 100px 0; position: relative; }

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

.section-title h2 {
    margin-bottom: 16px;
    background: var(--gradient-hero);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 6s ease infinite;
}

.section-title p { max-width: 600px; margin: 0 auto; font-size: 1.05rem; color: var(--color-text-dim); }

/* --- Glass Card with animated border --- */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(124, 58, 237, 0.12);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition-normal);
    position: relative;
    box-shadow: var(--shadow-sm);
}

.glass-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--radius-lg);
    padding: 1.5px;
    background: var(--gradient-card-border);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--transition-normal);
    pointer-events: none;
}

.glass-card:hover {
    background: var(--bg-glass-hover);
    box-shadow: var(--shadow-glow);
    transform: translateY(-8px) scale(1.01);
}

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

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    padding: 16px 36px;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-bounce);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.02em;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.6s ease;
}

.btn:hover::before { left: 100%; }

.btn-primary {
    background: linear-gradient(135deg, var(--color-purple), var(--color-blue));
    background-size: 200% 200%;
    color: #fff;
    box-shadow: 0 6px 25px var(--color-purple-glow);
    animation: gradientShift 4s ease infinite;
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 10px 40px var(--color-purple-glow);
    color: #fff;
}

.btn-gold {
    background: linear-gradient(135deg, var(--color-purple), var(--color-pink), var(--color-orange));
    background-size: 200% 200%;
    color: #fff;
    box-shadow: 0 6px 25px var(--color-pink-glow);
    animation: gradientShift 4s ease infinite;
}

.btn-gold:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 10px 40px var(--color-pink-glow);
    color: #fff;
}

.btn-ghost {
    background: rgba(124, 58, 237, 0.06);
    color: var(--color-purple);
    border: 2px solid rgba(124, 58, 237, 0.2);
}

.btn-ghost:hover {
    border-color: var(--color-purple);
    color: var(--color-purple-dark);
    background: rgba(124, 58, 237, 0.1);
    box-shadow: var(--shadow-neon);
    transform: translateY(-3px);
}

.btn-sm { padding: 10px 24px; font-size: 0.875rem; }
.btn-lg { padding: 20px 48px; font-size: 1.1rem; }

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(245, 240, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(124, 58, 237, 0.08);
    border-bottom: 1px solid rgba(124, 58, 237, 0.08);
}

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

.navbar-brand {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-text);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-brand span {
    background: var(--gradient-hero);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease infinite;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: var(--color-text-dim);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    transition: all var(--transition-fast);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 3px;
    background: var(--gradient-hero);
    transition: width var(--transition-normal);
    border-radius: 3px;
}

.nav-links a:hover { color: var(--color-purple); }
.nav-links a:hover::after { width: 100%; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
}

.nav-toggle span {
    width: 24px; height: 2px;
    background: var(--color-text);
    transition: all var(--transition-fast);
    border-radius: 2px;
}

/* --- Hero --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 120px 24px 80px;
    background: var(--gradient-soft-bg);
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

/* Colorful floating orbs */
.hero-bg::before {
    content: '';
    position: absolute;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(124,58,237,0.12) 0%, transparent 70%);
    top: 20%; left: 10%;
    animation: heroOrb1 12s ease-in-out infinite;
    border-radius: 50%;
}

.hero-bg::after {
    content: '';
    position: absolute;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(236,72,153,0.1) 0%, transparent 70%);
    bottom: 20%; right: 10%;
    animation: heroOrb2 15s ease-in-out infinite;
    border-radius: 50%;
}

@keyframes heroOrb1 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.6; }
    33% { transform: translate(60px, -40px) scale(1.3); opacity: 1; }
    66% { transform: translate(-30px, 50px) scale(0.9); opacity: 0.7; }
}

@keyframes heroOrb2 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.5; }
    50% { transform: translate(-50px, -30px) scale(1.2); opacity: 0.9; }
}

#particles-canvas {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 750px;
}

.hero-content h1 {
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    font-weight: 900;
    margin-bottom: 24px;
    background: var(--gradient-hero);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease-out, gradientShift 6s ease infinite;
}

.hero-content .subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--color-text-dim);
    max-width: 550px;
    margin: 0 auto 40px;
    line-height: 1.8;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.4s both;
}

/* --- Floating decorations inside hero --- */
.hero-decoration {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 5;
}

.hero-deco-1 {
    width: 20px; height: 20px;
    background: var(--color-purple-light);
    top: 25%; left: 15%;
    animation: floatDeco 6s ease-in-out infinite;
    opacity: 0.5;
}

.hero-deco-2 {
    width: 14px; height: 14px;
    background: var(--color-pink);
    top: 35%; right: 20%;
    animation: floatDeco 8s ease-in-out infinite 1s;
    opacity: 0.4;
}

.hero-deco-3 {
    width: 10px; height: 10px;
    background: var(--color-orange);
    bottom: 30%; left: 25%;
    animation: floatDeco 7s ease-in-out infinite 2s;
    opacity: 0.5;
}

.hero-deco-4 {
    width: 16px; height: 16px;
    background: var(--color-cyan);
    bottom: 40%; right: 15%;
    animation: floatDeco 9s ease-in-out infinite 0.5s;
    opacity: 0.4;
}

.hero-deco-5 {
    width: 24px; height: 24px;
    background: var(--gradient-hero);
    top: 60%; left: 8%;
    animation: floatDeco 10s ease-in-out infinite 3s;
    opacity: 0.3;
}

@keyframes floatDeco {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(90deg); }
    50% { transform: translateY(-10px) rotate(180deg); }
    75% { transform: translateY(-25px) rotate(270deg); }
}

/* --- Animations --- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.85); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@keyframes wobble {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(3deg); }
    50% { transform: rotate(-3deg); }
    75% { transform: rotate(1deg); }
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes colorPulse {
    0%, 100% { box-shadow: 0 0 20px var(--color-purple-glow); }
    50% { box-shadow: 0 0 40px var(--color-purple-glow), 0 0 60px var(--color-pink-glow); }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation for children */
.fade-in.visible:nth-child(1) { transition-delay: 0ms; }
.fade-in.visible:nth-child(2) { transition-delay: 150ms; }
.fade-in.visible:nth-child(3) { transition-delay: 300ms; }
.fade-in.visible:nth-child(4) { transition-delay: 450ms; }
.fade-in.visible:nth-child(5) { transition-delay: 600ms; }
.fade-in.visible:nth-child(6) { transition-delay: 750ms; }

/* --- Steps Section --- */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    counter-reset: step;
}

.step-card {
    text-align: center;
    padding: 44px 28px;
    counter-increment: step;
    position: relative;
    background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(245,240,255,0.7));
}

.step-card::before {
    content: counter(step);
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 900;
    background: var(--gradient-hero);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 20px;
    animation: gradientShift 4s ease infinite;
}

.step-card h3 { margin-bottom: 12px; font-size: 1.2rem; }
.step-card p { font-size: 0.95rem; }

/* Connection line */
.steps-grid .step-card:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%; right: -16px;
    width: 32px; height: 3px;
    background: var(--gradient-hero);
    opacity: 0.4;
    border-radius: 3px;
}

/* --- Result Cards Slider --- */
.slider-container { overflow: hidden; position: relative; padding: 20px 0; }

.slider-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scrollbar-width: none;
    cursor: grab;
    padding: 10px 0;
}

.slider-track::-webkit-scrollbar { display: none; }
.slider-track:active { cursor: grabbing; }

.result-card {
    min-width: 300px;
    flex-shrink: 0;
    padding: 28px;
    text-align: center;
    background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(245,240,255,0.8));
}

.result-card .era-badge {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(124,58,237,0.12), rgba(236,72,153,0.08));
    color: var(--color-purple);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 16px;
    border: 1px solid rgba(124,58,237,0.15);
}

.result-card h3 { margin-bottom: 12px; }
.result-card p { font-size: 0.9rem; }

/* --- Testimonials --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.testimonial-card {
    padding: 28px;
    background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,240,245,0.7));
}

.testimonial-card .stars {
    background: linear-gradient(135deg, var(--color-orange), var(--color-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    font-size: 1.3rem;
}

.testimonial-card .quote {
    font-style: italic;
    color: var(--color-text-dim);
    margin-bottom: 16px;
    font-size: 0.95rem;
    line-height: 1.7;
}

.testimonial-card .author {
    font-weight: 600;
    color: var(--color-purple);
    font-size: 0.9rem;
}

/* --- Blog Cards --- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}

.blog-card { overflow: hidden; padding: 0; }

.blog-card-image {
    height: 200px;
    background: linear-gradient(135deg, var(--bg-secondary), rgba(236,72,153,0.05));
    background-size: cover;
    background-position: center;
    position: relative;
}

.blog-card-image::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 60px;
    background: linear-gradient(transparent, var(--bg-card));
}

.blog-card-body { padding: 24px; }
.blog-card-body h3 { font-size: 1.1rem; margin-bottom: 8px; color: var(--color-text); }
.blog-card-body p { font-size: 0.9rem; color: var(--color-text-faint); }

.blog-card-body .read-more {
    display: inline-block;
    margin-top: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Footer --- */
.footer {
    background: linear-gradient(135deg, #2D1B69, #1E1040);
    color: rgba(255,255,255,0.85);
    padding: 70px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--gradient-rainbow);
    background-size: 400% 100%;
    animation: gradientShift 8s linear infinite;
}

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

.footer-brand h3 {
    font-family: var(--font-display);
    margin-bottom: 12px;
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p { font-size: 0.9rem; color: rgba(255,255,255,0.55); max-width: 300px; }

.footer-links h4 {
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.7);
    margin-bottom: 16px;
}

.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 10px; }

.footer-links a {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.footer-links a:hover { color: var(--color-purple-light); padding-left: 4px; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.4); }

/* --- 404 --- */
.page-404 {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
}

.page-404 h1 {
    font-size: 8rem;
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 16px;
}

/* --- Page Header --- */
.page-header {
    padding: 160px 0 60px;
    text-align: center;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(124,58,237,0.06) 0%, rgba(236,72,153,0.03) 50%, transparent 70%);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.page-content { padding: 40px 0 100px; }

/* --- Form Elements --- */
.form-group { margin-bottom: 24px; }

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--color-text-dim);
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(124, 58, 237, 0.12);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all var(--transition-fast);
    outline: none;
}

.form-control:focus {
    border-color: var(--color-purple);
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1), var(--shadow-neon);
    background: #fff;
}

.form-control::placeholder {
    color: var(--color-text-faint);
}

textarea.form-control { min-height: 140px; resize: vertical; }

/* --- Popular Results Badge Colors --- */
.result-card:nth-child(1) .era-badge { background: linear-gradient(135deg, rgba(124,58,237,0.15), rgba(59,130,246,0.1)); }
.result-card:nth-child(2) .era-badge { background: linear-gradient(135deg, rgba(236,72,153,0.15), rgba(249,115,22,0.1)); }
.result-card:nth-child(3) .era-badge { background: linear-gradient(135deg, rgba(6,182,212,0.15), rgba(16,185,129,0.1)); }

/* --- Decorative animated shape --- */
.deco-shape {
    position: absolute;
    pointer-events: none;
    opacity: 0.15;
}

.deco-shape.circle {
    border-radius: 50%;
    border: 3px solid;
}

.deco-shape.ring {
    border-radius: 50%;
    border: 2px solid;
    background: transparent;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed; inset: 0;
        background: rgba(245, 240, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 28px; z-index: 999;
    }
    .nav-links.open { display: flex; }
    .nav-toggle { display: flex; z-index: 1001; }
    .steps-grid { grid-template-columns: 1fr; gap: 20px; }
    .steps-grid .step-card::after { display: none; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .hero { padding: 100px 20px 60px; }
    .section { padding: 60px 0; }
    .section-title { margin-bottom: 40px; }
    .glass-card { padding: 24px; }
    .btn { padding: 14px 28px; }
    .btn-lg { padding: 16px 36px; font-size: 1rem; }
}

@media (max-width: 480px) {
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.4rem; }
    .hero-content h1 { font-size: 2rem; }
    .hero-content .subtitle { font-size: 0.95rem; }
    .container { padding: 0 16px; }
    .hero-decoration { display: none; }
}

/* --- Utility --- */
.text-center { text-align: center; }
.text-purple { color: var(--color-purple); }
.text-pink { color: var(--color-pink); }
.text-orange { color: var(--color-orange); }
.text-cyan { color: var(--color-cyan); }
.text-dim { color: var(--color-text-dim); }
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }
.mb-2 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 32px; }
