/* ════════════════════════════════════════════
   SarvamSync — Antigravity Design System
   Light. Airy. Minimal.
   ════════════════════════════════════════════ */

:root {
    --bg: #f5f5f7;
    --surface: #ffffff;
    --text: #1d1d1f;
    --text-2: #6e6e73;
    --text-3: #adadb8;
    --accent: #6366f1;
    --easy: cubic-bezier(.4, 0, .2, 1);
    --font: 'Inter', -apple-system, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

em {
    font-style: normal;
}

/* ════ BLOBS ════ */
.blob {
    position: fixed;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    z-index: 0;
    opacity: .28;
}

.blob--1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #a78bfa, transparent 70%);
    top: -200px;
    right: -100px;
}

.blob--2 {
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, #60a5fa, transparent 70%);
    bottom: 25%;
    left: -160px;
}

.blob--3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #34d399, transparent 70%);
    bottom: -80px;
    right: 18%;
}

/* ════ NAV ════ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 4rem;
    background: rgba(245, 245, 247, .82);
    backdrop-filter: blur(24px) saturate(1.6);
    border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.nav__logo {
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: -.02em;
}

.nav__logo .dot {
    color: var(--accent);
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    font-size: .875rem;
    font-weight: 500;
    color: var(--text-2);
}

.nav__links a:hover {
    color: var(--text);
}

.nav__cta {
    color: var(--accent) !important;
    font-weight: 600;
}

.nav__cta:hover {
    opacity: .75;
}

/* ════ BADGE ════ */
.badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .3rem .9rem;
    border-radius: 999px;
    background: rgba(99, 102, 241, .08);
    border: 1px solid rgba(99, 102, 241, .15);
    font-size: .78rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 2.5rem;
}

.badge__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    animation: blink 2s ease-in-out infinite;
}

/* ════ CTA BUTTON ════ */
.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    background: var(--text);
    color: white;
    font-family: var(--font);
    font-weight: 600;
    font-size: .95rem;
    padding: .85rem 2rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    transition: all .25s var(--easy);
}

.cta-btn:hover {
    background: #000;
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, .12);
}

/* ════ LABEL + FEAT-TAG ════ */
.label {
    display: block;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--accent);
    margin-bottom: .85rem;
}

.feat-tag {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--accent);
    background: rgba(99, 102, 241, .07);
    border: 1px solid rgba(99, 102, 241, .12);
    padding: .25rem .75rem;
    border-radius: 999px;
    margin-bottom: 1.1rem;
}

/* ════ HERO ════ */
.hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 0 4rem;
    padding-top: 5rem;
    max-width: 1300px;
    margin: 0 auto;
}

.hero__h1 {
    font-size: clamp(3.5rem, 7vw, 7rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.04em;
    color: var(--text);
    margin-bottom: 1.75rem;
}

.hero__h1 em {
    background: linear-gradient(120deg, var(--accent) 0%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__p {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-2);
    margin-bottom: 2.5rem;
    max-width: 360px;
}

.hero__card-wrap {
    position: absolute;
    right: 4rem;
    top: 50%;
    transform: translateY(-50%);
    width: 400px;
}

/* ════ RAINBOW CARD ════ */
.rainbow-card {
    position: relative;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg,
            #f43f5e, #f97316, #facc15, #4ade80, #60a5fa, #a78bfa, #f43f5e);
    background-size: 300% 300%;
    animation: rainbow-shift 6s linear infinite;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .09), 0 4px 12px rgba(0, 0, 0, .05);
}

/* colour variant gradients */
.rainbow-card--red {
    background: linear-gradient(135deg, #f43f5e, #fb923c, #f43f5e);
}

.rainbow-card--blue {
    background: linear-gradient(135deg, #3b82f6, #06b6d4, #6366f1, #3b82f6);
}

.rainbow-card--yellow {
    background: linear-gradient(135deg, #fbbf24, #f97316, #84cc16, #fbbf24);
}

.rainbow-card--green {
    background: linear-gradient(135deg, #4ade80, #60a5fa, #34d399, #4ade80);
}

.rainbow-card--indigo {
    background: linear-gradient(135deg, #6366f1, #a78bfa, #ec4899, #6366f1);
}

.rainbow-card--teal {
    background: linear-gradient(135deg, #14b8a6, #60a5fa, #34d399, #14b8a6);
}

.rainbow-card--purple {
    background: linear-gradient(135deg, #a78bfa, #f43f5e, #60a5fa, #a78bfa);
}

.rainbow-card--orange {
    background: linear-gradient(135deg, #f97316, #fbbf24, #f43f5e, #f97316);
}

.rainbow-card--sm {
    border-radius: 20px;
}

/* white inner fill */
.rainbow-card>* {
    background: #fff;
    border-radius: 22px;
}

.rainbow-card--sm>* {
    border-radius: 18px;
}

/* ════ WHATSAPP ════ */
.wa-mock {
    padding: 1.5rem;
}

.wa-mock__header {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.wa-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #ec4899);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.wa-name {
    font-size: .9rem;
    font-weight: 700;
}

.wa-status {
    font-size: .75rem;
    color: #25d366;
    font-weight: 500;
}

.wa-msgs {
    display: flex;
    flex-direction: column;
    gap: .6rem;
}

.wa-msgs--sm {
    gap: .5rem;
}

.wa-msg {
    max-width: 90%;
    font-size: .8rem;
    line-height: 1.55;
    padding: .6rem .85rem;
    border-radius: 12px;
    color: var(--text);
}

.wa-msg--in {
    background: #f0f0f0;
    border-bottom-left-radius: 2px;
    align-self: flex-start;
}

.wa-msg--out {
    background: #d9fdd3;
    border-bottom-right-radius: 2px;
    align-self: flex-end;
    text-align: right;
}

/* ════ FEATURES SECTION ════ */
.features {
    position: relative;
    z-index: 1;
    max-width: 1300px;
    margin: 0 auto;
    padding: 2rem 4rem 6rem;
}

.features__intro {
    text-align: center;
    padding: 5rem 0 2rem;
    border-top: 1px solid rgba(0, 0, 0, .06);
}

.features__h2 {
    font-size: clamp(2.25rem, 4vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.08;
    color: var(--text);
    margin-top: .5rem;
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    padding: 5rem 0;
    border-top: 1px solid rgba(0, 0, 0, .06);
}

.feature-row--flip {
    direction: rtl;
}

.feature-row--flip>* {
    direction: ltr;
}

.feature-text h3 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -.035em;
    color: var(--text);
    margin-bottom: 1rem;
}

.feature-text p {
    font-size: 1rem;
    line-height: 1.72;
    color: var(--text-2);
    max-width: 380px;
}

/* feat card label */
.feat-label {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--text-2);
    margin-bottom: 1rem;
}

.feat-card-inner {
    padding: 1.5rem;
}

/* ════ HOW IT WORKS ════ */
.how {
    position: relative;
    z-index: 1;
    max-width: 1300px;
    margin: 0 auto;
    padding: 6rem 4rem;
    text-align: center;
}

.how .label {
    text-align: center;
}

.how__h2 {
    font-size: clamp(2.25rem, 4vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.05;
    color: var(--text);
    margin-bottom: 4rem;
}

.how__steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: left;
}

.how__step {
    padding: 2.5rem 2rem;
    background: white;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, .07);
    transition: transform .3s var(--easy), box-shadow .3s var(--easy);
}

.how__step:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .08);
}

.how__num {
    display: block;
    font-size: 2.25rem;
    font-weight: 800;
    color: #e5e5ea;
    letter-spacing: -.04em;
    margin-bottom: .75rem;
}

.how__step h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: .5rem;
}

.how__step p {
    font-size: .88rem;
    line-height: 1.65;
    color: var(--text-2);
}

/* ════ CTA ════ */
.cta-section {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 8rem 4rem 10rem;
}

.cta__h2 {
    font-size: clamp(3rem, 6vw, 6rem);
    font-weight: 800;
    letter-spacing: -.04em;
    color: var(--text);
    margin-bottom: 1rem;
}

.cta__p {
    font-size: 1.05rem;
    color: var(--text-2);
    margin-bottom: 2.5rem;
}

/* ════ FOOTER ════ */
.footer {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 1.5rem;
    font-size: .8rem;
    color: var(--text-3);
    border-top: 1px solid rgba(0, 0, 0, .06);
}

/* ════ ANIMATIONS ════ */
@keyframes rainbow-shift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .3;
    }
}

.badge,
.hero__h1,
.hero__p,
.hero .cta-btn,
.hero__card-wrap,
.features__intro,
.feature-row,
.how__h2,
.how__step,
.cta__h2,
.cta__p,
.cta-section .cta-btn {
    opacity: 0;
    transform: translateY(18px);
    animation: rise .65s var(--easy) forwards;
}

.badge {
    animation-delay: .05s;
}

.hero__h1 {
    animation-delay: .15s;
}

.hero__p {
    animation-delay: .25s;
}

.hero .cta-btn {
    animation-delay: .33s;
}

.hero__card-wrap {
    animation-delay: .2s;
}

.features__intro {
    animation-delay: .05s;
}

.feature-row:nth-child(2) {
    animation-delay: .1s;
}

.feature-row:nth-child(3) {
    animation-delay: .15s;
}

.feature-row:nth-child(4) {
    animation-delay: .2s;
}

.feature-row:nth-child(5) {
    animation-delay: .25s;
}

.feature-row:nth-child(6) {
    animation-delay: .1s;
}

.feature-row:nth-child(7) {
    animation-delay: .15s;
}

.feature-row:nth-child(8) {
    animation-delay: .2s;
}

.feature-row:nth-child(9) {
    animation-delay: .25s;
}

.how__h2 {
    animation-delay: .1s;
}

.how__step:nth-child(1) {
    animation-delay: .15s;
}

.how__step:nth-child(2) {
    animation-delay: .25s;
}

.how__step:nth-child(3) {
    animation-delay: .35s;
}

.cta__h2 {
    animation-delay: .1s;
}

.cta__p {
    animation-delay: .2s;
}

.cta-section .cta-btn {
    animation-delay: .3s;
}

@keyframes rise {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ════ RESPONSIVE ════ */
@media (max-width: 1024px) {
    .nav {
        padding: 1rem 1.5rem;
    }

    .nav__links {
        gap: 1.5rem;
    }

    .hero {
        padding: 0 2rem;
        padding-top: 5rem;
        align-items: center;
        text-align: center;
    }

    .hero__p {
        max-width: 100%;
    }

    .hero__card-wrap {
        display: none;
    }

    .features {
        padding: 2rem 1.5rem 4rem;
    }

    .feature-row {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 3.5rem 0;
    }

    .feature-row--flip {
        direction: ltr;
    }

    .feature-text p {
        max-width: 100%;
    }

    .how {
        padding: 4rem 1.5rem;
    }

    .how__steps {
        grid-template-columns: 1fr;
    }

    .cta-section {
        padding: 5rem 1.5rem 7rem;
    }
}

@media (max-width: 480px) {
    .nav__links a:not(.nav__cta) {
        display: none;
    }

    .hero__h1 {
        font-size: 2.75rem;
    }
}