@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
    --primary: #b71c1c;
    --primary-light: #d32f2f;
    --primary-dark: #7f0000;
    --primary-rgb: 183, 28, 28;
    --secondary: #0f172a;
    --secondary-light: #1e293b;
    --bg-base: #f8fafc;
    --bg-white: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.92);
    --text-heading: #0f172a;
    --text-body: #334155;
    --text-muted: #64748b;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 25px -5px rgba(0,0,0,0.08);
    --shadow-lg: 0 20px 50px -12px rgba(0,0,0,0.12);
    --shadow-primary: 0 10px 25px -5px rgba(183,28,28,0.3);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    --transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
    --nav-height: 72px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-base);
    color: var(--text-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4,h5,h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--text-heading);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 4.5rem); letter-spacing: -1px; }
h2 { font-size: clamp(1.6rem, 4vw, 3rem); letter-spacing: -0.5px; }
h3 { font-size: clamp(1.2rem, 3vw, 1.75rem); }
p { margin-bottom: 1.5rem; font-size: 1.05rem; }
a { text-decoration: none; transition: var(--transition); color: inherit; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 5rem 0; position: relative; }

/* ── NAVBAR ─────────────────────────────── */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.navbar.scrolled {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    box-shadow: var(--shadow-md);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Logo */
.brand-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }

/* ── NOTISIA HEXAGON LOGO ─────────────────── */
.logo-hex-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.logo-hex {
    width: 44px;
    height: 44px;
    background: #d6d2ce;
    clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: var(--transition);
}
.logo-hex:hover { background: var(--primary); }
.logo-hex-n {
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 22px;
    color: var(--primary);
    line-height: 1;
    letter-spacing: -1px;
    transition: var(--transition);
}
.logo-hex:hover .logo-hex-n { color: #fff; }
.logo-text-wrap {
    display: flex;
    flex-direction: column;
    line-height: 1;
    gap: 2px;
}
.logo-wordmark {
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 19px;
    color: #8b1a1a;
    letter-spacing: 1.5px;
    line-height: 1;
}
.logo-tagline {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 8.5px;
    color: #a0474a;
    letter-spacing: 0.5px;
    white-space: nowrap;
    line-height: 1;
}


/* Desktop nav */
.nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav-links a {
    font-weight: 600; font-size: 0.9rem;
    color: var(--text-body); position: relative; padding: 4px 0;
}
.nav-links a::after {
    content: ''; position: absolute; bottom: -2px; left: 0;
    width: 0; height: 2px; background: var(--primary); transition: var(--transition);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }

/* Hamburger button */
.nav-toggle {
    display: none;
    flex-direction: column; justify-content: center; align-items: center;
    width: 42px; height: 42px;
    background: none; border: none; cursor: pointer;
    gap: 5px; padding: 8px;
}
.nav-toggle span {
    display: block; width: 24px; height: 2px;
    background: var(--text-heading); border-radius: 2px;
    transition: var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
@media (max-width: 900px) {
    .nav-toggle { display: flex; }

    .nav-links {
        display: none;
        position: fixed;
        top: var(--nav-height); left: 0; right: 0;
        background: #fff;
        flex-direction: column;
        gap: 0;
        padding: 1rem 0 1.5rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        border-top: 1px solid rgba(0,0,0,0.07);
        overflow: hidden;
    }
    .nav-links.open { display: flex; }
    .nav-links li { width: 100%; box-sizing: border-box; }
    .nav-links a {
        display: block; padding: 16px 1.5rem;
        font-size: 1rem; border-bottom: 1px solid #f1f5f9;
        white-space: normal;
    }
    .nav-links a::after { display: none; }

    /* Get Started button — fully contained inside the drawer */
    .nav-links li:last-child {
        padding: 1rem 1.5rem 0;
    }
    .nav-links li:last-child a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        margin: 0;
        padding: 14px 20px;
        text-align: center;
        border-bottom: none;
        background: var(--primary);
        color: #fff !important;
        border-radius: var(--radius-full);
        font-weight: 700;
        font-size: 1rem;
        box-sizing: border-box;
        white-space: nowrap;
        box-shadow: 0 6px 18px -4px rgba(183,28,28,0.35);
    }
    .nav-links li:last-child a:hover {
        background: var(--primary-dark);
    }
}

/* ── BUTTONS ─────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0.85rem 2rem; font-family: 'Outfit', sans-serif;
    font-weight: 700; border-radius: var(--radius-full);
    cursor: pointer; transition: var(--transition); border: none; gap: 8px;
    font-size: 1rem; white-space: nowrap;
}
.btn-primary { background: linear-gradient(135deg,var(--primary),#e53935); color: #fff; box-shadow: var(--shadow-primary); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 30px -5px rgba(183,28,28,0.4); }
.btn-outline { background: transparent; border: 2px solid var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }

/* ── HERO ─────────────────────────────────── */
.hero {
    min-height: 100vh;
    display: flex; align-items: center;
    padding-top: var(--nav-height);
    overflow: hidden; position: relative;
}
.hero-bg-glow {
    position: absolute; top: -10%; right: -10%;
    width: 60%; height: 80%;
    background: radial-gradient(circle, rgba(var(--primary-rgb),0.07) 0%, transparent 70%);
    z-index: -1; filter: blur(80px);
}
.hero-content { max-width: 700px; }
.hero-title span { background: linear-gradient(90deg,var(--primary),#ff5252); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 0.5rem 1.2rem;
    background: rgba(183,28,28,0.07); border: 1px solid rgba(183,28,28,0.2);
    border-radius: 50px; color: var(--primary);
    font-weight: 700; font-size: 0.8rem; letter-spacing: 1px;
    text-transform: uppercase; margin-bottom: 1.5rem;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats {
    display: flex; align-items: center; justify-content: space-between;
    gap: 0.5rem; margin-top: 3rem; padding-top: 2rem;
    border-top: 1px solid rgba(0,0,0,0.08); flex-wrap: nowrap; width: 100%;
}
.hero-stats > div:not(.hero-divider) {
    display: flex; flex-direction: column; align-items: center; text-align: center;
}
.hero-stat-num { font-size: clamp(1rem, 3.5vw, 1.5rem); font-weight: 800; color: var(--text-heading); line-height: 1; white-space: nowrap; }
.hero-stat-lbl { font-size: clamp(0.55rem, 2vw, 0.8rem); color: var(--text-muted); font-weight: 600; margin-top: 6px; line-height: 1.2; white-space: nowrap; }
.hero-divider { width: 1px; height: 35px; background: rgba(0,0,0,0.1); flex-shrink: 0; }

.hero-image-wrap { position: relative; display: flex; justify-content: center; align-items: center; width: 100%; height: 100%; }
.hero-image-wrap img {
    width: 100%; max-width: 500px; border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    transform: perspective(1000px) rotateY(-5deg);
}
.hero-image-glow {
    position: absolute; width: 110%; height: 110%;
    background: radial-gradient(circle,rgba(183,28,28,0.1) 0%,transparent 70%);
    top: -5%; left: -5%; z-index: -1;
}

/* ── GRID ─────────────────────────────────── */
.grid { display: grid; gap: 2rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) {
    .grid-3 { grid-template-columns: repeat(2,1fr); }
    .grid-4 { grid-template-columns: repeat(2,1fr); }
}
@media (min-width: 900px) {
    .grid-2 { grid-template-columns: repeat(2,1fr); }
    .grid-3 { grid-template-columns: repeat(3,1fr); }
    .grid-4 { grid-template-columns: repeat(4,1fr); }
}

/* ── CARDS ─────────────────────────────────── */
.glass-card {
    background: var(--bg-white); padding: 2.5rem;
    border-radius: var(--radius-lg); border: 1px solid rgba(0,0,0,0.05);
    box-shadow: var(--shadow-md); transition: var(--transition); height: 100%;
}
.glass-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: rgba(var(--primary-rgb),0.1); }
.icon-box {
    width: 56px; height: 56px;
    background: rgba(var(--primary-rgb),0.06); color: var(--primary);
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; margin-bottom: 1.5rem; transition: var(--transition);
}
.glass-card:hover .icon-box { background: var(--primary); color: #fff; transform: rotate(8deg) scale(1.1); }

/* ── FOOTER ─────────────────────────────────── */
.footer { background: var(--secondary); color: #fff; padding: 5rem 0 2rem; }
.footer h4 { color: #fff; margin-bottom: 1.5rem; font-size: 1rem; font-family: 'Outfit', sans-serif; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a { color: #94a3b8; transition: var(--transition); font-size: 0.9rem; }
.footer-links a:hover { color: #fff; padding-left: 5px; }
.footer-bottom {
    margin-top: 4rem; padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.07);
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 15px;
}
.footer-bottom p { color: #64748b; font-size: 0.82rem; margin-bottom: 0; }
.footer-bottom a { color: #64748b; font-size: 0.82rem; }
.footer-bottom a:hover { color: #fff; }
.footer-social { display: flex; gap: 0.75rem; margin-top: 1.5rem; }
.footer-social a {
    width: 34px; height: 34px; border-radius: 50%;
    background: rgba(255,255,255,0.07);
    display: flex; align-items: center; justify-content: center; color: #94a3b8;
    transition: var(--transition);
}
.footer-social a:hover { background: var(--primary); color: #fff; }

/* ── ANIMATIONS ─────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: all 0.8s cubic-bezier(0.16,1,0.3,1); }
.reveal.active { opacity: 1; transform: translateY(0); }
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }

/* ── UTILITIES ─────────────────────────────── */
.text-primary { color: var(--primary); }
.text-center { text-align: center; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-4 { margin-top: 2rem; }

/* ── RESPONSIVE HERO ─────────────────────────── */
@media (max-width: 900px) {
    .hero { min-height: auto; padding: calc(var(--nav-height) + 3rem) 0 4rem; }
    .hero-image-wrap { margin-top: 3rem; display: flex; justify-content: center; width: 100%; }
    .hero-image-wrap img { transform: none; max-width: 95%; margin: 0 auto; }
}
@media (max-width: 640px) {
    .hero { padding: calc(var(--nav-height) + 2rem) 0 3rem; }
    .hero-image-wrap img { max-width: 100%; }
    .hero-title { font-size: 2.2rem; }
    .btn { width: 100%; justify-content: center; padding: 1rem; }
    .hero-actions { flex-direction: column; }
    .hero-stats { gap: 0.25rem; justify-content: space-between; padding-top: 1.5rem; margin-top: 2rem; }
    .section { padding: 3.5rem 0; }
    .glass-card { padding: 1.75rem; }
    .footer { padding: 3.5rem 0 2rem; }
    .footer-bottom { flex-direction: column; text-align: center; }
}
