:root {
    --bg-color: #0a0a0f;
    --text-primary: #ffffff;
    --text-secondary: #aaaaaa;
    --accent-primary: #00f2ff;
    /* Cyan Neon */
    --accent-secondary: #7000ff;
    /* Purple Neon */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

body {
    margin: 0;
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Typography */
h1,
h2,
h3 {
    font-weight: 700;
    margin: 0;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-sizing: border-box;
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(90deg, var(--text-primary), var(--accent-primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-icon {
    width: 35px;
    height: 35px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a:hover {
    color: var(--accent-primary);
}

/* Buttons */
button {
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s ease;
}

.btn-primary,
.btn-primary-small {
    background: linear-gradient(135deg, var(--accent-secondary), var(--accent-primary));
    color: white;
    border-radius: 50px;
    font-weight: 700;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.btn-primary:hover,
.btn-primary-small:hover {
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.4);
    transform: translateY(-2px);
}

.btn-primary {
    padding: 18px 45px;
    font-size: 1.25rem;
}

.btn-primary .icon {
    font-size: 1.6rem;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
}

.btn-primary-small {
    padding: 10px 25px;
    font-size: 0.9rem;
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    padding: 14px 35px;
    border-radius: 50px;
    margin-left: 15px;
}

.btn-secondary:hover {
    background: var(--glass-bg);
    border-color: var(--text-primary);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10%;
    position: relative;
    background: radial-gradient(circle at 50% 50%, #1a1a2e 0%, var(--bg-color) 70%);
}

.hero-content {
    flex: 1;
    z-index: 10;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero-eyebrow {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--accent-primary);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 15px;
    opacity: 0.9;
    text-shadow: 0 0 10px rgba(0, 242, 255, 0.3);
}

.gradient-text {
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-visual {
    flex: 1.2;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    perspective: 2000px;
}

/* Glass Card Animation */
.glass-card {
    width: 350px;
    height: 250px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 20px;
    transform: rotateY(-15deg) rotateX(10deg);
    box-shadow: 20px 20px 50px rgba(0, 0, 0, 0.5);
    animation: float 6s ease-in-out infinite;
    position: relative;
    z-index: 10;
}

@keyframes float {

    0%,
    100% {
        transform: rotateY(-15deg) rotateX(10deg) translateY(0);
    }

    50% {
        transform: rotateY(-15deg) rotateX(10deg) translateY(-20px);
    }
}

.card-header {
    display: flex;
    gap: 8px;
    margin-bottom: 30px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.red {
    background: #ff5f57;
}

.yellow {
    background: #febc2e;
}

.green {
    background: #28c840;
}

/* Hero Mini Demo - Upgraded Glass Card Content */
.mini-admin {
    display: flex;
    height: 150px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.02);
}

.mini-sidebar {
    width: 45px;
    background: #1a1c23;
    padding: 12px 6px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.mini-brand {
    width: 20px;
    height: 20px;
    background: #f59e0b;
    /* Amber 500 */
    color: white;
    font-size: 12px;
    font-weight: 900;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.mini-sidebar-item {
    width: 24px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.mini-sidebar-item.active {
    background: #f59e0b;
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.4);
}

.mini-main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.mini-header {
    height: 30px;
    background: white;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    padding: 0 15px;
}

.mini-header-text {
    font-size: 8px;
    font-weight: 800;
    color: #64748b;
    letter-spacing: 0.05em;
}

.mini-content-area {
    flex: 1;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mini-card {
    width: 100%;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
}

.mini-input {
    height: 24px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    margin-bottom: 10px;
}

.mini-target-btn {
    padding: 10px;
    background: #f59e0b;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 900;
    color: white;
    text-align: center;
    position: relative;
    cursor: default;
}

.sensing-border {
    position: absolute;
    inset: -4px;
    border: 3px solid #ef4444;
    /* Red 500 */
    border-radius: 8px;
    opacity: 0;
    animation: sense-pulse 4s infinite;
    z-index: 10;
}

@keyframes sense-pulse {

    0%,
    30%,
    70%,
    100% {
        opacity: 0;
        transform: scale(1);
    }

    40%,
    60% {
        opacity: 1;
        transform: scale(1.05);
    }
}

.mini-widget {
    position: absolute;
    top: -15px;
    left: 40px;
    padding: 8px 15px;
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 800;
    color: white;
    z-index: 50;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    animation: widget-pop 4s infinite;
}

.widget-dot {
    width: 6px;
    height: 6px;
    background: #ef4444;
    border-radius: 50%;
    animation: pulse-red 1s infinite;
}

@keyframes pulse-red {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.8);
        opacity: 0.3;
    }
}

@keyframes widget-pop {

    0%,
    15%,
    85%,
    100% {
        transform: translateY(-10px) scale(0.9);
        opacity: 0;
    }

    25%,
    75% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.hero-cursor {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 28px;
    z-index: 60;
    pointer-events: none;
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.2));
    animation: cursor-movement 4s infinite;
}

@keyframes cursor-movement {
    0% {
        transform: translate(250px, 200px);
    }

    /* Initial position */
    35% {
        transform: translate(200px, 170px);
    }

    /* Move to button */
    50% {
        transform: translate(200px, 170px) scale(0.85);
    }

    /* Click */
    65% {
        transform: translate(200px, 170px) scale(1);
    }

    100% {
        transform: translate(250px, 200px);
    }
}

.keyboard-hint {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    color: white;
    font-weight: 700;
    opacity: 0;
    z-index: 70;
    animation: key-hint-fade 4s infinite;
    backdrop-filter: blur(4px);
    white-space: nowrap;
}

@keyframes key-hint-fade {

    0%,
    5%,
    80%,
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(5px);
    }

    20%,
    70% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.key {
    background: #334155;
    padding: 2px 5px;
    border-radius: 3px;
    border-bottom: 2px solid #0f172a;
    text-transform: uppercase;
}

.key-plus {
    color: #64748b;
    font-weight: 400;
}

/* Features Section */
.features {
    padding: 100px 10%;
    background: linear-gradient(to bottom, var(--bg-color), #0f0f1a);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 80px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    background: var(--glass-bg);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    transition: transform 0.3s;
    opacity: 0;
    transform: translateY(30px);
}

.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-primary);
}

.icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.feature-card p {
    color: var(--text-secondary);
}

/* Demo Section */
.demo-section {
    padding: 100px 10%;
    text-align: center;
}

.demo-steps {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    margin-top: 60px;
}

.step {
    text-align: center;
    max-width: 250px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.step.visible {
    opacity: 1;
    transform: translateY(0);
}

.step-num {
    display: inline-block;
    width: 60px;
    height: 60px;
    line-height: 60px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: 0 10px 20px rgba(0, 242, 255, 0.3);
}

/* Footer */
.footer {
    padding: 50px;
    text-align: center;
    border-top: 1px solid var(--glass-border);
    color: var(--text-secondary);
}

/* Technical Section */
.tech-section {
    padding: 100px 10%;
    background: #0a0a0f;
    perspective: 2000px;
}

.code-window {
    background: #050508;
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 25px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.85rem;
    color: #8c92a0;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);

    /* 3D Tilt for consistency */
    transform: rotateY(10deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.code-window:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.code-header {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 15px;
}

.code-keyword {
    color: var(--accent-secondary);
}

.code-string {
    color: var(--accent-primary);
}

.code-comment {
    color: #4e5564;
    font-style: italic;
}

.tech-list {
    list-style: none;
    padding: 0;
}

.tech-item {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.tech-icon {
    width: 24px;
    height: 24px;
    background: var(--accent-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.7rem;
    font-weight: bold;
}

/* Pricing Section */
.pricing-section {
    padding: 100px 10%;
    background: radial-gradient(circle at 50% 0%, #151525 0%, #0a0a0f 100%);
}

.pricing-table-container {
    max-width: 900px;
    margin: 60px auto 0;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.pricing-table th,
.pricing-table td {
    padding: 25px;
    border-bottom: 1px solid var(--glass-border);
}

.pricing-table th {
    background: rgba(255, 255, 255, 0.02);
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.pricing-table td:first-child {
    font-weight: 500;
}

.highlight-row {
    background: rgba(0, 242, 255, 0.03);
}

.price-tag {
    font-size: 1.5rem;
    font-weight: 800;
    display: block;
    margin-top: 5px;
}

.pricing-footer {
    padding: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    background: rgba(0, 0, 0, 0.2);
}

/* Demo Section & Iframe */
.demo-section {
    padding: 100px 10%;
    text-align: center;
    perspective: 2000px;
    /* Enable 3D */
}

.demo-container {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    margin-top: 50px;
    box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.5);
    background: #000;

    /* 3D Transform - More pronounced tilt */
    transform: rotateX(12deg) rotateY(-8deg) scale(0.92);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.8s ease;
    transform-style: preserve-3d;
}

.demo-container:hover {
    transform: rotateX(0deg) rotateY(0deg) scale(1);
    box-shadow: 0 100px 200px -20px rgba(0, 0, 0, 0.8);
}

.demo-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Supported Formats Section */
.formats-container {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.formats-title {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 40px;
}

.formats-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.format-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    width: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.format-box:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--accent-primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.format-box.highlight {
    border-color: rgba(68, 114, 196, 0.3);
    background: linear-gradient(135deg, rgba(68, 114, 196, 0.1), rgba(255, 255, 255, 0.03));
}

.format-icon {
    font-size: 2rem;
}

.format-name {
    font-weight: 700;
    color: var(--text-primary);
}

.format-badge {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 20px;
    letter-spacing: 0.05em;
}

.format-badge.free {
    background: rgba(40, 200, 64, 0.1);
    color: #28c840;
}

.format-badge.paid {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

@media (max-width: 768px) {
    .formats-grid {
        gap: 12px;
    }

    .format-box {
        width: 45%;
        padding: 16px;
    }
}

/* Document Stack Animation (Updated for 5 Pages: Cover + Steps 1-4) */
.doc-stack {
    position: relative;
    width: 240px;
    height: 350px;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotateY(-15deg) rotateX(10deg);
    transform-style: preserve-3d;
    margin-top: 30px;
}

.doc-page {
    position: absolute;
    width: 220px;
    height: 320px;
    background: white;
    border-radius: 4px;
    display: flex;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.25);
    border: 1px solid #e2e8f0;
    animation: stack-cycle-five 15s infinite ease-in-out;
    font-family: 'Playfair Display', serif;
}

.doc-page-content {
    flex: 1;
    padding: 18px;
    display: flex;
    flex-direction: column;
}

/* Branding Header */
.doc-branding-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 10px;
    background: #f8fafc;
    border-radius: 4px;
    margin-bottom: 15px;
    border-left: 3px solid #4472C4;
    font-family: sans-serif;
}

.doc-branding-header span {
    font-size: 7.5px;
    font-weight: 800;
    color: #475569;
    letter-spacing: 0.05em;
}

/* Step Header */
.doc-step-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.step-num-box {
    width: 14px;
    height: 14px;
    background: #4472C4;
    color: white;
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    font-weight: 900;
    font-family: sans-serif;
}

/* Page Specific Delays */
.doc-cover {
    animation-delay: 0s;
}

.doc-1 {
    animation-delay: 3s;
}

.doc-2 {
    animation-delay: 6s;
}

.doc-3 {
    animation-delay: 9s;
}

.doc-4 {
    animation-delay: 12s;
}

/* Inner Page Styles */
.doc-main-title {
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: auto;
    margin-top: 5px;
}

/* Step Page Styles */
/* Step Page Styles */
.doc-step-title {
    font-family: 'Playfair Display', serif;
    font-size: 21px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 5px;
}

.doc-step-desc {
    font-family: 'Playfair Display', serif;
    font-size: 10px;
    /* Base size for rendering */
    color: #000000 !important;
    /* Solid Black Force */
    line-height: 1;
    margin: 0;
    padding: 0;
    font-weight: 600;
    opacity: 1 !important;
    /* Force Opacity */
    font-style: italic;
    letter-spacing: 0;

    /* Force smaller than browser minimum font size */
    transform: scale(0.4) !important;
    transform-origin: left top;
    width: 100% !important;
    /* Fix horizontal overflow by restricted width */
    white-space: nowrap;
    margin-bottom: -6px !important;
}

/* Mini Dashboard Miniature */
.mini-dash {
    width: 100%;
    height: 100%;
    display: flex;
    background: white;
    /* Reset scale to 1.0 to guarantee fit */
    transform: scale(1.0) !important;
    transform-origin: center top;
}

.doc-screenshot {
    width: 100%;
    flex: 1;
    min-height: 160px;
    background: #f8fafc;
    border-radius: 8px;
    margin-bottom: 12px;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.mini-dash-side {
    width: 20%;
    height: 100%;
    background: #f1f5f9;
    border-right: 1px solid #e2e8f0;
}

.mini-dash-main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.mini-dash-head {
    height: 10px;
    background: white;
    border-bottom: 1px solid #e2e8f0;
}

.mini-dash-body {
    flex: 1;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    /* Add gap for multi-widget layouts */
}

/* Step Content v2 */
.v2-bar {
    width: 4px !important;
    background: var(--accent-secondary);
    border-radius: 1px;
}

/* Step 1: Chart & Widgets */
.mini-chart-v2 {
    display: flex;
    align-items: flex-end;
    gap: 2px !important;
    height: 40px !important;
    /* Explicit height for bars */
}

/* Step 1: Chart & Widgets */
.mini-chart-v2 {
    display: flex;
    align-items: flex-end;
    gap: 3px !important;
    height: 32px !important;
    /* Slightly reduced height for better fit */
    flex: 6;
    /* Take 60% of space */
}

.mini-dash-widgets {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 4;
    /* Take 40% of space */
    height: 32px !important;
}

.mini-stat-card {
    height: 14px;
    background: #f1f5f9;
    border-radius: 2px;
    border: 1px solid #e2e8f0;
    width: 100%;
}

.mini-btn-group {
    display: flex;
    gap: 2px;
    margin-top: auto;
    width: 100%;
}

.mini-btn-sm {
    height: 10px;
    flex: 1;
    background: var(--accent-secondary);
    border-radius: 1px;
    opacity: 0.8;
}

/* Step 2: List */
.mini-list-v2 {
    width: 70% !important;
    display: flex;
    flex-direction: column;
    gap: 3px !important;
}

.v2-item {
    height: 3px !important;
    background: #e2e8f0;
    border-radius: 2px;
}

.v2-item.active {
    background: var(--accent-primary);
}

.mini-form-v2 {
    width: 60% !important;
    display: flex;
    flex-direction: column;
    gap: 3px !important;
}

.v2-field {
    height: 6px !important;
    border: 1px solid #e2e8f0;
    border-radius: 1px;
}

.v2-btn {
    height: 6px !important;
    width: 40%;
    background: var(--accent-secondary);
    border-radius: 1px;
    align-self: flex-end;
}

.mini-done-v2 {
    font-size: 24px !important;
    color: #2ECC71;
    font-weight: 700;
}

/* Mini UI Mockups */
.doc-screenshot {
    width: 100%;
    height: 100px;
    background: #f8fafc;
    border-radius: 8px;
    margin-bottom: 12px;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

/* Step 1: Chart */
.mini-chart {
    display: flex;
    align-items: flex-end;
    gap: 6px;
}

.mini-chart .bar {
    width: 10px;
    background: var(--accent-secondary);
    border-radius: 2px;
    opacity: 0.6;
}

/* Step 2: List */
.mini-list {
    width: 80%;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mini-list .item {
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
}

.mini-list .item.active {
    background: var(--accent-primary);
    opacity: 0.5;
}

/* Step 3: Form */
.mini-form {
    width: 80%;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mini-form .field {
    height: 10px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 2px;
}

.mini-form .btn-mock {
    height: 12px;
    background: var(--accent-secondary);
    border-radius: 2px;
    width: 40%;
    align-self: flex-end;
}

/* Step 4: Success */
.mini-success {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mini-success .check {
    font-size: 40px;
    color: #2ECC71;
    font-weight: 700;
}

@keyframes stack-cycle-five {
    0% {
        transform: translate(0, 0) scale(1.05) rotateZ(0deg);
        z-index: 5;
        opacity: 1;
    }

    /* Active phase */
    17% {
        transform: translate(0, 0) scale(1.05) rotateZ(0deg);
        z-index: 5;
        opacity: 1;
    }

    /* Outward transition */
    20% {
        transform: translate(100px, -40px) scale(0.9) rotateZ(15deg);
        z-index: 1;
        opacity: 0;
    }

    /* Re-entry at back */
    21% {
        transform: translate(-80px, 40px) scale(0.7) rotateZ(-15deg);
        z-index: 1;
        opacity: 0;
    }

    /* Back of stack */
    40% {
        transform: translate(-60px, 30px) scale(0.8) rotateZ(-10deg);
        z-index: 2;
        opacity: 0.5;
    }

    60% {
        transform: translate(-40px, 20px) scale(0.9) rotateZ(-5deg);
        z-index: 3;
        opacity: 0.7;
    }

    80% {
        transform: translate(-20px, 10px) scale(0.95) rotateZ(-2deg);
        z-index: 4;
        opacity: 0.9;
    }

    /* Ready to become front */
    97% {
        transform: translate(0, 0) scale(1.05) rotateZ(0deg);
        z-index: 5;
        opacity: 1;
    }

    100% {
        transform: translate(0, 0) scale(1.05) rotateZ(0deg);
        z-index: 5;
        opacity: 1;
    }
}

/* Hero Z-Index */
.glass-card {
    position: relative;
    z-index: 10;
}

/* Mobile Responsiveness for Hero */
@media (max-width: 1100px) {
    .hero {
        flex-direction: column;
        height: auto;
        padding: 120px 5%;
        text-align: center;
    }

    .hero-content {
        margin-bottom: 80px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-content p {
        max-width: 100%;
    }

    .hero-visual {
        flex-direction: column;
        gap: 100px;
    }

    .doc-stack {
        margin-top: 0;
        transform: rotateY(0deg) rotateX(0deg);
        /* Flatten slightly for mobile to save space/readability */
    }

    .glass-card {
        transform: rotateY(0deg) rotateX(0deg);
    }
}

/* Social Proof Section */
.social-proof-section {
    padding: 2rem 0;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    text-align: center;
}

.social-proof-title {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.social-metrics {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.metric-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.metric-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: #1e293b;
    font-family: 'Inter', sans-serif;
}

.metric-label {
    font-size: 0.9rem;
    color: #64748b;
    margin-top: 0.2rem;
}

/* FAQ Section */
.faq-section {
    padding: 5rem 2rem;
    background: #ffffff;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 3rem auto 0;
}

.faq-item {
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.faq-question {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.8rem;
}

.faq-answer {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
}

/* Updated Pricing Layout */
.pricing-split {
    display: flex;
    gap: 2rem;
    max-width: 900px;
    margin: 3rem auto;
}

.pricing-card {
    flex: 1;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.2s;
}

.pricing-card.pro {
    border-color: #4472C4;
    box-shadow: 0 10px 30px -10px rgba(68, 114, 196, 0.2);
}

.pricing-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f1f5f9;
}

.pricing-plan {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e293b;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0.5rem 0;
}

.pricing-period {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 400;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: #475569;
}

.check-icon {
    color: #2ECC71;
    font-weight: bold;
}

/* Microcopy under buttons */
.microcopy {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-top: 1rem;
    display: flex;
    gap: 1.5rem;
    justify-content: flex-start;
    /* Align left to match hero text */
}

.microcopy span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

@media (max-width: 768px) {
    .pricing-split {
        flex-direction: column;
    }

    .hero-content {
        text-align: left;
        /* Keep left align on mobile for consistency */
    }

    .microcopy {
        justify-content: flex-start;
    }
}