@import url("https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800;900&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,400&display=swap");

:root {
    --primary: #0d1f6e;
    --primary-light: #1a3494;
    --primary-lighter: #2355c9;
    --accent: #3475f0;
    --bg-muted: #eaecf0;
    --text-muted: #6b7280;
    --white: #ffffff;
    --border: #e5e7eb;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", sans-serif;
    color: #1f2937;
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

.font-display {
    font-family: "Sora", sans-serif;
}

/* ── NAVBAR ── */
.navbar {
    background: #fff;
    padding: 1rem 1.5rem;
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid #f3f4f6;
}
.navbar-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    text-decoration: none;
}
.navbar-brand img {
    height: 4rem;
    width: auto;
    object-fit: contain;
}
.navbar-brand-text h1 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
    font-family: "Sora", sans-serif;
    line-height: 1.2;
}
.navbar-brand-text p {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}
.nav-links a {
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
    font-weight: 600;
}
.nav-btn {
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    border: 2px solid var(--primary);
    color: var(--primary);
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(13, 31, 110, 0.12);
    background: transparent;
    display: inline-flex;
    align-items: center;
}
.nav-btn:hover {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
    transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.5rem;
    color: var(--primary);
    transition: background 0.2s;
}
.hamburger:hover {
    background: rgba(13, 31, 110, 0.08);
}
.hamburger svg {
    width: 1.5rem;
    height: 1.5rem;
}

/* Mobile drawer */
.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 40;
}
.mobile-overlay.open {
    display: block;
}
.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 18rem;
    background: #fff;
    z-index: 50;
    box-shadow: -4px 0 32px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    transition: transform 0.3s ease;
}
.mobile-drawer.open {
    transform: translateX(0);
}
.drawer-header {
    background: var(--primary);
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.drawer-header-text p:first-child {
    color: #fff;
    font-weight: 700;
    font-family: "Sora", sans-serif;
}
.drawer-header-text p:last-child {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    margin-top: 0.125rem;
}
.drawer-close {
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.8);
    padding: 0.25rem;
}
.drawer-close svg {
    width: 1.25rem;
    height: 1.25rem;
}
.drawer-nav {
    display: flex;
    flex-direction: column;
    padding: 1.5rem 1rem;
    gap: 0.25rem;
}
.drawer-nav a {
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    font-weight: 500;
    font-size: 0.9rem;
    color: #374151;
    text-decoration: none;
    transition: all 0.15s;
}
.drawer-nav a:hover,
.drawer-nav a.active {
    background: rgba(13, 31, 110, 0.08);
    color: var(--primary);
    font-weight: 600;
}
.drawer-cta {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f3f4f6;
}
.drawer-cta a {
    display: block;
    text-align: center;
    padding: 0.75rem 1.25rem;
    border-radius: 9999px;
    border: 2px solid var(--primary);
    color: var(--primary);
    font-weight: 700;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.2s;
}
.drawer-cta a:hover {
    background: var(--primary);
    color: #fff;
}

/* ── FOOTER ── */
footer {
    background: var(--primary);
    padding: 5rem 1.5rem 2.5rem;
    border-top: 8px solid var(--accent);
}
.footer-inner {
    max-width: 1280px;
    margin: 0 auto;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}
@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1.5fr;
    }
}

.footer-brand {
    display: flex;
    flex-direction: column;
}
.footer-logo-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    margin-bottom: 1.5rem;
}
.footer-logo-box {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.75rem;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}
.footer-logo-box img {
    height: 3rem;
    width: auto;
    object-fit: contain;
}
.footer-logo-name span:first-child {
    display: block;
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    font-family: "Sora", sans-serif;
}
.footer-logo-name span:last-child {
    display: block;
    color: #3b82f6;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    line-height: 1.7;
}
.footer-col h4 {
    font-family: "Sora", sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 1.5rem;
}
.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.footer-col ul a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.2s;
}
.footer-col ul a:hover {
    color: var(--accent);
}
.footer-col ul li {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    font-size: 0.875rem;
}
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    font-weight: 500;
}
.footer-contact-icon {
    color: #60a5fa;
    flex-shrink: 0;
    margin-top: 2px;
}
.footer-contact-icon svg {
    width: 1.1rem;
    height: 1.1rem;
}
.footer-product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 1rem;
}
.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
    text-align: center;
}
@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}
.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

/* ── UTILITIES ── */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}
@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}
@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

.dot-grid {
    position: absolute;
    inset: 0;
    opacity: 0.07;
    background-image: radial-gradient(circle, white 1.5px, transparent 1.5px);
    background-size: 36px 36px;
    pointer-events: none;
}
.dot-grid-dark {
    position: absolute;
    inset: 0;
    opacity: 0.06;
    background-image: radial-gradient(circle, black 1.5px, transparent 1.5px);
    background-size: 32px 32px;
    pointer-events: none;
}

/* Fade-in animation */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
.fade-up {
    animation: fadeUp 0.7s ease both;
}
.fade-up-1 {
    animation: fadeUp 0.7s 0.1s ease both;
}
.fade-up-2 {
    animation: fadeUp 0.7s 0.2s ease both;
}
.fade-up-3 {
    animation: fadeUp 0.7s 0.3s ease both;
}
.fade-up-4 {
    animation: fadeUp 0.7s 0.4s ease both;
}
.fade-in {
    animation: fadeIn 0.6s ease both;
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}
.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}
.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}
.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--primary);
    color: #fff;
    border-radius: 0.75rem;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    border: none;
    cursor: pointer;
}
.btn-primary:hover {
    background: #2563eb;
    transform: translateY(-2px);
}
.btn-outline-white {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 0.75rem;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    transition: all 0.2s;
}
.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}
.btn-white {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: #fff;
    color: var(--primary);
    border-radius: 0.75rem;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
}
.btn-white:hover {
    background: #eff6ff;
    transform: translateY(-2px);
}

/* Section labels */
.section-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #2563eb;
    margin-bottom: 1rem;
}

/* page header hero */
.page-hero {
    background: linear-gradient(
        135deg,
        var(--primary) 0%,
        var(--primary-light) 50%,
        var(--primary-lighter) 100%
    );
    padding: 8rem 1.5rem 5rem;
    position: relative;
    overflow: hidden;
    text-align: center;
}
.page-hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4rem;
    background: white;
}
.page-hero h1 {
    font-family: "Sora", sans-serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    color: #fff;
    margin-bottom: 1.25rem;
    line-height: 1.1;
}
.page-hero p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 40rem;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 500;
}
.page-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.9);
    border-radius: 9999px;
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(8px);
}
.pulse-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: #4ade80;
    animation: pulse 1.5s infinite;
}
@keyframes pulse {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.3);
    }
}

@media (max-width: 767px) {
    .nav-links,
    .nav-desktop {
        display: none !important;
    }
    .hamburger {
        display: flex;
    }
}
@media (min-width: 768px) {
    .hamburger {
        display: none !important;
    }
    .mobile-overlay,
    .mobile-drawer {
        display: none !important;
    }
}
