/* =========================================================
   ONEBASE DIGITAL - SOFTWARE STUDIO (LIGHT THEME)
   ========================================================= */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg: #ffffff;
    --bg-soft: #f7f7f7;
    --bg-card: #ffffff;
    --text: #333333;
    --text-dark: #292929;
    --text-mute: #666666;
    --text-dim: #999999;
    --border: #e6e6e6;
    --border-light: #efefef;
    --accent: #00a4b2;
    --accent-dark: #007a85;
    --accent-light: #e0f7f9;
    --max-w: 1200px;
    --pad: 2rem;
    --radius: 8px;
    --radius-lg: 16px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    font-size: 18px;
    line-height: 1.55;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-dark); }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }

h1, h2, h3, h4, h5, h6 {
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
}
h1 {
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -1.2px;
    color: var(--text-black);
}
h2 {
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -0.96px;
    color: var(--text-dark);
}
h3 {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 500;
    line-height: 1.22;
    letter-spacing: -0.72px;
    color: var(--text-dark);
}
h4 { font-size: 24px; font-weight: 500; line-height: 1.33; }
h5 { font-size: 20px; font-weight: 500; }
p { font-size: 18px; line-height: 28px; color: var(--text); margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--pad);
    width: 100%;
}

/* ============== BUTTONS ============== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    transition: all .25s ease;
    cursor: pointer;
    border: 1px solid transparent;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
    background: var(--accent);
    color: #fff;
}
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-outline {
    background: transparent;
    color: var(--text-dark);
    border-color: var(--text-dark);
}
.btn-outline:hover { background: var(--text-dark); color: #fff; }
.btn-whatsapp {
    background: #25d366;
    color: #fff;
}
.btn-whatsapp:hover { background: #1ebe5d; color: #fff; }
.btn-lg { padding: 18px 30px; font-size: 15px; }

/* ============== NAVBAR ============== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,.95);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid rgba(255,255,255,.05);
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 16px var(--pad);
}
.logo img { height: 32px; width: auto; }
.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

/* ============== NAV LINKS ============== */
.nav-links > a,
.nav-links > li,
.dropdown-toggle {
    font-size: 16px;
    color: var(--text);
    font-weight: 400;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 0;
    position: relative;
    transition: color .2s ease;
    text-decoration: none;
}
.nav-links > a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width .3s cubic-bezier(.2,.6,.2,1);
}
.nav-links > a:hover::after,
.nav-links > a.active::after { width: 100%; }
.nav-links > a:hover,
.nav-links .active { color: var(--accent); }
.caret { font-size: 10px; transition: transform .2s; }
.dropdown { position: relative; }
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 10px 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all .2s ease;
    box-shadow: 0 8px 30px rgba(0,0,0,.08);
    list-style: none;
}
.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown:hover .caret { transform: rotate(180deg); }
.dropdown-menu a {
    display: block;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 15px;
    color: var(--text);
}
.dropdown-menu a:hover { background: var(--bg-soft); color: var(--accent); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.mobile-toggle { display: none; padding: 8px; }
.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    margin: 5px 0;
    transition: all .3s;
}
.mobile-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============== HERO ============== */
.hero {
    padding: 80px 0 100px;
    position: relative;
    background: var(--bg);
}
.hero-inner { position: relative; z-index: 2; }
.hero-badges {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}
.hero-badges img { height: 50px; }
.hero-title {
    margin: 0 auto 24px;
    max-width: 900px;
    color: var(--text-black);
    text-align: center;
}
.hero-sub {
    font-size: 18px;
    line-height: 28px;
    color: var(--text);
    max-width: 720px;
    margin: 0 auto 36px;
    text-align: center;
}
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-mobile-badges { display: none; gap: 14px; justify-content: center; margin-top: 32px; }
.hero-mobile-badges img { height: 44px; }

/* ============== MARQUEE ============== */
.marquee {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
    display: flex;
    gap: 60px;
    align-items: center;
    width: max-content;
    animation: marquee 35s linear infinite;
}
.marquee-track img { height: 40px; width: auto; opacity: .9; flex-shrink: 0; }
.marquee.reverse .marquee-track { animation: marquee-rev 50s linear infinite; }
.marquee-track img { height: 40px; width: auto; opacity: .9; }
.marquee.reverse .marquee-track img { height: 130px; border-radius: 12px; object-fit: cover; opacity: 1; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes marquee-rev { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.trusted { padding: 40px 0 60px; }
.trusted-label {
    text-align: center;
    color: var(--text-mute);
    font-size: 14px;
    letter-spacing: .04em;
    margin-bottom: 28px;
}
.gallery { padding: 20px 0 80px; }

/* ============== GAMBLE ============== */
.gamble { padding: 80px 0; }
.gamble-inner {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
}
.gamble-left h2 { margin-bottom: 20px; }
.gamble-left h2 em { font-style: italic; }
.gamble-left p { color: var(--text); margin-bottom: 28px; }
.gamble-right {
    background: var(--bg-soft);
    border-radius: var(--radius-lg);
    padding: 32px;
    position: relative;
}
.gamble-quote {
    font-size: 20px;
    line-height: 1.5;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 24px;
}
.team-row { display: flex; margin-bottom: 18px; }
.team-avatar {
    width: 56px; height: 56px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--bg-soft);
    margin-left: -14px;
    background: #ddd;
}
.team-avatar:first-child { margin-left: 0; }
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.dev-count { color: var(--text-mute); font-size: 15px; }

/* ============== STATS ============== */
.stats {
    padding: 60px 0 80px;
    background: var(--bg-soft);
}
.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}
.stat-item h3 {
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 8px;
    letter-spacing: -.02em;
}
.stat-item p { color: var(--text); font-size: 16px; line-height: 1.5; }

/* ============== FEATURES ============== */
.features-head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.features-head h2 { margin-bottom: 16px; }
.features-head p { color: var(--text); margin-bottom: 28px; }
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.feature-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all .3s cubic-bezier(.2,.6,.2,1);
    overflow: hidden;
}
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,.10);
    border-color: var(--accent);
}
.feature-icon {
    width: 100%;
    aspect-ratio: 1.4 / 1;
    background: var(--bg-soft);
    border-radius: 12px;
    margin-bottom: 22px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .5s cubic-bezier(.2,.6,.2,1);
}
.feature-card:hover .feature-icon { transform: scale(1.03); }
.feature-icon img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.feature-card:hover .feature-icon img { transform: scale(1.08); }
.feature-card h3 { font-size: 20px; font-weight: 600; margin-bottom: 10px; color: var(--text-dark); }
.feature-card p { color: var(--text); font-size: 15px; line-height: 1.6; margin: 0; }

/* ============== CASE STUDIES ============== */
.case-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 4px 4px 24px;
}
.case-track::-webkit-scrollbar { display: none; }
.case-card {
    flex: 0 0 460px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    transition: all .3s;
}
.case-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.08); }
.case-image {
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--bg-soft);
}
.case-image img { width: 100%; height: 100%; object-fit: cover; }
.case-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.case-brand { height: 28px; margin-bottom: 16px; }
.case-brand img { height: 100%; width: auto; max-width: 200px; object-fit: contain; }
.case-card h3 { font-size: 17px; font-weight: 600; line-height: 1.4; margin-bottom: 12px; color: var(--text-dark); }
.case-card p { color: var(--text); font-size: 14px; line-height: 1.55; margin-bottom: 20px; }
.case-stats {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    border-top: 1px solid var(--border);
    padding-top: 18px;
    margin-top: auto;
}
.case-stats li { display: flex; flex-direction: column; }
.case-stats strong { color: var(--accent); font-size: 18px; font-weight: 700; }
.case-stats span { color: var(--text-mute); font-size: 11.5px; line-height: 1.35; margin-top: 4px; }
.case-controls { display: flex; justify-content: center; gap: 12px; margin-top: 30px; }
.case-btn {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--border);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s;
}
.case-btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); transform: scale(1.05); }

/* ============== MODALITIES ============== */
.mod-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}
.mod-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: left;
    transition: all .3s;
}
.mod-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.08); }
.mod-image {
    aspect-ratio: 2/1;
    background: var(--bg-soft);
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
}
.mod-image img { width: 100%; height: 100%; object-fit: cover; }
.mod-card h3 { font-size: 22px; font-weight: 600; margin-bottom: 10px; }
.mod-card p { color: var(--text); font-size: 15px; line-height: 1.55; margin: 0; }

/* ============== WHY ============== */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.why-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all .3s;
}
.why-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.08); }
.why-card img { width: 56px; height: 56px; margin-bottom: 20px; }
.why-card h3 { font-size: 20px; font-weight: 600; margin-bottom: 10px; color: var(--text-dark); }
.why-card p { color: var(--text); font-size: 15px; line-height: 1.55; margin: 0; }

/* ============== REVIEWS ============== */
.reviews { padding: 80px 0; }
.reviews-head { text-align: center; margin-bottom: 50px; }
.clutch-logo { height: 26px; margin: 0 auto 12px; }
.reviews-head h2 { font-size: 32px; font-weight: 600; }
.reviews-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 4px 4px 20px;
}
.reviews-track::-webkit-scrollbar { display: none; }
.review-card {
    flex: 0 0 380px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
}
.reviewer-photo {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 12px;
    object-fit: cover;
    margin-bottom: 18px;
    background: var(--bg-soft);
}
.review-quote {
    color: var(--text);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 22px;
    flex: 1;
}
.reviewer { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.reviewer img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.reviewer strong { display: block; font-size: 15px; color: var(--text-dark); }
.reviewer span { font-size: 13px; color: var(--text-mute); }
.review-rating {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}
.review-rating > img { width: 70px; height: auto; flex-shrink: 0; }
.review-rating strong { display: block; font-size: 18px; color: var(--text-dark); }
.stars { display: flex; gap: 2px; margin-top: 4px; }
.stars img { width: 14px; height: 14px; }

/* ============== TECH STACK ============== */
.tech-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}
.tech-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px 10px 12px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 100px;
    color: var(--text);
    font-size: 15px;
    font-weight: 500;
    transition: all .2s;
}
.tech-pill:hover {
    background: var(--bg-soft);
    border-color: var(--accent);
    color: var(--accent);
}
.tech-pill img { width: 22px; height: 22px; }

/* ============== CTA ============== */
.cta {
    padding: 100px 0 110px;
    text-align: center;
    background: var(--bg-soft);
}
.cta h2 { margin-bottom: 16px; }
.cta > .container > p { color: var(--text); margin-bottom: 36px; }
.cta-avatars {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}
.cta-avatars img {
    width: 80px; height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--bg-soft);
    margin-left: -16px;
    background: #ddd;
}
.cta-avatars img:first-child { margin-left: 0; }
.cta-statement { max-width: 720px; margin: 0 auto; }
.cta-statement h3 {
    font-size: clamp(22px, 2.4vw, 30px);
    font-weight: 600;
    margin-bottom: 8px;
}
.cta-statement p { color: var(--text); font-size: 17px; margin: 18px 0 30px; line-height: 1.6; }

/* ============== FOOTER ============== */
.footer {
    background: #0a0a0a;
    color: #ccc;
    padding: 70px 0 28px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 50px;
}
.footer-col p { color: #aaa; font-size: 14px; line-height: 1.6; margin: 20px 0 24px; max-width: 360px; }
.footer-logo { height: 100px; width: auto; }
.footer-col h4 {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: #aaa; font-size: 15px; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.socials { display: flex; gap: 12px; margin-top: 24px; }
.socials a {
    width: 40px; height: 40px;
    background: #1a1a1a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s;
}
.socials a:hover { background: var(--accent); }
.socials img { width: 16px; height: 16px; filter: invert(1); }
.footer-bottom { padding-top: 28px; border-top: 1px solid #1a1a1a; text-align: center; }
.footer-bottom p { color: #888; font-size: 14px; margin: 0; }

/* ============== BACK TO AITIFARM ============== */
.back-to-aitifarm {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 90;
    background: var(--text-dark);
    color: #fff;
    padding: 10px 18px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,.15);
    transition: opacity .3s, transform .3s;
    opacity: 0;
    pointer-events: none;
}
.back-to-aitifarm.show { opacity: .9; pointer-events: auto; }
.back-to-aitifarm:hover { background: var(--accent); color: #fff; transform: translateY(-2px); opacity: 1; }
.back-to-aitifarm svg { width: 14px; height: 14px; }

@media (max-width: 768px) {
    .back-to-aitifarm { bottom: 16px; left: 16px; padding: 8px 14px; font-size: 11px; }
}

/* ============== SECTION ============== */
.section { padding: 80px 0; }
.section-tight { padding: 60px 0; }
.section-head { text-align: center; max-width: 800px; margin: 0 auto 50px; }
.section-head h2 { margin-bottom: 16px; }
.section-head p { color: var(--text); }

/* ============== SERVICE GRID ============== */
.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.service-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all .3s;
    display: flex;
    flex-direction: column;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.08); }
.service-image {
    aspect-ratio: 16/10;
    background: var(--bg-soft);
    overflow: hidden;
}
.service-image img { width: 100%; height: 100%; object-fit: cover; }
.service-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.service-card h3 { font-size: 24px; font-weight: 600; margin-bottom: 12px; color: var(--text-dark); }
.service-card p { color: var(--text); font-size: 15px; line-height: 1.6; margin-bottom: 16px; }
.service-card ul { list-style: none; margin: 0 0 24px; padding: 0; }
.service-card li {
    padding-left: 24px;
    position: relative;
    margin-bottom: 8px;
    color: var(--text);
    font-size: 15px;
    line-height: 1.5;
}
.service-card li::before {
    content: '';
    position: absolute;
    left: 0; top: 8px;
    width: 14px; height: 8px;
    border-left: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent);
    transform: rotate(-45deg);
}
.service-cta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: auto;
}

/* ============== INDUSTRY CARDS ============== */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.industry-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all .3s;
}
.industry-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.08); }
.industry-image {
    aspect-ratio: 16/8;
    background: var(--bg-soft);
    overflow: hidden;
}
.industry-image img { width: 100%; height: 100%; object-fit: cover; }
.industry-body { padding: 24px 28px 28px; }
.industry-card h3 { font-size: 22px; font-weight: 600; margin-bottom: 10px; color: var(--text-dark); }
.industry-card p { color: var(--text); font-size: 15px; line-height: 1.6; margin-bottom: 14px; }

/* ============== STEP CARDS ============== */
.step-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.step-card {
    text-align: center;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
}
.step-image { width: 80px; height: 80px; margin: 0 auto 20px; }
.step-image img { width: 100%; height: 100%; object-fit: contain; }
.step-card h3 { font-size: 20px; font-weight: 600; margin-bottom: 10px; color: var(--text-dark); }
.step-card p { color: var(--text); font-size: 15px; line-height: 1.6; margin: 0; }

/* ============== OFFICE CARDS ============== */
.office-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.office-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    text-align: left;
    transition: all .3s;
}
.office-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.08); }
.office-flag {
    width: 100%;
    aspect-ratio: 16/10;
    background: var(--bg-soft);
    border-radius: 8px;
    margin-bottom: 16px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.office-flag img { width: 100%; height: 100%; object-fit: cover; }
.office-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.office-card p { color: var(--text-mute); font-size: 14px; line-height: 1.5; margin: 0; }

/* ============== VALUE CARDS ============== */
.value-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.value-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
}
.value-card h3 { font-size: 22px; font-weight: 600; margin-bottom: 10px; }
.value-card p { color: var(--text); font-size: 15px; line-height: 1.6; margin: 0; }

/* ============== STAT GRID 8 ============== */
.stat-grid-8 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px 40px;
    text-align: center;
}
.stat8-item .num { font-size: 48px; font-weight: 700; color: var(--accent); line-height: 1; }
.stat8-item .plus { color: var(--accent); font-size: 32px; font-weight: 700; }
.stat8-item .label { color: var(--text); font-size: 15px; margin-top: 6px; line-height: 1.4; }

/* ============== PRICING ============== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.pricing-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    text-align: center;
    transition: all .3s;
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.08); border-color: var(--accent); }
.pricing-card h3 { font-size: 22px; font-weight: 600; margin-bottom: 8px; }
.pricing-card .price { font-size: 36px; font-weight: 700; color: var(--accent); margin: 16px 0; }
.pricing-card .price small { font-size: 18px; color: var(--text); font-weight: 400; }
.pricing-card ul { list-style: none; text-align: left; margin: 20px 0; padding: 0; }
.pricing-card li {
    padding: 6px 0 6px 22px;
    position: relative;
    color: var(--text);
    font-size: 14px;
    border-bottom: 1px solid var(--border-light);
}
.pricing-card li:last-child { border-bottom: 0; }
.pricing-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

/* ============== FAQ ============== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
}
.faq-q {
    padding: 18px 22px;
    font-size: 17px;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.faq-q::after {
    content: '+';
    font-size: 24px;
    font-weight: 300;
    color: var(--accent);
    transition: transform .2s;
}
.faq-item.open .faq-q::after { content: '−'; }
.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
    padding: 0 22px;
    color: var(--text);
    font-size: 15px;
    line-height: 1.6;
}
.faq-item.open .faq-a {
    max-height: 500px;
    padding: 0 22px 18px;
}

/* ============== CONTACT FORM ============== */
.contact-section { padding: 80px 0; background: var(--bg-soft); }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: start;
}
.contact-info h2 { margin-bottom: 16px; }
.contact-info p { color: var(--text); margin-bottom: 30px; }
.contact-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 16px;
    display: flex;
    gap: 18px;
    align-items: flex-start;
}
.contact-card-icon {
    width: 50px; height: 50px;
    background: var(--accent-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
}
.contact-card-icon svg { width: 22px; height: 22px; }
.contact-card h4 { font-size: 17px; font-weight: 600; margin-bottom: 4px; }
.contact-card p { font-size: 14px; color: var(--text-mute); margin: 0; line-height: 1.5; }
.contact-form {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 14px; font-weight: 500; color: var(--text-dark); margin-bottom: 8px; }
.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 15px;
    color: var(--text);
    background: #fff;
    transition: border-color .2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none;
    border-color: var(--accent);
}
.form-group textarea { min-height: 120px; resize: vertical; }

/* ============== BLOG ============== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.blog-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all .3s;
    display: flex;
    flex-direction: column;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.08); }
.blog-image {
    aspect-ratio: 16/9;
    background: var(--bg-soft);
    overflow: hidden;
}
.blog-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.blog-card:hover .blog-image img { transform: scale(1.05); }
.blog-body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.blog-card h3 { font-size: 18px; font-weight: 600; line-height: 1.4; margin-bottom: 12px; color: var(--text-dark); }
.blog-card a.read-more { color: var(--accent); font-weight: 500; font-size: 14px; margin-top: auto; }
.blog-card a.read-more:hover { color: var(--accent-dark); }
.load-more { text-align: center; margin-top: 40px; }

/* ============== PRODUCT HIGHLIGHT ============== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.product-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all .3s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.08); }
.product-icon { width: 56px; height: 56px; margin-bottom: 18px; }
.product-icon img { width: 100%; height: 100%; object-fit: contain; }
.product-card h3 { font-size: 20px; font-weight: 600; margin-bottom: 10px; }
.product-card p { color: var(--text); font-size: 15px; line-height: 1.6; margin: 0; }

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.highlight-card {
    background: var(--bg-soft);
    border-radius: var(--radius);
    padding: 22px;
    text-align: center;
}
.highlight-card img { width: 60px; height: 60px; margin: 0 auto 14px; }
.highlight-card h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.highlight-card p { color: var(--text); font-size: 14px; line-height: 1.5; margin: 0; }

.use-case-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.use-case {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
}
.use-case img { width: 50px; height: 50px; flex-shrink: 0; }
.use-case h3 { font-size: 16px; font-weight: 600; margin: 0; color: var(--text-dark); }

/* ============== TEAM MODULE ============== */
.team-module { padding: 60px 0; }
.team-module h2 { text-align: center; margin-bottom: 40px; }
.team-module-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.team-mod { text-align: center; }
.team-mod-image {
    aspect-ratio: 1/1;
    background: var(--bg-soft);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 16px;
}
.team-mod-image img { width: 100%; height: 100%; object-fit: cover; }
.team-mod h3 { font-size: 22px; font-weight: 600; margin-bottom: 8px; }
.team-mod p { color: var(--text); font-size: 15px; margin: 0; }

/* ============== TABLE ============== */
.compare-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.compare-table th, .compare-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
    font-size: 15px;
}
.compare-table th { background: var(--bg-soft); font-weight: 600; color: var(--text-dark); }
.compare-table tr:last-child td { border-bottom: 0; }

/* ============== RESPONSIVE ============== */
@media (max-width: 1024px) {
    .nav-links { display: none; }
    .mobile-toggle { display: block; }
    .nav-cta .btn-whatsapp { display: none; }
    .gamble-inner, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .stat-grid, .stat-grid-8 { grid-template-columns: repeat(2, 1fr); gap: 30px; }
    .feature-grid, .why-grid, .mod-grid, .step-grid, .office-grid, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .service-grid, .industry-grid, .value-grid, .blog-grid, .product-grid, .use-case-grid, .team-module-grid { grid-template-columns: repeat(2, 1fr); }
    .highlight-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .case-card { flex: 0 0 380px; }
    .review-card { flex: 0 0 320px; }
    h1 { font-size: clamp(32px, 5vw, 48px); }
    h2 { font-size: clamp(28px, 4vw, 40px); }
}
@media (max-width: 768px) {
    .nav-inner { padding: 12px 1.5rem; }
    .nav-cta .btn { display: none; }
    .nav-cta .btn-primary { display: inline-flex; padding: 10px 18px; font-size: 13px; }
    .hero { padding: 50px 0 60px; }
    .hero-badges { display: none; }
    .hero-mobile-badges { display: flex; }
    .section, .features, .why, .modalities, .reviews, .cta, .contact-section { padding: 50px 0; }
    .stat-grid, .stat-grid-8 { grid-template-columns: 1fr 1fr; }
    .feature-grid, .why-grid, .mod-grid, .step-grid, .office-grid, .pricing-grid,
    .service-grid, .industry-grid, .value-grid, .blog-grid, .product-grid, .use-case-grid, .team-module-grid,
    .highlight-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .case-card, .review-card { flex: 0 0 86%; }
    .form-row { grid-template-columns: 1fr; }
    .nav-links.mobile-open {
        display: flex;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: #fff;
        border-top: 1px solid var(--border);
        flex-direction: column;
        align-items: stretch;
        padding: 20px 1.5rem;
        gap: 4px;
        box-shadow: 0 8px 30px rgba(0,0,0,.1);
    }
    .nav-links.mobile-open a, .nav-links.mobile-open .dropdown-toggle { padding: 12px 0; }
    .dropdown-menu { position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none; background: transparent; border: 0; padding: 0 0 0 16px; }
    .dropdown:not(.open) .dropdown-menu { display: none; }
    .dropdown.open .dropdown-menu { display: block; }
    .cta-avatars img { width: 64px; height: 64px; }
}
