:root {
    --bg-base: #f5f5f7;
    --bg-card: #ffffff;
    --text-main: #1d1d1f;
    --text-sub: #86868b;
    --accent: #0066cc;

    --shadow-soft: 0 24px 60px rgba(0, 0, 0, 0.06);
    --card-radius: 40px;
    --card-padding: 50px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-base);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 24px 0;
    background: rgba(245, 245, 247, 0.8);
    backdrop-filter: blur(20px);
}

.header-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.logo {
    font-weight: 700;
    font-size: 1.2rem;
}

nav {
    display: flex;
    gap: 16px;
    align-items: center;
}

.nav-link {
    background: none;
    border: none;
    font-size: 14px;
    color: var(--text-main);
    cursor: pointer;
}

.nav-btn {
    background: var(--text-main);
    color: white;
    padding: 10px 24px;
    border-radius: 100px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: transform 0.2s;
}

.nav-btn.donate {
    background: #72a4f2;
}

.nav-btn:hover {
    transform: scale(1.05);
}

/* Stack Container */
.stack-container {
    padding-bottom: 100px;
    padding-top: 100px;
}

/* Sticky Cards */
.sticky-card {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Stacking Offsets (Reverted: Pricing section removed from flow) */
.hero-card {
    top: 0;
    z-index: 1;
}

#card-1 {
    top: 30px;
    z-index: 2;
}

#card-2 {
    top: 60px;
    z-index: 3;
}

#card-3 {
    top: 90px;
    z-index: 4;
}

#card-4 {
    top: 120px;
    z-index: 5;
}

#card-5 {
    top: 150px;
    z-index: 6;
}

#card-6 {
    top: 180px;
    z-index: 7;
}

#card-7 {
    top: 210px;
    z-index: 8;
}

/* Works Everywhere Dock */
#card-8 {
    top: 240px;
    z-index: 9;
}

/* ... existing styles ... */

/* Pricing Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: var(--bg-card);
    width: 90%;
    max-width: 1000px;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    position: relative;
    padding: 0;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-sub);
    z-index: 10;
    transition: color 0.2s;
}

.modal-close:hover {
    color: var(--text-main);
}

.modal-pricing {
    padding: 60px 40px;
}

/* Adjust pricing grid for modal context */
.modal-pricing .pricing-title {
    margin-bottom: 40px;
}


.card-inner {
    background: var(--bg-card);
    width: 90%;
    max-width: 1200px;
    height: 85vh;
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 0, 0, 0.03);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.hero-inner {
    background: transparent;
    box-shadow: none;
    border: none;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-inner h1 {
    font-size: 4.5rem;
    margin-bottom: 24px;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.hero-inner p {
    font-size: 1.5rem;
    color: var(--text-sub);
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
}

.hero-btn {
    padding: 14px 36px;
    border-radius: 100px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.hero-btn.download {
    background: var(--text-main);
    color: white;
}

.hero-btn.donate {
    background: #72a4f2;
    color: white;
}

.hero-btn.github {
    background: #f0f0f2;
    color: var(--text-main);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Coming Soon Section */
.coming-soon-container {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.cs-label {
    font-size: 0.9rem;
    color: var(--text-sub);
    font-weight: 500;
}

.cs-icons {
    display: flex;
    gap: 16px;
}

.cs-item {
    color: var(--text-sub);
    transition: all 0.2s ease;
    cursor: help;
    background: #f5f5f7;
    padding: 10px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cs-item:hover {
    color: var(--text-main);
    background: #eaeaec;
    transform: translateY(-2px);
}

.cs-item svg {
    width: 24px;
    height: 24px;
}

.cursor {
    animation: blink 1s infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

/* Content Split */
@media (min-width: 900px) {
    .content-split {
        display: grid;
        grid-template-columns: 1fr 1fr;
        height: 100%;
    }
}

.text-side {
    padding: var(--card-padding);
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow-y: auto;
}

.visual-side {
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    flex-direction: column;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 40px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

/* Dense Feature Grid List */
.feature-grid-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.f-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.f-item .icon {
    font-size: 1.5rem;
    background: #f0f0f2;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    flex-shrink: 0;
}

.f-text h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.f-text p {
    font-size: 0.9rem;
    color: var(--text-sub);
    line-height: 1.4;
}

/* --- DYNAMIC DEMOS Styling --- */

/* 1. Interaction */
/* 1. Interaction (Dynamic Island) */
.dynamic-island-container {
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.dynamic-island {
    background: black;
    border-radius: 100px;
    /* Fully rounded pill initially */
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    /* Spring-like transition */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    color: white;
    /* Initial State: Idle Pill */
    width: 120px;
    height: 35px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* States */
.dynamic-island.state-listening {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    /* Circle */
}

.dynamic-island.state-input {
    width: 550px;
    height: 240px;
    border-radius: 28px;
}

/* Content Visibility */
.di-content {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.di-content.active {
    opacity: 1;
}

/* 1.1 Idle Notch Visual */
.di-notch {
    width: 60%;
    height: 60%;
    background: black;
    /* Visual trick if needed, or just let it be empty black pill */
}

/* 1.2 Listening Waveform */
.di-waveform {
    display: flex;
    gap: 4px;
    align-items: center;
    height: 20px;
}

.di-waveform span {
    display: block;
    width: 4px;
    background: #ff3b30;
    /* Recording red mostly, or spectrum */
    border-radius: 2px;
    animation: wave 1s infinite ease-in-out;
}

.di-waveform span:nth-child(1) {
    height: 10px;
    animation-delay: 0s;
    background: #34c759;
}

.di-waveform span:nth-child(2) {
    height: 18px;
    animation-delay: 0.1s;
    background: #ffcc00;
}

.di-waveform span:nth-child(3) {
    height: 14px;
    animation-delay: 0.2s;
    background: #007aff;
}

.di-waveform span:nth-child(4) {
    height: 8px;
    animation-delay: 0.3s;
    background: #af52de;
}

@keyframes wave {

    0%,
    100% {
        transform: scaleY(1);
    }

    50% {
        transform: scaleY(2);
    }
}

/* 1.3 Input Field (Expanded Rich UI) */
.di-content.di-input {
    width: 100%;
    height: 100%;
    padding: 0;
    align-items: stretch;
    justify-content: stretch;
}

.di-expanded-ui {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px;
    gap: 24px;
    color: white;
}

/* Top Bar */
.di-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.di-brand {
    display: flex;
    align-items: center;
    gap: 8px;
}

.di-brand-indicator {
    width: 4px;
    height: 16px;
    background: #00d2ff;
    border-radius: 2px;
}

.di-brand-text {
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.02em;
}

.di-window-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

.di-icon {
    width: 20px;
    height: 20px;
    stroke: #888;
    transition: 0.2s;
}

.di-icon:hover {
    stroke: white;
}

/* Tools Row */
.di-tools-row {
    display: flex;
    gap: 32px;
    padding-left: 12px;
    align-items: center;
}

.di-tool-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: #888;
    transition: 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.di-tool-btn svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    fill: none;
}

.di-tool-btn.active svg {
    fill: #00d2ff;
    stroke: none;
    filter: drop-shadow(0 0 8px rgba(0, 210, 255, 0.5));
}

.di-tool-btn:hover {
    color: white;
    transform: scale(1.1);
}

/* Input Area */
.di-input-area {
    background: #1c1c1e;
    border-radius: 20px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid #333;
}

.di-input-left {
    display: flex;
    gap: 12px;
    align-items: center;
    padding-right: 12px;
    border-right: 1px solid #333;
}

.di-mini-icon {
    width: 18px;
    height: 18px;
    stroke: #888;
}

.di-text-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.di-placeholder {
    position: absolute;
    color: #555;
    pointer-events: none;
    font-size: 1rem;
}

.di-input-text {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    white-space: nowrap;
    position: relative;
    z-index: 1;
}

.di-cursor {
    display: inline-block;
    width: 2px;
    height: 1.2em;
    background: #00d2ff;
    margin-left: 2px;
    animation: blink 1s infinite;
}


.di-text-wrapper:has(.di-input-text:not(:empty)) .di-placeholder {
    opacity: 0;
}

.di-send-btn {
    background: none;
    border: none;
    color: #444;
    cursor: pointer;
    padding: 4px;
}

.di-send-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.di-hint {
    color: var(--text-sub);
    font-size: 0.9rem;
    margin-top: 10px;
}

/* 2. Voice Long Demo */
.doc-paper {
    width: 380px;
    height: 450px;
    background: white;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    padding: 30px;
    font-family: 'Georgia', serif;
    line-height: 1.7;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.doc-cursor {
    display: inline-block;
    width: 2px;
    height: 1.2em;
    background: var(--accent);
    animation: blink 1s infinite;
    vertical-align: middle;
}

.doc-content h1 {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 0.5em;
    color: #111;
}

.doc-content ul {
    padding-left: 20px;
    list-style-type: disc;
}

.doc-content li {
    margin-bottom: 0.5em;
}

.doc-content p {
    margin-bottom: 1em;
    color: #444;
}

.raw-stream {
    color: #888;
    font-style: italic;
}

/* 3. Panel Demo */
.mock-editor {
    width: 300px;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    font-family: 'Georgia', serif;
    line-height: 1.6;
}

.target-word {
    transition: 0.3s;
    border-radius: 4px;
}

.target-word.selected {
    background: #b3d7ff;
    color: #000;
}

.smart-panel {
    position: absolute;
    top: -70px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    width: 280px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 100;
}

.panel-header {
    font-size: 0.8rem;
    color: #888;
    font-weight: 600;
    margin-bottom: 4px;
}

.panel-actions {
    display: flex;
    gap: 8px;
}

.panel-btn {
    flex: 1;
    font-size: 0.8rem;
    padding: 8px;
    background: #f5f5f7;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: 0.2s;
}

.panel-btn.active-btn {
    background: var(--accent);
    color: white;
}

/* 4. Context Demo */
.window-mockup {
    width: 320px;
    height: 200px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.win-header {
    background: #f0f0f2;
    padding: 10px 16px;
    display: flex;
    align-items: center;
}

.win-dots {
    display: flex;
    gap: 6px;
    margin-right: 16px;
}

.win-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
}

.win-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: #666;
}

.win-content {
    height: 100%;
}

#ctx-radar {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 400px;
    height: 400px;
    border: 2px solid var(--accent);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    z-index: 1;
}

#ctx-radar.scanning {
    animation: radarPing 2s ease-out;
}

.context-label {
    margin-top: 20px;
    font-weight: 600;
    color: var(--accent);
    min-height: 24px;
}

@keyframes radarPing {
    0% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(0.1);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

/* 5. Agent Multimodal Demo */
.agent-prompt {
    background: white;
    padding: 10px 20px;
    border-radius: 100px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    font-weight: 500;
    font-size: 0.9rem;
}

.agent-grid {
    width: 300px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.agent-item {
    background: white;
    border-radius: 12px;
    height: 100px;
    padding: 10px;
    font-size: 0.8rem;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(10px);
    transition: 0.5s;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
}

.agent-item.img {
    background: #eee;
    background-size: cover;
    background-position: center;
}

.agent-item.text-block {
    grid-column: span 2;
    height: auto;
    min-height: 60px;
    justify-content: flex-start;
    text-align: left;
}

.agent-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 6. Routing Text Demo */
.route-container {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
    max-width: 500px;
    justify-content: center;
}

.route-box {
    background: white;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    width: 220px;
    min-height: 120px;
    display: flex;
    flex-direction: column;
}

.route-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #888;
    margin-bottom: 8px;
}

.route-text {
    font-size: 0.95rem;
    line-height: 1.4;
}

.route-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    color: #ccc;
}

.router-badge {
    background: #333;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: 0.3s;
}

.router-badge.active {
    background: var(--accent);
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(0, 102, 204, 0.4);
}

/* Common Visuals */
.provider-pill {
    background: white;
    padding: 10px 20px;
    border-radius: 100px;
    margin: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Footer */
footer {
    text-align: center;
    padding: 60px 0;
    color: var(--text-sub);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 16px;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-sub);
}

/* Works Everywhere Dock */
#card-8 {
    top: 240px;
    z-index: 9;
}

.dock-card-inner {
    background: #000;
    color: white;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1px solid #222;
}

.dock-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 20px;
}

.dock-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, #aaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.dock-subtitle {
    font-size: 1.2rem;
    color: #888;
    margin-bottom: 60px;
}

.dock-container {
    width: 100%;
    display: flex;
    justify-content: center;
    padding-bottom: 40px;
}

.dock {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dock-item {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: var(--color, #444);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    cursor: pointer;
    transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94), margin 0.2s;
    position: relative;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.dock-item::after {
    content: '';
    position: absolute;
    bottom: -10px;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s;
}

.dock-item:hover::after {
    opacity: 1;
}

.dock-item:hover {
    transform: scale(1.5) translateY(-20px);
    z-index: 10;
    margin: 0 10px;
}


/* Simple hover effect for neighbors */
.dock:hover .dock-item:not(:hover) {
    opacity: 0.8;
    transform: scale(0.95);
}

/* Pricing Section */
.pricing-container {
    padding: 60px 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.pricing-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 50px;
    text-align: center;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
    max-width: 1000px;
}

.pricing-card {
    background: #fbfbfd;
    border-radius: 24px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Make featured card stand out */
.pricing-card.featured {
    background: white;
    border: 2px solid var(--accent);
    box-shadow: 0 15px 40px rgba(0, 102, 204, 0.1);
    transform: scale(1.05);
    z-index: 10;
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.plan-header {
    text-align: center;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.plan-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 16px;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: baseline;
    justify-content: center;
}

.currency {
    font-size: 1.5rem;
    vertical-align: super;
    margin-right: 4px;
}

.period {
    font-size: 1rem;
    color: var(--text-sub);
    font-weight: 400;
    margin-left: 4px;
}

.savings-badge {
    background: #e5f1ff;
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 100px;
    display: inline-block;
    margin-top: 12px;
}

.features-list {
    list-style: none;
    margin-bottom: 32px;
    flex-grow: 1;
}

.features-list li {
    margin-bottom: 12px;
    color: var(--text-sub);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.features-list li strong {
    color: var(--text-main);
    margin: 0 4px;
}

.features-list .check {
    color: var(--accent);
    margin-right: 12px;
    font-weight: bold;
}

.pricing-btn {
    display: block;
    text-align: center;
    padding: 14px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}

.pricing-btn.primary {
    background: var(--accent);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.2);
}

.pricing-btn.primary:hover {
    background: #0052a3;
}

.pricing-btn.secondary {
    background: #f0f0f2;
    color: var(--text-main);
}

.pricing-btn.secondary:hover {
    background: #e5e5e7;
}

/* Response adjustments */
@media (max-width: 900px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }
}

/* 5. Cowork & AI Demo Extensions */

/* Remote Cursor */
.di-cursor-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 20;
}

.di-remote-cursor {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    flex-direction: column;
    width: auto;
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.2s;
    transform: translate(0, 0);
}

.di-remote-cursor.active {
    opacity: 1;
}

.cursor-label {
    background: #FFC107;
    color: black;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    margin-top: 2px;
    font-weight: 600;
    white-space: nowrap;
}

/* AI Overlay */
.di-ai-overlay {
    position: absolute;
    top: 40px;
    /* Below header */
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 90%;
    background: rgba(30, 30, 30, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 30;
}

.di-ai-overlay.active {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.di-ai-input-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: white;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ai-icon {
    font-size: 1.1rem;
}

.ai-cursor {
    display: inline-block;
    color: #00d2ff;
    animation: blink 1s infinite;
}

.di-ai-results {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.di-ai-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
}

.di-ai-result-item:hover,
.di-ai-result-item.selected {
    background: rgba(255, 255, 255, 0.1);
}

.di-ai-result-item .icon {
    font-size: 1.2rem;
}

.di-ai-result-item .content {
    display: flex;
    flex-direction: column;
}

.di-ai-result-item .title {
    font-size: 0.9rem;
    font-weight: 500;
}

.di-ai-result-item .meta {
    font-size: 0.75rem;
    color: #888;
}

/* Sidebar List Animation */
.di-note-item {
    transition: all 0.3s ease;
}

.di-note-item.new-item {
    animation: slideInLeft 0.4s ease forwards;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* --- View Switching Logic --- */
.di-app-container {
    position: relative;
    width: 100%;
    height: 100%;
    /* Remove padding if views handle it */
}

.di-view {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
}

.di-view.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 10;
}

/* View 1: Home/Summary Styles */
.di-view-home {
    padding: 24px;
    gap: 20px;
    color: white;
}

.home-widget-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 12px;
    height: 100px;
}

.home-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.home-card.big {
    justify-content: center;
}

.hc-title,
.hc-lbl {
    font-size: 0.75rem;
    color: #aaa;
}

.hc-value {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.2;
}

.hc-val {
    font-size: 1.2rem;
    font-weight: 700;
}

.hc-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    margin-top: 8px;
    overflow: hidden;
}

.hc-bar .fill {
    height: 100%;
    background: #34c759;
    border-radius: 3px;
}

.home-activity {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 16px;
    flex: 1;
}

.ha-title {
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #888;
}

.ha-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ha-item:last-child {
    border-bottom: none;
}

.ha-item .time {
    font-size: 0.75rem;
    color: #666;
}

/* View 2: Cowork Specifics */
.di-view-cowork {
    padding: 0;
}

.cowork-header {
    padding: 20px 24px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cw-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: #888;
}

.cw-avatars {
    display: flex;
    gap: -8px;
}

.av {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #555;
    border: 2px solid #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 600;
    color: white;
    margin-left: -8px;
}

.av:nth-child(1) {
    background: #FFC107;
    color: black;
    z-index: 2;
    margin-left: 0;
}

.av:nth-child(2) {
    background: #007aff;
    z-index: 1;
}

.di-view-cowork .di-note-list {
    padding: 0 20px;
}

/* View 3: Notes (Existing Editor Styles Reuse) */
.di-view-notes {
    /* Uses existing editor structure inside */
}