:root {
    /* Light Theme (Default) */
    --bg-color: #fdfbf7;
    --surface-color: #ffffff;
    --bg-alt: #f4f1ea;
    --text-main: #1a1a1a;
    --text-muted: #555555;
    --accent-main: #0a1628; /* Navy */
    --accent-secondary: #b8860b; /* Gold accent */
    --error-red: #d32f2f;
    --border-color: rgba(10, 22, 40, 0.1);
    --border-hover: rgba(10, 22, 40, 0.3);
    
    --font-hero: 'Playfair Display', serif;
    --font-body: 'Space Grotesk', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

body.dark-mode {
    /* Dark Theme */
    --bg-color: #0f1218;
    --surface-color: #1a1f2b;
    --bg-alt: #0a0d14;
    --text-main: #f0f2f5;
    --text-muted: #a0aab5;
    --accent-main: #d4af37; /* Gold */
    --accent-secondary: #00f0ff;
    --error-red: #ff4b4b;
    --border-color: rgba(255, 255, 255, 0.1);
    --border-hover: rgba(212, 175, 55, 0.5);
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    transition: background-color 0.4s ease, color 0.4s ease;
}

/* --- Top Navigation --- */
.top-nav {
    position: absolute;
    top: 0; left: 0; right: 0;
    padding: 2rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}
.logo { font-family: var(--font-hero); font-size: 2.2rem; font-weight: 700; color: var(--accent-main); }
.nav-right { display: flex; align-items: center; gap: 1.5rem; }
.nav-badge { 
    display: flex; align-items: center; gap: 8px; 
    font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em;
    padding: 8px 16px; border-radius: 20px;
    background: rgba(10, 22, 40, 0.05); color: var(--text-main);
}
body.dark-mode .nav-badge { background: rgba(212, 175, 55, 0.1); }
.pulse-dot { width: 8px; height: 8px; background: #22c55e; border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); } 70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }

/* Theme Toggle (3 States) */
.theme-toggle {
    background: var(--surface-color); border: 1px solid var(--border-color);
    color: var(--accent-main); width: 44px; height: 44px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.theme-toggle:hover { transform: scale(1.1); border-color: var(--accent-main); }
.theme-toggle svg { width: 20px; height: 20px; display: none; }

/* System state */
body[data-theme="system"] .icon-system { display: block; }
/* Light state */
body[data-theme="light"] .icon-light { display: block; }
/* Dark state */
body[data-theme="dark"] .icon-dark { display: block; }


/* Side Decorations */
.side-decoration {
    position: fixed; top: 0; bottom: 0; width: 60px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    pointer-events: none; z-index: 0; opacity: 0.15;
}
.left-deco { left: 0; }
.right-deco { right: 0; }
.vertical-line { width: 1px; height: 30vh; background: var(--accent-main); margin: 20px 0; }
.vertical-text {
    writing-mode: vertical-rl; text-orientation: mixed;
    font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.2em;
    color: var(--accent-main); transform: rotate(180deg);
}

/* Page Sections - Shortened Padding */
.page-section {
    width: 100%; padding: 5rem 0; position: relative; z-index: 1;
    display: flex; justify-content: center;
}
.alt-bg { background-color: var(--bg-alt); }

.section-inner {
    width: 100%; max-width: 1200px; padding: 0 4rem; margin: 0 auto;
    display: flex; flex-direction: column; align-items: center; text-align: center;
}

/* For ScrollTrigger Transitions */
.hidden-scroll { opacity: 0; transform: translateY(40px); }

/* --- Hero Section --- */
.hero-section { min-height: 100vh; padding-top: 20vh; padding-bottom: 8rem; position: relative; }



.typing-container { min-height: 100px; display: flex; align-items: center; justify-content: center; margin-bottom: 2rem; width: 100%; }
.domain-wrapper { display: inline-block; }
.domain-text { font-family: var(--font-mono); font-size: clamp(1.2rem, 4vw, 4rem); font-weight: 700; word-break: keep-all; overflow-wrap: break-word; color: var(--accent-main); }
.domain-text.premium-state {
    font-size: clamp(1.8rem, 6vw, 5rem); 
    font-weight: 800;
    letter-spacing: -0.02em;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}
body.dark-mode .domain-text.premium-state { text-shadow: 0 10px 40px rgba(212, 175, 55, 0.3); }

.cursor, .cursor-loop { font-family: var(--font-mono); font-size: clamp(1.5rem, 4vw, 4rem); color: var(--accent-main); margin-left: 5px; animation: blink 1s step-end infinite; }
.cursor-loop { font-size: 1.2rem; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.hero-content { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.hero-headline { font-family: var(--font-hero); font-size: clamp(2rem, 5vw, 4rem); font-weight: 600; line-height: 1.2; color: var(--text-main); margin-bottom: 1rem; transition: color 0.4s ease; }
.typewriter-loop-container { font-size: 1.1rem; font-weight: 500; color: var(--text-muted); min-height: 2rem; text-align: center; max-width: 90%; }
.hero-content.hidden { opacity: 0; transform: translateY(20px); display: none; }

/* Hero CTA Button */
.hero-buttons {
    display: flex; gap: 1rem; align-items: center; justify-content: center; margin-top: 2.5rem; width: 100%;
}
@media (max-width: 768px) {
    .hero-buttons { flex-direction: column; }
    .hero-buttons .hero-cta-btn { width: 100%; justify-content: center; }
}
.hero-cta-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 1.2rem 2.5rem;
    background: var(--accent-main); color: var(--bg-color);
    border: none; border-radius: 40px;
    font-family: var(--font-body); font-weight: 600; font-size: 1.1rem;
    cursor: pointer; transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    box-shadow: 0 10px 25px rgba(10, 22, 40, 0.2);
}
.hero-cta-btn.secondary {
    background: transparent;
    color: var(--text-main);
    border: 2px solid var(--accent-main);
    box-shadow: none;
}
.hero-cta-btn.secondary:hover {
    background: var(--accent-main);
    color: var(--bg-color);
}
body.dark-mode .hero-cta-btn { box-shadow: 0 10px 25px rgba(212, 175, 55, 0.2); }
.hero-cta-btn:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 15px 35px rgba(10, 22, 40, 0.3); }
body.dark-mode .hero-cta-btn:hover { box-shadow: 0 15px 35px rgba(212, 175, 55, 0.4); }

/* Scroll Indicator */
.scroll-indicator {
    position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    color: var(--text-muted); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em;
}
.mouse { width: 24px; height: 36px; border: 2px solid var(--text-muted); border-radius: 12px; position: relative; }
.wheel { width: 4px; height: 8px; background: var(--text-muted); border-radius: 2px; position: absolute; top: 6px; left: 50%; transform: translateX(-50%); animation: scrollMouse 1.5s infinite; }
@keyframes scrollMouse { 0% { transform: translate(-50%, 0); opacity: 1; } 100% { transform: translate(-50%, 15px); opacity: 0; } }

/* --- Appraisal Section --- */
.appraisal-section {
    padding: 3rem 0;
    width: 100%;
}
.appraisal-title {
    font-family: var(--font-body);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 2rem;
    text-align: center;
}
.appraisal-grid {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 800px;
}
.appraisal-card {
    flex: 1;
    min-width: 250px;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.appraisal-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-main);
}
.appraisal-logo {
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}
.appraisal-price {
    font-family: var(--font-mono);
    font-weight: 700;
    color: var(--accent-main);
    font-size: 3rem;
}

/* --- Animations Grid --- */
.section-title { font-family: var(--font-hero); font-size: 2.5rem; color: var(--text-main); margin-bottom: 3.5rem; font-weight: 600; }
.text-left { text-align: left; }
.animations-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 3.5rem; width: 100%; }
.anim-card { display: flex; flex-direction: column; gap: 1.5rem; }
.anim-visual { background: var(--surface-color); border: 1px solid var(--border-color); height: 320px; border-radius: 8px; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; transition: background-color 0.4s ease, border-color 0.4s ease; }
.anim-message { font-family: var(--font-hero); font-size: 1.3rem; color: var(--text-muted); font-style: italic; font-weight: 500; }

.search-bg { background: #fff; } body.dark-mode .search-bg { background: #1a1a1a; }
.portfolio-bg { background: #fafafa; } body.dark-mode .portfolio-bg { background: #111; }
.email-bg { background: #f0f0f0; } body.dark-mode .email-bg { background: #222; }
.slide-bg { background: #111; }

/* Mockup Internals */
.search-mockup { width: 80%; height: 80%; display: flex; flex-direction: column; gap: 15px; text-align: left; }
.search-bar { width: 100%; padding: 10px 15px; border: 1px solid #ccc; border-radius: 20px; font-size: 0.8rem; color: #333; } body.dark-mode .search-bar { background: #2a2a2a; border-color: #444; color: #eee; }
.search-results { display: flex; flex-direction: column; gap: 12px; }
.search-result { display: flex; flex-direction: column; gap: 4px; position: relative; }
.blur-result { opacity: 0.5; filter: blur(2px); }
.sr-title { height: 10px; background: #1a0dab; border-radius: 2px; width: 60%; } body.dark-mode .sr-title { background: #8ab4f8; }
.sr-desc { height: 8px; background: #666; border-radius: 2px; width: 90%; } body.dark-mode .sr-desc { background: #aaa; }
.sr-desc.short { width: 70%; }
.target-result { padding: 8px; border-radius: 4px; opacity: 0; transform: translateY(10px); }
.sr-url { font-size: 0.6rem; color: var(--accent-main); font-family: var(--font-body); }
.real-title { background: transparent !important; color: #1a0dab; font-size: 0.8rem; width: auto !important; height: auto !important; font-weight: 500; } body.dark-mode .real-title { color: #8ab4f8; background: transparent !important; }
.real-desc { background: transparent !important; color: #4d5156; font-size: 0.7rem; width: auto !important; height: auto !important; } body.dark-mode .real-desc { color: #bdc1c6; background: transparent !important; }
.pulse-ring { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 100%; height: 100%; border: 1px solid rgba(0,0,0,0); border-radius: 6px; pointer-events: none; }

.portfolio-mockup { width: 100%; height: 100%; background: #fff; display: flex; flex-direction: column; transform: translateY(100%); } body.dark-mode .portfolio-mockup { background: #1a1a1a; }
.portfolio-nav { padding: 15px 20px; font-family: var(--font-hero); font-size: 1rem; font-weight: 700; border-bottom: 1px solid #eee; text-align: left; color: #000; } body.dark-mode .portfolio-nav { border-bottom-color: #333; color: #fff; }
.portfolio-hero { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 15px; }
.portfolio-name { font-family: var(--font-hero); font-size: 2.5rem; color: var(--accent-main); font-weight: 600; }
.portfolio-title { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: #666; opacity: 0; font-weight: 600;} body.dark-mode .portfolio-title { color: #aaa; }
.portfolio-ctas { display: flex; gap: 10px; opacity: 0; }
.portfolio-ctas .btn { width: 60px; height: 20px; background: var(--accent-main); border-radius: 2px; }
.portfolio-ctas .btn.btn-outline { background: transparent; border: 1px solid var(--accent-main); }

.email-mockup { width: 80%; height: 80%; display: flex; flex-direction: column; border: 1px solid #ccc; background: #fff; border-radius: 4px; padding: 15px; text-align: left; } body.dark-mode .email-mockup { background: #1a1a1a; border-color: #444; }
.email-body { flex: 1; display: flex; flex-direction: column; gap: 8px; opacity: 0.3; }
.el { height: 6px; background: #999; border-radius: 2px; } body.dark-mode .el { background: #666; }
.el-1 { width: 100%; } .el-2 { width: 90%; } .el-3 { width: 60%; }
.email-signature { margin-top: 20px; display: flex; flex-direction: column; gap: 3px; font-size: 0.65rem; color: #333; font-weight: 500; } body.dark-mode .email-signature { color: #ccc; }
.sig-link { color: var(--text-main); text-decoration: none; font-family: var(--font-mono); font-size: 0.6rem; }

.slide-mockup { width: 80%; height: 70%; display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; }
.slide-content { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.slide-avatar { width: 50px; height: 50px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.5); opacity: 0; }
.slide-name { font-family: var(--font-hero); font-size: 1.8rem; color: #fff; font-weight: 600; }
.slide-title { font-size: 0.7rem; color: #aaa; letter-spacing: 0.05em; opacity: 0; text-transform: uppercase; }
.slide-footer { position: absolute; bottom: 0; right: 0; opacity: 0; }
.slide-url { font-family: var(--font-mono); font-size: 0.6rem; color: #fff; border-bottom: 1px solid rgba(255,255,255,0.3); }

/* Distilled Profiles Animation */
.distill-visual { background: #fff; border: 1px solid var(--border-color); }
body.dark-mode .distill-visual { background: var(--surface-color); }
.center-domain {
    font-family: var(--font-mono); font-size: 1.1rem; font-weight: 700; color: var(--accent-main);
    z-index: 10; padding: 0.8rem 1.5rem; background: var(--bg-color);
    border: 2px solid var(--border-hover); border-radius: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); transition: all 0.3s ease;
}
body.dark-mode .center-domain { box-shadow: 0 10px 40px rgba(212, 175, 55, 0.2); border-color: var(--border-color); }
.profile-particle { position: absolute; border-radius: 50%; opacity: 0; }

/* --- SEO Split Layout --- */
.split-layout { display: flex; flex-direction: row; gap: 4rem; align-items: center; text-align: left; }
.split-left { flex: 1; }
.split-right { flex: 1.5; }
.seo-content { display: flex; flex-direction: column; gap: 1.5rem; }
.seo-content p { font-size: 1.15rem; color: var(--text-muted); }
.seo-content p strong { color: var(--text-main); font-weight: 600; }
.seo-content p:first-child { font-size: 1.4rem; color: var(--accent-main); font-weight: 500; }

/* --- Why Spykerman is Great (Reasons Grid) --- */
.reasons-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2.5rem; width: 100%; text-align: left; }
.reason-card { background: var(--surface-color); border: 1px solid var(--border-color); padding: 2.5rem 2rem; border-radius: 8px; transition: transform 0.3s ease, border-color 0.3s ease, background-color 0.4s ease; display: flex; flex-direction: column; }
.reason-card:hover { transform: translateY(-5px); border-color: var(--accent-main); box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.reason-icon { font-size: 2rem; margin-bottom: 1rem; background: var(--bg-color); width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid var(--border-color); }
.reason-card h4 { font-family: var(--font-hero); font-size: 1.4rem; color: var(--accent-main); font-weight: 600; margin-bottom: 1rem; line-height: 1.3; }
.reason-card p { font-size: 1rem; color: var(--text-muted); line-height: 1.6; }

/* --- 4 Generic Persona Tiles --- */
.persona-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; width: 100%; }
.persona-card { background: var(--surface-color); border: 1px solid var(--border-color); padding: 3rem 2rem; border-radius: 8px; transition: transform 0.3s ease, border-color 0.3s ease, background-color 0.4s ease; display: flex; flex-direction: column; align-items: center; text-align: center; }
.persona-card:hover { transform: translateY(-10px); border-color: var(--border-hover); box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.persona-icon { font-size: 2.5rem; margin-bottom: 1.5rem; }
.persona-card h4 { font-family: var(--font-hero); font-size: 1.6rem; color: var(--accent-main); font-weight: 600; margin-bottom: 0.8rem; }
.persona-card p { font-size: 1.05rem; color: var(--text-muted); }

/* --- CTA Section & Contact Form --- */
.cta-box { background: var(--surface-color); border: 1px solid var(--border-color); padding: 5rem 3rem; border-radius: 12px; width: 100%; max-width: 800px; box-shadow: 0 20px 40px rgba(0,0,0,0.05); }
.cta-headline { font-family: var(--font-hero); font-size: clamp(2.5rem, 4vw, 3.5rem); color: var(--text-main); margin-bottom: 1rem; font-weight: 600; }
.cta-body { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 3rem; }

.contact-form { display: flex; flex-direction: column; gap: 1.5rem; width: 100%; max-width: 600px; margin: 0 auto 2rem auto; text-align: left; }
.form-row { display: flex; gap: 1.5rem; width: 100%; }
.contact-form input, .contact-form textarea {
    width: 100%; padding: 1rem 1.2rem;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 8px; color: var(--text-main);
    font-family: var(--font-body); font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.contact-form textarea { resize: vertical; margin-bottom: 0; }
.textarea-wrapper { position: relative; width: 100%; margin-bottom: 1rem; }
.char-count { position: absolute; bottom: 12px; right: 12px; font-size: 0.75rem; color: #999; pointer-events: none; transition: color 0.3s; }
.form-error { display: none; color: var(--error-red); font-size: 0.9rem; margin-top: -0.5rem; margin-bottom: 1rem; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #999; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent-main); box-shadow: 0 0 0 3px rgba(10, 22, 40, 0.1); }
body.dark-mode .contact-form input:focus, body.dark-mode .contact-form textarea:focus { box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2); }

.submit-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--accent-main); color: var(--bg-color); border: none; padding: 1.2rem 2.5rem; font-family: var(--font-body); font-size: 1.1rem; font-weight: 600; border-radius: 8px; cursor: pointer; transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.4s ease, color 0.4s ease; align-self: flex-start; margin-top: 0.5rem; }
.submit-btn:hover { opacity: 0.9; transform: translateY(-2px); box-shadow: 0 10px 20px rgba(10,22,40,0.15); }

.success-message {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 1rem; text-align: center;
    padding: 3rem; background: rgba(34, 197, 94, 0.05); border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 8px; margin: 0 auto 2rem auto; width: 100%; max-width: 600px;
}
.success-icon {
    width: 60px; height: 60px; border-radius: 50%; background: #22c55e; color: #fff;
    display: flex; align-items: center; justify-content: center;
}
.success-icon svg { width: 32px; height: 32px; }
.success-message h3 { font-family: var(--font-hero); font-size: 2rem; color: #22c55e; }
.success-message p { font-size: 1.1rem; color: var(--text-main); }

.trust-line { font-size: 0.95rem; color: var(--text-muted); font-weight: 500; text-align: center; }

/* Footer */
.page-footer { text-align: center; padding: 3rem 0 2rem 0; font-size: 0.9rem; color: var(--text-muted); width: 100%; }

/* Back to top button */
.back-to-top {
    position: fixed; bottom: 2rem; right: 2rem;
    width: 50px; height: 50px; border-radius: 50%;
    background: var(--accent-main); color: var(--bg-color);
    border: none; display: flex; align-items: center; justify-content: center;
    cursor: pointer; z-index: 1000;
    opacity: 0; pointer-events: none; transform: translateY(20px);
    transition: all 0.3s ease; box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}
body.dark-mode .back-to-top { box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2); }
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-5px); }
.back-to-top svg { width: 24px; height: 24px; }

@media (max-width: 900px) {
    .top-nav { padding: 1.5rem 1.5rem; }
    .nav-badge { display: none; } /* hide badge on small screens to save space */
    .split-layout { flex-direction: column; text-align: center; }
    .side-decoration { display: none; }
    .section-inner { padding: 0 1rem; }
    
    /* Centering all main text and elements for mobile */
    .section-title { text-align: center; font-size: 2rem; }
    .reasons-grid { text-align: center; }
    .reason-card { align-items: center; text-align: center; }
    .reason-icon { margin: 0 auto 1rem auto; }
    .cta-box { text-align: center; display: flex; flex-direction: column; align-items: center; padding: 3rem 1.5rem; }
    .hero-content { text-align: center; }
    
    .form-row { flex-direction: column; gap: 1rem; }
    .submit-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
