/* ============================================
   Solivy Marketing Site Styles
   Full-width, desktop-first marketing pages
   ============================================ */

/* ── Reset & Base ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
    font-family: var(--font-body);
    font-weight: var(--weight-regular);
    font-size: var(--text-body);
    line-height: var(--leading-body);
    color: var(--color-text-primary);
    background: var(--color-bg);
    overflow-x: hidden;
}
a { color: var(--color-purple); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--color-purple-light); }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: var(--weight-bold); line-height: 1.2; }
::selection { background: rgba(123, 104, 238, 0.3); }

/* ── Container ── */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Buttons ── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--gradient-cta);
    color: white;
    font-family: var(--font-heading);
    font-weight: var(--weight-semibold);
    font-size: 16px;
    border-radius: var(--radius-full);
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow-md); filter: brightness(1.1); }
.btn-primary--lg { padding: 16px 40px; font-size: 17px; }

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: transparent;
    color: var(--color-text-primary);
    font-family: var(--font-heading);
    font-weight: var(--weight-semibold);
    font-size: 16px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s;
    cursor: pointer;
}
.btn-outline:hover { border-color: var(--color-purple); color: var(--color-purple); transform: translateY(-2px); background: rgba(123, 104, 238, 0.08); }

/* ── Navigation ── */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    transition: all 0.3s;
}
.site-nav--scrolled {
    background: rgba(15, 13, 20, 0.92);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-bottom: 1px solid var(--color-border-subtle);
    padding: 12px 0;
}
.site-nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.site-nav__logo {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: var(--weight-bold);
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.site-nav__links {
    display: flex;
    align-items: center;
    gap: 32px;
}
.site-nav__links a {
    color: var(--color-text-secondary);
    font-size: 15px;
    font-weight: var(--weight-medium);
    transition: color 0.2s;
}
.site-nav__links a:hover { color: var(--color-text-primary); }
.site-nav__links a.active { color: var(--color-purple); }
/* Nav CTA button is defined below with hamburger */
.site-nav__cta {
    padding: 10px 24px;
    background: var(--gradient-cta);
    color: white;
    font-size: 14px;
    font-weight: var(--weight-semibold);
    border-radius: var(--radius-full);
    transition: all 0.3s;
}
.site-nav__cta:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4); color: white; }

/* Hamburger */
.site-nav__hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.site-nav__hamburger span {
    width: 22px;
    height: 2px;
    background: var(--color-text-primary);
    border-radius: 2px;
    transition: all 0.3s;
    display: block;
}
.site-nav__hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-nav__hamburger.active span:nth-child(2) { opacity: 0; }
.site-nav__hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
    .site-nav__links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(15, 13, 20, 0.95);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        padding: 16px 24px;
        flex-direction: column;
        gap: 4px;
    }
    .site-nav__links.mobile-open { display: flex; }
    .site-nav__links a {
        padding: 12px 0;
        font-size: 16px;
    }
    .site-nav__cta { display: none; }
    .site-nav__hamburger { display: flex; }
}

/* ── Sections ── */
.section {
    padding: 100px 0;
    position: relative;
}
.section--surface { background: var(--color-surface-1); }
.section--gradient {
    background: linear-gradient(135deg, rgba(123, 104, 238, 0.08), rgba(255, 107, 107, 0.05), rgba(79, 209, 197, 0.04));
}
.section__header {
    text-align: center;
    margin-bottom: 64px;
}
.section__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--color-purple-muted);
    color: var(--color-purple);
    font-size: 13px;
    font-weight: var(--weight-semibold);
    border-radius: var(--radius-full);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.section__title {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: var(--weight-bold);
    letter-spacing: -0.5px;
    margin-bottom: 16px;
    line-height: 1.15;
}
.section__title span {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.section__subtitle {
    font-size: clamp(16px, 2vw, 19px);
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ── Hero ── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}
.hero__bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(123, 104, 238, 0.18) 0%, transparent 60%),
                radial-gradient(ellipse 50% 40% at 80% 40%, rgba(6, 182, 212, 0.08) 0%, transparent 50%),
                radial-gradient(ellipse 50% 40% at 20% 80%, rgba(79, 209, 197, 0.05) 0%, transparent 50%);
    animation: heroPulse 10s ease-in-out infinite alternate;
}
@keyframes heroPulse {
    0% { opacity: 0.8; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.05); }
}
.hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 1;
}
.hero__dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    mask-image: radial-gradient(ellipse 60% 50% at 50% 40%, black, transparent);
    -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 40%, black, transparent);
}
.hero__content { max-width: 640px; }
.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(123, 104, 238, 0.1);
    border: 1px solid rgba(123, 104, 238, 0.2);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: var(--weight-medium);
    color: var(--color-purple-light);
    margin-bottom: 24px;
}
.hero__badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-purple);
    animation: pulse 2s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.hero__title {
    font-family: var(--font-display);
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}
.hero__title span {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero__desc {
    font-size: 18px;
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin-bottom: 36px;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}
.hero__ctas {
    display: flex;
    gap: 16px;
    margin-bottom: 0;
    flex-wrap: wrap;
    justify-content: center;
}
.hero__mockup {
    display: flex;
    justify-content: center;
    perspective: 1000px;
    margin-top: 60px;
}

/* Hero Phone Mockup */
.phone-mockup {
    width: 280px;
    border-radius: 32px;
    background: var(--color-surface-1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 120px rgba(123, 104, 238, 0.1);
    overflow: hidden;
    padding: 12px;
    transform: rotateX(5deg) rotateY(-2deg);
    transition: transform 0.6s;
}
.phone-mockup:hover { transform: rotateX(0deg) rotateY(0deg); }
.phone-mockup__screen {
    width: 100%;
    background: var(--color-bg);
    border-radius: 22px;
    overflow: hidden;
}
.phone-mockup__header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.phone-mockup__avatar-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gradient-brand);
    flex-shrink: 0;
}
.phone-mockup__name {
    font-size: 14px;
    font-weight: var(--weight-semibold);
}
.phone-mockup__status {
    font-size: 11px;
    color: var(--color-teal);
}
.phone-mockup__messages {
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 220px;
}
.phone-mockup__msg {
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 12px;
    line-height: 1.5;
    max-width: 85%;
    animation: fadeSlideUp 0.5s ease forwards;
    opacity: 0;
}
.phone-mockup__msg--ai {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--color-text-secondary);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}
.phone-mockup__msg--user {
    background: linear-gradient(135deg, #7B68EE, #6C5CE7);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}
.phone-mockup__msg:nth-child(1) { animation-delay: 0.5s; }
.phone-mockup__msg:nth-child(2) { animation-delay: 1.2s; }
.phone-mockup__msg:nth-child(3) { animation-delay: 2s; }
@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.phone-mockup__input {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 12px;
    color: var(--color-text-muted);
}
.phone-mockup__send {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--gradient-cta);
    flex-shrink: 0;
}

@media (min-width: 1024px) {
    .phone-mockup { width: 320px; }
}
@media (max-width: 480px) {
    .hero { padding: 100px 0 60px; min-height: auto; }
    .hero__ctas { flex-direction: column; width: 100%; max-width: 320px; }
    .hero__ctas .btn-primary, .hero__ctas .btn-outline { width: 100%; justify-content: center; }
    .phone-mockup { width: 240px; }
    .hero__mockup { margin-top: 40px; }
}

/* ── Social Proof Bar ── */
.social-proof { padding: 40px 0 60px; }
.social-proof__stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 32px;
}
.social-proof__stat { text-align: center; }
.social-proof__number {
    display: block;
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -0.02em;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.social-proof__label {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-top: 4px;
}
.social-proof__divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.06);
    display: none;
}
@media (min-width: 768px) {
    .social-proof__stats { gap: 48px; }
    .social-proof__divider { display: block; }
}

/* ── Feature Cards ── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.feature-card {
    background: var(--color-surface-1);
    border: 1px solid var(--color-border-subtle);
    border-radius: var(--radius-xl);
    padding: 32px;
    transition: all 0.3s;
    position: relative;
}
.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(123, 104, 238, 0.4), rgba(6, 182, 212, 0.2), transparent 60%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}
.feature-card:hover {
    border-color: transparent;
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), var(--shadow-glow-sm);
}
.feature-card:hover::before {
    opacity: 1;
}
.feature-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}
.feature-card__icon--purple { background: var(--color-purple-muted); color: var(--color-purple); }
.feature-card__icon--teal { background: var(--color-teal-muted); color: var(--color-teal); }
.feature-card__icon--gold { background: var(--color-gold-muted); color: var(--color-gold); }
.feature-card__icon--coral { background: var(--color-coral-muted); color: var(--color-coral); }
.feature-card__icon--lavender { background: rgba(183, 148, 246, 0.15); color: var(--color-lavender); }
.feature-card__title {
    font-size: 18px;
    font-weight: var(--weight-semibold);
    margin-bottom: 8px;
}
.feature-card__text {
    font-size: 15px;
    color: var(--color-text-secondary);
    line-height: 1.6;
}
@media (max-width: 1024px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .features-grid { grid-template-columns: 1fr; } }

/* ── Steps / How It Works ── */
.steps {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.step-card { flex: 1; position: relative; }
.step-card__number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gradient-cta);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: var(--weight-bold);
    font-size: 22px;
    color: white;
    margin: 0 auto 20px;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.3);
}
.step-card__connector { display: none; }
.step-card__title {
    font-size: 20px;
    font-weight: var(--weight-bold);
    margin-bottom: 10px;
}
.step-card__text {
    font-size: 15px;
    color: var(--color-text-secondary);
    line-height: 1.6;
    max-width: 260px;
    margin: 0 auto;
}
@media (min-width: 768px) {
    .steps { flex-direction: row; gap: 24px; }
    .step-card__connector {
        display: block;
        position: absolute;
        top: 28px;
        left: calc(50% + 36px);
        width: calc(100% - 72px + 24px);
        height: 1px;
        background: linear-gradient(to right, var(--color-purple), transparent);
        opacity: 0.3;
    }
    .step-card:last-child .step-card__connector { display: none; }
}

/* ── Testimonials ── */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.testimonial-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 32px;
    transition: all 0.3s;
}
.testimonial-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow-glow-sm);
}
.testimonial-card__stars {
    color: var(--color-gold);
    font-size: 16px;
    margin-bottom: 16px;
    letter-spacing: 2px;
}
.testimonial-card__text {
    font-size: 15px;
    color: var(--color-text-secondary);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 24px;
}
.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.testimonial-card__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient-avatar);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--weight-bold);
    font-size: 16px;
    color: white;
}
.testimonial-card__name {
    font-weight: var(--weight-semibold);
    font-size: 15px;
}
.testimonial-card__role {
    font-size: 13px;
    color: var(--color-text-muted);
}
@media (max-width: 768px) { .testimonials-grid { grid-template-columns: 1fr; } }

/* ── Pricing Cards ── */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}
.pricing-card {
    background: var(--color-surface-1);
    border: 1px solid var(--color-border-subtle);
    border-radius: var(--radius-xl);
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s;
}
.pricing-card:hover { transform: translateY(-4px); }
.pricing-card--popular {
    border-color: var(--color-purple);
    box-shadow: var(--shadow-glow-md), 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(1.04);
    background: linear-gradient(180deg, rgba(123, 104, 238, 0.08), var(--color-surface-1));
}
.pricing-card--popular:hover { transform: scale(1.04) translateY(-4px); }
.pricing-card--premium { border-color: var(--color-gold); }
.pricing-card__badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 20px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: var(--weight-semibold);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.pricing-card__badge--popular { background: var(--color-purple); color: white; }
.pricing-card__badge--premium { background: var(--color-gold); color: #1a1a2e; }
.pricing-card__name {
    font-size: 20px;
    font-weight: var(--weight-semibold);
    margin-bottom: 8px;
}
.pricing-card__price {
    margin-bottom: 4px;
}
.pricing-card__amount {
    font-family: var(--font-heading);
    font-size: 44px;
    font-weight: var(--weight-extrabold);
    line-height: 1;
}
.pricing-card__period {
    font-size: 14px;
    color: var(--color-text-muted);
}
.pricing-card__annual {
    font-size: 13px;
    color: var(--color-teal);
    margin-bottom: 4px;
    min-height: 20px;
}
.pricing-card__desc {
    font-size: 14px;
    color: var(--color-text-secondary);
    margin-bottom: 24px;
    line-height: 1.5;
}
.pricing-card__features {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}
.pricing-card__feature {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    color: var(--color-text-secondary);
    line-height: 1.4;
}
.pricing-card__feature-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 1px;
}
.pricing-card__feature-icon--check { color: var(--color-teal); }
.pricing-card__feature-icon--x { color: var(--color-text-muted); opacity: 0.4; }
.pricing-card__feature--disabled { opacity: 0.4; }
.pricing-card__cta { width: 100%; }
@media (max-width: 768px) {
    .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
    .pricing-card--popular { transform: none; }
    .pricing-card--popular:hover { transform: translateY(-4px); }
}

/* ── Billing Toggle ── */
.billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
}
.billing-toggle__label {
    font-size: 15px;
    color: var(--color-text-muted);
    font-weight: var(--weight-medium);
    transition: color 0.2s;
}
.billing-toggle__label.active { color: var(--color-text-primary); }
.billing-toggle__switch {
    width: 52px;
    height: 28px;
    border-radius: 14px;
    background: var(--color-surface-3);
    position: relative;
    cursor: pointer;
    transition: background 0.3s;
}
.billing-toggle__switch::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: white;
    transition: transform 0.3s;
}
.billing-toggle__switch.annual { background: var(--color-purple); }
.billing-toggle__switch.annual::after { transform: translateX(24px); }
.billing-toggle__badge {
    padding: 3px 10px;
    background: rgba(79, 209, 197, 0.15);
    color: var(--color-teal);
    font-size: 12px;
    font-weight: var(--weight-semibold);
    border-radius: var(--radius-full);
    opacity: 0;
    transition: opacity 0.3s;
}
.billing-toggle__badge.show { opacity: 1; }

/* ── Feature Showcase (alternating) ── */
.showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    padding: 80px 0;
}
.showcase--reverse { direction: rtl; }
.showcase--reverse > * { direction: ltr; }
.showcase__content {}
.showcase__badge {
    display: inline-flex;
    padding: 5px 14px;
    background: var(--color-purple-muted);
    color: var(--color-purple);
    font-size: 12px;
    font-weight: var(--weight-semibold);
    border-radius: var(--radius-full);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.showcase__title {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: var(--weight-bold);
    margin-bottom: 16px;
    letter-spacing: -0.3px;
}
.showcase__desc {
    font-size: 16px;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
}
.showcase__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.showcase__list-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: var(--color-text-secondary);
    line-height: 1.5;
}
.showcase__list-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--color-teal);
    margin-top: 2px;
}
.showcase__visual {
    display: flex;
    justify-content: center;
}
.showcase__phone {
    width: 260px;
    height: 520px;
    border-radius: 36px;
    background: var(--color-surface-1);
    border: 1px solid var(--color-border-subtle);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    position: relative;
}
.showcase__phone-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 16px;
    text-align: center;
    position: relative;
}
.showcase__phone-icon {
    font-size: 48px;
    margin-bottom: 12px;
}
.showcase__phone-label {
    font-size: 14px;
    font-weight: var(--weight-semibold);
    margin-bottom: 4px;
}
.showcase__phone-sublabel {
    font-size: 12px;
    color: var(--color-text-muted);
}
@media (max-width: 768px) {
    .showcase { grid-template-columns: 1fr; gap: 40px; }
    .showcase--reverse { direction: ltr; }
    .showcase__phone { width: 220px; height: 440px; }
}

/* ── FAQ ── */
.faq__list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.faq__item {
    background: var(--color-surface-1);
    border: 1px solid var(--color-border-subtle);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all 0.3s;
}
.faq__item.open { border-color: rgba(123, 104, 238, 0.3); box-shadow: var(--shadow-glow-sm); }
.faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 24px;
    font-size: 16px;
    font-weight: var(--weight-medium);
    color: var(--color-text-primary);
    text-align: left;
    cursor: pointer;
    transition: color 0.2s;
}
.faq__question:hover { color: var(--color-purple); }
.faq__icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform 0.3s;
    color: var(--color-text-muted);
}
.faq__item.open .faq__icon { transform: rotate(180deg); color: var(--color-purple); }
.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.faq__item.open .faq__answer { max-height: 300px; }
.faq__answer-text {
    padding: 0 24px 20px;
    font-size: 15px;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* ── Final CTA ── */
.final-cta {
    padding: 120px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.final-cta__glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.1), transparent 60%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(80px);
    pointer-events: none;
}
.final-cta .section__title { margin-bottom: 12px; }
.final-cta .section__subtitle { margin-bottom: 32px; }
.final-cta__note {
    font-size: 14px;
    color: var(--color-text-muted);
    margin-top: 16px;
}

/* ── Footer ── */
.site-footer {
    border-top: 1px solid var(--color-border-subtle);
    padding: 64px 0 32px;
}
.site-footer__grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 48px;
    margin-bottom: 48px;
}
.site-footer__brand-logo {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: var(--weight-bold);
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}
.site-footer__brand-desc {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.6;
    max-width: 280px;
}
.site-footer__col-title {
    font-size: 13px;
    font-weight: var(--weight-semibold);
    color: var(--color-text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}
.site-footer__col a {
    display: block;
    padding: 4px 0;
    font-size: 14px;
    color: var(--color-text-muted);
    transition: color 0.2s;
}
.site-footer__col a:hover { color: var(--color-purple); }
.site-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid var(--color-border-subtle);
    font-size: 13px;
    color: var(--color-text-muted);
}
.site-footer__divider {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.06), transparent);
    margin-bottom: 24px;
}
.site-footer__social {
    display: flex;
    gap: 12px;
}
.site-footer__social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    transition: all 0.2s;
}
.site-footer__social a:hover { background: rgba(255, 255, 255, 0.1); color: var(--color-text-primary); }
.site-footer__social svg { width: 18px; height: 18px; }
@media (max-width: 768px) {
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
    .site-footer__bottom { flex-direction: column; gap: 16px; text-align: center; }
}
@media (max-width: 480px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ── Values Grid ── */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.value-card {
    text-align: center;
    padding: 32px 20px;
    background: var(--color-surface-1);
    border: 1px solid var(--color-border-subtle);
    border-radius: var(--radius-lg);
}
.value-card__icon {
    font-size: 40px;
    margin-bottom: 16px;
}
.value-card__title {
    font-size: 17px;
    font-weight: var(--weight-semibold);
    margin-bottom: 8px;
}
.value-card__text {
    font-size: 14px;
    color: var(--color-text-muted);
    line-height: 1.6;
}
@media (max-width: 768px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .values-grid { grid-template-columns: 1fr; } }

/* ── Team Grid ── */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.team-card {
    text-align: center;
    padding: 32px 16px;
}
.team-card__avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient-avatar);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: var(--weight-bold);
    color: white;
    margin: 0 auto 16px;
}
.team-card__name {
    font-size: 16px;
    font-weight: var(--weight-semibold);
    margin-bottom: 4px;
}
.team-card__role {
    font-size: 13px;
    color: var(--color-text-muted);
}
@media (max-width: 768px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }

/* ── Comparison Table ── */
.compare-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    max-width: 900px;
    margin: 0 auto;
}
.compare-table th, .compare-table td {
    padding: 14px 20px;
    text-align: center;
    border-bottom: 1px solid var(--color-border-subtle);
    font-size: 14px;
}
.compare-table th:first-child, .compare-table td:first-child {
    text-align: left;
    font-weight: var(--weight-medium);
}
.compare-table thead th {
    background: var(--color-surface-1);
    font-weight: var(--weight-semibold);
    font-size: 15px;
    position: sticky;
    top: 60px;
    z-index: 10;
}
.compare-table__cat {
    background: var(--color-surface-1);
    font-weight: var(--weight-semibold) !important;
    color: var(--color-purple);
    font-size: 13px !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.compare-table td { color: var(--color-text-secondary); }
.compare-check { color: var(--color-teal); }
.compare-x { color: var(--color-text-muted); opacity: 0.3; }

/* ── Scroll Reveal Animations ── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}
.reveal-stagger > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal-stagger > .revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ── Demo Preview Grid ── */
@media (max-width: 768px) {
    .demo-preview { grid-template-columns: 1fr !important; }
}

/* ── Logos Bar ── */
@media (max-width: 640px) {
    .logos-bar { gap: 24px !important; }
    .logos-bar span { font-size: 18px !important; }
}

/* ── Bento Grid ── */
.bento-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: left;
}
.bento-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: 32px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}
.bento-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 25px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.3), rgba(59, 130, 246, 0.1), transparent 60%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
}
.bento-card:hover {
    border-color: transparent;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}
.bento-card:hover::before { opacity: 1; }
.bento-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}
.bento-card__title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: var(--weight-bold);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}
.bento-card__text {
    font-size: 15px;
    color: var(--color-text-secondary);
    line-height: 1.6;
}
.bento-card__visual { margin-top: 24px; }

/* Voice orb in bento */
.voice-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 120px;
    position: relative;
}
.voice-orb {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.8), rgba(6, 182, 212, 0.4));
    position: relative;
    animation: orbBreathe 3s ease-in-out infinite;
}
.voice-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(124, 58, 237, 0.2);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: voiceRingExpand 3s ease-out infinite;
}
.ring-1 { width: 90px; height: 90px; animation-delay: 0s; }
.ring-2 { width: 120px; height: 120px; animation-delay: 1s; }
.ring-3 { width: 150px; height: 150px; animation-delay: 2s; }

/* Memory nodes in bento */
.memory-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80px;
}
.memory-nodes {
    position: relative;
    width: 200px;
    height: 60px;
}
.memory-node {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-purple);
    position: absolute;
    animation: nodeGlow 2s ease-in-out infinite;
}
.node-1 { left: 20px; top: 10px; animation-delay: 0s; }
.node-2 { left: 80px; top: 40px; animation-delay: 0.5s; }
.node-3 { left: 140px; top: 15px; animation-delay: 1s; }
.node-4 { left: 180px; top: 35px; animation-delay: 1.5s; background: var(--color-cyan); }
.memory-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(to right, var(--color-purple), transparent);
    opacity: 0.3;
}
.line-1 { left: 26px; top: 16px; width: 54px; transform: rotate(30deg); }
.line-2 { left: 86px; top: 38px; width: 54px; transform: rotate(-25deg); }
.line-3 { left: 146px; top: 22px; width: 40px; transform: rotate(25deg); }

@media (min-width: 768px) {
    .bento-grid {
        grid-template-columns: 2fr 1fr;
        gap: 20px;
    }
    .bento-grid .bento-card:nth-child(1) { grid-column: 1 / 2; grid-row: 1 / 2; }
    .bento-grid .bento-card:nth-child(2) { grid-column: 2 / 3; grid-row: 1 / 2; }
    .bento-grid .bento-card:nth-child(3) { grid-column: 2 / 3; grid-row: 2 / 3; }
    .bento-grid .bento-card:nth-child(4) { grid-column: 1 / 2; grid-row: 2 / 3; }
    .bento-grid .bento-card:nth-child(5) { grid-column: 1 / -1; grid-row: 3 / 4; }
}
@media (min-width: 1024px) {
    .bento-grid { grid-template-columns: 3fr 2fr; }
}

/* ── Grain Overlay for Marketing Pages ── */
.marketing-grain::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    pointer-events: none;
    z-index: 9999;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 128px 128px;
}

/* ── SVG Icons inline ── */
.icon-svg { display: inline-block; vertical-align: middle; }
