﻿:root {
    --navy: #1a2060;
    --navy-dark: #111540;
    --navy-mid: #1e2570;
    --orange: #e8631a;
    --orange-hover: #cf5515;
    --orange-light: #f07535;
    --orange-pale: rgba(232,99,26,0.1);
    --white: #ffffff;
    --offwhite: #f7f8fc;
    --text: #3a3f5c;
    --muted: #7880a0;
    --border: rgba(26,32,96,0.1);
    --border-light: rgba(26,32,96,0.07);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: var(--offwhite);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-text-size-adjust: 100%;
}

img {
    max-width: 100%;
    height: auto;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: var(--navy-dark);
  padding: 0 60px; height: 68px;
  display: flex; align-items: center; justify-content: space-between;
  box-shadow: 0 2px 20px rgba(0,0,0,0.35);
}
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo img { height: 38px; width: auto; }
.logo-img { height: 34px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.83rem; font-weight: 500; letter-spacing: 0.02em; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--orange-light); }
.btn-nav { background: var(--orange); color: white !important; padding: 9px 22px; border-radius: 4px; font-weight: 700 !important; transition: background 0.2s !important; }
.btn-nav:hover { background: var(--orange-light) !important; }
.btn-ghost-nav {
  border: 1.5px solid rgba(255,255,255,0.3); color: rgba(255,255,255,0.85) !important;
  padding: 8px 20px; border-radius: 4px; font-weight: 600 !important;
  transition: all 0.2s !important;
}
.btn-ghost-nav:hover { border-color: var(--orange); color: var(--orange-light) !important; }

/* Hamburger */
.hamburger { display: none; background: none; border: none; cursor: pointer; padding: 8px; flex-direction: column; gap: 5px; z-index: 110; }
.hamburger span { display: block; width: 24px; height: 2.5px; background: rgba(255,255,255,0.8); border-radius: 2px; transition: all 0.3s; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── FOOTER ── */
footer {
  background: var(--navy-dark); padding: 52px 0 28px;
  border-top: 3px solid var(--orange);
}
.footer-grid {
  max-width: 1160px; margin: 0 auto; padding: 0 60px;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 52px; margin-bottom: 40px;
}
.footer-logo-img { height: 36px; margin-bottom: 14px; display: block; }
.footer-tagline { font-size: 0.8rem; color: rgba(255,255,255,0.38); line-height: 1.7; max-width: 230px; margin-bottom: 14px; }
.footer-member { font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.25); font-weight: 700; margin-bottom: 4px; }
.footer-col-title { font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; color: var(--orange); margin-bottom: 12px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 0.8rem; color: rgba(255,255,255,0.42); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--orange-light); }
.footer-bottom {
  max-width: 1160px; margin: 0 auto; padding: 18px 60px 0;
  border-top: 1px solid rgba(255,255,255,0.07);
  display: flex; justify-content: space-between;
  font-size: 0.74rem; color: rgba(255,255,255,0.25);
}


/* ── RESPONSIVE ── */
@media (max-width: 860px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 68px;
        left: 0;
        right: 0;
        background: var(--navy-dark);
        flex-direction: column;
        padding: 16px 24px 24px;
        gap: 4px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.4);
        z-index: 100;
        border-top: 1px solid rgba(255,255,255,0.08);
    }

        .nav-links.open {
            display: flex;
        }

        .nav-links li {
            list-style: none;
        }

        .nav-links a {
            display: block;
            padding: 12px 0;
            font-size: 0.95rem;
            border-bottom: 1px solid rgba(255,255,255,0.06);
        }

        .nav-links .btn-nav, .nav-links .btn-ghost-nav {
            text-align: center;
            margin-top: 8px;
            border-bottom: none;
        }
}

@media (max-width: 1060px) {
    nav {
        padding: 0 24px;
    }

    .breadcrumb {
        padding: 84px 24px 0;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
        padding: 0 24px;
    }

    .footer-bottom {
        padding: 16px 24px 0;
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }
}

@media (max-width: 640px) {
    .breadcrumb {
        padding: 78px 18px 0;
        font-size: 0.65rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 0 18px;
        /*text-align: center;*/
    }

    .footer-tagline {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .footer-logo-img {
        margin: 0 auto 14px;
    }

   /* .footer-links {
        align-items: center;
    }*/

    .footer-bottom {
        padding: 14px 18px 0;
        font-size: 0.65rem;
    }
    
}

@media (max-width: 480px) {
    nav {
        padding: 0 14px;
        height: 64px;
    }

    .nav-logo img {
        height: 30px;
    }

    .hamburger span {
        width: 20px;
    }

    .nav-links {
        top: 58px;
        padding: 12px 14px 20px;
    }

    .breadcrumb {
        padding: 68px 14px 0;
        font-size: 0.6rem;
    }    

    .footer-grid {
        padding: 0 14px;
        gap: 20px;
    }

    .footer-tagline {
        font-size: 0.72rem;
    }

    .footer-bottom {
        padding: 12px 14px 0;
        font-size: 0.6rem;
    }
}

/* Mobile hamburger menu styles */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    gap: 5px;
    z-index: 1001;
    position: relative;
}

    .hamburger span {
        width: 24px;
        height: 2.5px;
        background-color: #ffffff;
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

@media (max-width: 912px) {
    .hamburger {
        display: flex;
    }

    nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
    }

    /* ── Hamburger → X animation ── */
    .hamburger.open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.open span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.open span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    /* ── Full-screen slide-in panel ── */
    .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #111540;
        width: 100%;
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 24px 24px 0;
        border-bottom: none;
        max-height: none;
        text-align: left;
        gap: 0;
        margin: 0;
    }

        .nav-links.active {
            transform: translateX(0);
        }

        /* ── Regular nav links ── */
        .nav-links li {
            width: 100%;
        }

            .nav-links li:last-child {
                border-bottom: none;
            }

        .nav-links a:not(.btn-nav-demo):not(.btn-nav-login):not(.btn-nav) {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 18px 8px;
            color: rgba(255, 255, 255, 0.75);
            font-size: 1rem;
            font-weight: 600;
            letter-spacing: 0.01em;
            transition: color 0.2s;
            margin: 0;
            border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        }

            .nav-links a:not(.btn-nav-demo):not(.btn-nav-login):not(.btn-nav)::after {
                content: '';
                display: block;
                width: 7px;
                height: 7px;
                border-right: 2px solid rgba(255, 255, 255, 0.25);
                border-top: 2px solid rgba(255, 255, 255, 0.25);
                transform: rotate(45deg);
                flex-shrink: 0;
            }

            .nav-links a:not(.btn-nav-demo):not(.btn-nav-login):not(.btn-nav):hover {
                color: #f07535;
            }

        /* ── CTA group — pushed to bottom ── */
        .nav-links li:has(.btn-nav-demo) {
            margin-top: auto;
            border-top: 1px solid rgba(255, 255, 255, 0.06);
            border-bottom: none;
            /*padding-top: 16px;*/
        }

        .nav-links li:has(.btn-nav-login),
        .nav-links li:has(.btn-nav) {
            border-bottom: none;
        }

        .nav-links li:last-child {
            padding-bottom: 32px;
        }

    /* ── Ghost buttons (Book a Demo, Login) ── */
    .btn-nav-demo,
    .btn-nav-login {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 14px 24px;
        margin: 0 0 12px;
        width: 100%;
        min-height: 48px;
        border: 1.5px solid rgba(255, 255, 255, 0.25) !important;
        border-radius: 6px;
        color: rgba(255, 255, 255, 0.85) !important;
        font-size: 1rem !important;
        font-weight: 600 !important;
        text-align: center;
        transition: all 0.2s;
        background: none;
    }

        .btn-nav-demo:hover,
        .btn-nav-login:hover {
            background: transparent !important;
            border-color: var(--orange);
            color: var(--orange) !important;
        }

    /* ── Primary button (Start Free Trial) ── */
    .btn-nav {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 14px 24px;
        margin: 0;
        width: 100%;
        min-height: 48px;
        background: #e8631a;
        border: 1.5px solid #e8631a;
        border-radius: 6px;
        color: white;
        font-size: 1rem;
        font-weight: 700;
        letter-spacing: 0.02em;
        text-align: center;
        transition: all 0.2s;
    }

        .btn-nav:hover {
            background: #f07535;
            border-color: #f07535;
        }

        /* Suppress chevron on CTA links */
        .btn-nav-demo::after,
        .btn-nav-login::after,
        .btn-nav::after {
            display: none !important;
        }

    /* Hero section Mobile */
    .hero-stats {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .hero {
        padding: 40px 24px 60px
    }

        .hero h1 {
            font-size: 38px;
        }

        .hero .btn-group a.btn-primary, .hero .btn-group a.btn-ghost {
            width: 100%;
        }
}

@media (min-width: 913px) {
    .nav-links {
        position: static;
        transform: none;
    }
}
/**Login Button**/

.btn-nav-login {
    border: 1px solid #fff;
    color: #fff;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .btn-nav-login:hover {
        background: #fff;
        color: #111540;
    }
/* ── RESPONSIVE ── */
@media (max-width: 1020px) {

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
        padding: 0 24px;
    }

    .footer-bottom {
        padding: 18px 24px 0;
        flex-direction: column;
        gap: 6px;
    }
}
