/* Digitiye Main Website - Premium UI Layer */

@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,500;0,600;0,700;1,500;1,600&family=DM+Sans:wght@400;500&family=DM+Mono:wght@400&display=swap');

:root {
    --color-bg: #FAFAF8;
    --color-bg-section: #F2F0EC;
    --color-surface: #FFFFFF;
    --color-surface-soft: #F7F5F1;
    --color-text-primary: #0A0A0A;
    --color-text-muted: #6B6B6B;
    --color-accent: #B8860B;
    --color-border: #E4E2DC;
    --color-border-strong: rgba(10, 10, 10, 0.16);
    --shadow-soft: 0 16px 44px rgba(10, 10, 10, 0.08);
    --shadow-medium: 0 24px 60px rgba(10, 10, 10, 0.14);

    --font-display: 'Lora', serif;
    --font-title: 'Lora', serif;
    --font-body: 'DM Sans', sans-serif;
    --font-mono: 'DM Mono', monospace;
}

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

html {
    scroll-behavior: smooth;
}

body.brand-body {
    background:
        radial-gradient(circle at 8% 8%, rgba(184, 134, 11, 0.09), transparent 28%),
        radial-gradient(circle at 85% 10%, rgba(10, 10, 10, 0.05), transparent 38%),
        var(--color-bg);
    color: var(--color-text-primary);
    font-family: var(--font-body);
    min-height: 100%;
    line-height: 1.65;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.01em;
}

.font-title {
    font-family: var(--font-title);
    font-weight: 500;
}

.font-mono {
    font-family: var(--font-mono);
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 4px;
}

/* Motion */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Navigation */
.site-nav {
    transition: padding 0.35s ease;
}

.site-nav .nav-shell {
    margin-top: 8px;
    padding: 12px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(10px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
    transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.site-nav.is-scrolled .nav-shell {
    background: rgba(0, 0, 0, 0.76);
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.3);
    transform: translateY(-1px);
}

.brand-mark {
    letter-spacing: -0.02em;
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.6);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.nav-link:hover::after {
    transform: scaleX(1);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: #fff;
    color: #000;
}

/* Hamburger button */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 60;
}

.hamburger-line {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.35s ease, opacity 0.25s ease;
    transform-origin: center;
}

.mobile-menu-toggle.is-active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.is-active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.is-active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile overlay nav */
.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 55;
    background: rgba(10, 10, 10, 0.96);
    backdrop-filter: blur(20px);
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.mobile-nav-overlay.is-open {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.mobile-nav-inner {
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-overlay.is-open .mobile-nav-inner {
    transform: translateY(0);
}

.mobile-nav-brand {
    display: block;
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: 3rem;
    opacity: 0.6;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-nav-link {
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-nav-link:hover {
    color: var(--color-accent);
}

.mobile-nav-cta {
    margin-top: 1rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    padding: 14px 32px;
    display: inline-block;
}

.mobile-nav-cta:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
}

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Full-bleed background */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-img,
.hero-bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 60%;
    display: block;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom,
            rgba(10, 10, 10, 0.55) 0%,
            rgba(10, 10, 10, 0.50) 40%,
            rgba(10, 10, 10, 0.65) 70%,
            rgba(10, 10, 10, 0.80) 100%),
        radial-gradient(circle at 50% 40%, rgba(184, 134, 11, 0.12), transparent 60%);
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    padding-top: clamp(6rem, 14vh, 10rem);
    padding-bottom: clamp(6rem, 14vh, 10rem);
}

.hero-center {
    text-align: center;
}

.hero-kicker {
    color: var(--color-accent);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-heading {
    margin: 0 0 1.75rem;
    display: grid;
    gap: 0.42em;
    letter-spacing: -0.028em;
    line-height: 0.94;
    text-wrap: balance;
    color: #fff;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.35);
}

.hero-heading-main {
    display: block;
    font-size: clamp(3rem, 5.5vw, 5.5rem);
    font-weight: 700;
}

.hero-heading-sub {
    display: block;
    font-family: var(--font-title);
    font-style: italic;
    font-weight: 500;
    font-size: clamp(2.4rem, 5vw, 4.8rem);
    line-height: 1.02;
}

.hero-subtitle {
    font-size: clamp(1.08rem, 1.6vw, 1.2rem);
    line-height: 1.78;
    text-wrap: balance;
    color: rgba(255, 255, 255, 0.78);
}

.hero-cta-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 32px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-family: var(--font-mono);
    font-size: 11px;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.hero-cta--primary {
    background: var(--color-accent);
    color: #fff;
    box-shadow: 0 6px 30px rgba(184, 134, 11, 0.35);
}

.hero-cta--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(184, 134, 11, 0.5);
    background: #c9960d;
}

.hero-cta--ghost {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.38);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(6px);
}

.hero-cta--ghost:hover {
    transform: translateY(-2px);
    border-color: var(--color-accent);
    color: var(--color-accent);
    background: rgba(255, 255, 255, 0.14);
}

/* Hero trust badges */
.hero-trust {
    margin-top: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-trust-item {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.6);
}

.hero-trust-dot {
    color: rgba(255, 255, 255, 0.25);
    font-size: 18px;
}

/* Scroll indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 10;
}

.hero-scroll-text {
    font-family: var(--font-mono);
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: rgba(255, 255, 255, 0.5);
}

.hero-scroll-line {
    width: 1px;
    height: 32px;
    background: linear-gradient(to bottom, var(--color-accent), transparent);
    animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {

    0%,
    100% {
        opacity: 0.3;
        transform: scaleY(0.6);
    }

    50% {
        opacity: 1;
        transform: scaleY(1);
    }
}


/* Conversion strip */
.conversion-strip {
    background: linear-gradient(to bottom, #fff, rgba(250, 250, 248, 0.7));
}

.conversion-card {
    border: 1px solid rgba(10, 10, 10, 0.1);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(247, 245, 241, 0.94));
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 10px 28px rgba(10, 10, 10, 0.06);
}

.conversion-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(184, 134, 11, 0.12), rgba(184, 134, 11, 0.04));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    margin-bottom: 16px;
}

.conversion-kicker {
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 10px;
    color: var(--color-accent);
    margin-bottom: 10px;
}

.conversion-title {
    font-size: clamp(24px, 2.1vw, 30px);
    line-height: 1.2;
    margin-bottom: 10px;
}

.conversion-text {
    color: var(--color-text-muted);
    font-size: 15px;
}

/* Collection */
.collection-section {
    background: linear-gradient(to bottom, #fff, var(--color-surface-soft));
}

.section-head {
    border-bottom: 1px solid rgba(10, 10, 10, 0.1);
    padding-bottom: 20px;
}

.section-subtext {
    font-size: 1.05rem;
}

/* Social Proof */
.social-proof-section {
    padding: 5rem 0;
    background: #0a0a0a;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.social-proof-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(184, 134, 11, 0.10), transparent 50%);
    pointer-events: none;
}

/* Section header */
.sp-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.sp-kicker {
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--color-accent);
    margin-bottom: 0.75rem;
}

.sp-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 600;
    color: #fff;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.sp-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.sp-stars {
    font-size: 1.3rem;
    color: var(--color-accent);
    letter-spacing: 2px;
}

.sp-rating-text {
    font-family: var(--font-mono);
    font-size: 11px;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.08em;
}

/* Testimonials grid */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    position: relative;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    border-color: rgba(184, 134, 11, 0.25);
}

.tc-featured {
    border-color: rgba(184, 134, 11, 0.3);
    background: rgba(184, 134, 11, 0.06);
}

.tc-featured:hover {
    border-color: rgba(184, 134, 11, 0.5);
}

.tc-stars {
    font-size: 0.85rem;
    color: var(--color-accent);
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-family: var(--font-title);
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tc-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-accent), #d4a810);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    flex-shrink: 0;
}

.testimonial-name {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.85rem;
    color: #fff;
    display: block;
}

.testimonial-detail {
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(255, 255, 255, 0.4);
    display: block;
    margin-top: 2px;
}

/* Trust footer */
.sp-trust-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    flex-wrap: wrap;
}

.sp-trust-badge {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.5);
}


.template-row {
    align-items: center;
}

.template-visual {
    border-radius: 20px;
    border: 1px solid rgba(10, 10, 10, 0.1);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    position: relative;
}

.template-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.08), transparent 36%);
    pointer-events: none;
    z-index: 1;
}

.template-image {
    width: 100%;
    position: relative;
    z-index: 0;
    transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), filter 0.65s ease;
}

.template-row:hover .template-image {
    transform: scale(1.035);
    filter: saturate(1.04);
}

.template-copy p {
    line-height: 1.75;
}

.template-fit {
    opacity: 0.8;
}

.template-link {
    position: relative;
    overflow: hidden;
    border-color: rgba(10, 10, 10, 0.22);
    background: rgba(255, 255, 255, 0.72);
}

.template-link::after {
    content: '→';
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.template-link:hover::after {
    transform: translateX(4px);
}

/* Pricing */
.pricing-section {
    background:
        radial-gradient(circle at 10% 0%, rgba(184, 134, 11, 0.08), transparent 30%),
        var(--color-bg-section);
}

.pricing-card {
    border-radius: 18px;
    border-color: rgba(10, 10, 10, 0.08);
    box-shadow: 0 12px 36px rgba(10, 10, 10, 0.08);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.88));
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease, border-color 0.5s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-accent);
    box-shadow: 0 30px 60px rgba(10, 10, 10, 0.12);
}

.pricing-card:hover .conversion-icon {
    background: var(--color-accent);
    color: #fff;
    transform: scale(1.1) rotate(-3deg);
}

.pricing-card .conversion-icon {
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.pricing-card--featured {
    box-shadow: 0 28px 60px rgba(10, 10, 10, 0.16);
    border-width: 1px;
}

.pricing-badge {
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(184, 134, 11, 0.35);
}

.pricing-feature span {
    border-radius: 999px;
    flex-shrink: 0;
}

.pricing-cta {
    border-radius: 999px;
    transition: all 0.3s ease;
}

.pricing-cta:hover {
    border-color: var(--color-text-primary);
}

.pricing-cta--featured {
    box-shadow: 0 10px 24px rgba(10, 10, 10, 0.22);
}

.pricing-note {
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 10px;
}

.pricing-target {
    min-height: 54px;
}

/* Lead */
.lead-section {
    background: linear-gradient(to bottom, #fff, var(--color-surface-soft));
}

.lead-wrap {
    align-items: stretch;
}

.lead-forms-stack {
    display: grid;
    gap: 16px;
}

.lead-points li {
    position: relative;
    padding-left: 22px;
}

.lead-points li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--color-accent);
}

.lead-alt {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.lead-form {
    position: relative;
    border: 1px solid rgba(10, 10, 10, 0.1);
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(247, 245, 241, 0.92));
    box-shadow: 0 20px 48px rgba(10, 10, 10, 0.1);
    padding: clamp(20px, 3vw, 30px);
}

.lead-field {
    margin-bottom: 14px;
}

.lead-field label {
    display: block;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.13em;
    font-size: 10px;
    color: var(--color-text-muted);
    margin-bottom: 8px;
}

.lead-field input,
.lead-field select,
.lead-field textarea {
    width: 100%;
    border: 1px solid rgba(10, 10, 10, 0.22);
    background: rgba(255, 255, 255, 0.86);
    min-height: 44px;
    padding: 10px 14px;
    font-size: 14px;
    font-family: var(--font-body);
    color: var(--color-text-primary);
    border-radius: 10px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.lead-field textarea {
    min-height: 108px;
    resize: vertical;
}

.lead-field input:focus,
.lead-field select:focus,
.lead-field textarea:focus {
    border-color: rgba(184, 134, 11, 0.64);
    box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.16);
    outline: none;
}

.lead-field-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.lead-submit {
    width: 100%;
    min-height: 50px;
    border: 1px solid transparent;
    background: var(--color-text-primary);
    color: #fff;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 11px;
    margin-top: 4px;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.lead-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
    background: var(--color-accent);
}

.lead-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.lead-help {
    margin-top: 10px;
    color: var(--color-text-muted);
    font-size: 12px;
}

.lead-help[data-state="loading"] {
    color: #8a6a1f;
}

.lead-help[data-state="success"] {
    color: #1f7a38;
}

.lead-help[data-state="error"] {
    color: #9f1c1c;
}

.lead-honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* --- Chatbot Widget --- */
.chatbot-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 50;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.chatbot-fab {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: var(--color-accent);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(184, 134, 11, 0.4);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    border: none;
    z-index: 52;
}

.chatbot-fab:hover {
    transform: scale(1.05);
    box-shadow: 0 14px 30px rgba(184, 134, 11, 0.5);
    background-color: var(--color-text-primary);
}

.chatbot-fab svg {
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s ease;
}

.chatbot-widget[data-state="open"] .chatbot-fab svg {
    transform: rotate(90deg) scale(0);
    opacity: 0;
}

.chatbot-card {
    position: absolute;
    bottom: 84px;
    /* Above the FAB */
    right: 0;
    width: min(calc(100vw - 48px), 380px);
    /* Responsive width */
    border: 1px solid rgba(10, 10, 10, 0.1);
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(247, 245, 241, 0.92));
    box-shadow: 0 24px 48px rgba(10, 10, 10, 0.18);
    padding: clamp(20px, 2.5vw, 28px);
    z-index: 51;

    /* Animation hidden state */
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px) scale(0.95);
    transform-origin: bottom right;
    transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.chatbot-card.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.chatbot-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text-muted);
    padding: 8px;
    border-radius: 50%;
    transition: color 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot-close:hover {
    color: var(--color-text-primary);
    background-color: rgba(10, 10, 10, 0.05);
    transform: rotate(90deg);
}

.chatbot-kicker {
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 10px;
    color: var(--color-accent);
    margin-bottom: 8px;
}

.chatbot-title {
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 2.1vw, 1.7rem);
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.chatbot-copy {
    color: var(--color-text-muted);
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 14px;
}

.chatbot-form .lead-field textarea {
    min-height: 96px;
}

.chatbot-submit {
    background: var(--color-accent);
}

.chatbot-submit:hover {
    background: var(--color-text-primary);
}

/* FAQ */
.faq-section {
    background: #fff;
}

.faq-item {
    border: 1px solid rgba(10, 10, 10, 0.08);
    border-radius: 12px;
    padding: 0 20px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(249, 247, 243, 0.62));
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item[open] {
    border-color: rgba(184, 134, 11, 0.4);
    box-shadow: 0 12px 32px rgba(10, 10, 10, 0.08);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

/* Footer */
.site-footer {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 0%, rgba(184, 134, 11, 0.22), transparent 42%),
        #0a0a0a;
}

.site-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.06;
    background-image: url("data:image/svg+xml,%3Csvg width='160' height='160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.site-footer>.container {
    position: relative;
    z-index: 2;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 3rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-tagline {
    font-family: var(--font-title);
    font-style: italic;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.95rem;
}

.footer-cols {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 120px;
}

.footer-col-title {
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 6px;
}

.footer-link {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-link:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal-link {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.3);
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-legal-link:hover {
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive */
@media (max-width: 900px) {
    .site-nav .nav-shell {
        padding: 10px 14px;
    }

    .nav-cta {
        padding: 8px 12px;
        font-size: 10px;
    }

    .hero-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        text-align: center;
    }

    .hero-cta-row {
        justify-content: center;
    }

    .hero-heading {
        margin: 0 auto 1.75rem;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .phone-frame {
        width: 200px;
        height: 410px;
        border-radius: 34px;
        padding: 10px;
    }

    .phone-notch {
        width: 80px;
        height: 22px;
        top: 10px;
    }

    .phone-screen {
        border-radius: 24px;
    }

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

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 767px) {
    .hero-section {
        padding-top: 108px;
        padding-bottom: 72px;
    }

    .hero-subtitle {
        font-size: 1.04rem;
        line-height: 1.72;
    }

    .hero-heading-main {
        font-size: clamp(2.35rem, 12vw, 3.35rem);
    }

    .hero-heading-sub {
        font-size: clamp(2.05rem, 10.5vw, 3rem);
        line-height: 1.05;
    }

    .hero-heading {
        margin-bottom: 1.35rem;
        gap: 0.28em;
        line-height: 1;
    }

    .hero-cta-row {
        flex-direction: column;
        align-items: center;
    }

    .hero-cta {
        width: min(100%, 320px);
    }

    .hero-mockup {
        margin-top: 2rem;
    }

    .phone-frame {
        width: 180px;
        height: 370px;
        border-radius: 30px;
        padding: 8px;
    }

    .phone-notch {
        width: 70px;
        height: 20px;
        top: 8px;
    }

    .phone-screen {
        border-radius: 22px;
    }

    .hero-scroll-indicator {
        bottom: 16px;
    }

    .template-visual {
        border-radius: 14px;
    }

    .conversion-card {
        padding: 20px;
    }

    .social-proof-stats {
        gap: 1.5rem;
    }

    .stat-divider {
        display: none;
    }

    .stat-item {
        flex: 0 0 40%;
    }

    .pricing-card,
    .pricing-card--featured {
        transform: none !important;
        padding: 30px 24px;
    }

    .faq-item {
        padding: 0 14px;
    }

    .lead-field-grid {
        grid-template-columns: 1fr;
    }

    .footer-cols {
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {

    .reveal,
    .template-image,
    .template-link,
    .pricing-card,
    .hero-cta,
    .site-nav .nav-shell,
    .phone-frame,
    .hero-scroll-line {
        transition: none !important;
        animation: none !important;
        transform: none !important;
    }
}