/* --------------------------------------------------
   QuantraLux Global Styles
   Clean Corporate Design System
-------------------------------------------------- */

/* ---------- Color Variables ---------- */
:root {
    --primary: #2563eb;
    --primary-dark: #1e4fc7;

    --text-dark: #1f2937;
    --text-light: #6b7280;

    --bg-light: #d9e0ea;
    --bg-white: #f3f4f6;

    --radius: 10px;
    --shadow: 0 4px 12px rgba(0,0,0,1);
}

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

body {
    font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
    background: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.6;
}

/* ---------- Layout Utilities ---------- */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.section {
    padding: 70px 0;
}

.section-light {
    padding: 70px 0;
    background: var(--bg-light);
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 40px;
}

/* ---------- Header ---------- */
.header {
    background: var(--bg-white);
    border-bottom: 1px solid #e5e7eb;
    padding: 15px 0;
}

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

.logo {
    font-size: 1.4rem;
    font-weight: 700;
}

.header-cta {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.header-cta:hover {
    text-decoration: underline;
}

/* ---------- Language Switcher ---------- */
.lang-switcher button {
    background: none;
    border: none;
    font-weight: 600;
    margin-right: 10px;
    cursor: pointer;
    color: var(--text-dark);
}

.lang-switcher button:hover {
    color: var(--primary);
}

/* ---------- Hero Section ---------- */
.hero {
    padding: 80px 0;
}

.hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-title {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.hero-sub {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
}

.hero-illustration img {
    width: 100%;
    max-width: 480px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* ---------- Buttons ---------- */
.btn-primary {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s;
}

.btn-primary:hover {
    background: var(--primary-dark);
}

/* ---------- Cards ---------- */
.card {
    background: var(--bg-white);
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    text-align: center;
}

.icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.step-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

/* ---------- Grid Layouts ---------- */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* ---------- Footer ---------- */
.footer {
    background: var(--bg-white);
    border-top: 1px solid #e5e7eb;
    padding: 40px 0;
    text-align: center;
}

.footer-nav a {
    margin: 0 10px;
    color: var(--text-dark);
    text-decoration: none;
}

.footer-nav a:hover {
    color: var(--primary);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .hero-inner {
        flex-direction: column;
        text-align: center;
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .grid-4 {
        grid-template-columns: 1fr;
    }
}

/* COOKIE BANNER */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--bg-white);
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.08);
    padding: 20px 0;
    z-index: 9999;
}

.cookie-banner-inner {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.btn-secondary {
    background: #e5e7eb;
    color: var(--text-dark);
    padding: 12px 20px;
    border-radius: var(--radius);
    font-weight: 600;
    border: none;
    cursor: pointer;
}

.btn-secondary:hover {
    background: #d1d5db;
}

.hidden {
    display: none;
}

@media (max-width: 700px) {
    .cookie-banner-inner {
        flex-direction: column;
        text-align: center;
    }
}

/* --------------------------------------------------
   LOGIN PAGE LAYOUT
-------------------------------------------------- */

.login-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.login-card {
    flex: 1;
    background: var(--bg-white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.login-info {
    flex: 1;
    background: var(--bg-light);
    padding: 30px;
    border-radius: var(--radius);
}

.login-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.login-sub {
    color: var(--text-light);
    margin-bottom: 25px;
}

.login-label {
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}

.login-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #d1d5db;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: 1rem;
}

.login-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.login-btn {
    width: 100%;
    margin-top: 10px;
}

.login-note {
    margin-top: 15px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.login-info-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.login-info p {
    margin-bottom: 15px;
}

/* --------------------------------------------------
   STEP 2 (SMOOTH REVEAL)
-------------------------------------------------- */

.step2 {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.4s ease;
}

.step2-visible {
    max-height: 1000px; /* plenty of room */
    opacity: 1;
    transform: translateY(0);
    margin-top: 20px;
}

.step2-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 20px;
}

/* --------------------------------------------------
   CONFIRMATION BOX
-------------------------------------------------- */

.confirmation-box {
    background: var(--bg-light);
    padding: 25px;
    border-radius: var(--radius);
    text-align: center;
    margin-top: 20px;
}

.confirmation-box h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

/* --------------------------------------------------
   FOOTER DISCLAIMER
-------------------------------------------------- */

.footer-disclaimer {
    margin-top: 20px;
    font-size: 0.85rem;
    color: var(--text-light);
    max-width: 700px;
}

/* --------------------------------------------------
   RESPONSIVE
-------------------------------------------------- */

@media (max-width: 900px) {
    .login-wrapper {
        flex-direction: column;
    }
}

