:root {
    --primary: #0F2027;
    --secondary: #203A43;
    --accent: #2C5364;
    --text: #e0e0e0;
    --text-dark: #1a1a1a;
    --bg-light: #f5f7fa;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --font-heading: 'Shippori Mincho', serif;
    --font-body: 'Space Grotesk', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background-color: var(--primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Animated Mesh Background */
.mesh-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at 15% 50%, rgba(44, 83, 100, 0.4), transparent 50%),
                radial-gradient(circle at 85% 30%, rgba(32, 58, 67, 0.6), transparent 50%);
    z-index: -1;
    animation: pulse 15s infinite alternate;
}

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

h1, h2, h3 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }

a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.3s;
}
a:hover { color: #fff; }

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

.mt-section { margin-top: 6rem; }
.mb-section { margin-bottom: 6rem; }
.text-center { text-align: center; }
.d-none { display: none !important; }

/* Glassmorphism utility */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow);
}

.gradient-text {
    background: linear-gradient(90deg, #a8c0ff 0%, #3f2b96 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
button, .btn-primary, .btn-primary-sm, .btn-secondary-sm {
    cursor: pointer;
    border: none;
    font-family: inherit;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, #2C5364, #203A43);
    color: #fff;
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.btn-primary-sm {
    background: #fff;
    color: var(--primary);
    padding: 0.6rem 1.5rem;
    font-size: 1rem;
}
.btn-secondary-sm {
    background: transparent;
    color: #fff;
    border: 1px solid #fff;
    padding: 0.6rem 1.5rem;
}

/* Header */
.glass-header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 32, 39, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid var(--glass-border);
}
.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 1.8rem;
    font-weight: 700;
    font-family: var(--font-heading);
}
.logo span {
    font-size: 0.8rem;
    font-family: var(--font-body);
    opacity: 0.7;
}
nav a {
    margin-left: 2rem;
    font-weight: 700;
}

/* Hero */
.hero {
    display: flex;
    align-items: center;
    gap: 3rem;
    min-height: 100vh;
    padding-top: 80px;
}
.hero-content { flex: 1; }
.hero-image { flex: 1; }
.hero-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s;
}
.hero-image img:hover {
    transform: perspective(1000px) rotateY(0deg);
}
.badge {
    background: rgba(255,255,255,0.1);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 1rem;
}

/* Grid & Split */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}
.icon-large {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #a8c0ff;
}

.split-section {
    display: flex;
    align-items: center;
    gap: 4rem;
}
.reversed { flex-direction: row-reverse; }
.split-text, .split-image { flex: 1; }
.split-image img {
    width: 100%;
    border-radius: 20px;
    object-fit: cover;
    height: 400px;
}
.feature-list { list-style: none; margin-top: 2rem; }
.feature-list li {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}
.feature-list i { color: #a8c0ff; margin-top: 0.3rem; }

/* Form */
.form-wrapper { max-width: 800px; margin: 0 auto; }
.form-row { display: flex; gap: 1.5rem; }
.form-group { flex: 1; margin-bottom: 1.5rem; display: flex; flex-direction: column; }
label { font-weight: 700; margin-bottom: 0.5rem; font-size: 0.9rem; }
input {
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid var(--glass-border);
    background: rgba(255,255,255,0.05);
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: border 0.3s;
}
input:focus { border-color: #a8c0ff; }
.form-checkbox { margin-bottom: 2rem; font-size: 0.9rem; display: flex; align-items: center; gap: 0.5rem;}
.form-checkbox input { cursor: pointer; }
.btn-submit {
    width: 100%;
    background: #fff;
    color: var(--primary);
    padding: 1.2rem;
    font-size: 1.2rem;
}
.success-message {
    background: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
    text-align: center;
    font-weight: 700;
}

/* FAQ */
.faq-container { margin-top: 3rem; }
.faq-item {
    border-bottom: 1px solid var(--glass-border);
}
.faq-item:last-child { border-bottom: none; }
.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    color: #fff;
    font-size: 1.2rem;
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}
.faq-answer p { padding-bottom: 1.5rem; color: #ccc; }

/* Footer */
footer {
    background: #000;
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--glass-border);
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}
.footer-links a { margin-left: 1.5rem; font-size: 0.9rem; color: #888; }
.footer-links a:hover { color: #fff; }
.footer-bottom { color: #555; font-size: 0.8rem; }

/* Cookie Banner */
#cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 800px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
}
.cookie-btns { display: flex; gap: 1rem; }

/* Local Legal Pages Theme */
.legal-page { background: var(--bg-light); color: var(--text-dark); min-height: 100vh; padding: 120px 0 60px; }
.legal-card {
    background: #fff;
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.legal-card h1, .legal-card h2, .legal-card h3 { color: var(--primary); }
.legal-card p, .legal-card ul { margin-bottom: 1.5rem; color: #444; }
.legal-card ul { padding-left: 1.5rem; }

/* Responsive */
@media(max-width: 992px) {
    .hero, .split-section { flex-direction: column; text-align: center; }
    h1 { font-size: 2.5rem; }
    .grid-3 { grid-template-columns: 1fr; }
    nav { display: none; } /* Simplified for mobile, ideally needs hamburger */
    .form-row { flex-direction: column; gap: 0; }
}