/* ═══════════════════════════════════════════════════════════════
   Lupa AI — landing page
   ═══════════════════════════════════════════════════════════════ */

:root {
    --cyan:    #06B6D4;
    --blue:    #0EA5E9;
    --violet:  #8B5CF6;
    --teal:    #14B8A6;
    --ink:     #0F172A;
    --ink-2:   #1E293B;
    --slate:   #64748B;
    --slate-2: #94A3B8;
    --bg:      #FFFFFF;
    --bg-soft: #F8FAFC;
    --border:  #E2E8F0;
    --radius:  16px;
    --radius-lg: 24px;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow:    0 10px 30px -10px rgba(15, 23, 42, 0.15);
    --shadow-lg: 0 20px 60px -15px rgba(6, 182, 212, 0.25);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 17px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--cyan); }

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--cyan) 0%, var(--violet) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* ─────────────── Buttons ─────────────── */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: .01em;
    transition: transform .2s, box-shadow .2s, background .2s;
    cursor: pointer;
    border: none;
}

.btn--primary {
    background: linear-gradient(135deg, var(--cyan) 0%, var(--violet) 100%);
    color: #fff;
    box-shadow: 0 8px 24px -6px rgba(139, 92, 246, 0.5);
}
.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px -8px rgba(139, 92, 246, 0.6);
    color: #fff;
}

.btn--ghost {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn--ghost:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    transform: translateY(-2px);
}

.btn--large { padding: 18px 40px; font-size: 17px; }

/* ═══════════════════════════ HERO ═══════════════════════════ */
.hero {
    position: relative;
    min-height: 100vh;
    background: var(--ink);
    color: #fff;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.hero__bg {
    position: absolute; inset: 0;
    overflow: hidden;
    z-index: 0;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
    animation: float 14s ease-in-out infinite;
}
.blob--cyan   { width: 520px; height: 520px; background: var(--cyan);   top: -120px; left: -100px; }
.blob--violet { width: 600px; height: 600px; background: var(--violet); bottom: -200px; right: -120px; animation-delay: -7s; }

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%      { transform: translate(40px, -30px) scale(1.1); }
}

.grid-overlay {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}

.nav {
    position: relative;
    z-index: 2;
    max-width: 1140px;
    width: 100%;
    margin: 0 auto;
    padding: 28px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav__logo {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -.02em;
}
.nav__logo span {
    background: linear-gradient(135deg, var(--cyan), var(--violet));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.nav__link {
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
    font-weight: 500;
}
.nav__link:hover { color: #fff; }

.hero__content {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 24px 80px;
    max-width: 860px;
    margin: 0 auto;
}

.eyebrow {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .02em;
    margin-bottom: 28px;
}

.hero__title {
    font-size: clamp(64px, 11vw, 140px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.04em;
    margin-bottom: 24px;
}

.hero__subtitle {
    font-size: clamp(18px, 2vw, 22px);
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.55;
    max-width: 640px;
    margin-bottom: 44px;
}

.hero__cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero__scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255, 255, 255, 0.5);
    transition: color .2s;
}
.hero__scroll:hover { color: #fff; }

/* ═══════════════════════════ INTRO ═══════════════════════════ */
.intro {
    padding: 120px 0 60px;
    text-align: center;
}

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.15;
    margin-bottom: 32px;
}

.intro__lead {
    max-width: 720px;
    margin: 0 auto;
    font-size: 19px;
    color: var(--slate);
    line-height: 1.7;
}
.intro__lead strong { color: var(--ink); }

/* ═══════════════════════════ PRODUCTS ═══════════════════════════ */
.products {
    padding: 60px 0 120px;
}

.products__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.product-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    transition: transform .3s, box-shadow .3s, border-color .3s;
    position: relative;
    overflow: hidden;
}
.product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 60%, rgba(6, 182, 212, 0.04) 100%);
    opacity: 0;
    transition: opacity .3s;
    pointer-events: none;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.product-card:hover::before { opacity: 1; }

.product-card__icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: #fff;
}
.product-card__icon svg { width: 36px; height: 36px; color: #fff; }

.icon--cyan   { background: linear-gradient(135deg, #06B6D4, #0891B2); box-shadow: 0 10px 24px -8px #06B6D4; }
.icon--violet { background: linear-gradient(135deg, #8B5CF6, #7C3AED); box-shadow: 0 10px 24px -8px #8B5CF6; }
.icon--blue   { background: linear-gradient(135deg, #0EA5E9, #0284C7); box-shadow: 0 10px 24px -8px #0EA5E9; }
.icon--teal   { background: linear-gradient(135deg, #14B8A6, #0D9488); box-shadow: 0 10px 24px -8px #14B8A6; }

.product-card h3 {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -.01em;
    margin-bottom: 12px;
}

.product-card p {
    color: var(--slate);
    line-height: 1.65;
    font-size: 16px;
}

/* ═══════════════════════════ TRUST ═══════════════════════════ */
.trust {
    padding: 80px 0;
    background: var(--bg-soft);
    text-align: center;
}

.stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}
.stat {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.stat strong {
    font-size: clamp(40px, 6vw, 56px);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1;
    background: linear-gradient(135deg, var(--cyan), var(--violet));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.stat span {
    color: var(--slate);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .05em;
    text-transform: uppercase;
}
.stat__divider {
    width: 1px;
    height: 48px;
    background: var(--border);
}

.trust__note {
    max-width: 640px;
    margin: 0 auto;
    color: var(--slate);
    font-size: 16px;
}
.trust__note strong { color: var(--ink); }

/* ═══════════════════════════ CTA ═══════════════════════════ */
.cta {
    padding: 120px 0;
    text-align: center;
}

.cta h2 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.15;
    margin-bottom: 20px;
}

.cta__lead {
    max-width: 560px;
    margin: 0 auto 56px;
    font-size: 19px;
    color: var(--slate);
}

.cta__contact {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 860px;
    margin: 0 auto 56px;
}

.contact-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 32px 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--ink);
    font-weight: 500;
    transition: transform .2s, border-color .2s, box-shadow .2s;
    text-align: center;
}
.contact-tile:not(.contact-tile--static):hover {
    transform: translateY(-3px);
    border-color: var(--cyan);
    box-shadow: var(--shadow);
    color: var(--ink);
}
.contact-tile svg {
    width: 28px;
    height: 28px;
    color: var(--cyan);
}
.contact-tile span { font-size: 15px; line-height: 1.4; }
.contact-tile--static { cursor: default; color: var(--slate); }

/* ═══════════════════════════ FOOTER ═══════════════════════════ */
.footer {
    padding: 40px 0;
    background: var(--ink);
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}
.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}
.footer strong { color: #fff; font-weight: 600; }
.footer__links { display: flex; gap: 12px; align-items: center; }
.footer__links a { color: rgba(255, 255, 255, 0.75); }
.footer__links a:hover { color: #fff; }
.footer__links span { color: rgba(255, 255, 255, 0.3); }

/* ═══════════════════════════ RESPONSIVE ═══════════════════════════ */
@media (max-width: 768px) {
    .products__grid { grid-template-columns: 1fr; }
    .cta__contact   { grid-template-columns: 1fr; }
    .stats { gap: 24px; }
    .stat__divider { display: none; }
    .intro { padding: 80px 0 40px; }
    .products { padding: 40px 0 80px; }
    .cta { padding: 80px 0; }
    .hero__scroll { display: none; }
}
