/* --- Variables & Reset --- */
:root {
    --primary: #0B1E3B; /* Deep Navy */
    --accent: #C5A065;  /* Copper/Gold */
    --accent-hover: #b08d55;
    --bg-light: #F4F5F7;
    --text-main: #1A1A1A;
    --text-muted: #666666;
    --white: #FFFFFF;
    --border-radius: 4px;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
}

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

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--primary);
    font-weight: 600;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.hidden { display: none !important; }

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 14px 30px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--white);
}

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

.btn-full {
    width: 100%;
    background-color: var(--primary);
    color: var(--white);
    margin-top: 15px;
}

.btn-full:hover {
    background-color: #153055;
}

/* --- Header --- */
.header {
    background: var(--white);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 700;
}

.logo span { color: var(--accent); }
.logo i { margin-right: 8px; color: var(--accent); }

.desktop-nav ul { display: flex; gap: 30px; }
.desktop-nav a { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; }
.desktop-nav a:hover { color: var(--accent); }
.mobile-menu-btn { display: none; font-size: 1.5rem; color: var(--primary); }

@media (max-width: 768px) {
    .desktop-nav { display: none; }
    .mobile-menu-btn { display: block; }
}

/* --- Hero --- */
.hero {
    position: relative;
    height: 85vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: #0B1E3B; /* Fallback */
    /* Placeholder background simulation */
    background: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80') no-repeat center center/cover;
}

.hero-bg-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(11,30,59,0.95) 0%, rgba(11,30,59,0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 700px;
    margin-left: 5%; /* Slight offset style */
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-sub {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-trust-badge {
    margin-bottom: 30px;
    font-size: 0.9rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2.2rem; }
    .hero-content { margin: 0 auto; text-align: center; }
}

/* --- Trust Section --- */
.trust-section { padding: 80px 0; background: var(--white); }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: 2rem; margin-bottom: 15px; }
.divider { width: 60px; height: 3px; background: var(--accent); margin: 0 auto; }

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.trust-card {
    padding: 30px;
    background: var(--bg-light);
    border: 1px solid #e1e1e1;
    border-radius: var(--border-radius);
    transition: 0.3s;
}

.trust-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--accent);
}

.icon-box {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 20px;
}

/* --- Interactive Section --- */
.interactive-section { padding: 80px 0; background: var(--bg-light); }

.interaction-box, .result-box {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    max-width: 900px;
    margin: 0 auto;
    border-top: 4px solid var(--accent);
}

/* Quiz Styles */
.quiz-header { margin-bottom: 30px; }
.step-indicator { font-size: 0.9rem; color: var(--text-muted); display: block; margin-bottom: 10px; }
.progress-bar { width: 100%; height: 4px; background: #eee; border-radius: 2px; }
.progress-fill { height: 100%; background: var(--primary); width: 20%; transition: width 0.4s ease; }

.quiz-question-wrapper h3 { font-size: 1.5rem; margin-bottom: 30px; color: var(--primary); }
.options-grid { display: grid; gap: 15px; }

.quiz-option {
    padding: 15px 20px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: 0.2s;
    font-weight: 500;
}

.quiz-option:hover { background: #f9f9f9; border-color: var(--primary); }
.quiz-option.selected { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* Loader */
.loader-box { text-align: center; padding: 60px 0; }
.spinner {
    width: 50px; height: 50px;
    border: 3px solid #f3f3f3; border-top: 3px solid var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* Calculator & Form Split */
.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 768px) { .split-layout { grid-template-columns: 1fr; } }

.calculator-side { padding-right: 20px; border-right: 1px solid #eee; }
@media (max-width: 768px) { .calculator-side { border-right: none; border-bottom: 1px solid #eee; padding-bottom: 30px; padding-right: 0; } }

.input-group { margin-bottom: 25px; }
.input-group label { display: block; margin-bottom: 10px; font-weight: 600; font-size: 0.9rem; }
.input-group label span { float: right; color: var(--accent); }

input[type=range] {
    width: 100%; height: 6px; background: #ddd;
    outline: none; -webkit-appearance: none; border-radius: 3px;
}
input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none; width: 20px; height: 20px;
    background: var(--primary); border-radius: 50%; cursor: pointer;
    border: 2px solid var(--white); box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.result-display {
    background: var(--bg-light); padding: 20px;
    border-radius: var(--border-radius); text-align: center; margin-top: 30px;
}
.big-number { font-size: 2rem; font-weight: 700; color: var(--accent); font-family: var(--font-heading); margin-top: 5px; }

/* Form */
.form-row { margin-bottom: 15px; display: flex; gap: 15px; }
@media (max-width: 500px) { .form-row { flex-direction: column; gap: 15px; } }

input[type=text], input[type=email], input[type=tel] {
    width: 100%; padding: 12px 15px;
    border: 1px solid #ddd; border-radius: var(--border-radius);
    font-family: var(--font-body); font-size: 1rem;
    transition: 0.3s;
}
input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(11,30,59,0.1); }

.phone-row { position: relative; display: flex; align-items: stretch; }
.flag-prefix {
    background: #eee; border: 1px solid #ddd; border-right: none;
    display: flex; align-items: center; padding: 0 15px;
    font-weight: 600; color: #555; border-radius: 4px 0 0 4px;
    white-space: nowrap;
}
.phone-row input { border-radius: 0 4px 4px 0; }

.privacy-note { font-size: 0.75rem; color: #999; text-align: center; margin-top: 15px; }

/* --- Footer --- */
footer { background: #111; color: #888; padding: 60px 0 0; font-size: 0.9rem; }
.footer-content { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-col h4 { color: var(--white); margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a:hover { color: var(--accent); }

.risk-warning {
    background: #000; padding: 20px 0; font-size: 0.75rem; line-height: 1.5; color: #666;
    border-top: 1px solid #222;
}
.copyright { background: #000; color: #444; text-align: center; padding: 15px; font-size: 0.8rem; }

/* Cookie Banner */
.cookie-banner {
    position: fixed; bottom: 20px; right: 20px;
    background: var(--white); padding: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    border-radius: 8px; z-index: 9999;
    max-width: 300px; border-left: 5px solid var(--accent);
}
.btn-small { padding: 8px 15px; font-size: 0.8rem; background: var(--primary); color: white; margin-top: 10px; border:none; cursor: pointer;}

/* Animations */
.fade-in { animation: fadeIn 0.8s ease-out forwards; opacity: 0; }
.slide-up { animation: slideUp 0.8s ease-out forwards; opacity: 0; transform: translateY(30px); }
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

@keyframes fadeIn { to { opacity: 1; } }
@keyframes slideUp { to { opacity: 1; transform: translateY(0); } }