:root {
    --background: 36 40% 98%;
    --foreground: 222 30% 14%;
    --card: #ffffff;
    --muted: #f3f4f7;
    --muted-foreground: 220 12% 45%;
    --brand: 158 64% 42%;
    --brand-foreground: 0 0% 100%;
    --brand-soft: 158 60% 94%;
    --shadow-soft: 0 10px 30px -12px rgba(26, 34, 51, 0.1);
    --shadow-card: 0 1px 2px rgba(26, 34, 51, 0.04), 0 8px 24px -12px rgba(26, 34, 51, 0.08);
    --radius: 1rem;
    --border: 220 16% 90%;
}
*,
*::before,
*::after {
    box-sizing: border-box;
}
* {
    margin: 0;
    padding: 0;
    border: 0 solid hsl(var(--border));
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Inter', system-ui, sans-serif;
    background: hsl(var(--background));
    color: hsl(var(--foreground));
    -webkit-font-smoothing: antialiased;
    font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
    line-height: 1.5;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
a {
    color: inherit;
    text-decoration: none;
}
button {
    font: inherit;
    cursor: pointer;
    background: none;
}

h1,
h2,
h3,
h4 {
    font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.section {
    padding: 5rem 1.5rem;
}
@media (min-width: 768px) {
    .section {
        padding: 7rem 1.5rem;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    height: 3rem;
    padding: 0 1.75rem;
    border-radius: 9999px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}
.btn-primary {
    background: hsl(var(--foreground));
    color: hsl(var(--background));
    box-shadow: var(--shadow-soft);
}
.btn-primary:hover {
    background: hsl(var(--foreground) / 0.9);
    transform: translateY(-1px);
}
.btn-outline {
    background: hsl(var(--card));
    color: hsl(var(--foreground));
    border: 1px solid hsl(var(--border));
}
.btn-outline:hover {
    background: hsl(var(--foreground));
    color: hsl(var(--background));
    border-color: hsl(var(--foreground));
}

.arrow {
    width: 1rem;
    height: 1rem;
    transition: transform 0.25s;
}
.btn:hover .arrow {
    transform: translateX(3px);
}

/* ---------- Navbar ---------- */
.navbar {
      position: fixed;
    top: 0;
    z-index: 50;
    background: hsl(var(--background) / 0.7);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid hsl(var(--border) / 0.6);
    width: 100%;
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}
.logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}
.logo-mark {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.75rem;
    background: hsl(var(--brand));
    display: grid;
    place-items: center;
    box-shadow: var(--shadow-soft);
}
.logo-mark span {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 0.25rem;
    background: hsl(var(--brand-foreground));
}
.logo-text {
    font-weight: 800;
    font-size: 1.125rem;
    letter-spacing: -0.02em;
}

.nav-links {
    display: none;
    gap: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
}
.nav-links a {
    color: hsl(var(--muted-foreground));
    transition: color 0.2s;
}
.nav-links a:hover {
    color: hsl(var(--foreground));
}
@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
}

.btn-nav {
    background: hsl(var(--foreground));
    color: hsl(var(--background));
    border-radius: 9999px;
    padding: 0 1.25rem;
    height: 2.5rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    box-shadow: var(--shadow-soft);
}

/* Hero */
.hero {
    background: radial-gradient(1200px 600px at 80% -10%, rgba(39, 168, 122, 0.1), transparent 60%), radial-gradient(800px 400px at 0% 100%, rgba(243, 140, 69, 0.08), transparent 60%);
        padding: 80px 20px;
}
.hero-inner {
    padding: 5rem 0;
    text-align: center;
}
@media (min-width: 768px) {
    .hero-inner {
        padding: 7rem 0;
    }
}
.chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid hsl(var(--border));
    background: var(--card);
    border-radius: 9999px;
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: hsl(var(--muted-foreground));
    box-shadow: var(--shadow-soft);
}
.chip-dot {
    height: 6px;
    width: 6px;
    border-radius: 9999px;
    background: hsl(var(--brand));
}
.hero h1 {
    margin-top: 1.25rem;
    font-size: 2.5rem;
    font-weight: 800;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}
.hero h1 .sub {
    display: block;
    color: hsl(var(--muted-foreground));
    font-weight: 700;
}
@media (min-width: 768px) {
    .hero h1 {
        font-size: 3.25rem;
    }
}
@media (min-width: 1024px) {
    .hero h1 {
        font-size: 3.75rem;
    }
}
.hero p {
    margin-top: 1.5rem;
    font-size: 1.125rem;
    color: hsl(var(--muted-foreground));
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

/* Grid */
.industries-section {
    padding: 5rem 0;
}
@media (min-width: 768px) {
    .industries-section {
        padding: 7rem 0;
    }
}
.grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr;
}
@media (min-width: 640px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1024px) {
    .grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid hsl(var(--border));
    background: var(--card);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 1px 2px rgba(26, 34, 51, 0.04);
    transition:
        transform 0.3s,
        box-shadow 0.3s,
        border-color 0.3s;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
    border-color: rgba(39, 168, 122, 0.4);
}
.icon-wrap {
    display: flex;
    height: 48px;
    width: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    background: rgba(39, 168, 122, 0.1);
    color: hsl(var(--brand));
    transition:
        background 0.2s,
        color 0.2s;

}
.card:hover .icon-wrap {
    background: hsl(var(--brand));
    color: hsl(var(--background));
}
.icon-wrap svg {
    width: 24px;
    height: 24px;
}
.card h3 {
    margin-top: 1.25rem;
    font-size: 1.125rem;
    font-weight: 700;
}
.card p {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}
.card .more {
    margin-top: 1.25rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: hsl(var(--brand));
    opacity: 0;
    transition: opacity 0.2s;
}
.card:hover .more {
    opacity: 1;
}

/* ---------- Footer ---------- */
.footer {
  padding: 3rem 1.5rem;
  border-top: 1px solid hsl(var(--border));
  text-align: center;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}


/* ========== Mobile Nav Drawer ========== */
.nav-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0.375rem;
    border-radius: 0.5rem;
    border: 1px solid hsl(var(--border));
    background: hsl(var(--card));
    transition: background 0.2s;
}
.nav-hamburger:hover { background: hsl(var(--muted)); }
.nav-hamburger span {
    display: block;
    height: 2px;
    border-radius: 9999px;
    background: hsl(var(--foreground));
    transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), opacity 0.3s;
    transform-origin: center;
}

@media (min-width: 768px) { .nav-hamburger { display: none; } }

.nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 90;
    background: hsl(var(--foreground) / 0.25);
    backdrop-filter: blur(2px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    /* NO display:none */
}
.nav-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.nav-drawer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 100;
    width: min(300px, 85vw);
    height: 100vh;
    background: #fff;
    border-right: 1px solid hsl(var(--border));
    box-shadow: 8px 0 40px hsl(222 30% 14% / 0.12);
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}
.nav-drawer.open { transform: translateX(0); }

.nav-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.125rem 1.25rem;
    border-bottom: 1px solid hsl(var(--border));
    flex-shrink: 0;
}

.nav-close {
    width: 2rem;
    height: 2rem;
    display: grid;
    place-items: center;
    border-radius: 0.5rem;
    color: hsl(var(--muted-foreground));
    transition: background 0.2s, color 0.2s;
}
.nav-close:hover {
    background: hsl(var(--muted));
    color: hsl(var(--foreground));
}

.nav-drawer-links {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0.75rem 0;
    overflow-y: auto;
}

.drawer-link {
    display: flex;
    align-items: center;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: hsl(var(--foreground));
    border-left: 3px solid transparent;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    letter-spacing: -0.01em;
}
.drawer-link:hover {
    background: hsl(var(--brand-soft));
    border-left-color: hsl(var(--brand));
    color: hsl(var(--brand));
}

.nav-drawer-footer {
    padding: 1.25rem;
    border-top: 1px solid hsl(var(--border));
    flex-shrink: 0;
}

/* hide on mobile */
.desktop-only {
    display: none;
}
@media (min-width: 768px) {
    .desktop-only {
        display: block;
    }
}

/* hide on desktop */
.mobile-only {
    display: block;
}
@media (min-width: 768px) {
    .mobile-only {
        display: none;
    }
}