:root {
    --primary: #4f46e5;
    --primary-dark: #3730a3;
    --primary-light: #e0e7ff;
    --accent: #f59e0b;
    --success: #10b981;
    --text: #1e293b;
    --text-light: #64748b;
    --bg: #f8fafc;
    --white: #ffffff;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 20px 40px -8px rgba(0,0,0,0.1);
    --shadow-xl: 0 25px 50px -12px rgba(0,0,0,0.15);
    --radius: 12px;
    --radius-sm: 8px;
    --radius-full: 50%;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* ---------- NAVIGATION ---------- */
.navbar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(12px);
    background: rgba(255,255,255,0.92);
    transition: var(--transition);
}
.navbar.scrolled {
    box-shadow: var(--shadow-lg);
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}
.nav-logo .material-icons {
    font-size: 32px;
    color: var(--primary);
}
.nav-links {
    display: flex;
    list-style: none;
    gap: 8px;
    align-items: center;
}
.nav-links a {
    text-decoration: none;
    color: var(--text);
    padding: 10px 18px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.925rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active {
    background: var(--primary-light);
    color: var(--primary);
}
.nav-links a .material-icons {
    font-size: 20px;
}
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.menu-toggle:hover {
    background: var(--primary-light);
}
.menu-toggle .material-icons {
    font-size: 28px;
    color: var(--text);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}
/* ---------- PAGE HEADER ---------- */
.page-header {
    /* background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #a855f7 100%); */
    color: var(--text);
    padding: 30px 24px 0px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-header::before {
    content: '';
    position: absolute;
    top: -60%;
    left: -20%;
    width: 80%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(255,255,255,0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.page-header-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}
.page-header .icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    border-radius: var(--radius-full);
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(6px);
    margin-bottom: 20px;
    border: 2px solid rgba(255,255,255,0.2);
}
.page-header .icon-circle .material-icons {
    font-size: 36px;
}
.page-header h1 {
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 12px;
}
.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    font-weight: 400;
    max-width: 500px;
    margin: 0 auto;
}

/* ---------- BREADCRUMB ---------- */
.breadcrumb {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    font-size: 0.875rem;
    color: var(--text-light);
}
.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}
.breadcrumb a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}
.breadcrumb .material-icons {
    font-size: 16px;
    color: var(--text-light);
}
.breadcrumb span {
    color: var(--text);
    font-weight: 500;
}

/* ---------- MAIN CONTAINER ---------- */
.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px 60px;
}

/* ---------- CONTACT PAGE LAYOUT ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: start;
}
.contact-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px 32px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    transition: var(--transition);
}
.contact-card:hover {
    box-shadow: var(--shadow-xl);
}
.contact-card h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.contact-card h2 .material-icons {
    color: var(--primary);
    font-size: 28px;
}
.contact-card .subtitle {
    color: var(--text-light);
    margin-bottom: 28px;
    font-size: 0.925rem;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 0.9rem;
    color: var(--text);
}
.form-group .input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}
.form-group .input-wrapper .material-icons {
    position: absolute;
    left: 14px;
    color: var(--text-light);
    font-size: 20px;
    pointer-events: none;
    transition: var(--transition);
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 14px 14px 44px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: inherit;
    background: var(--bg);
    transition: var(--transition);
    color: var(--text);
    resize: vertical;
}
.form-group textarea {
    min-height: 140px;
}
.form-group select {
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(79,70,229,0.08);
    background: var(--white);
}
.form-group .input-wrapper:focus-within .material-icons {
    color: var(--primary);
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    letter-spacing: -0.3px;
    white-space: nowrap;
}
.btn-primary {
    background: var(--primary);
    color: white;
    width: 100%;
    box-shadow: 0 4px 14px rgba(79,70,229,0.35);
}
.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79,70,229,0.45);
}
.btn-primary:active {
    transform: scale(0.97);
}
.btn-primary .material-icons {
    font-size: 20px;
}

/* Info Cards (used for privacy contact, still present in CSS) */
.info-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px 22px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
    margin-top: 16px;
}
.icon-box {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}
.icon-box.purple { background: #ede9fe; color: #7c3aed; }
.icon-box.amber  { background: #fef3c7; color: #d97706; }
.icon-box.green  { background: #d1fae5; color: #059669; }
.icon-box.rose   { background: #ffe4e6; color: #e11d48; }
.info-card h4 {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 4px;
}
.info-card p, .info-card a {
    font-size: 0.875rem;
    color: var(--text-light);
    text-decoration: none;
    line-height: 1.5;
}
.info-card a:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* ---------- PRIVACY POLICY STYLES ---------- */
.privacy-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 36px;
    align-items: start;
}
.toc-sidebar {
    position: sticky;
    top: 90px;
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px 20px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}
.privacy-content {
    background: var(--white);
    border-radius: var(--radius);
    padding: 36px 32px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}
.privacy-content section {
    margin-bottom: 32px;
    scroll-margin-top: 100px;
}
.privacy-content section:last-child {
    margin-bottom: 0;
}
.privacy-content h2 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.privacy-content h2 .material-icons {
    color: var(--primary);
    font-size: 26px;
}
.privacy-content h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin: 16px 0 8px;
}
.privacy-content p {
    color: var(--text-light);
    margin-bottom: 12px;
    font-size: 0.95rem;
    line-height: 1.75;
}
.privacy-content ul {
    margin: 8px 0 16px 20px;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.75;
}
.privacy-content ul li {
    margin-bottom: 6px;
}
.highlight-box {
    background: #fffbeb;
    border-left: 4px solid var(--accent);
    padding: 16px 20px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin: 16px 0;
    font-size: 0.9rem;
    color: #92400e;
}
.highlight-box strong {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}
.last-updated {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f1f5f9;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 24px;
    font-weight: 500;
}

/* ---------- FOOTER ---------- */
.footer {
    background: #1e293b;
    color: #cbd5e1;
    text-align: center;
    padding: 28px 24px;
    font-size: 0.875rem;
    margin-top: 40px;
}
.footer a {
    color: #a5b4fc;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}
.footer a:hover {
    color: white;
    text-decoration: underline;
}
.footer-icons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 12px;
}
.footer-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-full);
    background: rgba(255,255,255,0.08);
    transition: var(--transition);
    color: #cbd5e1;
}
.footer-icons a:hover {
    background: var(--primary);
    color: white;
}

/* ---------- MODAL ---------- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}
.modal-overlay.show {
    opacity: 1;
    pointer-events: auto;
}
.modal {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px 30px;
    text-align: center;
    max-width: 420px;
    width: 90%;
    box-shadow: var(--shadow-xl);
    transform: translateY(20px);
    transition: transform 0.35s ease;
}
.modal-overlay.show .modal {
    transform: translateY(0);
}
.modal-icon {
    font-size: 64px;
    color: var(--success);
    margin-bottom: 16px;
}
.modal h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.modal p {
    color: var(--text-light);
    margin-bottom: 20px;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .privacy-layout {
        grid-template-columns: 1fr;
    }
    .page-header h1 {
        font-size: 2rem;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 16px;
        border-bottom: 2px solid var(--border);
        box-shadow: var(--shadow-lg);
        gap: 4px;
    }
    .nav-links.open {
        display: flex;
    }
    .nav-links a {
        border-radius: var(--radius-sm);
        padding: 12px 16px;
    }
    .menu-toggle {
        display: block;
    }
    .page-header {
        padding: 40px 16px 36px;
    }
    .page-header h1 {
        font-size: 1.6rem;
    }
    .contact-card,
    .privacy-content {
        padding: 24px 18px;
    }
    .info-card {
        padding: 18px 16px;
        gap: 12px;
    }
    .breadcrumb {
        font-size: 0.78rem;
        padding: 12px 16px;
    }
    .main-container {
        padding: 24px 12px 40px;
    }
}