/* ===== CSS Variables ===== */
:root {
    --primary: #4f46e5;
    --primary-dark: #4338ca;
    --primary-light: #818cf8;
    --primary-50: #eef2ff;
    --secondary: #0f172a;

    --green: #16a34a;
    --green-light: #dcfce7;
    --amber: #d97706;
    --amber-light: #fef3c7;
    --red: #dc2626;
    --red-light: #fee2e2;

    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;

    --gradient: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    --gradient-text: linear-gradient(135deg, #4f46e5, #7c3aed);
    --gradient-subtle: linear-gradient(135deg, #eef2ff 0%, #f5f3ff 100%);

    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.25rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--gray-800);
    line-height: 1.6;
    background: white;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ===== Container ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.15;
    font-weight: 700;
    color: var(--gray-900);
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.125rem, 2vw, 1.375rem); }

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 14px rgb(79 70 229 / 0.35);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgb(79 70 229 / 0.45);
}

.btn-secondary {
    background: white;
    color: var(--gray-700);
    border: 1.5px solid var(--gray-200);
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-white {
    background: white;
    color: var(--primary);
    font-weight: 700;
}

.btn-white:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn-large {
    padding: 0.875rem 2rem;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-100);
    transition: box-shadow 0.3s;
}

.navbar.scrolled {
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.08);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-weight: 700;
    font-size: 1.125rem;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: var(--gradient);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.875rem;
}

.nav-links {
    display: flex;
    gap: 1.75rem;
}

.nav-links a {
    color: var(--gray-500);
    font-weight: 500;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--gray-900);
}

.btn-nav {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    width: 22px;
    height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: all 0.3s;
}

/* ===== Hero Section ===== */
.hero {
    padding: 7rem 0 5rem;
    background: linear-gradient(180deg, var(--gray-50) 0%, white 100%);
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.875rem;
    background: var(--green-light);
    color: var(--green);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--green);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero h1 {
    margin-bottom: 1.25rem;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
    max-width: 520px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
}

.stat {
    text-align: left;
}

.stat-number {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--gray-500);
}

/* ===== Device Mockups ===== */
.hero-visual {
    display: flex;
    justify-content: center;
    position: relative;
}

.device-stack {
    position: relative;
    width: 100%;
    max-width: 520px;
    height: 380px;
}

/* iPad Mockup */
.ipad-mockup {
    width: 420px;
    height: 300px;
    background: var(--gray-900);
    border-radius: 18px;
    padding: 10px;
    box-shadow: var(--shadow-xl);
    position: absolute;
    top: 0;
    left: 0;
}

.ipad-screen {
    width: 100%;
    height: 100%;
    background: var(--gray-50);
    border-radius: 12px;
    overflow: hidden;
}

.app-preview-ipad {
    display: grid;
    grid-template-columns: 140px 1fr;
    height: 100%;
}

.preview-sidebar {
    background: white;
    border-right: 1px solid var(--gray-200);
    padding: 0.75rem;
}

.sidebar-title {
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--gray-900);
    padding: 0.25rem 0.375rem;
    margin-bottom: 0.5rem;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem;
    border-radius: 6px;
    margin-bottom: 0.25rem;
    font-size: 0.5625rem;
}

.sidebar-item.active {
    background: var(--primary-50);
}

.sidebar-item.faded {
    opacity: 0.5;
}

.patient-avatar {
    width: 22px;
    height: 22px;
    background: var(--gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.patient-info {
    flex: 1;
    min-width: 0;
}

.patient-name {
    display: block;
    font-weight: 600;
    color: var(--gray-900);
    font-size: 0.5625rem;
}

.patient-sessions {
    display: block;
    color: var(--gray-400);
    font-size: 0.5rem;
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-dot.active { background: var(--green); }
.status-dot.completed { background: var(--gray-300); }

.preview-main {
    padding: 0.75rem;
}

.preview-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.preview-title {
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--gray-900);
}

.preview-badge {
    font-size: 0.5rem;
    padding: 0.125rem 0.375rem;
    background: var(--red-light);
    color: var(--red);
    border-radius: var(--radius-full);
    font-weight: 600;
}

.preview-chart {
    background: white;
    border-radius: 8px;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    border: 1px solid var(--gray-100);
}

.chart-label {
    font-size: 0.5rem;
    color: var(--gray-500);
    margin-bottom: 0.375rem;
    font-weight: 600;
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 0.375rem;
    height: 50px;
}

.chart-bar {
    flex: 1;
    height: var(--h);
    background: var(--amber);
    border-radius: 3px 3px 0 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    transition: background 0.3s;
}

.chart-bar.low {
    background: var(--green);
}

.chart-bar span {
    font-size: 0.4375rem;
    color: var(--gray-400);
    transform: translateY(12px);
}

.preview-topics {
    display: flex;
    gap: 0.25rem;
}

.preview-tag {
    font-size: 0.5rem;
    padding: 0.125rem 0.375rem;
    background: var(--primary-50);
    color: var(--primary);
    border-radius: var(--radius-full);
}

/* iPhone Mockup */
.phone-mockup {
    width: 180px;
    height: 360px;
    background: var(--gray-900);
    border-radius: 28px;
    padding: 8px;
    box-shadow: var(--shadow-xl), 0 0 0 1px rgba(255, 255, 255, 0.1);
    position: absolute;
    bottom: -20px;
    right: 0;
    z-index: 2;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 22px;
    overflow: hidden;
}

.app-preview-phone {
    padding: 0.75rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.recording-indicator {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.625rem;
    font-weight: 600;
    color: var(--red);
    margin-bottom: 0.75rem;
    padding: 0.375rem 0.5rem;
    background: var(--red-light);
    border-radius: var(--radius);
}

.rec-dot {
    width: 6px;
    height: 6px;
    background: var(--red);
    border-radius: 50%;
    animation: pulse-dot 1s infinite;
}

.transcript-preview {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.speaker-line {
    font-size: 0.5625rem;
    line-height: 1.4;
    padding: 0.375rem 0.5rem;
    border-radius: 6px;
}

.speaker-line.therapist {
    background: var(--primary-50);
    color: var(--gray-700);
}

.speaker-line.patient {
    background: var(--gray-50);
    color: var(--gray-700);
}

.speaker-label {
    font-weight: 700;
    display: block;
    margin-bottom: 0.125rem;
    font-size: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.speaker-line.therapist .speaker-label { color: var(--primary); }
.speaker-line.patient .speaker-label { color: var(--gray-500); }

.diarization-badge {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.5625rem;
    font-weight: 600;
    color: var(--green);
    padding: 0.375rem 0.5rem;
    background: var(--green-light);
    border-radius: var(--radius);
    margin-top: auto;
}

/* ===== Trust Section ===== */
.trust-section {
    padding: 1.5rem 0 3rem;
    background: white;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-500);
    font-weight: 500;
    font-size: 0.8125rem;
}

.trust-badge svg {
    color: var(--gray-400);
}

/* ===== Competitor Callout ===== */
.competitor-callout {
    padding: 4rem 0;
    background: white;
}

.callout-card {
    background: var(--gray-900);
    border-radius: var(--radius-2xl);
    padding: 3rem;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: center;
    color: white;
    overflow: hidden;
    position: relative;
}

.callout-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.callout-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.callout-card h2 {
    color: white;
    margin-bottom: 1rem;
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.callout-card p {
    color: var(--gray-300);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    max-width: 560px;
}

.callout-comparison {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.callout-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    border-radius: var(--radius-lg);
    font-size: 0.875rem;
}

.callout-item.negative {
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.2);
}

.callout-item.positive {
    background: rgba(22, 163, 74, 0.1);
    border: 1px solid rgba(22, 163, 74, 0.2);
}

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

.callout-item.negative .callout-icon {
    background: rgba(220, 38, 38, 0.2);
    color: #fca5a5;
}

.callout-item.positive .callout-icon {
    background: rgba(22, 163, 74, 0.2);
    color: #86efac;
}

.callout-item strong {
    display: block;
    color: white;
    margin-bottom: 0.125rem;
}

.callout-item span {
    color: var(--gray-400);
    font-size: 0.8125rem;
}

.callout-savings {
    text-align: center;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.savings-number {
    font-size: 4rem;
    font-weight: 900;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
    letter-spacing: -0.03em;
}

.savings-text {
    color: var(--gray-400);
    font-size: 0.875rem;
    font-weight: 500;
}

/* ===== Section Styles ===== */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 3.5rem;
}

.section-label {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: var(--primary-50);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-label.light {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-light);
}

.section-description {
    font-size: 1.0625rem;
    color: var(--gray-500);
    margin-top: 0.75rem;
    line-height: 1.7;
}

/* ===== Features Section ===== */
.features-section {
    padding: 6rem 0;
    background: white;
}

.feature-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
}

.feature-showcase.reverse {
    direction: rtl;
}

.feature-showcase.reverse > * {
    direction: ltr;
}

.feature-number {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    background: var(--primary-50);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.feature-text h3 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    letter-spacing: -0.025em;
}

.feature-text > p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.feature-bullets {
    list-style: none;
}

.feature-bullets li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--gray-700);
    font-size: 0.9375rem;
}

.feature-bullets li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.875rem;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}

/* Feature Visual Cards */
.visual-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-2xl);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
}

/* Recording Card */
.rec-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.rec-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--red);
}

.rec-dot-large {
    width: 10px;
    height: 10px;
    background: var(--red);
    border-radius: 50%;
    animation: pulse-dot 1s infinite;
}

.rec-timer {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    font-variant-numeric: tabular-nums;
}

.waveform {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    height: 60px;
    margin-bottom: 1rem;
    padding: 0 0.5rem;
}

.wave-bar {
    width: 100%;
    height: var(--h);
    background: var(--primary);
    border-radius: 3px;
    opacity: 0.6;
    animation: wave 1.5s ease-in-out infinite;
}

.wave-bar:nth-child(2n) { animation-delay: 0.2s; }
.wave-bar:nth-child(3n) { animation-delay: 0.4s; }
.wave-bar:nth-child(5n) { animation-delay: 0.6s; }

@keyframes wave {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(0.6); }
}

.transcript-lines {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.t-line {
    padding: 0.625rem 0.75rem;
    border-radius: var(--radius);
    font-size: 0.8125rem;
    line-height: 1.5;
}

.t-line.therapist {
    background: var(--primary-50);
    border-left: 3px solid var(--primary);
}

.t-line.patient {
    background: white;
    border-left: 3px solid var(--gray-300);
}

/* Summary Card */
.summary-preview {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.summary-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--gray-900);
}

.edit-badge {
    font-size: 0.625rem;
    padding: 0.125rem 0.5rem;
    background: var(--primary-50);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-weight: 600;
}

.summary-section {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--gray-100);
}

.summary-section:last-child {
    border-bottom: none;
}

.summary-label {
    font-size: 0.625rem;
    font-weight: 600;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.375rem;
}

.summary-text {
    font-size: 0.8125rem;
    color: var(--gray-700);
    line-height: 1.5;
}

.summary-tags-row {
    display: flex;
    gap: 0.375rem;
    padding: 0.5rem 1rem;
    border-bottom: 1px solid var(--gray-100);
}

.s-tag {
    font-size: 0.625rem;
    padding: 0.1875rem 0.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
}

.s-tag.blue { background: var(--primary-50); color: var(--primary); }
.s-tag.green { background: var(--green-light); color: var(--green); }
.s-tag.purple { background: #f3e8ff; color: #7c3aed; }

.risk-row {
    display: flex;
    gap: 0.375rem;
}

.risk-chip {
    font-size: 0.6875rem;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius);
    font-weight: 500;
}

.risk-chip.safe {
    background: var(--green-light);
    color: var(--green);
}

.homework-item {
    font-size: 0.8125rem;
    color: var(--gray-600);
    padding: 0.25rem 0;
    padding-left: 1rem;
    position: relative;
}

.homework-item::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
}

/* Patients Card */
.patient-list-preview {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.patient-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-100);
}

.patient-row.faded {
    opacity: 0.5;
}

.p-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.p-avatar.blue { background: var(--primary); }
.p-avatar.green { background: var(--green); }
.p-avatar.purple { background: #7c3aed; }
.p-avatar.gray { background: var(--gray-400); }

.p-info {
    flex: 1;
}

.p-name {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--gray-900);
}

.p-meta {
    font-size: 0.75rem;
    color: var(--gray-400);
}

.p-status {
    font-size: 0.6875rem;
    padding: 0.1875rem 0.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
}

.p-status.active { background: var(--green-light); color: var(--green); }
.p-status.paused { background: var(--amber-light); color: var(--amber); }
.p-status.completed { background: var(--gray-100); color: var(--gray-500); }

/* Report Card */
.report-preview {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.report-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--gray-900);
}

.pdf-icon {
    font-size: 0.625rem;
    padding: 0.125rem 0.375rem;
    background: var(--red-light);
    color: var(--red);
    border-radius: var(--radius-sm);
    font-weight: 700;
}

.report-meta {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    color: var(--gray-500);
    border-bottom: 1px solid var(--gray-100);
}

.report-chart {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--gray-100);
}

.report-chart-label {
    font-size: 0.625rem;
    font-weight: 600;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.5rem;
}

.mini-chart {
    height: 60px;
}

.chart-svg {
    width: 100%;
    height: 100%;
}

.report-topics {
    padding: 0.75rem 1rem;
}

.topic-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.375rem;
}

.topic-bar span {
    font-size: 0.6875rem;
    color: var(--gray-600);
    width: 40px;
    flex-shrink: 0;
}

.bar-fill {
    flex: 1;
    height: 6px;
    background: var(--gray-100);
    border-radius: 3px;
    position: relative;
    overflow: hidden;
}

.bar-fill::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: var(--w);
    background: var(--primary);
    border-radius: 3px;
}

/* ===== Workflow Section ===== */
.workflow-section {
    padding: 6rem 0;
    background: var(--gray-50);
}

.steps-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.step-card {
    text-align: center;
    padding: 2rem 1.5rem;
    max-width: 240px;
}

.step-number {
    width: 28px;
    height: 28px;
    background: var(--gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step-icon {
    color: var(--gray-400);
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
}

.step-card h3 {
    margin-bottom: 0.5rem;
}

.step-card p {
    font-size: 0.875rem;
    color: var(--gray-500);
    line-height: 1.6;
}

.step-connector {
    display: flex;
    align-items: center;
    padding-top: 4rem;
    color: var(--gray-300);
}

/* ===== More Features Grid ===== */
.more-features {
    padding: 6rem 0;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    padding: 1.75rem;
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-xl);
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--gray-200);
}

.feature-card-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-50);
    color: var(--primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.8125rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ===== Security Section ===== */
.security-section {
    padding: 6rem 0;
    background: var(--gray-900);
    color: white;
}

.security-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.security-text h2 {
    color: white;
    margin-bottom: 1rem;
}

.security-subtitle {
    color: var(--gray-400);
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.security-grid {
    display: grid;
    gap: 1.25rem;
}

.security-item {
    display: flex;
    gap: 0.875rem;
}

.security-item-icon {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.07);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary-light);
}

.security-item strong {
    display: block;
    color: white;
    font-size: 0.875rem;
    margin-bottom: 0.125rem;
}

.security-item p {
    color: var(--gray-400);
    font-size: 0.8125rem;
    line-height: 1.5;
}

/* Security Diagram */
.security-diagram {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.device-box {
    background: rgba(255, 255, 255, 0.04);
    border: 1.5px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-2xl);
    padding: 2rem;
    text-align: center;
    width: 100%;
    max-width: 280px;
}

.device-icon-large {
    color: var(--primary-light);
    margin-bottom: 0.75rem;
    display: flex;
    justify-content: center;
}

.device-label {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: white;
}

.data-flow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.flow-item {
    padding: 0.5rem 1.25rem;
    background: rgba(79, 70, 229, 0.15);
    border-radius: var(--radius);
    font-size: 0.8125rem;
    color: var(--primary-light);
    font-weight: 500;
}

.flow-arrow {
    color: var(--gray-600);
    font-size: 0.875rem;
}

.shield-badge {
    display: inline-block;
    margin-top: 1.25rem;
    padding: 0.375rem 1rem;
    background: var(--green);
    color: white;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.no-cloud {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    opacity: 0.5;
}

.cloud-icon-x {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.x-mark {
    position: absolute;
    color: var(--red);
}

.no-cloud span {
    font-size: 0.75rem;
    color: var(--gray-500);
}

/* ===== Pricing Section ===== */
.pricing-section {
    padding: 6rem 0;
    background: var(--gray-50);
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.pricing-card {
    background: white;
    border-radius: var(--radius-2xl);
    padding: 2rem;
    position: relative;
    border: 1.5px solid var(--gray-200);
}

.pricing-card.competitor {
    opacity: 0.8;
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: 0 8px 30px rgb(79 70 229 / 0.15);
}

.featured-badge {
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.6875rem;
    font-weight: 600;
}

.pricing-card-header {
    text-align: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--gray-100);
    margin-bottom: 1.5rem;
}

.pricing-label {
    font-size: 0.8125rem;
    color: var(--gray-500);
    display: block;
    margin-bottom: 0.5rem;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.125rem;
}

.pricing-price .price-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gray-900);
    letter-spacing: -0.03em;
}

.pricing-price .price-period {
    color: var(--gray-400);
    font-size: 1rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 1.25rem;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    padding: 0.5rem 0;
    font-size: 0.875rem;
}

.pricing-features li svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.pricing-features .negative {
    color: var(--gray-500);
}

.pricing-features .negative svg {
    color: var(--red);
}

.pricing-features .positive {
    color: var(--gray-700);
}

.pricing-features .positive svg {
    color: var(--green);
}

.pricing-annual {
    text-align: center;
    font-size: 0.8125rem;
    color: var(--gray-400);
    padding-top: 1rem;
    border-top: 1px solid var(--gray-100);
}

.pricing-annual.highlight {
    color: var(--primary);
    font-weight: 600;
}

.savings-badge {
    text-align: center;
    margin-top: 0.75rem;
    padding: 0.5rem;
    background: var(--green-light);
    color: var(--green);
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.8125rem;
}

.pricing-card .btn {
    margin-top: 1.25rem;
}

.pricing-includes {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.pricing-includes h3 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--gray-600);
    font-weight: 600;
}

.includes-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.includes-grid span {
    padding: 0.375rem 0.875rem;
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    color: var(--gray-600);
}

/* ===== FAQ Section ===== */
.faq-section {
    padding: 6rem 0;
    background: white;
}

.faq-list {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--gray-200);
}

.faq-item summary {
    padding: 1.25rem 0;
    font-weight: 600;
    font-size: 1rem;
    color: var(--gray-900);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.faq-item summary::after {
    content: '+';
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--gray-400);
    transition: transform 0.2s;
}

.faq-item[open] summary::after {
    content: '-';
}

.faq-item p {
    padding: 0 0 1.25rem;
    color: var(--gray-600);
    font-size: 0.9375rem;
    line-height: 1.7;
}

/* ===== CTA Section ===== */
.cta-section {
    padding: 5rem 0;
    background: var(--gradient);
    text-align: center;
}

.cta-content h2 {
    color: white;
    margin-bottom: 0.75rem;
}

.cta-content > p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.125rem;
    margin-bottom: 2rem;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    margin-bottom: 1.5rem;
}

.cta-stats {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

.cta-divider {
    opacity: 0.5;
}

/* ===== Footer ===== */
.footer {
    padding: 3.5rem 0 2rem;
    background: var(--gray-900);
    color: var(--gray-400);
}

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

.footer-brand .logo {
    margin-bottom: 0.75rem;
}

.footer-brand .logo-text {
    color: white;
}

.footer-brand p {
    font-size: 0.8125rem;
    line-height: 1.7;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    color: white;
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-column a {
    display: block;
    font-size: 0.8125rem;
    margin-bottom: 0.625rem;
    transition: color 0.2s;
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.8125rem;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

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

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

    .feature-showcase,
    .feature-showcase.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }

    .security-content {
        grid-template-columns: 1fr;
    }

    .security-visual {
        order: -1;
    }

    .callout-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .callout-comparison {
        max-width: 480px;
        margin: 0 auto;
    }

    .callout-savings {
        padding: 1.5rem 0;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .steps-grid {
        flex-wrap: wrap;
    }

    .step-connector {
        display: none;
    }

    .step-card {
        flex: 1 1 40%;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .btn-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        padding: 5.5rem 0 3rem;
    }

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

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

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

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

    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .trust-badges {
        gap: 1rem;
    }

    .callout-card {
        padding: 2rem 1.5rem;
    }

    .step-card {
        flex: 1 1 100%;
    }

    .callout-item {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .trust-badge span {
        font-size: 0.75rem;
    }

    .trust-badges {
        gap: 0.75rem;
    }
}
