/* ══════════════════════════════════════════════════
   Appointment Scheduling — Page Styles
   ══════════════════════════════════════════════════ */

/* ── Hero Layout ────────────────────────────────── */
.as-hero {
    position: relative;
    padding: 160px 0 100px;
    background: var(--bg-primary);
    overflow: hidden;
}

.as-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 0;
    animation: asGridDrift 20s linear infinite;
}

.as-hero::after {
    content: '';
    position: absolute;
    top: -100px;
    right: -200px;
    width: 900px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(0, 113, 227, 0.08) 0%, rgba(48, 209, 88, 0.04) 40%, transparent 70%);
    z-index: 0;
    pointer-events: none;
    animation: asGlowPulse 6s ease-in-out infinite alternate;
}

@keyframes asGridDrift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

@keyframes asGlowPulse {
    0% { opacity: 0.6; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.06); }
}

.as-hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.as-hero-text {
    animation: asFadeSlideUp 0.8s ease-out both;
}

.as-hero-overline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px;
    border-radius: 980px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: rgba(0, 113, 227, 0.08);
    color: var(--accent);
    margin-bottom: 24px;
}

.as-hero-text .headline-hero {
    margin-bottom: 20px;
}

.as-gradient {
    background: linear-gradient(135deg, #0071e3, #30d158);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.as-hero-text .subhead {
    margin-bottom: 36px;
    max-width: 480px;
}

.as-hero-trust {
    margin-top: 32px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-tertiary);
}

.as-hero-trust-dots {
    display: flex;
    gap: 4px;
}

.as-hero-trust-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #30d158;
}

@keyframes asFadeSlideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ── Phone Mockup ───────────────────────────────── */
.as-phone-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    animation: asFadeSlideUp 0.8s 0.3s ease-out both;
}

.as-phone {
    position: relative;
    width: 290px;
    background: #111;
    border-radius: 44px;
    padding: 12px;
    box-shadow:
        0 40px 100px rgba(0, 0, 0, 0.18),
        0 16px 40px rgba(0, 0, 0, 0.1),
        inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    animation: asPhoneFloat 6s ease-in-out infinite;
    z-index: 2;
}

.as-phone::before {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 60px;
    background: radial-gradient(ellipse, rgba(0, 113, 227, 0.12), transparent 70%);
    filter: blur(16px);
    z-index: -1;
}

@keyframes asPhoneFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.as-screen {
    background: var(--bg-section);
    border-radius: 34px;
    overflow: hidden;
}

.as-screen-header {
    padding: 12px 16px 10px;
    text-align: center;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.as-screen-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0071e3, #30d158);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 11px;
    flex-shrink: 0;
}

.as-screen-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.as-chat {
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 330px;
}

.as-msg {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 18px;
    font-size: 13px;
    line-height: 1.4;
    opacity: 0;
    transform: translateY(8px) scale(0.96);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.as-msg.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.as-msg-ai {
    align-self: flex-start;
    background: #e9e9eb;
    color: #000;
    border-bottom-left-radius: 4px;
}

.as-msg-user {
    align-self: flex-end;
    background: var(--accent);
    color: #fff;
    border-bottom-right-radius: 4px;
}

.as-typing {
    align-self: flex-start;
    display: flex;
    gap: 5px;
    padding: 12px 16px;
    background: #e9e9eb;
    border-radius: 18px;
    border-bottom-left-radius: 4px;
    opacity: 0;
    transition: opacity 0.25s;
}

.as-typing.visible { opacity: 1; }

.as-typing-dot {
    width: 7px;
    height: 7px;
    background: #86868b;
    border-radius: 50%;
    animation: asTypingBounce 1.4s infinite;
}

.as-typing-dot:nth-child(2) { animation-delay: 0.15s; }
.as-typing-dot:nth-child(3) { animation-delay: 0.3s; }

@keyframes asTypingBounce {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-5px); }
}

.as-screen-input {
    padding: 10px 12px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 8px;
}

.as-screen-input-field {
    flex: 1;
    height: 32px;
    border-radius: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
}

.as-screen-input-send {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.as-screen-input-send svg {
    width: 14px;
    height: 14px;
    fill: #fff;
}

/* ── Call Scheduled Notification ─────────────────── */
.as-notif {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(16px);
    background: #fff;
    padding: 12px 20px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.04);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.5s, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 3;
}

.as-notif.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.as-notif-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #30d158;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.as-notif-icon svg {
    width: 14px;
    height: 14px;
    stroke: #fff;
    fill: none;
    stroke-width: 2.5;
}

/* ── Floating Badges ────────────────────────────── */
.as-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.03);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s, transform 0.5s;
    z-index: 3;
}

.as-badge.visible {
    opacity: 1;
    transform: translateY(0);
}

.as-badge-1 {
    top: 12%;
    right: -60px;
    animation: asBadgeFloat1 4s ease-in-out infinite alternate;
    animation-play-state: paused;
}

.as-badge-2 {
    bottom: 35%;
    left: -70px;
    animation: asBadgeFloat2 4.5s ease-in-out infinite alternate;
    animation-play-state: paused;
}

.as-badge-3 {
    bottom: 12%;
    right: -50px;
    animation: asBadgeFloat3 3.8s ease-in-out infinite alternate;
    animation-play-state: paused;
}

.as-badge.visible { animation-play-state: running; }

.as-badge-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.as-badge-icon svg {
    width: 14px;
    height: 14px;
}

@keyframes asBadgeFloat1 { 0% { transform: translateY(0); } 100% { transform: translateY(-8px); } }
@keyframes asBadgeFloat2 { 0% { transform: translateY(0); } 100% { transform: translateY(-6px); } }
@keyframes asBadgeFloat3 { 0% { transform: translateY(0); } 100% { transform: translateY(-7px); } }

/* ── Section Spacing ───────────────────────────── */
.as-process,
.as-benefits,
.as-related,
.as-timeline,
.as-funnel { padding: 100px 0; }

/* ── Process Steps ──────────────────────────────── */
.as-process { text-align: center; }
.as-process .headline-section { margin-bottom: 12px; }
.as-process .subhead { margin: 0 auto 56px; max-width: 500px; }

.as-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 960px;
    margin: 0 auto;
}

.as-step {
    text-align: center;
    padding: 0 16px;
}

.as-step-num {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(0, 113, 227, 0.08);
    color: var(--accent);
    font-size: 22px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.as-step:hover .as-step-num {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 113, 227, 0.15);
}

.as-step .headline-card {
    margin-bottom: 10px;
    font-size: 20px;
}

.as-step .body-text {
    font-size: 15px;
}

/* ══════════════════════════════════════════════════
   UNIQUE ELEMENT 1 — Live Scheduling Timeline
   ══════════════════════════════════════════════════ */
.as-timeline {
    background: var(--bg-section);
}

.as-timeline .headline-section { text-align: center; margin-bottom: 12px; }
.as-timeline .subhead { text-align: center; margin: 0 auto 56px; max-width: 540px; }

.as-timeline-wrap {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.04);
}

.as-timeline-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 28px;
    border-bottom: 1px solid var(--border);
}

.as-timeline-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.as-timeline-live {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #30d158;
}

.as-timeline-live-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #30d158;
    animation: asLivePulse 2s ease-in-out infinite;
}

@keyframes asLivePulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(48, 209, 88, 0.4); }
    50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(48, 209, 88, 0); }
}

.as-timeline-grid {
    display: grid;
    grid-template-columns: 80px 1fr;
    position: relative;
}

.as-timeline-hours {
    border-right: 1px solid var(--border);
    padding: 0 0 12px;
}

.as-timeline-hour {
    height: 60px;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 0 12px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-tertiary);
}

.as-timeline-slots {
    position: relative;
    padding: 0 16px 12px;
}

.as-timeline-slot {
    position: absolute;
    left: 16px;
    right: 16px;
    border-radius: 10px;
    padding: 8px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transform: translateX(-12px);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.as-timeline-slot.visible {
    opacity: 1;
    transform: translateX(0);
}

.as-timeline-slot-blue {
    background: rgba(0, 113, 227, 0.08);
    border: 1px solid rgba(0, 113, 227, 0.15);
}

.as-timeline-slot-green {
    background: rgba(48, 209, 88, 0.08);
    border: 1px solid rgba(48, 209, 88, 0.15);
}

.as-timeline-slot-purple {
    background: rgba(120, 75, 250, 0.08);
    border: 1px solid rgba(120, 75, 250, 0.15);
}

.as-timeline-slot-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.as-timeline-slot-blue .as-timeline-slot-icon { background: rgba(0, 113, 227, 0.12); }
.as-timeline-slot-green .as-timeline-slot-icon { background: rgba(48, 209, 88, 0.12); }
.as-timeline-slot-purple .as-timeline-slot-icon { background: rgba(120, 75, 250, 0.12); }

.as-timeline-slot-icon svg {
    width: 13px;
    height: 13px;
}

.as-timeline-slot-info {
    flex: 1;
    min-width: 0;
}

.as-timeline-slot-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.2;
}

.as-timeline-slot-detail {
    font-size: 11px;
    color: var(--text-tertiary);
    margin-top: 2px;
}

.as-timeline-slot-status {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 980px;
    flex-shrink: 0;
    white-space: nowrap;
}

.as-timeline-slot-blue .as-timeline-slot-status { background: rgba(0, 113, 227, 0.1); color: #0071e3; }
.as-timeline-slot-green .as-timeline-slot-status { background: rgba(48, 209, 88, 0.1); color: #1a8a3e; }
.as-timeline-slot-purple .as-timeline-slot-status { background: rgba(120, 75, 250, 0.1); color: #784bfa; }

.as-timeline-counter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 20px 28px;
    border-top: 1px solid var(--border);
}

.as-timeline-counter-item {
    text-align: center;
}

.as-timeline-counter-num {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
}

.as-timeline-counter-num.accent { color: var(--accent); }
.as-timeline-counter-num.green { color: #30d158; }
.as-timeline-counter-num.purple { color: #784bfa; }

.as-timeline-counter-label {
    font-size: 12px;
    color: var(--text-tertiary);
    font-weight: 500;
    margin-top: 4px;
}

/* ══════════════════════════════════════════════════
   UNIQUE ELEMENT 2 — Conversion Funnel
   ══════════════════════════════════════════════════ */
.as-funnel {
    text-align: center;
}

.as-funnel .headline-section { margin-bottom: 12px; }
.as-funnel .subhead { margin: 0 auto 56px; max-width: 540px; }

.as-funnel-wrap {
    max-width: 800px;
    margin: 0 auto;
}

.as-funnel-stages {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.as-funnel-stage {
    display: flex;
    align-items: center;
    gap: 20px;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.as-funnel-stage.visible {
    opacity: 1;
    transform: translateY(0);
}

.as-funnel-label {
    width: 140px;
    text-align: right;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    flex-shrink: 0;
}

.as-funnel-bar-wrap {
    flex: 1;
    height: 48px;
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border);
    overflow: hidden;
    position: relative;
}

.as-funnel-bar {
    height: 100%;
    border-radius: 11px;
    width: 0;
    transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 14px;
}

.as-funnel-stage.visible .as-funnel-bar {
    /* widths set inline */
}

.as-funnel-bar-1 { background: linear-gradient(90deg, rgba(0, 113, 227, 0.12), rgba(0, 113, 227, 0.2)); }
.as-funnel-bar-2 { background: linear-gradient(90deg, rgba(0, 113, 227, 0.15), rgba(48, 209, 88, 0.2)); }
.as-funnel-bar-3 { background: linear-gradient(90deg, rgba(48, 209, 88, 0.12), rgba(48, 209, 88, 0.22)); }
.as-funnel-bar-4 { background: linear-gradient(90deg, rgba(48, 209, 88, 0.15), rgba(120, 75, 250, 0.2)); }
.as-funnel-bar-5 { background: linear-gradient(90deg, rgba(120, 75, 250, 0.12), rgba(120, 75, 250, 0.25)); }

.as-funnel-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.5s 0.8s ease;
}

.as-funnel-stage.visible .as-funnel-value {
    opacity: 1;
}

.as-funnel-pct {
    width: 60px;
    text-align: left;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-tertiary);
    flex-shrink: 0;
}

.as-funnel-pct.blue { color: #0071e3; }
.as-funnel-pct.green { color: #30d158; }
.as-funnel-pct.purple { color: #784bfa; }

.as-funnel-summary {
    margin-top: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
}

.as-funnel-highlight {
    font-weight: 700;
    color: #30d158;
}

/* ── Benefits Bento Grid ── */
.as-benefits { text-align: center; }
.as-benefits .headline-section { margin-bottom: 12px; }
.as-benefits .subhead { margin: 0 auto 56px; max-width: 520px; }

.as-bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(220px, auto);
    gap: 16px;
    max-width: 1000px;
    margin: 0 auto;
}

.as-bento-grid .bento-card:nth-child(1) { grid-column: 1 / 3; }
.as-bento-grid .bento-card:nth-child(2) { grid-column: 3; grid-row: 1 / 3; }
.as-bento-grid .bento-card:nth-child(6) { grid-column: 2 / 4; }

.as-bento-grid .bento-card {
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.as-bento-grid .bento-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.as-bento-grid .bento-card-graphic svg {
    transition: transform 0.4s ease;
}

.as-bento-grid .bento-card:hover .bento-card-graphic svg {
    transform: scale(1.05);
}

@keyframes asIconPulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.08); }
}

.as-bento-grid .bento-card-graphic .pulse-ring {
    animation: asIconPulse 3s ease-in-out infinite;
}

@keyframes asIconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.as-bento-grid .bento-app-icon:nth-child(1) { animation: asIconFloat 3s ease-in-out infinite; }
.as-bento-grid .bento-app-icon:nth-child(2) { animation: asIconFloat 3s 0.3s ease-in-out infinite; }
.as-bento-grid .bento-app-icon:nth-child(3) { animation: asIconFloat 3s 0.6s ease-in-out infinite; }
.as-bento-grid .bento-app-icon:nth-child(4) { animation: asIconFloat 3s 0.9s ease-in-out infinite; }

@keyframes asClockSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.as-clock-hand {
    transform-origin: 80px 50px;
    animation: asClockSpin 8s linear infinite;
}

/* ── Stats Banner Override ── */
.as-stats-section {
    background: var(--bg-card);
}

/* ── Related Use Cases ── */
.as-related { text-align: center; }
.as-related .headline-section { margin-bottom: 12px; }
.as-related .subhead { margin: 0 auto 48px; max-width: 480px; }

.as-related .feature-card {
    text-decoration: none;
    color: inherit;
    display: block;
}

.as-related .feature-card .ind-card-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--accent);
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity 0.3s, transform 0.3s;
}

.as-related .feature-card:hover .ind-card-arrow {
    opacity: 1;
    transform: translateX(0);
}

.as-related .ind-icon-graphic {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    border-radius: 14px;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.as-related .ind-icon-graphic-blue  { background: rgba(0, 113, 227, 0.04); }
.as-related .ind-icon-graphic-green { background: rgba(29, 185, 84, 0.04); }
.as-related .ind-icon-graphic-purple { background: rgba(120, 75, 250, 0.04); }

.as-related .feature-card:hover .ind-icon-graphic {
    transform: translateY(-4px);
}

.as-related .ind-icon-graphic svg {
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.as-related .feature-card:hover .ind-icon-graphic svg {
    transform: scale(1.08);
}

/* ── Device Morph Dashboard Section ───────────── */
.as-device-morph {
    position: relative;
    height: 300vh;
    background: var(--bg-primary);
}

.as-device-morph-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.as-device-frame {
    position: relative;
    width: 80%;
    max-width: 1000px;
    height: 56vh;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
}

.as-device-frame .app-demo-titlebar {
    flex-shrink: 0;
}

.as-device-frame .app-demo-body {
    flex: 1;
    height: auto;
}

.as-device-dark {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    pointer-events: none;
    z-index: 110;
}

.as-device-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
    z-index: 111;
    opacity: 0;
    transform: translateY(24px);
}

.as-device-content .headline-section {
    color: #fff;
    margin-bottom: 16px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.as-device-content .subhead {
    color: rgba(255, 255, 255, 0.85);
    max-width: 580px;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
}

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 960px) {
    .as-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 48px;
    }

    .as-hero-text .subhead {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .as-hero-text .hero-actions {
        justify-content: center;
    }

    .as-hero-trust {
        justify-content: center;
    }

    .as-badge { display: none; }

    .as-phone { width: 260px; }

    .as-device-frame {
        width: 90%;
    }

    .as-bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: minmax(200px, auto);
    }
    .as-bento-grid .bento-card:nth-child(1) { grid-column: 1 / 3; }
    .as-bento-grid .bento-card:nth-child(2) { grid-column: 1; grid-row: auto; }
    .as-bento-grid .bento-card:nth-child(6) { grid-column: 1 / 3; }

    .as-funnel-label { width: 110px; font-size: 13px; }
    .as-funnel-bar-wrap { height: 40px; }
    .as-timeline-counter { gap: 24px; }
}

@media (max-width: 768px) {
    .as-hero { padding: 140px 0 60px; }

    .as-process,
    .as-benefits,
    .as-related,
    .as-timeline,
    .as-funnel { padding: 80px 0; }

    .as-phone { width: 240px; border-radius: 36px; padding: 10px; }
    .as-screen { border-radius: 28px; }
    .as-chat { min-height: 280px; padding: 12px 10px; }
    .as-msg { font-size: 12px; }

    .as-steps {
        grid-template-columns: 1fr;
        gap: 40px;
        max-width: 400px;
    }

    .as-device-morph { height: 250vh; }
    .as-device-frame {
        width: 94%;
        height: 40vh;
    }
    .as-device-frame .app-demo-sidebar { display: none; }
    .as-device-frame .app-demo-body { grid-template-columns: 1fr; }
    .as-device-content { padding: 24px; }
    .as-device-content .headline-section { font-size: 28px; }
    .as-device-content .subhead { font-size: 16px; }

    .as-bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: minmax(180px, auto);
    }
    .as-bento-grid .bento-card:nth-child(1),
    .as-bento-grid .bento-card:nth-child(2),
    .as-bento-grid .bento-card:nth-child(6) { grid-column: 1; grid-row: auto; }

    /* Timeline responsive */
    .as-timeline-grid { grid-template-columns: 60px 1fr; }
    .as-timeline-hour { font-size: 11px; padding: 0 8px; }
    .as-timeline-slot { padding: 6px 10px; gap: 8px; }
    .as-timeline-slot-name { font-size: 12px; }
    .as-timeline-slot-detail { font-size: 10px; }
    .as-timeline-slot-status { font-size: 10px; padding: 2px 8px; }
    .as-timeline-counter { flex-wrap: wrap; gap: 16px; padding: 16px 20px; }
    .as-timeline-counter-num { font-size: 22px; }

    /* Funnel responsive */
    .as-funnel-stages { gap: 8px; }
    .as-funnel-stage { gap: 12px; }
    .as-funnel-label { width: 80px; font-size: 12px; }
    .as-funnel-bar-wrap { height: 36px; }
    .as-funnel-value { font-size: 12px; }
    .as-funnel-pct { width: 48px; font-size: 12px; }
}

@media (max-width: 480px) {
    .as-timeline-slot-status { display: none; }
    .as-timeline-slot-icon { width: 24px; height: 24px; }
    .as-timeline-slot-icon svg { width: 11px; height: 11px; }
    .as-funnel-label { width: 60px; font-size: 11px; }
    .as-funnel-pct { width: 40px; font-size: 11px; }
}
