/* Datainter — datainter.co */
:root {
    --purple: #5716A3;
    --purple-600: #6a25c1;
    --purple-50: #f5efff;
    --purple-100: #ece1ff;
    --ink: #3F3F3F;
    --ink-soft: #6b6b6b;
    --line: #ececec;
    --bg: #FFFFFF;
    --bg-alt: #fafafa;
    --radius: 14px;
    --radius-lg: 22px;
    --shadow-sm: 0 1px 2px rgba(20, 8, 50, 0.05);
    --shadow-md: 0 20px 45px -22px rgba(87, 22, 163, 0.28);
    --shadow-lg: 0 30px 70px -30px rgba(87, 22, 163, 0.45);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--purple); text-decoration: none; }
a:hover { color: var(--purple-600); }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* Nav */
.nav {
    position: sticky; top: 0; z-index: 40;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--line);
}
.nav-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 68px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; }
.brand-mark { width: 32px; height: 32px; display: inline-flex; }
.brand-mark svg { width: 100%; height: 100%; }
.location-addr { color: var(--ink); font-size: 14px; margin: 4px 0 12px; line-height: 1.5; }
.cta-actions { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.btn-outline-light { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.4); }
.btn-outline-light:hover { background: rgba(255,255,255,0.1); color: #fff; transform: translateY(-1px); }
.brand-word { font-size: 18px; letter-spacing: -0.01em; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--ink-soft); font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: var(--purple); }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 15px;
    transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
    line-height: 1; white-space: nowrap;
}
.btn-primary { background: var(--purple); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover { background: var(--purple-600); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-lg); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--purple); color: var(--purple); }
.btn-light { background: #fff; color: var(--purple); }
.btn-light:hover { color: var(--purple-600); transform: translateY(-1px); }

/* Hero */
.hero {
    position: relative;
    padding: 96px 0 72px;
    background:
        radial-gradient(1000px 500px at 15% -10%, var(--purple-50), transparent 60%),
        radial-gradient(800px 400px at 100% 10%, #eee6ff, transparent 65%);
    overflow: hidden;
}
.hero-inner { max-width: 880px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 8px 14px; border-radius: 999px;
    background: #fff; border: 1px solid var(--purple-100);
    color: var(--purple); font-size: 13px; font-weight: 500;
    box-shadow: var(--shadow-sm); margin-bottom: 28px;
}
.pulse {
    width: 8px; height: 8px; border-radius: 50%; background: var(--purple);
    box-shadow: 0 0 0 0 rgba(87, 22, 163, 0.6);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(87, 22, 163, 0.6); }
    70% { box-shadow: 0 0 0 10px rgba(87, 22, 163, 0); }
    100% { box-shadow: 0 0 0 0 rgba(87, 22, 163, 0); }
}
.hero-title {
    font-size: clamp(40px, 6vw, 68px);
    font-weight: 800; line-height: 1.05; letter-spacing: -0.03em;
    color: #1a1a1a; margin-bottom: 22px;
}
.grad { background: linear-gradient(120deg, var(--purple) 0%, #9b4dff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: 19px; color: var(--ink-soft); max-width: 640px; margin-bottom: 36px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 56px; }

.hero-marquee {
    position: relative; overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
    margin-top: 20px;
}
.marquee-track {
    display: flex; gap: 40px; width: max-content;
    animation: scroll 40s linear infinite;
    color: var(--ink-soft); font-size: 14px; font-weight: 500;
    letter-spacing: 0.02em;
}
.marquee-track span { padding: 8px 0; opacity: 0.6; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Sections */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.eyebrow {
    display: inline-block; padding: 6px 12px; border-radius: 999px;
    background: var(--purple-50); color: var(--purple);
    font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em;
    margin-bottom: 18px;
}
.eyebrow-light { background: rgba(255,255,255,0.15); color: #fff; }
.section h2 {
    font-size: clamp(28px, 4vw, 42px); font-weight: 700; letter-spacing: -0.025em;
    color: #1a1a1a; line-height: 1.15;
}
.section-lede { color: var(--ink-soft); font-size: 17px; margin-top: 14px; }

/* Grids */
.grid { display: grid; gap: 22px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

/* Cards */
.card {
    padding: 30px 26px; border-radius: var(--radius-lg);
    background: #fff; border: 1px solid var(--line);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--purple-100); box-shadow: var(--shadow-md); }
.card-icon {
    width: 44px; height: 44px; border-radius: 12px;
    background: var(--purple-50); color: var(--purple);
    display: inline-flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
}
.card-icon svg { width: 22px; height: 22px; }
.card h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; color: #1a1a1a; }
.card p { color: var(--ink-soft); font-size: 15px; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start; }
.about-grid h2 { margin-top: 12px; }
.about-body p { margin-bottom: 18px; font-size: 17px; color: var(--ink); }
.about-body strong { color: var(--purple); font-weight: 600; }
.stat-row { display: flex; gap: 40px; margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--line); }
.stat-num { font-size: 28px; font-weight: 700; color: var(--purple); letter-spacing: -0.02em; }
.stat-label { font-size: 13px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.05em; margin-top: 4px; }

/* Locations */
.location {
    padding: 36px 30px; border-radius: var(--radius-lg);
    background: #fff; border: 1px solid var(--line);
    transition: transform .2s ease, box-shadow .2s ease;
}
.location:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.location-flag {
    width: 48px; height: 48px; border-radius: 12px;
    background: linear-gradient(135deg, var(--purple), #8b3ff0);
    color: #fff; display: inline-flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
}
.location-flag svg { width: 24px; height: 24px; }
.location h3 { font-size: 24px; font-weight: 700; color: #1a1a1a; letter-spacing: -0.02em; }
.location-line { color: var(--purple); font-weight: 500; font-size: 14px; margin: 4px 0 12px; }
.location p { color: var(--ink-soft); font-size: 15px; }

/* CTA */
.section-cta { padding: 80px 0; }
.cta-card {
    padding: 72px 40px; border-radius: 28px; text-align: center;
    background: linear-gradient(135deg, var(--purple) 0%, #7a2ed4 60%, #9b4dff 100%);
    color: #fff; box-shadow: var(--shadow-lg);
    position: relative; overflow: hidden;
}
.cta-card::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(600px 300px at 30% 100%, rgba(255,255,255,0.15), transparent);
    pointer-events: none;
}
.cta-card > * { position: relative; }
.cta-card h2 { color: #fff; margin-bottom: 12px; }
.cta-card p { max-width: 560px; margin: 0 auto 28px; color: rgba(255,255,255,0.9); font-size: 17px; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 40px 0; background: #fff; }
.footer-inner {
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
}
.brand-footer .brand-word { font-size: 16px; }
.footer-copy { color: var(--ink-soft); font-size: 14px; }
.footer-loc { color: var(--ink-soft); font-size: 14px; }

/* Responsive */
@media (max-width: 900px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1fr; gap: 20px; }
    .stat-row { gap: 24px; }
}
@media (max-width: 640px) {
    .nav-links a:not(.btn) { display: none; }
    .hero { padding: 64px 0 48px; }
    .hero-cta { flex-direction: column; align-items: stretch; }
    .hero-cta .btn { justify-content: center; }
    .section { padding: 64px 0; }
    .cta-card { padding: 48px 24px; }
    .grid-2 { grid-template-columns: 1fr; }
    .footer-inner { justify-content: center; text-align: center; }
    .stat-row { flex-wrap: wrap; gap: 20px; }
}
