/* =========================================================
GOOGLE FONTS
========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

/* =========================================================
ROOT VARIABLES
========================================================= */
:root {
    --background: hsl(230, 25%, 7%);
    --foreground: hsl(210, 40%, 95%);

    --card: hsl(230, 20%, 11%);
    --primary: hsl(187, 100%, 50%);
    --secondary: hsl(230, 20%, 15%);
    --muted: hsl(230, 15%, 18%);
    --muted-foreground: hsl(215, 15%, 55%);
    --accent: hsl(260, 80%, 60%);

    --radius: 12px;

    --gradient-primary: linear-gradient(135deg, hsl(187, 100%, 50%), hsl(260, 80%, 60%));
    --gradient-hero: linear-gradient(135deg, hsl(230, 25%, 7%) 0%, hsl(230, 30%, 12%) 50%, hsl(260, 25%, 12%) 100%);
    --gradient-card: linear-gradient(145deg, hsl(230, 20%, 13%), hsl(230, 20%, 9%));

    --shadow-glow: 0 0 30px hsl(187 100% 50% / 0.15);
    --shadow-card: 0 8px 32px hsl(230 25% 3% / 0.4);

}

/* =========================================================
BASE RESET
========================================================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    overflow-x: hidden;
}

body {
    background: var(--background);
    color: var(--foreground);
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Space Grotesk', sans-serif;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* =========================================================
TYPOGRAPHY SCALE
========================================================= */
h1 {
    font-size: clamp(32px, 6vw, 64px);
    line-height: 1.1;
}

h2 {
    font-size: clamp(28px, 5vw, 48px);
}

h3 {
    font-size: clamp(20px, 3vw, 26px);
}

p {
    font-size: clamp(15px, 2.2vw, 18px);
    color: var(--muted-foreground);
}

/* =========================================================
LAYOUT
========================================================= */
.container {
    width: 100%;
    max-width: 1200px !important;
    margin: auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 20px;
}

@media(max-width:768px) {
    .section-padding {
        padding: 40px 16px;
    }
}

/* =========================================================
UTILITIES
========================================================= */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-gradient-hero {
    background: var(--gradient-hero);
}

.bg-gradient-card {
    background: var(--gradient-card);
    border-radius: var(--radius);
    border: 1px solid rgba(0, 255, 255, .15);
}

.shadow-glow {
    box-shadow: var(--shadow-glow);
}

.shadow-card {
    box-shadow: var(--shadow-card);
}

.glass {
    background: rgba(15, 23, 42, .6);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 255, 255, .2);
    border-radius: var(--radius);
}

/* =========================================================
BUTTONS
========================================================= */
.btn-primary {
    background: var(--gradient-primary);
    color: #020617;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: .25s;
    display: inline-block;
}

.btn-primary:hover {
    opacity: .85;
    box-shadow: 0 0 20px rgba(34, 211, 238, .4);
}

@media(max-width:640px) {
    .btn-primary {
        width: 100%;
        text-align: center;
        padding: 16px;
    }
}

/* =========================================================
NAVBAR
========================================================= */
.nav-link,
.mobile-link {
    color: #94a3b8;
    font-size: 14px;
    transition: .2s;
}

.nav-link:hover,
.mobile-link:hover #mobileMenu {
    /* transform-origin: top;
    transform: scaleY(0);
    opacity: 0;
    transition: transform .28s ease, opacity .28s ease; */
    color: var(--primary);
}

.menu-visible {
    transform: scaleY(1) !important;
    opacity: 1 !important;
}

/* hamburger animation */
.menu-open .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-open .bar:nth-child(2) {
    opacity: 0;
}

.menu-open .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* =========================================================
HERO
========================================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    padding-top: 120px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

@media(max-width:640px) {
    .hero {
        padding-top: 140px;
    }

    .hero-buttons {
        flex-direction: column;
    }
}

/* =========================================================
SERVICES GRID
========================================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

@media(max-width:768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
HIRE SECTION
========================================================= */
.hire-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

@media(max-width:900px) {
    .hire-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* =========================================================
INDUSTRY TAGS
========================================================= */
.industry-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.tag {
    padding: 14px 20px;
    border-radius: 12px;
    background: var(--gradient-card);
    border: 1px solid rgba(0, 255, 255, .15);
    transition: .25s;
}

.tag:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow);
}

@media(max-width:640px) {
    .tag {
        width: 100%;
        text-align: center;
    }
}

/* =========================================================
FAQ
========================================================= */
.faq-item {
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
}

/* =========================================================
FOOTER
========================================================= */
footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

@media(max-width:768px) {
    footer .container {
        flex-direction: column;
        text-align: center;
    }
}



/* AI Factors Grid */
.ai-factors-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    justify-items: center;
}

/* laptop */
@media(max-width:1100px) {
    .ai-factors-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}


/* mobile */
@media(max-width:640px) {
    .ai-factors-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* last box center */
    .ai-factors-grid>div:last-child {
        grid-column: 1 / -1;
        /* span both columns */
        justify-self: center;
        /* center horizontally */
        max-width: 220px;
        /* optional nicer width */
    }
}


/* card responsive width */
.ai-factors-grid>div {
    width: 100%;
    max-width: 180px;
}