@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ═══ TOKENS ═══ */
:root {
    --bg: #0f1115;
    --bg-subtle: #141820;
    --bg-card: rgba(255, 255, 255, 0.05);
    --bg-card-hover: rgba(255, 255, 255, 0.09);
    --accent: #E63946;
    --accent-2: #ff6b7a;
    --accent-glow: rgba(230, 57, 70, 0.25);
    --text: #f0f0f5;
    --text-2: #9a9ab0;
    --text-3: #606075;
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.16);
    --glass: rgba(255, 255, 255, 0.06);
    --glass-border: rgba(255, 255, 255, 0.1);
    --radius: 16px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: var(--text);
    text-decoration: none;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

.grad {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ═══ NAV ═══ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 18px 0;
    transition: all 0.4s cubic-bezier(.4, 0, .2, 1);
    background: transparent;
}

.nav.scrolled {
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(20px) saturate(1.5);
    -webkit-backdrop-filter: blur(20px) saturate(1.5);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.3px;
}

.nav-logo img {
    border-radius: 6px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links a {
    color: var(--text-2);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.25s;
}

.nav-links a:hover {
    color: var(--text);
}

.nav-cta {
    background: var(--accent) !important;
    color: #fff !important;
    padding: 9px 22px;
    border-radius: 10px;
    font-weight: 600 !important;
    transition: all 0.25s !important;
    box-shadow: 0 2px 12px var(--accent-glow);
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px var(--accent-glow);
    filter: brightness(1.1);
}

.nav-burger {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    cursor: pointer;
    padding: 4px;
}

/* ═══ HERO ═══ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-mesh {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(230, 57, 70, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(230, 57, 70, 0.04) 0%, transparent 50%);
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.hero-glow.g1 {
    width: 500px;
    height: 500px;
    background: rgba(230, 57, 70, 0.12);
    top: -10%;
    left: 10%;
    animation: drift 12s ease-in-out infinite;
}

.hero-glow.g2 {
    width: 350px;
    height: 350px;
    background: rgba(255, 107, 122, 0.08);
    bottom: 10%;
    right: 5%;
    animation: drift 15s ease-in-out infinite reverse;
}

.hero-glow.g3 {
    width: 200px;
    height: 200px;
    background: rgba(230, 57, 70, 0.15);
    top: 40%;
    left: 50%;
    animation: drift 10s ease-in-out infinite 3s;
}

@keyframes drift {

    0%,
    100% {
        transform: translate(0, 0);
    }

    33% {
        transform: translate(30px, -25px);
    }

    66% {
        transform: translate(-20px, 20px);
    }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 100px;
    background: rgba(230, 57, 70, 0.1);
    border: 1px solid rgba(230, 57, 70, 0.2);
    color: var(--accent-2);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(40px, 5.5vw, 64px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 20px;
}

.hero-sub {
    font-size: 17px;
    color: var(--text-2);
    max-width: 460px;
    line-height: 1.7;
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--accent);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 20px var(--accent-glow);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(230, 57, 70, 0.35);
    filter: brightness(1.1);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-primary.btn-lg {
    padding: 18px 40px;
    font-size: 16px;
    border-radius: 14px;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: transparent;
    color: var(--text-2);
    font-size: 15px;
    font-weight: 500;
    border-radius: 12px;
    border: 1px solid var(--border-hover);
    transition: all 0.25s ease;
}

.btn-ghost:hover {
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.03);
}

/* ═══ CHAT MOCKUP ═══ */
.mockup {
    position: relative;
    background: rgba(18, 20, 28, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 0;
    backdrop-filter: blur(20px);
    overflow: visible;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.mockup-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
}

.mockup-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    flex-shrink: 0;
}

.mockup-name {
    flex: 1;
}

.mockup-line {
    height: 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.15);
    margin-bottom: 6px;
}

.mockup-line:last-child {
    margin-bottom: 0;
}

.mockup-line.w90 {
    width: 90%;
}

.mockup-line.w80 {
    width: 80%;
}

.mockup-line.w70 {
    width: 70%;
}

.mockup-line.w60 {
    width: 60%;
}

.mockup-line.w50 {
    width: 50%;
}

.mockup-line.w40 {
    width: 40%;
}

.mockup-line.w30 {
    width: 30%;
}

.mockup-line.dim {
    background: rgba(255, 255, 255, 0.08);
}

.mockup-dots {
    display: flex;
    gap: 4px;
}

.mockup-dots span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
}

.mockup-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bubble {
    padding: 12px 16px;
    border-radius: 14px;
    max-width: 75%;
}

.bubble.left {
    background: rgba(255, 255, 255, 0.08);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.bubble.right {
    background: rgba(255, 255, 255, 0.12);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.bubble.right.accent {
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.3), rgba(255, 107, 122, 0.2));
    border: 1px solid rgba(230, 57, 70, 0.15);
}

.mockup-input {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-top: 1px solid var(--border);
}

.mockup-send {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
    margin-left: auto;
}

/* Floating elements */
.float-el {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 10px;
    background: rgba(12, 12, 18, 0.85);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    font-size: 12px;
    font-weight: 500;
    color: var(--text-2);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.float-el svg {
    color: var(--accent);
}

.el-call {
    top: 20%;
    right: -30px;
    animation: floatY 4s ease-in-out infinite;
}

.el-lock {
    bottom: 25%;
    left: -20px;
    animation: floatY 5s ease-in-out infinite 1s;
}

@keyframes floatY {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* ═══ TRUST STRIP ═══ */
.trust-strip {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-subtle);
    padding: 28px 0;
}

.trust-inner {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-2);
    font-size: 14px;
    font-weight: 500;
}

.trust-item svg {
    color: var(--accent);
    opacity: 0.8;
}

/* ═══ SECTIONS ═══ */
.section {
    padding: 120px 0;
}

.section-alt {
    background: var(--bg-subtle);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 100px;
    background: rgba(230, 57, 70, 0.08);
    border: 1px solid rgba(230, 57, 70, 0.15);
    color: var(--accent-2);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.2;
}

/* ═══ BENTO GRID ═══ */
.bento {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.bento-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: all 0.4s cubic-bezier(.4, 0, .2, 1);
}

.bento-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.bento-card.bento-lg {
    grid-column: span 2;
}

.bento-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(230, 57, 70, 0.08);
    border: 1px solid rgba(230, 57, 70, 0.12);
    border-radius: 14px;
    color: var(--accent);
    margin-bottom: 20px;
}

.bento-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.bento-card p {
    color: var(--text-2);
    font-size: 14px;
    line-height: 1.7;
}

/* ═══ SHOWCASE ═══ */
.showcase-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 100px;
}

.showcase-row:last-child {
    margin-bottom: 0;
}

.showcase-row.reverse {
    direction: rtl;
}

.showcase-row.reverse>* {
    direction: ltr;
}

.showcase-text .section-tag {
    margin-bottom: 12px;
}

.showcase-text h3 {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.2;
    margin-bottom: 16px;
}

.showcase-text p {
    color: var(--text-2);
    font-size: 15px;
    line-height: 1.7;
}

.glass-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 48px;
    text-align: center;
    backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(230, 57, 70, 0.06), transparent 70%);
    pointer-events: none;
}

.glass-label {
    color: var(--text-3);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 20px;
}

.lock-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: var(--accent);
}

.lock-pulse {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 1px solid rgba(230, 57, 70, 0.15);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.4);
        opacity: 0;
    }
}

.speed-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--accent);
    position: relative;
}

.speed-line {
    width: 120px;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    animation: speedPulse 2s ease-in-out infinite;
}

.speed-line.d1 {
    animation-delay: 0.3s;
    width: 80px;
    opacity: 0.5;
}

.speed-line.d2 {
    animation-delay: 0.6s;
    width: 50px;
    opacity: 0.3;
}

@keyframes speedPulse {

    0%,
    100% {
        opacity: 0.2;
        transform: scaleX(0.6);
    }

    50% {
        opacity: 1;
        transform: scaleX(1);
    }
}

/* ═══ TECH GRID ═══ */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.tech-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.tech-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.tech-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(230, 57, 70, 0.08);
    border: 1px solid rgba(230, 57, 70, 0.12);
    color: var(--accent);
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 16px;
}

.tech-card h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

.tech-card p {
    color: var(--text-2);
    font-size: 13px;
}

/* ═══ CTA ═══ */
.cta-section {
    padding: 80px 0 120px;
}

.cta-inner {
    position: relative;
    text-align: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 72px 40px;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.1), transparent 70%);
    pointer-events: none;
}

.cta-inner h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 16px;
    position: relative;
}

.cta-inner p {
    color: var(--text-2);
    font-size: 16px;
    margin-bottom: 32px;
    position: relative;
}

.cta-inner .btn-primary {
    position: relative;
}

/* ═══ FOOTER ═══ */
.footer {
    border-top: 1px solid var(--border);
    padding: 36px 0;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 15px;
}

.footer-brand img {
    border-radius: 4px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--text-3);
    font-size: 13px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--text-2);
}

.footer-copy {
    color: var(--text-3);
    font-size: 13px;
}

/* ═══ ANIMATIONS ═══ */
.anim-in {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.7s cubic-bezier(.16, 1, .3, 1) forwards;
}

.d1 {
    animation-delay: 0.1s;
}

.d2 {
    animation-delay: 0.2s;
}

.d3 {
    animation-delay: 0.35s;
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(.16, 1, .3, 1), transform 0.7s cubic-bezier(.16, 1, .3, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

    .hero-sub {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-visual {
        max-width: 420px;
        margin: 0 auto;
    }

    .bento {
        grid-template-columns: 1fr 1fr;
    }

    .bento-card.bento-lg {
        grid-column: span 1;
    }

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(5, 5, 5, 0.97);
        backdrop-filter: blur(16px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 28px;
        z-index: 200;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        font-size: 20px;
    }

    .nav-burger {
        display: block;
        z-index: 201;
    }

    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }

    .hero-title {
        letter-spacing: -1px;
    }

    .float-el {
        display: none;
    }

    .bento {
        grid-template-columns: 1fr;
    }

    .bento-card.bento-lg {
        grid-column: span 1;
    }

    .showcase-row,
    .showcase-row.reverse {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .showcase-row.reverse {
        direction: ltr;
    }

    .tech-grid {
        grid-template-columns: 1fr 1fr;
    }

    .trust-inner {
        gap: 24px;
        justify-content: center;
    }

    .trust-item {
        font-size: 13px;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .cta-inner {
        padding: 48px 24px;
    }
}

@media (max-width: 480px) {
    .tech-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-primary,
    .btn-ghost {
        justify-content: center;
    }
}