﻿:root {
    --primary: #0B132B; /* Deep Oxford Blue */
    --secondary: #1C2541; /* Navy Slate */
    --accent: #E5A93C; /* Capital Gold */
    --text-main: #334155;
    --text-light: #64748B;
    --bg-light: #F8FAFC;
    --bg-card: #FFFFFF;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Inter', sans-serif; color: var(--text-main); background-color: var(--bg-light); line-height: 1.6; }
h1, h2, h3, h4 { font-family: 'Sora', sans-serif; color: var(--primary); font-weight: 700; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 16px 32px; border-radius: 8px; font-weight: 600; font-family: 'Inter', sans-serif;
    text-decoration: none; border: none; cursor: pointer; transition: var(--transition);
}
.btn-primary { background-color: var(--primary); color: #FFF; }
.btn-primary:hover { background-color: #162654; box-shadow: 0 8px 20px rgba(11, 19, 43, 0.2); }
.btn-accent { background-color: var(--accent); color: var(--primary); }
.btn-accent:hover { background-color: #f0b74a; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(229, 169, 60, 0.3); }
.btn-full { width: 100%; }
.btn-sm { padding: 10px 20px; font-size: 0.9rem; }

/* Header */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed; top: 0; width: 100%; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}
.nav-container { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.logo { display: flex; align-items: center; gap: 12px; font-family: 'Sora', sans-serif; font-size: 1.3rem; color: var(--primary); }
.logo img { height: 36px; }
.nav-links a { text-decoration: none; color: var(--text-main); margin: 0 15px; font-weight: 500; transition: var(--transition); }
.nav-links a:hover { color: var(--accent); }

/* Hero */
.hero {
    position: relative; padding: 180px 0 100px;
    background: var(--primary);
    background-image: radial-gradient(circle at top right, var(--secondary) 0%, var(--primary) 70%);
    color: #FFF; text-align: center; overflow: hidden;
}
.hero-content { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; }
.badge { background: rgba(229, 169, 60, 0.1); padding: 6px 14px; border-radius: 20px; font-size: 0.85rem; font-weight: 600; color: var(--accent); margin-bottom: 20px; display: inline-block; border: 1px solid rgba(229, 169, 60, 0.3); }
.hero-title { font-size: 3.5rem; color: #FFF; margin-bottom: 20px; line-height: 1.2; }
.hero-subtitle { font-size: 1.15rem; color: #94A3B8; margin-bottom: 40px; }

/* Global Sections */
section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: 2.2rem; margin-bottom: 15px; }
.section-header p { color: var(--text-light); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* Random Section (Security) */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.card { background: var(--bg-card); padding: 40px 30px; border-radius: 16px; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,0.04); border: 1px solid #F1F5F9; transition: var(--transition); }
.card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); }
.card i { font-size: 2.5rem; color: var(--accent); margin-bottom: 20px; }
.card h3 { margin-bottom: 15px; font-size: 1.2rem; }

/* About & Features */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.img-wrapper { width: 100%; position: relative; }
.img-wrapper img { width: 100%; height: auto; border-radius: 16px; display: block; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.img-placeholder { width: 100%; aspect-ratio: 4/3; background: #E2E8F0; border-radius: 16px; display: flex; align-items: center; justify-content: center; color: var(--text-light); font-family: monospace; }
.about-text h2, .features-content h2 { font-size: 2.2rem; margin-bottom: 20px; }
.about-text p { margin-bottom: 20px; font-size: 1.05rem; }
.check-list { list-style: none; margin-top: 20px; }
.check-list li { margin-bottom: 10px; font-weight: 500; display: flex; gap: 10px; align-items: center; }
.check-list i { color: var(--accent); }

.features-wrapper { display: flex; align-items: center; gap: 60px; }
.features-content { width: 50%; }
.features-wrapper .img-wrapper { width: 50%; order: -1; }
.feature-list { list-style: none; margin-top: 30px; }
.feature-list li { display: flex; gap: 20px; margin-bottom: 25px; }
.feat-icon { width: 50px; height: 50px; background: rgba(11, 19, 43, 0.05); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; color: var(--primary); flex-shrink: 0; }
.feature-list strong { display: block; margin-bottom: 5px; font-family: 'Sora', sans-serif; font-size: 1.1rem; }
.feature-list span { color: var(--text-light); font-size: 0.95rem; }

/* FAQ Accordion */
.accordion { max-width: 800px; margin: 0 auto; }
details { background: var(--bg-card); margin-bottom: 15px; border-radius: 12px; border: 1px solid #E2E8F0; overflow: hidden; transition: var(--transition); }
summary { padding: 20px 25px; font-weight: 600; font-family: 'Sora', sans-serif; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; color: var(--primary); }
summary::-webkit-details-marker { display: none; }
summary::after { content: '\f078'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: var(--accent); transition: var(--transition); }
details[open] summary::after { transform: rotate(180deg); }
.details-content { padding: 0 25px 25px; color: var(--text-light); line-height: 1.6; }

/* Calculator / Form */
.calculator-section { background-color: var(--secondary); }
.form-container { max-width: 700px; }
.form-wrapper { background: var(--bg-card); padding: 50px; border-radius: 20px; box-shadow: 0 25px 50px rgba(0,0,0,0.2); position: relative; min-height: 480px; }
.form-header h2 { color: var(--primary); }
.progress-bar { width: 100%; height: 6px; background: #E2E8F0; border-radius: 3px; margin: 30px 0; overflow: hidden; }
.progress-fill { height: 100%; background: var(--accent); width: 20%; transition: width 0.4s ease; }
.form-step { display: none; opacity: 0; transform: translateY(10px); transition: all 0.4s ease; }
.form-step.active { display: block; opacity: 1; transform: translateY(0); }
.form-step h3 { margin-bottom: 25px; font-size: 1.3rem; text-align: center; }
.options-grid { display: grid; gap: 15px; }
.opt-btn { padding: 18px; border: 1px solid #CBD5E1; background: #FFF; border-radius: 10px; font-size: 1rem; font-family: 'Inter', sans-serif; font-weight: 500; cursor: pointer; transition: var(--transition); color: var(--text-main); text-align: left; }
.opt-btn:hover { border-color: var(--accent); background: rgba(229, 169, 60, 0.05); color: var(--primary); }

.loading-icon { font-size: 4rem; color: var(--accent); margin: 30px 0; }
.result-box { background: var(--bg-light); border: 1px solid #E2E8F0; padding: 30px; border-radius: 12px; text-align: center; margin-bottom: 30px; border-left: 4px solid var(--accent); }
.result-box p { font-weight: 600; color: var(--primary); }
.result-box h3 { font-size: 2.5rem; color: var(--accent); margin: 10px 0 0; }
.success-icon { font-size: 4rem; margin-bottom: 20px; }

/* Inputs */
.input-group-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.input-group { margin-bottom: 20px; }
.input-group label { display: block; margin-bottom: 8px; font-weight: 500; font-size: 0.9rem; color: var(--primary); }
.input-group input { width: 100%; padding: 14px; border: 1px solid #CBD5E1; border-radius: 8px; font-family: 'Inter', sans-serif; font-size: 1rem; background: #FFF; transition: var(--transition); }
.input-group input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(229, 169, 60, 0.15); }
.checkbox-group { display: flex; gap: 12px; margin-bottom: 30px; font-size: 0.85rem; color: var(--text-light); align-items: flex-start; }
.checkbox-group input { margin-top: 3px; }
.checkbox-group a { color: var(--accent); text-decoration: none; }

/* Footer */
footer { background: var(--primary); color: #FFF; padding: 60px 0 30px; text-align: center; }
.footer-logo { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 30px; font-family: 'Sora', sans-serif; font-size: 1.3rem; }
.footer-links { margin-bottom: 30px; }
.footer-links a { color: #94A3B8; text-decoration: none; margin: 0 15px; font-size: 0.95rem; transition: var(--transition); }
.footer-links a:hover { color: var(--accent); }
.copyright { color: #475569; font-size: 0.85rem; }

/* Cookie Banner */
.cookie-banner { position: fixed; bottom: 0; left: 0; width: 100%; background: #FFF; box-shadow: 0 -5px 25px rgba(0,0,0,0.1); padding: 20px 0; z-index: 9999; transform: translateY(100%); transition: transform 0.5s ease; border-top: 1px solid #E2E8F0; }
.cookie-banner.show { transform: translateY(0); }
.cookie-content { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.cookie-content p { font-size: 0.9rem; margin: 0; color: var(--text-main); }
.cookie-buttons { display: flex; gap: 10px; flex-shrink: 0; }

/* Legal Pages */
.legal-page { padding-top: 140px; padding-bottom: 80px; }
.legal-container { background: var(--bg-card); padding: 60px; border-radius: 16px; box-shadow: 0 15px 40px rgba(0,0,0,0.05); }
.legal-container h1 { margin-bottom: 25px; font-size: 2.5rem; }
.legal-container h2 { margin: 35px 0 15px; font-size: 1.5rem; }
.legal-container p, .legal-container ul { margin-bottom: 15px; color: var(--text-light); font-size: 1.05rem; }
.legal-container ul { margin-left: 20px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 30px; color: var(--primary); text-decoration: none; font-weight: 600; }
.back-link:hover { color: var(--accent); }
.map-container { margin-top: 40px; width: 100%; height: 350px; border-radius: 12px; overflow: hidden; }

/* Responsive */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero-title { font-size: 2.2rem; }
    .grid-3, .grid-2, .input-group-row { grid-template-columns: 1fr; }
    .features-wrapper { flex-direction: column; }
    .features-content, .features-wrapper .img-wrapper { width: 100%; }
    .cookie-content { flex-direction: column; text-align: center; }
    .form-wrapper { padding: 30px 20px; }
    .legal-container { padding: 30px; }
}
