:root {
    --bg-color: #fbfbfd;
    --text-primary: #1d1d1f;
    --text-secondary: #86868b;
    --apple-blue: #0071e3;
    --btn-blue: #0071e3;
    --btn-blue-hover: #0077ed;
    --gradient-aura: radial-gradient(circle at 50% 50%, rgba(255,105,180,0.4), rgba(138,43,226,0.3), rgba(0,191,255,0.3), transparent 60%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'SF Pro Display', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: transparent; /* Changed for ambient background */
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Ambient Background */
.ambient-background {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
    background: #fbfbfd;
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.5;
    animation: floatGlow 20s ease-in-out infinite alternate;
}

.glow-1 {
    width: 800px; height: 800px;
    background: radial-gradient(circle, #e6eaff, transparent 70%);
    top: -200px; left: -200px;
}

.glow-2 {
    width: 1000px; height: 1000px;
    background: radial-gradient(circle, #f3e8ff, transparent 70%);
    bottom: -300px; right: -200px;
    animation-delay: -10s;
}

@keyframes floatGlow {
    0% { transform: translate(0, 0); }
    100% { transform: translate(100px, 50px); }
}

@media (prefers-color-scheme: dark) {
    .ambient-background { background: #000; }
    .glow-1 { background: radial-gradient(circle, #1a1a3a, transparent 70%); }
    .glow-2 { background: radial-gradient(circle, #2a1a3a, transparent 70%); }
}

/* ================== Nav ================== */
.apple-nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: 48px;
    background: rgba(251, 251, 253, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    z-index: 9999;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.nav-content {
    max-width: 980px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: opacity 0.3s ease;
}

.nav-links a:hover {
    opacity: 0.6;
}

.nav-links a.active {
    color: #424245;
}

.btn-buy {
    background: var(--btn-blue);
    color: #fff !important;
    padding: 6px 16px;
    border-radius: 980px;
    font-weight: 600 !important;
}

/* ================== Hero Section ================== */
.hero-section {
    position: relative;
    min-height: 85vh; /* Reduced from 100vh */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 48px;
    padding-bottom: 60px;
    overflow: hidden;
}

/* Apple Intelligence Siri Aura Effect */
.siri-aura {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80vw;
    height: 80vw;
    max-width: 800px;
    max-height: 800px;
    background: var(--gradient-aura);
    filter: blur(60px);
    opacity: 0.8;
    z-index: -1;
    animation: rotateAura 20s linear infinite;
}

@keyframes rotateAura {
    0% { transform: translate(-50%, -50%) rotate(0deg) scale(1); }
    50% { transform: translate(-50%, -50%) rotate(180deg) scale(1.1); }
    100% { transform: translate(-50%, -50%) rotate(360deg) scale(1); }
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    padding: 0 20px;
}

.hero-eyebrow {
    font-size: clamp(16px, 2vw, 24px);
    font-weight: 600;
    color: #424245;
    margin-bottom: 20px;
}

.hero-title {
    font-size: clamp(50px, 16vw, 160px);
    font-weight: 800;
    letter-spacing: -0.06em;
    line-height: 0.95;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #000000 20%, #434353 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.hero-description {
    font-size: clamp(18px, 2.5vw, 24px);
    font-weight: 400;
    color: #424245;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.4;
    letter-spacing: -0.015em;
}

.btn-large {
    display: inline-block;
    background: var(--text-primary);
    color: #fff;
    padding: 16px 32px;
    border-radius: 980px;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s;
}

.btn-large:active {
    transform: scale(0.95);
}

/* Glass Island Hint */
.hero-device-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.glass-island {
    background: #000;
    color: #fff;
    padding: 16px 30px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 16px;
    font-weight: 500;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.waveform {
    display: flex;
    align-items: center;
    gap: 3px;
    height: 20px;
}

.waveform i {
    display: block;
    width: 3px;
    background: #fff;
    border-radius: 3px;
    animation: wave 1s ease-in-out infinite;
}
.waveform i:nth-child(1) { height: 8px; animation-delay: 0.1s; }
.waveform i:nth-child(2) { height: 16px; animation-delay: 0.2s; }
.waveform i:nth-child(3) { height: 20px; animation-delay: 0.3s; }
.waveform i:nth-child(4) { height: 12px; animation-delay: 0.4s; }
.waveform i:nth-child(5) { height: 6px; animation-delay: 0.5s; }

@keyframes wave {
    50% { height: 4px; }
}

/* Floating Decorators to fill whitespace */
.floating-decor, .card-decor, .hero-device-hint {
    display: none !important; /* BACKUP_RESTORE_POINT: Remove this line to bring all components back */
    position: absolute;
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.75);
    border: 1px solid rgba(0,0,0,0.1);
    padding: 10px 16px;
    border-radius: 14px;
    backdrop-filter: blur(10px) saturate(150%);
    -webkit-backdrop-filter: blur(10px) saturate(150%);
    z-index: 5;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}



.section-intro .floating-decor {
    z-index: 0; /* Keep behind text in intros */
}

/* Force decorators in section intros to stay in the padding areas to prevent text overlap */
.section-intro .decor-tl { top: 20px; left: 5%; }
.section-intro .decor-tr { top: 20px; right: 5%; }
.section-intro .decor-bl { 
    top: auto; 
    bottom: 30px; 
    left: 5%; 
    flex-direction: row; 
    align-items: center; 
    padding: 10px 16px; 
}
.section-intro .decor-br { 
    top: auto; 
    bottom: 30px; 
    right: 5%; 
    flex-direction: row; 
    align-items: center; 
    padding: 10px 16px; 
}

/* Force bright mode for decorators in dark sections regardless of system theme */
.section-intro.dark .floating-decor {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.2);
    color: #fff;
}

/* Internal Card Decorators */
.card-decor {
    position: absolute;
    color: var(--text-primary);
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.85);
    border: 1px solid rgba(0,0,0,0.1);
    padding: 6px 12px;
    border-radius: 980px;
    backdrop-filter: blur(10px) saturate(150%);
    -webkit-backdrop-filter: blur(10px) saturate(150%);
    z-index: 5;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.bento-card[class*="-card"] .card-decor {
    /* Base rule */
}



/* Ensure .muted spans inside decor are legible */
.floating-decor .muted, .card-decor .muted {
    color: inherit;
    opacity: 0.6;
}

.decor-tl { top: 20%; left: 10%; }
.decor-tr { top: 25%; right: 10%; }
.decor-bl { bottom: 25%; left: 8%; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 14px; }
.decor-br { bottom: 20%; right: 12%; }

.decor-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--text-secondary); }
.pulse-green { background: #34c759; box-shadow: 0 0 10px #34c759; animation: dotPing 2s infinite; }

.decor-line { height: 4px; background: rgba(0,0,0,0.1); border-radius: 2px; width: 40px; }
.decor-line.short { width: 25px; }
.decor-line.medium { width: 35px; }

@media (prefers-color-scheme: dark) {
    .decor-line { background: rgba(255,255,255,0.15); }
    .decor-dot { background: rgba(255,255,255,0.3); }
}

.decor-ring { width: 14px; height: 14px; border: 2px solid var(--apple-blue); border-radius: 50%; border-top-color: transparent; animation: rotateChip 2s linear infinite; }

@media (max-width: 768px) {
    /* Instead of hiding, make decorators tiny and unobtrusive for H5 */
    .floating-decor, .card-decor {
        font-size: 10px;
        padding: 4px 8px;
        border-radius: 8px;
        gap: 4px;
        transform: scale(0.85);
        transform-origin: center;
    }
    
    .decor-line { height: 2px; }
    .decor-line.short { width: 12px; }
    .decor-line.medium { width: 20px; }
    .decor-ring { width: 10px; height: 10px; border-width: 1.5px; }
    .decor-dot { width: 6px; height: 6px; }

    /* Override inline styles for card decors to keep them inside the borders */
    .card-decor[style*="left: 40px"], .card-decor[style*="left: 30px"] { left: 10px !important; }
    .card-decor[style*="right: 40px"], .card-decor[style*="right: 30px"] { right: 10px !important; }
    .card-decor[style*="top: 40px"], .card-decor[style*="top: 30px"] { top: 10px !important; }
    .card-decor[style*="bottom: 40px"], .card-decor[style*="bottom: 30px"] { bottom: 10px !important; }

    /* Hero section limits */
    .hero-section .decor-tl { top: 15%; left: 2%; }
    .hero-section .decor-tr { top: 20%; right: 2%; }
    .hero-section .decor-bl { bottom: 15%; left: 2%; }
    .hero-section .decor-br { bottom: 20%; right: 2%; }
    
    /* Section intro limits */
    .section-intro .decor-tl { left: 2%; top: 5px; }
    .section-intro .decor-tr { right: 2%; top: 5px; }
    .section-intro .decor-bl { left: 2%; bottom: 15px; }
    .section-intro .decor-br { right: 2%; bottom: 15px; }
}

/* ================== Scroll Magic Section ================== */
.scroll-story-section {
    height: 300vh; /* Increased from 150vh to slow down the text fading animation and give users time to read */
    background: #000;
    position: relative;
}

.story-bg-grid {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 0;
    pointer-events: none;
    -webkit-mask-image: radial-gradient(circle at center, black 20%, transparent 80%);
    mask-image: radial-gradient(circle at center, black 20%, transparent 80%);
}

.sticky-viewport {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.story-text-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.story-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 100%;
    font-size: clamp(80px, 16vw, 200px);
    font-weight: 900; /* Max thickness */
    letter-spacing: -0.05em;
    color: #fff;
    opacity: 0;
    line-height: 0.9;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.story-text .st-left {
    margin-right: 0;
}

.story-text .st-right {
    margin-left: 0;
    color: #424245;
}

.story-text.gradient-massive .st-right {
    color: inherit;
}

.gradient-massive {
    background: linear-gradient(135deg, #ff7a18, #af002d 30%, #319197 70%, #000000 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}

/* ================== Poster Single ================== */
.poster-single {
    background: #fbfbfd;
    padding: 100px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.poster-item {
    width: 90%;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}

.poster-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

@media (max-width: 768px) {
    .poster-single { padding: 60px 0; }
    .poster-item { width: 100%; max-width: none; margin-bottom: 0; }
}

/* ================== Apple-Style Section Intros ================== */
.section-intro {
    padding: 80px 20px 40px; /* Reduced from 120px 20px 60px */
    text-align: center;
    max-width: 980px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Structural Grid Lines */
.section-intro::before, .section-intro::after {
    content: '';
    position: absolute;
    background: rgba(0,0,0,0.03);
    pointer-events: none;
    z-index: -1;
}

.section-intro::before {
    top: 0; bottom: 0; left: 50%;
    width: 1px;
}

.section-intro::after {
    left: 0; right: 0; top: 50%;
    height: 1px;
}

.section-intro.dark::before, .section-intro.dark::after {
    background: rgba(255,255,255,0.03);
}

.section-intro.dark {
    background: transparent; /* Let the ambient dark background show through if needed, but wait it's a section. Let's keep it black for full dark effect */
    background: #000;
}

.section-headline {
    font-size: clamp(60px, 12vw, 130px);
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 1.15;
    margin-bottom: 30px;
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3em;
}

.section-headline span:nth-child(1) {
    margin-right: 0;
}

.section-headline span:nth-child(2) {
    margin-left: 0;
    color: #424245;
}

.section-intro.dark .section-headline span:nth-child(1) {
    background: linear-gradient(135deg, #fff 30%, #a1a1a6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-intro.dark .section-headline span:nth-child(2) {
    background: linear-gradient(135deg, #86868b 30%, #424245 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-sub {
    font-size: clamp(17px, 2.2vw, 24px);
    color: #424245;
    font-weight: 500;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.4;
}

.section-intro.dark .section-sub {
    color: #424245;
}

/* ================== Feature Bento ================== */
.feature-bento-section {
    padding: 40px 20px 100px;
    background: var(--bg-color);
}

/* Dark intro sections -> dark bento */
.section-intro.dark + .feature-bento-section {
    background: #000;
}

.section-intro.dark + .feature-bento-section .bento-card {
    background: #1d1d1f;
}

.section-intro.dark + .feature-bento-section .bento-title {
    color: #f5f5f7;
}

.section-intro.dark + .feature-bento-section .bento-desc {
    color: #424245;
}

.bento-container {
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.bento-card {
    background: #fff;
    border-radius: 28px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 1;
    border: none !important;
}

.bento-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(rgba(0,0,0,0.04) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: 0;
    pointer-events: none;
}



.bento-card:hover {
    transform: scale(1.015);
}

.full-width { grid-column: span 2; min-height: 520px; }
.half-width { grid-column: span 1; min-height: 460px; }



.card-text {
    padding: 50px 40px 0;
    z-index: 2;
}

.card-text.center {
    text-align: center;
    padding-top: 80px;
}

.bento-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    line-height: 1.1;
}

.bento-desc {
    font-size: clamp(17px, 2vw, 21px);
    color: #424245;
    font-weight: 500;
    max-width: 600px;
    margin: 0 auto;
}

.light { color: #fff; }
.light-muted { color: rgba(255,255,255,0.7); }

/* ── Card Color Identities ── */
.bento-card.full-width:first-child {
    background: #f5f5f7;
}

.control-card {
    background: #f5f5f7;
}

.workbench-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.04);
}

.call-card {
    background: #f5f5f7;
}

.notify-card {
    background: #f5f5f7;
}



/* Abstract Visuals for Cards */
.abstract-visual {
    flex-grow: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 40px;
}

.ui-mockup {
    width: 60%;
    max-width: 400px;
    background: #fbfbfd;
    border-radius: 20px 20px 0 0;
    border: 1px solid #e5e5ea;
    border-bottom: none;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    box-shadow: 0 -20px 40px rgba(0,0,0,0.05);
}

.ui-row { height: 16px; background: #e5e5ea; border-radius: 8px; width: 100%; }
.ui-row.short { width: 60%; }
.ui-row.focus { background: linear-gradient(90deg, #32d74b, #28cd41); width: 80%; transform: scale(1.05); transition: 0.3s; box-shadow: 0 4px 15px rgba(50,215,75,0.3); }

/* Floating hint commands on OpenClaw card */
.hint-commands {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    width: 90%;
}

.hint-cmd {
    padding: 8px 18px;
    background: rgba(255,255,255,0.7);
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 980px;
    font-size: 13px;
    font-weight: 600;
    color: #1d1d1f;
    backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

/* Scene strip on replay card */
.scene-strip { text-align: center; font-size: 13px; font-weight: 500; color: #424245; letter-spacing: 0.02em; padding: 0 20px 24px; }

/* Voice command hints on doubao card */
.voice-hints {
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    color: rgba(255,255,255,0.35);
    margin-top: 8px;
}

/* Multi-notification stack */
.notif-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

/* Bubble groups for dual conversations */
.bubble-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.chat-bubbles-visual {
    gap: 20px;
}

.call-visual {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
}

.call-avatar {
    width: 100px;
    height: 100px;
    background: #000;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.ai-icon { font-size: 40px; z-index: 2; }

.call-pulse {
    position: absolute;
    width: 100%; height: 100%;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #ff2a6d, #05d5ff, #34c759, #ff2a6d);
    z-index: 1;
    animation: ringPulse 2s cubic-bezier(0.16,1,0.3,1) infinite;
    filter: blur(12px);
    opacity: 0.8;
}
.call-pulse.p2 { animation-delay: 0.5s; }

@keyframes ringPulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.8); opacity: 0; }
}

.call-status { font-size: 16px; font-weight: 600; color: var(--apple-blue); }

.chat-bubbles-visual {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 40px;
    gap: 16px;
}

.bubble { padding: 16px 20px; border-radius: 20px; font-size: 17px; max-width: 85%; }
.bubble.in { background: #1c1c1e; color: #fff; align-self: flex-start; }
.bubble.out { background: linear-gradient(135deg, #34c759, #30d158); color: #fff; align-self: flex-end; box-shadow: 0 4px 15px rgba(52,199,89,0.3); border: 1px solid rgba(255,255,255,0.1); }

/* ② Control Card – Task Timeline */
.control-card {
    background: #f5f5f7;
}

.control-visual {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    gap: 16px;
}

.timeline-bar {
    display: flex;
    align-items: center;
    gap: 0;
}

.tl-dot {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #d1d1d6;
    flex-shrink: 0;
}

.tl-dot.done { background: linear-gradient(135deg, #34c759, #30d158); }
.tl-dot.active { background: linear-gradient(135deg, #0071e3, #409cff); box-shadow: 0 0 0 6px rgba(0,113,227,0.2); animation: dotPing 1.5s ease-in-out infinite; }
.tl-dot.pending { background: #d1d1d6; }

.tl-line {
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #34c759, #0071e3);
}

.tl-line.pending {
    background: #d1d1d6;
}

.tl-label {
    font-size: 15px;
    font-weight: 600;
    color: var(--apple-blue);
}

@keyframes dotPing {
    0%, 100% { box-shadow: 0 0 0 4px rgba(0,113,227,0.2); }
    50% { box-shadow: 0 0 0 10px rgba(0,113,227,0.05); }
}

/* ③ Workbench Card */
.workbench-card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.04);
}

.workbench-visual {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px 40px 40px;
    gap: 10px;
}

.wb-step {
    padding: 14px 20px;
    background: #f5f5f7;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 500;
    color: #424245;
    border-left: 4px solid transparent;
    transition: all 0.3s;
}

.wb-step.active {
    background: rgba(0,113,227,0.08);
    color: var(--apple-blue);
    border-left-color: var(--apple-blue);
    font-weight: 600;
}

.wb-step.dim {
    opacity: 0.4;
}

/* ④ Replay Card */





.replay-visual {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    gap: 28px;
}

.rec-dot {
    width: 80px;
    height: 80px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.rec-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid #ff3b30;
    box-shadow: 0 0 20px rgba(255,59,48,0.5), inset 0 0 15px rgba(255,59,48,0.5);
    animation: recPulse 1.5s ease-in-out infinite;
}

.rec-core {
    font-size: 16px;
    font-weight: 800;
    color: #ff3b30;
    letter-spacing: 0.1em;
    text-shadow: 0 0 12px rgba(255,59,48,0.8);
}

@keyframes recPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.3; }
}

.replay-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.rtag { padding: 8px 18px; background: #f5f5f7; border: 1px solid rgba(0,0,0,0.05); border-radius: 980px; font-size: 14px; font-weight: 500; color: #424245; }

/* ⑤ Doubao Voice Card */





.doubao-visual {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    gap: 20px;
}

.voice-rings {
    width: 100px;
    height: 100px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.vr {
    position: absolute;
    border-radius: 50%;
    background: conic-gradient(from 180deg, #ff0f7b, #f89b29, #0071e3, #ff0f7b);
    filter: blur(12px);
    opacity: 0.8;
    animation: vrPulse 2s ease-out infinite, rotateChip 4s linear infinite;
}

.vr.r1 { width: 40px; height: 40px; animation-delay: 0s; }
.vr.r2 { width: 70px; height: 70px; animation-delay: 0.4s; }
.vr.r3 { width: 100px; height: 100px; animation-delay: 0.8s; }

@keyframes vrPulse {
    0% { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(1.4); opacity: 0; }
}

.doubao-label {
    font-size: 15px;
    font-weight: 600;
    color: var(--apple-blue);
}

/* ⑦ Notification Card */
.notify-card {
    background: #f5f5f7;
}

.notify-visual {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
}

.notif-card-mock {
    background: #fff;
    border-radius: 18px;
    padding: 20px 24px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    width: 100%;
    max-width: 300px;
}

.notif-app {
    font-size: 13px;
    font-weight: 600;
    color: #424245;
    margin-bottom: 8px;
}

.notif-msg {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 12px;
}

.notif-badge {
    font-size: 14px;
    font-weight: 600;
    color: #34c759;
}

/* ⑧ Ring Card */


.ring-visual {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    gap: 20px;
}

.ring-icon {
    font-size: 60px;
}

.health-metrics {
    display: flex;
    gap: 16px;
}

.hm {
    padding: 8px 16px;
    background: rgba(255,255,255,0.08);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

/* ⑩ Knowledge Card */
.knowledge-card {
    background: #f5f5f7;
}



/* Cloud Power Card */
.brain-card {
    background: linear-gradient(160deg, #f5f5f7, #e8e8ed);
}



.kb-tag.dark { background: #f5f5f7; color: #1d1d1f; border: 1px solid #e5e5e7; box-shadow: 0 4px 12px rgba(0,0,0,0.03); }

.chip-visual {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
}

.chip-core {
    width: 100px;
    height: 100px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(20px) saturate(150%);
    border-radius: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-weight: 800;
    font-size: 22px;
    box-shadow: 0 16px 32px rgba(0,0,0,0.3), inset 0 0 0 1px rgba(255,255,255,0.2);
    position: relative;
    z-index: 2;
}

.chip-core::after {
    content: '';
    position: absolute;
    width: 250%; height: 250%;
    /* Use conic-gradient for visible rotation effect, mixed with radial for soft edges */
    background: conic-gradient(from 0deg, #bf5af2, #0a84ff, #32ade6, #bf5af2);
    -webkit-mask-image: radial-gradient(circle, white 20%, transparent 70%);
    mask-image: radial-gradient(circle, white 20%, transparent 70%);
    z-index: -1;
    animation: aiPulseGlow 4s ease-in-out infinite alternate;
    opacity: 0.6;
}

@keyframes aiPulseGlow {
    0% { transform: scale(1) rotate(0deg); opacity: 0.5; filter: blur(20px) hue-rotate(0deg); }
    50% { transform: scale(1.3) rotate(180deg); opacity: 0.8; filter: blur(30px) hue-rotate(90deg); }
    100% { transform: scale(1) rotate(360deg); opacity: 0.5; filter: blur(20px) hue-rotate(180deg); }
}

.knowledge-visual {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    gap: 28px;
}

.kb-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.kb-tag {
    padding: 10px 20px;
    background: #fff;
    border-radius: 980px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.kb-flow {
    display: flex;
    align-items: center;
    gap: 12px;
}

.kb-node {
    padding: 10px 18px;
    background: var(--apple-blue);
    color: #fff;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
}

.kb-arrow {
    font-size: 20px;
    font-weight: 700;
    color: #424245;
}

/* Scanner Line animation */
.scanner-line {
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ff0f7b, #f89b29, #0071e3, transparent);
    filter: blur(1px);
    box-shadow: 0 0 15px rgba(255,15,123,0.5);
    animation: scanDown 3s ease-in-out infinite;
}

@keyframes scanDown {
    0% { top: 10%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { top: 90%; opacity: 0; }
}

/* ================== Stats Section ================== */
.stats-section { padding: 120px 20px; background: #fbfbfd;
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.stat-item { text-align: center; color: #1d1d1f; }

.stat-number {
    font-size: clamp(60px, 10vw, 120px);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    background: linear-gradient(180deg, #1d1d1f, #86868b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-number .unit {
    font-size: 0.4em;
}

.stat-label {
    font-size: 19px;
    font-weight: 600;
    color: #424245;
    margin-top: 10px;
}

/* ================== Footer ================== */
.apple-footer {
    background: #f5f5f7;
    padding: 30px 20px;
    font-size: 12px;
    color: #424245;
}

.footer-inner {
    max-width: 980px;
    margin: 0 auto;
}

.footer-legal {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #d2d2d7;
}

/* ══════════════════════════════════════════════════════ */
/* H5 Mobile Adaptation — Tablet (≤768px)               */
/* ══════════════════════════════════════════════════════ */
@media (max-width: 768px) {

    /* ── Section Intros ── */
    .section-intro { padding: 80px 16px 40px; }
    /* Removed .section-headline override to keep it massive */
    .section-sub { font-size: 16px; }

    /* ── Nav ── */
    .apple-nav { height: 44px; }
    .nav-content { padding: 0 16px; }
    .logo { font-size: 15px; }
    .nav-links { gap: 14px; }
    .nav-links a { font-size: 11px; }
    .btn-buy { padding: 3px 10px; }

    /* ── Hero ── */
    /* ── Hero ── */
    .hero-section { 
        height: auto; 
        min-height: 100vh; 
        padding-top: 100px; 
        padding-bottom: 80px;
        justify-content: flex-start; 
    }
    .hero-content { padding: 0 16px; }
    .hero-eyebrow { font-size: 14px; margin-bottom: 12px; }
    .hero-title { font-size: clamp(42px, 14vw, 80px); margin-bottom: 20px; }
    .hero-description { font-size: 16px; margin-bottom: 28px; line-height: 1.5; }
    .btn-large { padding: 14px 28px; font-size: 15px; }
    .siri-aura { width: 100vw; height: 100vw; filter: blur(40px); }

    .glass-island { padding: 12px 20px; font-size: 14px; gap: 10px; border-radius: 30px; }
    .waveform i { width: 2px; }

    /* ── Scroll Story ── */
    .scroll-story-section { height: 300vh; }
    /* Removed .story-text override to keep it massive */

    /* ── Bento Grid ── */
    .feature-bento-section { padding: 60px 16px; }
    .bento-container { grid-template-columns: 1fr; gap: 20px; }
    .full-width, .half-width { grid-column: span 1; min-height: auto; }

    .bento-card { border-radius: 24px; }
    .card-text { padding: 36px 24px 0; }
    .card-text.center { padding-top: 48px; }
    .bento-title { font-size: clamp(26px, 6vw, 36px); margin-bottom: 12px; }
    .bento-desc { font-size: 15px; line-height: 1.5; }

    /* ── ① OpenClaw Card ── */
    .full-width:first-child { min-height: 420px; }
    .abstract-visual { padding-bottom: 24px; }
    .ui-mockup { width: 75%; padding: 16px; gap: 12px; border-radius: 16px 16px 0 0; }
    .ui-row { height: 12px; }

    /* ── ② Control Card ── */
    .control-visual { padding: 20px; }
    .tl-line { width: 30px; }
    .tl-dot { width: 14px; height: 14px; }
    .tl-label { font-size: 13px; }

    /* ── ③ Workbench Card ── */
    .workbench-visual { padding: 16px 24px 30px; gap: 8px; }
    .wb-step { padding: 12px 16px; font-size: 14px; border-radius: 12px; }

    /* ── ④ Replay Card ── */
    .replay-visual { padding: 24px 16px; gap: 20px; }
    .rec-dot { width: 64px; height: 64px; }
    .rec-core { font-size: 14px; }
    .replay-tags { gap: 8px; }
    .rtag { padding: 6px 14px; font-size: 13px; }

    /* ── ⑤ Doubao Card ── */
    .doubao-visual { padding: 24px; gap: 16px; }
    .voice-rings { width: 80px; height: 80px; }
    .vr.r1 { width: 32px; height: 32px; }
    .vr.r2 { width: 56px; height: 56px; }
    .vr.r3 { width: 80px; height: 80px; }
    .doubao-label { font-size: 13px; }

    /* ── ⑥ Call Card ── */
    .call-visual { padding: 24px; }
    .call-avatar { width: 80px; height: 80px; margin-bottom: 16px; }
    .ai-icon { font-size: 32px; }
    .call-status { font-size: 14px; }

    /* ── ⑦ Notify Card ── */
    .notify-visual { padding: 20px; }
    .notif-card-mock { padding: 16px 20px; border-radius: 14px; }
    .notif-app { font-size: 12px; }
    .notif-msg { font-size: 15px; }
    .notif-badge { font-size: 13px; }

    /* ── ⑧ Ring Card ── */
    .ring-visual { padding: 24px; gap: 16px; }
    .ring-icon { font-size: 48px; }
    .health-metrics { gap: 10px; flex-wrap: wrap; justify-content: center; }
    .hm { padding: 6px 12px; font-size: 13px; }

    /* ── ⑨ WeChat Card ── */
    .chat-bubbles-visual { padding: 24px; gap: 12px; }
    .bubble { padding: 12px 16px; font-size: 15px; border-radius: 16px; }

    /* ── ⑩ Knowledge Card ── */
    .knowledge-visual { padding: 24px 16px; gap: 20px; }
    .kb-tags { gap: 8px; }
    .kb-tag { padding: 8px 14px; font-size: 13px; }
    .kb-flow { gap: 8px; flex-wrap: wrap; justify-content: center; }
    .kb-node { padding: 8px 14px; font-size: 13px; border-radius: 10px; }
    .kb-arrow { font-size: 16px; }

    /* ── New Elements ── */
    .hint-commands { bottom: 16px; gap: 8px; }
    .hint-cmd { padding: 6px 14px; font-size: 12px; }
    .scene-strip { font-size: 12px; padding: 0 16px 20px; }
    .voice-hints { font-size: 11px; }
    .notif-stack { gap: 8px; }
    .notif-card-mock { padding: 14px 18px; }
    .bubble-group { gap: 6px; }
    .chat-bubbles-visual { gap: 16px; }
    .chip-core { width: 80px; height: 80px; font-size: 18px; border-radius: 20px; }

    /* ── Stats ── */
    .stats-section { padding: 60px 16px; gap: 30px; flex-direction: column; }
    .stat-number { font-size: clamp(48px, 12vw, 80px); }
    .stat-label { font-size: 15px; }

    /* ── Footer ── */
    .apple-footer { padding: 24px 16px; font-size: 11px; }
}

/* ══════════════════════════════════════════════════════ */
/* H5 Mobile Adaptation — Small Phone (≤480px)          */
/* ══════════════════════════════════════════════════════ */
@media (max-width: 480px) {

    /* ── Section Intros ── */
    .section-intro { padding: 60px 12px 30px; }
    /* Removed .section-headline override to keep it massive */
    .section-sub { font-size: 14px; }

    /* ── Nav ── */
    .logo { font-size: 13px; letter-spacing: -0.02em; }
    .nav-links { gap: 10px; }
    .nav-links a { font-size: 10px; }

    /* ── Hero ── */
    .hero-section { 
        height: auto; 
        min-height: 100vh; 
        padding-top: 100px; 
        padding-bottom: 60px;
        justify-content: flex-start; 
    }
    .hero-title { font-size: clamp(36px, 16vw, 56px); letter-spacing: -0.05em; }
    .hero-description { font-size: 14px; }
    .btn-large { padding: 12px 24px; font-size: 14px; }

    .glass-island { padding: 10px 16px; font-size: 12px; gap: 8px; border-radius: 24px; }
    .glass-island span { max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .waveform { height: 16px; }
    .waveform i { width: 2px; }
    .waveform i:nth-child(1) { height: 6px; }
    .waveform i:nth-child(2) { height: 12px; }
    .waveform i:nth-child(3) { height: 16px; }
    .waveform i:nth-child(4) { height: 10px; }
    .waveform i:nth-child(5) { height: 5px; }

    /* ── Scroll Story ── */
    .scroll-story-section { height: 300vh; }
    /* Removed .story-text override to keep it massive */

    /* ── Bento Grid ── */
    .feature-bento-section { padding: 40px 12px; }
    .bento-container { gap: 16px; }
    .bento-card { border-radius: 20px; }

    .card-text { padding: 28px 20px 0; }
    .card-text.center { padding-top: 36px; }
    .bento-title { font-size: clamp(22px, 6vw, 30px); }
    .bento-desc { font-size: 14px; line-height: 1.55; }

    /* ── ② Control ── */
    .tl-line { width: 22px; }
    .tl-dot { width: 12px; height: 12px; }
    .tl-dot.active { box-shadow: 0 0 0 4px rgba(0,113,227,0.2); }

    /* ── ③ Workbench ── */
    .workbench-visual { padding: 12px 20px 24px; }
    .wb-step { padding: 10px 14px; font-size: 13px; border-radius: 10px; border-left-width: 3px; }

    /* ── ④ Replay ── */
    .rec-dot { width: 54px; height: 54px; }
    .rec-ring { border-width: 2px; }
    .rec-core { font-size: 12px; }
    .rtag { padding: 5px 12px; font-size: 12px; }

    /* ── ⑤ Doubao ── */
    .voice-rings { width: 64px; height: 64px; }
    .vr.r1 { width: 26px; height: 26px; }
    .vr.r2 { width: 44px; height: 44px; }
    .vr.r3 { width: 64px; height: 64px; }

    /* ── ⑥ Call ── */
    .call-avatar { width: 64px; height: 64px; }
    .ai-icon { font-size: 26px; }
    .call-status { font-size: 13px; }

    /* ── ⑧ Ring ── */
    .ring-icon { font-size: 40px; }
    .health-metrics { gap: 6px; }
    .hm { padding: 5px 10px; font-size: 12px; border-radius: 8px; }

    /* ── ⑨ WeChat ── */
    .chat-bubbles-visual { padding: 20px 16px; }
    .bubble { padding: 10px 14px; font-size: 14px; max-width: 90%; }

    /* ── ⑩ Knowledge ── */
    .kb-tag { padding: 6px 12px; font-size: 12px; }
    .kb-flow { gap: 6px; }
    .kb-node { padding: 6px 12px; font-size: 12px; }
    .kb-arrow { font-size: 14px; }

    /* ── New Elements ── */
    .hint-commands { bottom: 12px; gap: 6px; width: 95%; }
    .hint-cmd { padding: 5px 10px; font-size: 11px; }
    .scene-strip { font-size: 11px; padding: 0 12px 16px; }
    .voice-hints { font-size: 10px; }
    .notif-stack { gap: 6px; }
    .notif-card-mock { padding: 12px 14px; border-radius: 12px; }
    .notif-app { font-size: 11px; }
    .notif-msg { font-size: 13px; }
    .notif-badge { font-size: 11px; }
    .bubble-group { gap: 5px; }
    .bubble { max-width: 92%; }
    .chip-core { width: 64px; height: 64px; font-size: 16px; border-radius: 16px; }
    /* ── Stats ── */
    .stats-section { padding: 48px 12px; gap: 24px; }
    .stat-number { font-size: clamp(40px, 14vw, 64px); }
    .stat-label { font-size: 13px; }
}

/* ================== Premium Interactive Showcase ================== */
.premium-showcase { position: relative; padding: 160px 20px; background: #fbfbfd; color: #1d1d1f;
    overflow: hidden;
    z-index: 5;
}

.ps-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
    overflow: hidden;
}

.ps-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 60vw; height: 60vw;
    background: radial-gradient(circle, rgba(10,132,255,0.15) 0%, transparent 70%);
    filter: blur(80px);
    transition: background 0.6s ease;
}

.ps-container {
    max-width: 1200px;
    margin: 0 auto;
}

.ps-header {
    text-align: center;
    margin-bottom: 80px;
}

.ps-header h2 {
    font-size: clamp(48px, 6vw, 80px);
    font-weight: 800;
    letter-spacing: -0.04em;
    margin-bottom: 15px;
    line-height: 1.1;
    color: #1d1d1f;
}

.ps-header p { font-size: clamp(18px, 2vw, 24px); color: #86868b;
    font-weight: 500;
}

.ps-layout {
    display: flex;
    gap: 80px;
    align-items: center;
}

/* Left: Nav Cards */
.ps-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ps-card {
    display: flex;
    gap: 24px;
    padding: 30px;
    border-radius: 28px;
    background: rgba(0,0,0,0.02); border: 1px solid rgba(0,0,0,0.04);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.ps-card.active {
    background: rgba(0,0,0,0.05); border-color: rgba(0,0,0,0.1); transform: scale(1.02) translateX(15px); box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.ps-card-num { font-size: 16px; font-weight: 700; color: #a1a1a6;
    font-family: monospace;
    transition: color 0.4s;
}

.ps-card-text h3 { font-size: 24px; font-weight: 700; margin-bottom: 8px; color: #86868b;
    transition: color 0.4s;
}

.ps-card-text p {
    font-size: 15px;
    color: #424245;
    line-height: 1.5;
}

.ps-card.active .ps-card-num { color: var(--active-color, #1d1d1f); }
.ps-card.active .ps-card-text h3 { color: #1d1d1f; }
.ps-card.active .ps-card-text p { color: #424245; }

/* Right: Phone Visual */
.ps-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.ps-phone {
    width: 340px;
    height: 700px;
    background: #000; /* Black glass bezel */
    padding: 12px; /* Thickness of the black bezel */
    border-radius: 50px; 
    border: 2px solid #b5b5ba; /* Titanium metal outer frame */
    position: relative; 
    box-shadow: 
        inset 0 0 0 1px rgba(255,255,255,0.1), /* inner glass reflection */
        0 40px 100px rgba(0,0,0,0.15);
    transform: rotateY(-5deg) rotateX(2deg);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.ps-phone:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.ps-notch {
    position: absolute;
    top: 24px; left: 50%; transform: translateX(-50%);
    width: 90px; height: 28px; background: #000; /* Pure black glass */
    border-radius: 14px; z-index: 10;
    box-shadow: inset 0 -1px 2px rgba(255,255,255,0.15); /* Camera lens subtle glare */
}

.ps-screen { 
    width: 100%; height: 100%; 
    position: relative; 
    background: #fbfbfd; 
    border-radius: 36px; /* Match outer curvature */
    overflow: hidden; /* Clip contents */
}

.ps-scene {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    padding: 60px 24px 30px;
    opacity: 0; visibility: hidden;
    transition: opacity 0.5s ease;
    display: flex; flex-direction: column;
}

.ps-scene.active { opacity: 1; visibility: visible; }

/* Orbs */
.ps-orb { position: absolute; width: 200px; height: 200px; border-radius: 50%; filter: blur(60px); opacity: 0.3; z-index: 0; }
.ps-orb.blue { background: #0a84ff; top: 20%; left: 50%; transform: translateX(-50%); }
.ps-orb.red { background: #ff3b30; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.ps-orb.green { background: #34c759; bottom: 10%; right: -20%; }
.ps-orb.purple { background: #bf5af2; top: 30%; left: 10%; }

/* Scenes Content z-index */
.ps-scene > div:not(.ps-orb) { position: relative; z-index: 1; }

/* S1 */
#ps-scene-1 { align-items: center; justify-content: center; }
.ps-mic { font-size: 50px; margin-bottom: 30px; position: relative; width: 80px; height: 80px; display: flex; align-items: center; justify-content: center; background: rgba(10,132,255,0.1); border-radius: 50%; border: 1px solid rgba(10,132,255,0.3); }
.ps-ripple { position: absolute; width: 100%; height: 100%; border-radius: 50%; border: 2px solid #0a84ff; animation: ripple 2s infinite; }
@keyframes ripple { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(2); opacity: 0; } }
.ps-text { font-size: 20px; font-weight: 600; margin-bottom: 40px; }
.ps-console { width: 100%; background: #ffffff; padding: 18px; border-radius: 16px; border: 1px solid #e5e5e7; font-family: monospace; font-size: 12px; display: flex; flex-direction: column; gap: 10px; color: #1d1d1f; }
.ps-sys { color: #bf5af2; font-weight: bold; } .ps-ai { color: #0a84ff; font-weight: bold; } .ps-act { color: #34c759; font-weight: bold; }

/* S2 */
#ps-scene-2 { }
.ps-rec { color: #ff3b30; font-weight: bold; font-size: 16px; margin-bottom: 30px; display: flex; align-items: center; gap: 10px; }
.ps-steps { display: flex; flex-direction: column; gap: 14px; flex-grow: 1; }
.ps-step { background: #ffffff; padding: 14px 18px; border-radius: 12px; font-size: 14px; border-left: 4px solid #ff3b30; color: #1d1d1f; box-shadow: 0 4px 12px rgba(0,0,0,0.03); }
.ps-badge { background: #ff3b30; color: #fff; text-align: center; padding: 16px; border-radius: 980px; font-weight: 600; font-size: 15px; }

/* S3 */
#ps-scene-3 { justify-content: flex-start; padding-top: 80px; gap: 40px; }
.ps-call-card { background: rgba(52,199,89,0.1); border: 1px solid rgba(52,199,89,0.3); padding: 24px; border-radius: 24px; text-align: center; color: #34c759; font-weight: 600; }
.ps-avatar { font-size: 40px; margin-bottom: 10px; }
.ps-chat-box { display: flex; flex-direction: column; gap: 16px; }
.ps-msg { padding: 14px 18px; border-radius: 18px; font-size: 15px; max-width: 85%; }
.ps-msg.in { background: #ffffff; align-self: flex-start; color: #1d1d1f; box-shadow: 0 4px 12px rgba(0,0,0,0.03); }
.ps-msg.out { background: #34c759; align-self: flex-end; color: #fff; font-weight: 500; box-shadow: 0 4px 12px rgba(0,0,0,0.03); }

/* S4 */
#ps-scene-4 { align-items: center; justify-content: center; }
.ps-matrix { position: relative; width: 220px; height: 220px; margin-bottom: 60px; }
.ps-node { position: absolute; display: flex; align-items: center; justify-content: center; background: #1c1c1e; border: 1px solid rgba(255,255,255,0.1); border-radius: 50%; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.ps-node.center { width: 80px; height: 80px; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 36px; background: rgba(191,90,242,0.1); border-color: #bf5af2; box-shadow: 0 0 40px rgba(191,90,242,0.4); }
.ps-node.orbit { width: 50px; height: 50px; font-size: 24px; }
.ps-node.o1 { top: 0; left: 20%; animation: orbit1 4s ease-in-out infinite; }
.ps-node.o2 { bottom: 0; right: 20%; animation: orbit2 4s ease-in-out infinite; }
@keyframes orbit1 { 50% { transform: translateY(-15px) translateX(-10px); } }
@keyframes orbit2 { 50% { transform: translateY(15px) translateX(10px); } }
.ps-badge.eco { background: #bf5af2; }

@media (max-width: 768px) {
    .premium-showcase { padding: 80px 16px; }
    .ps-header { margin-bottom: 40px; }
    .ps-header h2 { font-size: 36px; }
    .ps-layout { flex-direction: column-reverse; gap: 40px; }
    .ps-phone { width: 100%; max-width: 340px; transform: rotateY(0) rotateX(0); }
    .ps-card { padding: 20px; flex-direction: column; gap: 12px; }
    .ps-card-text h3 { font-size: 20px; }
    .ps-card.active { transform: scale(1) translateY(-5px); }
}

.ps-phone::after {
    content: '';
    position: absolute;
    top: 12px; left: 12px; right: 12px; bottom: 12px; /* exactly over the screen */
    border-radius: 36px;
    background: linear-gradient(115deg, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0.02) 30%, transparent 40%);
    pointer-events: none; /* Let clicks pass through to scenes */
    z-index: 20;
}
