/* ============================================================
   ROOT VARIABLES
   ============================================================ */
:root {
    --primary: #0f172a;
    --accent: #2563eb;
    --bg-light: #f8fafc;
    --text-muted: #64748b;
}

/* ============================================================
   RESET
   ============================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family:
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;
    background: var(--bg-light);
    color: var(--primary);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
header {
    background: white;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    position: relative;
}

.logo {
    position:relative;
    top:20px;
}

/* Desktop nav */
.nav-links {
    display: flex;
}

.nav-links a {
    margin-left: 25px;
    font-weight: 500;
    color: var(--primary);
}

.nav-links a:hover {
    color: var(--accent);
}

/* ============================================================
   HAMBURGER
   ============================================================ */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.hamburger span {
    width: 26px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ============================================================
   MOBILE NAV
   ============================================================ */

@media (max-width: 768px) {

    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 6px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 6px;
        z-index: 1100;
    }

    .nav-links {
        display: none;               /* hidden by default */
        position: absolute;
        top: 102px;                   /* below header and logo*/
        left: -20px;
        width: 100vw;
        height: 370px;               /* hard-coded hero height */
        background: var(--primary);
        flex-direction: column;
        padding: 20px;
        overflow-y: auto;
        z-index: 999;
        opacity: 0;                  /* start hidden for animation */
        transform: translateY(-20px);
        transition: opacity 0.25s ease, transform 0.25s ease;
    }

    .nav-links.open {
        display: flex;
        opacity: 1;
        transform: translateY(0);     /* slide down */
    }

    .nav-links a {
        margin: 0;
        padding: 16px 0;
        color: white;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(203,213,245,0.25);
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    .nav-links a:hover {
        color: #cbd5f5;
    }

    .logo {
        position:relative;
        top: 6px;
        left:-27px;
    }

    .logo img {
    width: 210px;   /* pick your size */
    height: auto;
    display: block;
  }
}


/* ============================================================
   HERO
   ============================================================ */
.hero {
    padding: 50px 0;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: white;
}

.hero h1 {
    font-size: clamp(2.2rem, 4vw, 3rem);
    margin-bottom: 20px;
}

.hero p {
    max-width: 650px;
    font-size: 1.1rem;
    color: #cbd5f5;
    margin-bottom: 35px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 6px;
    font-weight: 600;
    background: var(--accent);
    color: white;
}

.btn.secondary {
    background: transparent;
    border: 1px solid #93c5fd;
    margin-left: 15px;
}

/* ============================================================
   SECTIONS
   ============================================================ */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.section-title p {
    color: var(--text-muted);
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.card h3 {
    margin-bottom: 10px;
}

.card p {
    color: var(--text-muted);
}

/* ============================================================
   CONTENT SECTIONS
   ============================================================ */
.content {
    padding: 80px 0;
}

.content.alt {
    background: #f8fafc;
    padding: 40px 0;
}

.two-column {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 50px;
    align-items: start;
}

.media img {
    max-width: 100%;
    border-radius: 10px;
    display: block;
}

.caption {
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 8px;
}

.text p {
    margin-bottom: 16px;
    color: #334155;
}

.video-wrap {
    max-width: 900px;
    margin: 35px auto 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(0,0,0,0.15);
    background: #000;
    aspect-ratio: 16 / 9;
}

.video-wrap iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: none;
}

/* ============================================================
   PLAY AND APPSTORE
   ============================================================ */

.download {
    margin-top: 45px;
    text-align: center;
}

.download h2 {
    font-size: 1.6rem;
    margin-bottom: 18px;
    color: var(--primary);
}

.store-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    flex-wrap: nowrap;
}

.store-buttons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.store-buttons a:hover {
    transform: translateY(-2px);
    opacity: 0.92;
}

.store-buttons img {
    max-width: 140px;
    height: auto;
    display: block;
}

/* ============================================================
   EMAIL
   ============================================================ */

.contact-email,
.contact-phone a {
    color: #2563eb; /* blue */
    font-weight: 600;
}


.contact-email:hover,
.contact-phone a:hover {
    text-decoration: underline;
}

.contact-phone {
    margin-top: 8px;
    font-weight: 500;
}

.phone-muted {
    color: #64748b;
    font-size: 0.95rem;
}



/* ============================================================
   FOOTER
   ============================================================ */
footer {
    background: #020617;
    color: #94a3b8;
    padding: 40px 0;
}

footer a {
    color: #e5e7eb;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.footer-grid h4 {
    color: white;
    margin-bottom: 10px;
}

.legal {
    padding: 40px 0;
    text-align: center;
}

.small {
    font-size: 0.75rem;
    color: #64748b;
}
