/* ==============================================
   TIMEWIZE WEBSITE STYLES
   Dark theme with organic gradients
   ============================================== */

/* CSS Variables - Timewize Paper Style Design System */
:root {
    /* === Timewize Paper Style Brand Colors === */
    --tw-primary: #5C4A32;
    --tw-primary-light: #7D6B4F;
    --tw-primary-dark: #3E3122;
    --tw-primary-50: #FAF6F1;
    --tw-primary-100: #F0E8DB;
    --tw-secondary: #2C2416;
    --tw-accent: #8B7355;

    /* === Warm Neutral Palette === */
    --tw-neutral-900: #1C1710;
    --tw-neutral-700: #443A2E;
    --tw-neutral-500: #6B5E4E;
    --tw-neutral-400: #A89882;
    --tw-neutral-300: #D4C9B8;
    --tw-neutral-200: #E8DFD2;
    --tw-neutral-100: #F3EDE4;
    --tw-neutral-50: #FAF6F1;
    --tw-white: #FFFDF9;

    /* === Semantic Status Colors (warm-shifted) === */
    --tw-error: #B84233;
    --tw-warning: #C68A1D;
    --tw-success: #5A8A5C;
    --tw-info: #4A7A9B;

    /* === Light Theme (Default) === */
    --bg-primary: #FFFDF9;
    --bg-secondary: #FAF6F1;
    --bg-card: #FFFFFF;
    --bg-navbar: rgba(255, 253, 249, 0.95);
    --text-primary: var(--tw-neutral-900);
    --text-muted: var(--tw-neutral-500);
    --accent-primary: var(--tw-primary);
    --accent-secondary: var(--tw-accent);
    --border-color: var(--tw-neutral-200);
    --success: var(--tw-success);
    --warning: var(--tw-warning);
    --error: var(--tw-error);
    --info: var(--tw-info);
    --container-max: 1400px;
    --transition-speed: 0.3s;

    /* === Shadows (Paper: barely-there) === */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 2px 6px rgba(0, 0, 0, 0.06);
    --shadow-xl: 0 4px 10px rgba(0, 0, 0, 0.08);

    /* === Radius (Paper: tight and minimal) === */
    --radius: 0.25rem;
    --radius-sm: 0.125rem;
    --radius-lg: 0.375rem;
    --radius-xl: 0.5rem;
}

[data-theme="dark"] {
    /* === Dark Theme === */
    --bg-primary: #1C1710;
    --bg-secondary: #2C2416;
    --bg-card: rgba(44, 36, 22, 0.98);
    --bg-navbar: rgba(28, 23, 16, 0.98);
    --text-primary: var(--tw-neutral-50);
    --text-muted: var(--tw-neutral-400);
    --accent-primary: #B09A7A;
    --accent-secondary: var(--tw-primary-light);
    --border-color: rgba(212, 201, 184, 0.15);
    --success: #6BA56D;
    --warning: #D9A03A;
    --error: #D15A4A;
    --info: #5A8FB5;

    /* === Dark Shadows === */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 2px 6px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 4px 10px rgba(0, 0, 0, 0.5);
}

/* ── Focus Indicators (WCAG 2.1 AA §2.4.7 & 2.4.11) ── */
*:focus {
    outline: none;
}

*:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 3px;
    border-radius: var(--radius-sm);
}

[data-theme="dark"] *:focus-visible {
    outline-color: #B09A7A;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 3px;
}

/* Theme Toggle Button */
.theme-toggle {
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    width: 40px;
    height: 40px;
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent-primary);
    border-color: var(--accent-primary);
}

[data-theme="light"] .theme-toggle:hover {
    background: rgba(0, 0, 0, 0.05);
}

/* Ensure icons size correctly */
.theme-toggle svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 18px; /* Increased from 16px */
    overflow-x: hidden;
    font-feature-settings: "rlig" 1, "calt" 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Responsive Images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsive Iframes and Videos */
iframe,
video {
    max-width: 100%;
    height: auto;
}

/* Prevent horizontal scroll */
body,
html {
    overflow-x: hidden;
    width: 100%;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 3rem;
    width: 100%;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 2.75rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.25rem;
}

p {
    line-height: 1.7;
    margin-bottom: 1rem;
    font-size: 1.05rem; /* Slightly larger than base */
}

.eyebrow {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
}

/* Links */
a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-speed);
}

.link-arrow {
    color: var(--accent-primary);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap var(--transition-speed);
}

.link-arrow:hover {
    gap: 0.75rem;
    color: var(--accent-secondary);
}

/* Buttons */
.btn-primary,
.btn-secondary,
.btn-cta {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.05rem; /* Increased from 0.95rem */
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--accent-primary);
    color: var(--tw-white);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: var(--accent-secondary);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

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

.btn-cta {
    background: var(--accent-primary);
    color: var(--tw-white);
    padding: 1.125rem 2.5rem;
    font-size: 1.1rem; /* Increased from 1rem */
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
    background: var(--accent-secondary);
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1rem; /* Increased from 0.95rem */
    transition: color var(--transition-speed);
}

.btn-link:hover {
    color: var(--accent-primary);
}

.micro-copy {
    font-size: 0.95rem; /* Increased from 0.85rem */
    color: var(--text-muted);
    margin-top: 0.75rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.5rem 0;
    background: var(--bg-navbar);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: padding 0.3s, background var(--transition-speed);
}

.navbar.scrolled {
    padding: 1rem 0;
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-primary);
    font-size: 2.5rem;
    font-weight: 600;
    z-index: 1001;
    height: 48px;
    width: auto;
}

.logo-image {
    height: 98px;
    width: auto;
}

.logo svg {
    color: var(--accent-primary);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 1rem; /* Increased from 0.95rem */
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: color var(--transition-speed);
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link .arrow {
    font-size: 0.85rem;
    transition: transform var(--transition-speed);
}

.nav-item:hover .arrow {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: calc(100% + 1.5rem);
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-card);
    backdrop-filter: blur(30px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem;
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-speed), visibility var(--transition-speed), top var(--transition-speed);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
    z-index: 1005;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    top: calc(100% + 1rem);
}

.dropdown-item {
    display: block;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: background var(--transition-speed);
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.dropdown-item strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: 0.15rem;
    font-size: 0.9rem;
    line-height: 1.3;
}

.dropdown-item span {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.3;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: transform 0.3s, opacity 0.3s;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: var(--bg-secondary);
    z-index: 2000;
    transition: right 0.3s;
    overflow-y: auto;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-content {
    padding: 6rem 2rem 2rem;
}

.mobile-menu-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

.mobile-menu-item {
    border-bottom: 1px solid var(--border-color);
}

.mobile-menu-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    color: var(--text-primary);
    font-size: 1.1rem;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.mobile-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
}

.mobile-menu-item.active .mobile-submenu {
    max-height: 600px; /* Increased from 500px to accommodate all items */
    overflow-y: auto;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

.mobile-submenu a {
    display: block;
    padding: 0.5rem 0 0.5rem 1rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.3;
}

.mobile-menu-cta {
    margin-top: 2rem;
}

@media (max-width: 1024px) {

    .nav-menu {
        display: none;
    }

    /* Keep nav-actions visible for theme toggle, but hide action buttons */
    .nav-actions {
        display: flex;
        gap: 0.5rem;
    }

    .nav-actions .btn-link,
    .nav-actions .btn-primary {
        display: none;
    }

    /* Force theme toggle to be visible if it was accidentally hidden by a generic rule */
    .nav-actions .theme-toggle {
        display: flex;
    }

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

/* Hero Section */
.hero {
    position: relative;
    min-height: 90vh;
    padding-top: 120px;
    padding-bottom: 2rem;
    overflow: hidden;
}

.blob,
.gradient-blob {
    position: absolute;
    filter: blur(80px);
    opacity: 0.15;
    animation: float 20s infinite ease-in-out;
    pointer-events: none;
    z-index: -1;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(139, 115, 85, 0.3) 0%, rgba(92, 74, 50, 0.2) 100%);
    top: 10%;
    right: 15%;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    animation-delay: 0s;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(125, 107, 79, 0.25) 0%, rgba(62, 49, 34, 0.15) 100%);
    bottom: 10%;
    right: 5%;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation-delay: 5s;
}

.blob-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(168, 152, 130, 0.2) 0%, rgba(92, 74, 50, 0.15) 100%);
    top: 50%;
    left: 5%;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation-delay: 10s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }

    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

.hero-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    font-size: 2.25rem;
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 0.75rem;
}

.hero-description {
    font-size: 1rem; /* Increased from 0.95rem */
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.hero-cta-group {
    margin-bottom: 1.5rem;
}

.hero-proof {
    padding: 1rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1rem;
}

.hero-proof .quote {
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.hero-proof .attribution {
    font-size: 1rem;
    color: var(--text-muted);
}

.trust-badges {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.trust-badges .badge {
    font-size: 0.85rem;
    color: var(--text-muted);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    border: 1px solid var(--border-color);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 700px;
}

.user-badge {
    position: absolute;
    top: 20px;
    right: 50px;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 10;
    box-shadow: var(--shadow-md);
}

.user-avatar {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--tw-primary) 0%, var(--tw-accent) 100%);
    border-radius: 8px;
}

.user-name {
    font-size: 0.95rem;
    font-weight: 600;
}

.user-role {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.dashboard-card {
    position: absolute;
    top: 120px;
    left: 0;
    width: 520px;
    background: var(--bg-card);
    backdrop-filter: blur(30px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow-xl);
}

.card-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.card-filters {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.filter-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.2s;
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.08);
}

.card-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.table-row {
    display: grid;
    grid-template-columns: 20px 20px 200px 100px;
    gap: 0.75rem;
    align-items: center;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    font-size: 1rem;
    transition: background 0.2s;
}

.table-row:hover {
    background: rgba(255, 255, 255, 0.05);
}

.row-toggle {
    width: 16px;
    height: 16px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    position: relative;
}

.row-toggle.active {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
}

.row-toggle.active::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 1px;
    width: 4px;
    height: 8px;
    border: solid var(--bg-primary);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.row-status {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.row-status.approved {
    background: var(--success);
    box-shadow: 0 0 8px rgba(76, 175, 80, 0.5);
}

.row-status.pending {
    background: var(--warning);
    box-shadow: 0 0 8px rgba(255, 152, 0, 0.5);
}

.row-status.loading {
    background: var(--accent-primary);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.badge-approved,
.badge-pending,
.badge-review {
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
}

.badge-approved {
    background: rgba(76, 175, 80, 0.15);
    color: var(--success);
}

.badge-pending {
    background: rgba(255, 152, 0, 0.15);
    color: var(--warning);
}

.badge-review {
    background: rgba(139, 115, 85, 0.15);
    color: var(--accent-primary);
}

.metrics-card {
    position: absolute;
    bottom: 80px;
    right: -60px;
    width: 240px;
    background: var(--bg-card);
    backdrop-filter: blur(30px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow-xl);
}

.metrics-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.metric-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.metric-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.metric-number {
    font-size: 1.5rem;
    font-weight: 600;
}

.metric-breakdown {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.metric-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.dot.needs-attention {
    background: var(--warning);
}

.dot.ok {
    background: var(--success);
}

.metric-item .count {
    margin-left: auto;
    font-weight: 600;
}

.progress-ring {
    width: 140px;
    height: 140px;
    margin: 0 auto;
    background: conic-gradient(var(--accent-primary) 0deg 331deg, rgba(255, 255, 255, 0.1) 331deg 360deg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.progress-ring::before {
    content: "";
    position: absolute;
    width: 100px;
    height: 100px;
    background: var(--bg-secondary);
    border-radius: 50%;
}

.ring-value {
    position: relative;
    z-index: 1;
    font-size: 2rem;
    font-weight: 300;
    color: var(--accent-primary);
}

/* Section Styles */
section {
    padding: 2rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 1.5rem;
}

.section-header h2 {
    margin-bottom: 0.75rem;
}

.section-subtext {
    font-size: 1.15rem; /* Increased from 1.05rem */
    color: var(--text-muted);
    line-height: 1.6;
}

/* Problem Section */
.bridge-section {
    background: var(--bg-primary);
    padding: 2.5rem 0 1.5rem;
}

.bridge-text {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.problem-section {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
}

.problem-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.problem-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.problem-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.problem-card h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.pain-points {
    list-style: none;
    margin-bottom: 1rem;
}

.pain-points li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 1rem; /* Added explicit size */
}

.pain-points li::before {
    content: "×";
    position: absolute;
    left: 0;
    color: var(--warning);
    font-size: 1.2rem;
}

.persona-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(139, 115, 85, 0.15);
    color: var(--accent-primary);
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
}

.transition-statement {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.transition-statement p {
    font-size: 1.15rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.5;
}

/* Solution Section */
.feature-blocks {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.feature-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

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

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

.feature-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.feature-icon {
    font-size: 1.5rem;
}

.label-text {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--accent-primary);
}

.feature-content h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.feature-content p {
    font-size: 1.05rem; /* Increased from 1rem */
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

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

.capability-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.75rem;
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 1rem; /* Added explicit size */
}

.capability-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-weight: bold;
    font-size: 1.2rem;
}

.feature-visual {
    position: relative;
}

.mockup-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.3);
}

.mockup-header {
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.mockup-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mock-item {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    color: var(--text-muted);
}

.mock-button {
    padding: 1rem;
    background: var(--accent-primary);
    color: var(--tw-white);
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
}

.mock-status {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    text-align: center;
}

.mock-status.approved {
    background: rgba(76, 175, 80, 0.15);
    color: var(--success);
}

.skill-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(139, 115, 85, 0.15);
    color: var(--accent-primary);
    border-radius: 6px;
    margin: 0.25rem;
}

.metric-row {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.metric-value {
    font-weight: 600;
    color: var(--accent-primary);
}

.chart-placeholder {
    height: 100px;
    background: linear-gradient(to top, rgba(212, 225, 87, 0.1) 0%, transparent 100%);
    border-radius: 8px;
    margin-top: 1rem;
}

.section-cta {
    text-align: center;
    margin-top: 2.5rem;
}

/* Free Tier Section */
.free-tier-section {
    background: linear-gradient(135deg, rgba(92, 74, 50, 0.05) 0%, rgba(139, 115, 85, 0.03) 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.free-tier-statement {
    font-size: 1.75rem;
    font-weight: 300;
    color: var(--accent-primary);
    margin: 1.5rem 0;
}

.commitment-line {
    font-size: 1.05rem;
    font-weight: 500;
    margin-top: 1rem;
}

.pricing-comparison {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
    margin: 2.5rem 0;
}

.pricing-table {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
}

.pricing-table h3 {
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.feature-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-row:last-child {
    border-bottom: none;
}

.feature-row .included {
    color: var(--accent-primary);
    font-weight: 500;
}

.enterprise-callout {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
}

.enterprise-callout h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}

.enterprise-callout p {
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.enterprise-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.enterprise-features li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.75rem;
    color: var(--text-muted);
}

.enterprise-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-weight: bold;
}

.primary-cta-block {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
}

.primary-cta-block h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

/* How It Works Section */
.steps-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.step {
    text-align: center;
}

.step-number {
    display: inline-flex;
    width: 60px;
    height: 60px;
    align-items: center;
    justify-content: center;
    background: var(--accent-primary);
    color: var(--tw-white);
    font-size: 1.5rem;
    font-weight: 600;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.step-time {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(139, 115, 85, 0.15);
    color: var(--accent-primary);
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.step h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.step p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.proof-callout {
    max-width: 700px;
    margin: 0 auto;
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    text-align: center;
}

.proof-callout .quote {
    font-size: 1.05rem;
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.proof-callout .attribution {
    color: var(--text-muted);
}

/* Persona Tabs Section */
.persona-tabs {
    max-width: 900px;
    margin: 0 auto;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.tab-button {
    padding: 1rem 2rem;
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-muted);
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-speed);
}

.tab-button:hover {
    border-color: var(--accent-primary);
    color: var(--text-primary);
    background: rgba(92, 74, 50, 0.1);
}

.tab-button.active {
    background: var(--accent-primary);
    color: var(--tw-white);
    border-color: var(--accent-primary);
    font-weight: 600;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.persona-content {
    text-align: center;
}

.persona-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.persona-content h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.persona-content>p {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.benefit-list {
    list-style: none;
    text-align: left;
    max-width: 600px;
    margin: 0 auto 1.5rem;
}

.benefit-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.75rem;
}

.benefit-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-weight: bold;
    font-size: 1.2rem;
}

.persona-proof {
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin: 1.5rem 0;
}

.persona-proof p {
    font-style: italic;
    margin-bottom: 0.75rem;
}

.persona-proof span {
    font-size: 1rem;
    color: var(--text-muted);
}

/* Comparison Table Section */
.comparison-section {
    background: var(--bg-secondary);
}

.comparison-table {
    max-width: 1000px;
    margin: 0 auto;
}

.comparison-row {
    display: grid;
    grid-template-columns: 200px 1fr 1fr;
    gap: 2rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.comparison-row.header {
    font-weight: 600;
}

.comparison-cell.label {
    font-weight: 500;
}

.comparison-cell.old {
    color: var(--text-muted);
}

.comparison-cell.new {
    color: var(--text-primary);
    position: relative;
    padding-left: 2rem;
}

.comparison-cell.new::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-weight: bold;
}

.comparison-summary {
    text-align: center;
    margin-top: 2rem;
    font-size: 1.15rem;
    color: var(--accent-primary);
}

/* Testimonials Section */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.testimonial-quote {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.testimonial-author strong {
    color: var(--text-primary);
}

.testimonial-author span {
    font-size: 1rem;
    color: var(--text-muted);
}

.industry-badge {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background: rgba(139, 115, 85, 0.15);
    color: var(--accent-primary);
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
}

.testimonial-metric {
    padding: 1rem;
    background: rgba(139, 115, 85, 0.1);
    border-radius: 8px;
    color: var(--accent-primary);
    font-weight: 600;
    text-align: center;
}

/* FAQ Section */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

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

.faq-question {
    width: 100%;
    padding: 1.25rem 0;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.1rem; /* Increased from 1.05rem */
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color var(--transition-speed);
}

.faq-question:hover {
    color: var(--accent-primary);
}

.faq-icon {
    font-size: 1.5rem;
    transition: transform var(--transition-speed);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding-bottom: 1.25rem;
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 1.05rem; /* Added explicit size */
}

.faq-contact {
    text-align: center;
    margin-top: 2rem;
    font-size: 1.1rem; /* Increased from 1.05rem */
}

/* Final CTA Section */
.faq-section {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
}

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

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

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

.faq-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: none;
    border: none;
    padding: 1.5rem 0;
    cursor: pointer;
    text-align: left;
    color: var(--text-primary);
    font-size: 1.05rem;
    font-weight: 600;
    font-family: inherit;
    line-height: 1.4;
}

.faq-trigger:hover {
    color: var(--accent-color, #5c4a32);
}

.faq-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    margin-right: 0.75rem;
    border-radius: 50%;
    background: var(--accent-color, #5c4a32);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    flex-shrink: 0;
}

.faq-list .faq-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    color: var(--text-secondary);
}

.faq-list .faq-item.faq-open .faq-icon {
    transform: rotate(180deg);
}

.faq-list .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-list .faq-item.faq-open .faq-answer {
    max-height: 600px;
}

.faq-list .faq-answer p {
    font-size: 0.97rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
    padding-bottom: 1.5rem;
}

.final-cta-section {
    background: linear-gradient(135deg, rgba(92, 74, 50, 0.05) 0%, rgba(139, 115, 85, 0.03) 100%);
    text-align: center;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.final-cta-section h2 {
    margin-bottom: 1rem;
}

/* CTA blocks styling moved to consolidated section below */

.trust-signals {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.trust-badge {
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    color: var(--text-muted);
}

/* Footer */
.footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 1.5rem;
}

.footer-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 3rem;
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-newsletter h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-newsletter p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 1rem; /* Added explicit size */
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 0.875rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem; /* Increased from 0.95rem */
}

.newsletter-form input::placeholder {
    color: var(--text-muted);
}

.privacy-note {
    font-size: 0.85rem;
    color: var(--text-muted);
}

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

.footer-column h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--accent-primary);
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.75rem;
}

.footer-column a {
    color: var(--text-muted);
    transition: color var(--transition-speed);
    font-size: 0.95rem; /* Added explicit size */
}

.footer-column a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 1.5rem 3rem 0;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem; /* Increased from 0.9rem */
    color: var(--text-muted);
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: var(--text-muted);
    transition: color var(--transition-speed);
}

.footer-legal a:hover {
    color: var(--text-primary);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: var(--text-muted);
    transition: background var(--transition-speed), color var(--transition-speed);
}

.footer-social a:hover {
    background: var(--accent-primary);
    color: var(--tw-white);
}

/* ==============================================
   PRODUCT & SOLUTION PAGES
   ============================================== */

/* Product Hero - Single column, centered layout */
.product-hero {
    min-height: auto;
    padding-top: 140px;
    padding-bottom: 3rem;
    text-align: center;
}

.product-hero .container {
    max-width: 900px;
}

.product-hero .hero-content {
    max-width: 100%;
}

.product-hero .hero-title {
    font-size: 2.75rem;
    margin-bottom: 1rem;
}

.product-hero .hero-description {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.product-hero .hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.product-hero .cta-note {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Solution Section */
.solution-section {
    background: var(--bg-primary);
}

.solution-section .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.solution-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Feature Content */
.feature-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-content p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Feature Visual - Mockup Cards */
.feature-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mockup-card {
    background: var(--bg-card);
    backdrop-filter: blur(30px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    width: 100%;
    max-width: 450px;
    box-shadow: var(--shadow-lg);
}

.mockup-card .card-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.mockup-card .card-header h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent-primary);
    margin: 0;
}

/* Metric Rows */
.metric-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.metric-row:last-child {
    border-bottom: none;
}

.metric-row span:first-child {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.metric-row .metric-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.metric-row .metric-value.success {
    color: var(--success);
}

.metric-row .metric-value.warning {
    color: var(--warning);
}

.metric-row .metric-value.alert {
    color: #f44336;
}

/* Progress Ring (for utilization display) */
.progress-ring {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-gradient-start) 0%, var(--accent-gradient-end) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1.5rem auto;
    position: relative;
}

.progress-ring::before {
    content: '';
    position: absolute;
    width: 90px;
    height: 90px;
    background: var(--bg-card);
    border-radius: 50%;
}

.progress-ring .ring-value {
    position: relative;
    z-index: 1;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-lime);
}

/* Problem Section (used on some product pages) */
.problem-section .section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.problem-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.problem-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}

.problem-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.problem-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.problem-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* CTA Blocks - Consolidated */
.cta-blocks {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: 2rem auto;
    justify-content: center;
}

.cta-block {
    padding: 2rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    text-align: center;
}

.cta-block.primary {
    border-color: var(--accent-primary);
}

.cta-block h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.cta-block p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.05rem; /* Increased from 1rem */
    line-height: 1.6;
}

/* Responsive Design */

/* Large Desktop (1200px - 1440px) */
@media (max-width: 1440px) {
    .container {
        max-width: 1200px;
    }
}

@media (max-width: 1200px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-container {
        gap: 3rem;
        padding: 0 2rem;
    }

    .dashboard-card {
        width: 100%;
        max-width: 480px;
    }

    .feature-blocks {
        gap: 2.5rem;
    }

    .problem-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* All Tablets and Below - Reset absolute positioning */
@media (max-width: 1280px) {
    .hero {
        min-height: auto;
        padding-bottom: 3rem;
    }

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

    .hero-content {
        max-width: 100%;
        text-align: center;
    }

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

    .hero-proof {
        text-align: center;
    }

    .trust-badges {
        justify-content: center;
    }

    .hero-visual {
        height: auto !important;
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        position: relative;
    }

    .user-badge {
        position: static !important;
        align-self: flex-end;
        width: fit-content;
        top: auto !important;
        right: auto !important;
        left: auto !important;
        bottom: auto !important;
    }

    .dashboard-card {
        position: static !important;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        top: auto !important;
        right: auto !important;
        left: auto !important;
        bottom: auto !important;
    }

    .metrics-card {
        position: static !important;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        top: auto !important;
        right: auto !important;
        left: auto !important;
        bottom: auto !important;
    }
}

/* Tablet Landscape - Large (1025px - 1280px) - Better layout for larger tablets */
@media (max-width: 1280px) and (min-width: 1025px) {
    .hero-visual {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        gap: 1.5rem;
    }

    .user-badge {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
    }

    .metrics-card {
        grid-column: 1;
        grid-row: 1;
    }

    .dashboard-card {
        grid-column: 1 / -1;
        grid-row: 2;
    }
}

/* Tablet Landscape (1024px) */
@media (max-width: 1024px) {
    .container {
        padding: 0 2rem;
    }

    .nav-container {
        padding: 0 2rem;
    }

    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    /* Hero Section - Already handled by 1280px breakpoint above */
    .feature-block {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .feature-block.reverse {
        direction: ltr;
    }

    /* Cards and Grids */
    .problem-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

    /* Keep CTA blocks side-by-side on tablet */
    .cta-blocks {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .steps-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .pricing-comparison {
        grid-template-columns: 1fr;
    }

    .comparison-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .comparison-cell.label {
        font-weight: 600;
        color: var(--accent-primary);
    }

    /* Feature Blocks */
    .feature-content h3 {
        font-size: 1.5rem;
    }

    .feature-content p {
        font-size: 0.95rem;
    }

    /* Trust Badges */
    .trust-badges {
        justify-content: center;
    }

    .trust-badges .badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Tablet Portrait (768px) */
@media (max-width: 768px) {
    body {
        font-size: 16px; /* Slightly reduced for tablet */
    }

    .container {
        padding: 0 1.5rem;
    }

    .nav-container {
        padding: 0 1.5rem;
    }

    /* Typography */
    h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    h2 {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    h3 {
        font-size: 1.25rem;
    }

    p {
        font-size: 1.05rem; /* Maintain good readability */
        line-height: 1.7;
    }

    /* Sections */
    section {
        padding: 3rem 0;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .section-subtext {
        font-size: 1rem;
    }

    /* Hero Section */
    .hero {
        padding-top: 100px;
        padding-bottom: 2rem;
        min-height: auto;
    }

    .hero-container {
        gap: 2rem;
    }

    .hero-title {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    .hero-description {
        font-size: 1rem; /* Increased from 0.95rem */
        margin-bottom: 1.5rem;
    }

    .hero-cta-group {
        margin-bottom: 1.5rem;
    }

    .btn-cta {
        padding: 1rem 2rem;
        font-size: 0.95rem;
    }

    /* Product Hero */
    .product-hero {
        padding-top: 120px;
        padding-bottom: 2rem;
    }

    .product-hero .hero-title {
        font-size: 1.75rem;
    }

    .product-hero .hero-description {
        font-size: 1rem;
    }

    /* Hero Visual */
    .hero-visual {
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .user-badge {
        position: static;
        align-self: flex-end;
        width: fit-content;
    }

    .dashboard-card,
    .metrics-card {
        position: static;
        margin: 0 auto;
        width: 100%;
        max-width: 100%;
    }

    .dashboard-card {
        padding: 1.25rem;
    }

    .card-filters {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .filter-btn {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    /* Mockup Cards */
    .mockup-card {
        max-width: 100%;
        padding: 1.25rem;
    }

    .mockup-header {
        font-size: 0.95rem;
    }

    /* Progress Ring */
    .progress-ring {
        width: 100px;
        height: 100px;
    }

    .progress-ring::before {
        width: 75px;
        height: 75px;
    }

    .progress-ring .ring-value {
        font-size: 1.25rem;
    }

    /* Feature Blocks */
    .feature-blocks {
        gap: 2rem;
    }

    .feature-block {
        gap: 2rem;
    }

    .feature-content h3 {
        font-size: 1.35rem;
        margin-bottom: 0.75rem;
    }

    .feature-content p {
        font-size: 1.05rem; /* Increased from 0.95rem */
        margin-bottom: 1rem;
    }

    .capability-list li {
        font-size: 1rem; /* Increased from 0.9rem */
        margin-bottom: 0.5rem;
    }

    /* Problem Cards */
    .problem-card {
        padding: 1.25rem;
    }

    .problem-card h3 {
        font-size: 1.2rem;
    }

    .pain-points li {
        font-size: 0.9rem;
    }

    /* Steps Timeline */
    .steps-timeline {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    /* Tab Buttons */
    .tab-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .tab-button {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }

    /* Pricing */
    .pricing-table,
    .enterprise-callout {
        padding: 1.25rem;
    }

    .feature-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 1rem 0;
    }

    /* Footer */
    .footer {
        padding: 2.5rem 0 1.5rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 0 1.5rem;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
        padding: 1.5rem 1.5rem 0;
    }

    .footer-legal {
        flex-direction: column;
        gap: 0.75rem;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 0.75rem;
    }

    .newsletter-form input {
        width: 100%;
    }

    /* CTA Blocks - Keep side-by-side on tablet */
    .cta-blocks {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .cta-block {
        padding: 1.5rem 1.25rem;
    }

    .cta-block h3 {
        font-size: 1.25rem;
    }

    /* Trust Signals */
    .trust-signals {
        gap: 1rem;
    }

    .trust-badge {
        font-size: 0.85rem;
        padding: 0.6rem 1rem;
    }

    /* FAQ */
    .faq-question {
        font-size: 0.95rem;
        padding: 1rem 0;
    }

    .faq-answer p {
        font-size: 0.9rem;
    }
}

/* Mobile Landscape (640px) */
@media (max-width: 640px) {
    .container {
        padding: 0 1.25rem;
    }

    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.35rem;
    }

    h3 {
        font-size: 1.15rem;
    }

    /* Buttons */
    .btn-primary,
    .btn-secondary {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .btn-cta {
        padding: 0.875rem 1.75rem;
        font-size: 0.9rem;
    }

    /* Hero */
    .hero-title {
        font-size: 1.5rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    /* Cards */
    .problem-card,
    .testimonial-card,
    .mockup-card {
        padding: 1rem;
    }

    /* CTA Blocks - Keep horizontal on mobile landscape */
    .cta-blocks {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .cta-block {
        padding: 1.25rem 1rem;
    }

    .cta-block h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .cta-block p {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }

    /* Table Rows */
    .table-row {
        grid-template-columns: 20px 8px 1fr auto;
        gap: 0.5rem;
        padding: 0.6rem 0.75rem;
        font-size: 0.85rem;
    }

    /* Metrics */
    .metric-row {
        font-size: 0.85rem;
        padding: 0.6rem 0;
    }

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

    .footer-column h4 {
        font-size: 0.95rem;
    }

    .footer-column li {
        margin-bottom: 0.6rem;
    }
}

/* Mobile Portrait (480px) */
@media (max-width: 480px) {
    body {
        font-size: 15px; /* Maintain readability on mobile */
    }

    .container {
        padding: 0 1rem;
    }

    /* Navigation */
    .nav-container {
        padding: 0 1rem;
    }

    .logo {
        height: 26px;
        width: auto;
    }

    .logo-image {
        height: 62px;
    }

    .nav-actions .btn-primary {
        display: none;
    }

    .nav-actions .btn-link {
        font-size: 0.85rem;
    }

    /* Typography */
    h1 {
        font-size: 1.5rem;
        line-height: 1.25;
    }

    h2 {
        font-size: 1.25rem;
        line-height: 1.3;
    }

    h3 {
        font-size: 1.1rem;
    }

    p {
        font-size: 1rem; /* Increased from 0.9rem */
    }

    .eyebrow {
        font-size: 1rem; /* Increased from 0.65rem */
    }

    /* Sections */
    section {
        padding: 2.5rem 0;
    }

    /* Hero */
    .hero {
        padding-top: 90px;
        padding-bottom: 1.5rem;
    }

    .hero-title {
        font-size: 1rem;
        word-wrap: break-word;
        margin-bottom: 0.75rem;
    }

    .hero-description {
        font-size: 1rem; /* Increased from 0.9rem */
        margin-bottom: 1.25rem;
    }

    .hero-cta-group {
        width: 100%;
        margin-bottom: 1.25rem;
    }

    .btn-cta {
        width: 100%;
        padding: 1rem;
        font-size: 0.9rem;
        white-space: normal;
        line-height: 1.3;
    }

    .micro-copy {
        font-size: 0.9rem; /* Increased from 0.8rem */
    }

    /* Product Hero */
    .product-hero {
        padding-top: 100px;
        padding-bottom: 1.5rem;
    }

    .product-hero .hero-title {
        font-size: 1.5rem;
    }

    .product-hero .hero-description {
        font-size: 0.9rem;
    }

    /* Hero Visual Components */
    .dashboard-card {
        padding: 1rem;
        width: 100%;
    }

    .card-header h3 {
        font-size: 1rem;
    }

    .card-content {
        gap: 0.5rem;
    }

    .table-row {
        grid-template-columns: 20px 8px 1fr auto;
        gap: 0.5rem;
        padding: 0.5rem;
        font-size: 0.8rem;
    }

    .table-row span:nth-child(4) {
        display: none;
    }

    .badge-approved,
    .badge-pending,
    .badge-review {
        padding: 0.2rem 0.5rem;
        font-size: 0.75rem;
    }

    /* Metrics Card */
    .metrics-card {
        position: static;
        width: 100%;
        margin-top: 1rem;
        padding: 1rem;
    }

    .metrics-card h4 {
        font-size: 0.95rem;
    }

    .metric-number {
        font-size: 1.25rem;
    }

    .metric-item {
        font-size: 0.8rem;
    }

    .progress-ring {
        width: 90px;
        height: 90px;
    }

    .progress-ring::before {
        width: 65px;
        height: 65px;
    }

    .ring-value {
        font-size: 1.1rem;
    }

    /* User Badge */
    .user-badge {
        padding: 0.6rem 1rem;
    }

    .user-avatar {
        width: 32px;
        height: 32px;
    }

    .user-name {
        font-size: 0.85rem;
    }

    .user-role {
        font-size: 0.75rem;
    }

    /* Trust Badges */
    .trust-badges {
        gap: 0.75rem;
    }

    .trust-badges .badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.75rem;
    }

    /* Problem Cards */
    .problem-card {
        padding: 1rem;
    }

    .card-icon {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }

    .problem-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }

    .pain-points li {
        font-size: 0.85rem;
        margin-bottom: 0.6rem;
        padding-left: 1.25rem;
    }

    .persona-tag {
        font-size: 0.8rem;
        padding: 0.4rem 0.75rem;
    }

    /* Feature Blocks */
    .feature-blocks {
        gap: 1.5rem;
    }

    .feature-block {
        gap: 1.5rem;
    }

    .feature-label {
        gap: 0.5rem;
        margin-bottom: 0.75rem;
    }

    .feature-icon {
        font-size: 1.25rem;
    }

    .label-text {
        font-size: 0.75rem;
    }

    .feature-content h3 {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }

    .feature-content p {
        font-size: 1rem; /* Increased from 0.9rem */
        margin-bottom: 1rem;
    }

    .capability-list li {
        font-size: 0.95rem; /* Increased from 0.85rem */
        padding-left: 1.5rem;
    }

    /* Mockup Cards */
    .mockup-card {
        padding: 1rem;
    }

    .mockup-header {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
        padding-bottom: 0.6rem;
    }

    .mock-item {
        padding: 0.75rem;
        font-size: 0.85rem;
    }

    .mock-button {
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    .skill-tag {
        padding: 0.4rem 0.75rem;
        font-size: 0.8rem;
        margin: 0.2rem;
    }

    .metric-row {
        padding: 0.6rem 0;
        font-size: 0.85rem;
    }

    .metric-value {
        font-size: 0.9rem;
    }

    /* Steps */
    .step-number {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }

    .step-time {
        font-size: 0.8rem;
        padding: 0.4rem 0.75rem;
    }

    .step h3 {
        font-size: 1.1rem;
    }

    .step p {
        font-size: 0.85rem;
    }

    /* Pricing */
    .pricing-table,
    .enterprise-callout,
    .primary-cta-block {
        padding: 1rem;
    }

    .pricing-table h3,
    .enterprise-callout h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .feature-row {
        padding: 0.75rem 0;
        font-size: 0.85rem;
    }

    .enterprise-features li {
        font-size: 0.85rem;
        padding-left: 1.5rem;
    }

    /* CTA Blocks - Keep horizontal even on small mobile */
    .cta-blocks {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        margin: 1.5rem auto;
    }

    .cta-block {
        padding: 1rem 0.75rem;
    }

    .cta-block h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }

    .cta-block p {
        font-size: 0.9rem; /* Increased from 0.8rem */
        margin-bottom: 1rem;
        line-height: 1.5;
    }

    .cta-block .btn-cta,
    .cta-block .btn-secondary {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
        width: 100%;
    }

    /* Trust Signals */
    .trust-signals {
        gap: 0.75rem;
    }

    .trust-badge {
        font-size: 0.8rem;
        padding: 0.5rem 0.75rem;
    }

    /* FAQ */
    .faq-question {
        font-size: 0.9rem;
        padding: 0.875rem 0;
    }

    .faq-icon {
        font-size: 1.25rem;
    }

    .faq-answer p {
        font-size: 0.85rem;
        padding-bottom: 1rem;
    }

    /* Footer */
    .footer {
        padding: 2rem 0 1.25rem;
    }

    .footer-container {
        padding: 0 1rem;
        gap: 2rem;
    }

    .footer-newsletter h3 {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }

    .footer-newsletter p {
        font-size: 0.85rem;
    }

    .newsletter-form input {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    .newsletter-form button {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .privacy-note {
        font-size: 0.8rem;
    }

    .footer-links {
        gap: 1.25rem;
    }

    .footer-column h4 {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }

    .footer-column li {
        margin-bottom: 0.5rem;
    }

    .footer-column a {
        font-size: 0.85rem;
    }

    .footer-bottom {
        padding: 1.25rem 1rem 0;
        font-size: 0.8rem;
    }

    .footer-social a {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }

    /* Transition Statement */
    .transition-statement p {
        font-size: 1rem;
    }

    /* Testimonials */
    .testimonial-card {
        padding: 1rem;
    }

    .testimonial-quote {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .testimonial-author {
        font-size: 0.85rem;
    }

    /* Persona Content */
    .persona-icon {
        font-size: 2rem;
    }

    .persona-content h3 {
        font-size: 1.35rem;
    }

    .persona-content>p {
        font-size: 0.95rem;
    }

    .benefit-list li {
        font-size: 0.85rem;
    }

    /* Section Headers */
    .section-header h2 {
        font-size: 1.35rem;
    }

    .section-subtext {
        font-size: 0.9rem;
    }

    .free-tier-statement {
        font-size: 1.35rem;
    }

    .commitment-line {
        font-size: 0.95rem;
    }
}

/* Extra Small Mobile (360px) */
@media (max-width: 360px) {
    .container {
        padding: 0 0.875rem;
    }

    h1 {
        font-size: 1.35rem;
    }

    h2 {
        font-size: 1.15rem;
    }

    .hero-title {
        font-size: 1.35rem;
    }

    .btn-cta {
        padding: 0.875rem;
        font-size: 0.85rem;
    }

    /* CTA Blocks - Stack only on very small screens */
    .cta-blocks {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .cta-block {
        padding: 1rem;
    }

    .cta-block h3 {
        font-size: 1.1rem;
    }

    .cta-block p {
        font-size: 0.85rem;
    }

    .table-row {
        grid-template-columns: 16px 8px 1fr;
        gap: 0.4rem;
        padding: 0.4rem;
    }

    .table-row span:nth-child(3) {
        font-size: 0.75rem;
    }

    .dashboard-card {
        padding: 0.875rem;
    }

    .metrics-card {
        padding: 0.875rem;
    }

    .progress-ring {
        width: 80px;
        height: 80px;
    }

    .progress-ring::before {
        width: 60px;
        height: 60px;
    }

    .ring-value {
        font-size: 1rem;
    }
}

/* Small Mobile Transition (400px) - Keep CTA blocks horizontal */
@media (min-width: 361px) and (max-width: 480px) {
    .cta-blocks {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.875rem;
    }

    .cta-block {
        padding: 1rem 0.875rem;
    }

    .cta-block h3 {
        font-size: 1.05rem;
    }

    .cta-block p {
        font-size: 0.82rem;
        line-height: 1.4;
    }
}

/* ==============================================
   RESPONSIVE UTILITIES & HELPERS
   ============================================== */

/* Responsive Text Utilities */
.text-center-mobile {
    text-align: left;
}

@media (max-width: 768px) {
    .text-center-mobile {
        text-align: center;
    }
}

/* Responsive Spacing */
.responsive-gap {
    gap: 2rem;
}

@media (max-width: 768px) {
    .responsive-gap {
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .responsive-gap {
        gap: 1rem;
    }
}

/* Responsive Grid Utilities */
.grid-responsive {
    display: grid;
    gap: 2rem;
}

.grid-responsive.cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-responsive.cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-responsive.cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
    .grid-responsive.cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-responsive.cols-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .grid-responsive.cols-2,
    .grid-responsive.cols-3,
    .grid-responsive.cols-4 {
        grid-template-columns: 1fr;
    }
}

/* Responsive Flex Utilities */
.flex-responsive {
    display: flex;
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .flex-responsive {
        flex-direction: column;
    }
}

/* Hide/Show Utilities */
.hide-mobile {
    display: block;
}

.show-mobile {
    display: none;
}

@media (max-width: 768px) {
    .hide-mobile {
        display: none;
    }
    
    .show-mobile {
        display: block;
    }
}

/* Responsive Form Elements */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="number"],
input[type="search"],
textarea,
select {
    width: 100%;
    max-width: 100%;
    font-size: 16px; /* Prevents zoom on iOS */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

@media (max-width: 480px) {
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="password"],
    input[type="number"],
    input[type="search"],
    textarea,
    select {
        font-size: 16px; /* Prevents zoom on mobile */
    }
}

/* Responsive Tables */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 768px) {
    .table-responsive {
        display: block;
    }
    
    .table-responsive table {
        min-width: 600px;
    }
}

/* Touch-friendly tap targets */
@media (max-width: 768px) {
    button,
    a,
    input[type="button"],
    input[type="submit"] {
        min-height: 44px; /* iOS recommended tap target size */
        min-width: 44px;
    }
}

/* Responsive Padding Utilities */
.p-responsive {
    padding: 3rem;
}

@media (max-width: 768px) {
    .p-responsive {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .p-responsive {
        padding: 1.5rem;
    }
}

/* Responsive Margin Utilities */
.m-responsive {
    margin: 3rem 0;
}

@media (max-width: 768px) {
    .m-responsive {
        margin: 2rem 0;
    }
}

@media (max-width: 480px) {
    .m-responsive {
        margin: 1.5rem 0;
    }
}

/* Prevent text overflow */
.text-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.text-break {
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
}

/* Responsive Aspect Ratios */
.aspect-ratio-16-9 {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
}

.aspect-ratio-16-9 > * {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.aspect-ratio-4-3 {
    position: relative;
    padding-bottom: 75%; /* 4:3 */
    height: 0;
    overflow: hidden;
}

.aspect-ratio-4-3 > * {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Responsive Card Layouts */
@media (max-width: 768px) {
    .card,
    .mockup-card,
    .problem-card,
    .testimonial-card {
        margin-bottom: 1rem;
    }
}

/* Ensure blobs don't cause horizontal scroll */
.blob,
.gradient-blob {
    max-width: 100vw;
    overflow: hidden;
}

/* Responsive Navigation Improvements */
@media (max-width: 1024px) {
    .dropdown-menu {
        min-width: 240px;
    }
}

/* Improve mobile menu scrolling */
@media (max-width: 1024px) {
    .mobile-menu {
        -webkit-overflow-scrolling: touch;
    }
    
    .mobile-menu-content,
    .mobile-menu-nav {
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }
}

/* Responsive Hero Adjustments */
@media (max-width: 768px) {
    .hero-proof {
        padding: 0.75rem 0;
    }
    
    .hero-proof .quote {
        font-size: 0.9rem;
    }
    
    .hero-proof .attribution {
        font-size: 0.8rem;
    }
}

/* Responsive Feature Label */
@media (max-width: 480px) {
    .feature-label {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Ensure proper spacing on all screen sizes */
@media (max-width: 768px) {
    .section-header {
        padding: 0 1rem;
    }
}

/* Responsive CTA Note */
@media (max-width: 480px) {
    .cta-note,
    .hero-cta .cta-note {
        font-size: 0.8rem;
        line-height: 1.4;
    }
}

/* Improve readability on small screens */
@media (max-width: 480px) {
    .link-arrow {
        font-size: 0.9rem;
    }
    
    .transition-statement {
        padding: 0 0.5rem;
    }
}

/* Responsive Proof Callout */
@media (max-width: 480px) {
    .proof-callout {
        padding: 1rem;
    }
    
    .proof-callout .quote {
        font-size: 0.95rem;
    }
    
    .proof-callout .attribution {
        font-size: 0.8rem;
    }
}

/* Responsive Persona Content */
@media (max-width: 480px) {
    .persona-proof {
        padding: 1rem;
    }
}

/* Ensure proper button sizing on mobile */
@media (max-width: 480px) {
    .btn-block {
        width: 100%;
        display: block;
    }
    
    .hero-cta,
    .product-hero .hero-cta {
        width: 100%;
    }
    
    .hero-cta a,
    .product-hero .hero-cta a {
        width: 100%;
        display: block;
        text-align: center;
    }
}

/* Responsive comparison table improvements */
@media (max-width: 768px) {
    .comparison-row {
        padding: 1rem 0;
    }
    
    .comparison-cell {
        margin-bottom: 0.5rem;
    }
}

/* Responsive testimonial improvements */
@media (max-width: 480px) {
    .testimonial-metric {
        padding: 0.75rem;
        font-size: 0.85rem;
    }
    
    .industry-badge {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }
}

/* Ensure mobile menu is accessible */
@media (max-width: 1024px) {
    .mobile-menu-item {
        touch-action: manipulation;
    }
    
    .mobile-menu-link {
        padding: 1rem 0;
        font-size: 1rem;
    }
    
    .mobile-submenu a {
        padding: 0.5rem 0 0.5rem 1rem;
        font-size: 0.85rem;
        line-height: 1.3;
    }
}

/* Responsive final CTA section */
@media (max-width: 480px) {
    .final-cta-section h2 {
        font-size: 1.35rem;
        margin-bottom: 0.75rem;
    }
    
    .final-cta-section p {
        font-size: 0.9rem;
    }
}

/* Improve mobile form experience */
@media (max-width: 480px) {
    .newsletter-form {
        width: 100%;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }
}

/* Responsive pricing improvements */
@media (max-width: 480px) {
    .free-tier-section {
        padding: 2rem 0;
    }
    
    .pricing-comparison {
        gap: 1.5rem;
    }
}

/* Ensure proper mobile navigation spacing */
@media (max-width: 480px) {
    .navbar {
        padding: 1rem 0;
    }
    
    .navbar.scrolled {
        padding: 0.75rem 0;
    }
}

/* Responsive blob animations - reduce on mobile for performance */
@media (max-width: 768px) {
    .blob,
    .gradient-blob {
        animation-duration: 30s; /* Slower animation on mobile */
        filter: blur(60px); /* Less blur for better performance */
    }
}

/* Ensure cards don't overflow on small screens */
@media (max-width: 480px) {
    .card-filters {
        font-size: 0.8rem;
    }
    
    .filter-btn {
        padding: 0.4rem 0.75rem;
        font-size: 0.8rem;
    }
}

/* Responsive step improvements */
@media (max-width: 480px) {
    .step {
        text-align: center;
    }
}

/* Ensure proper mobile footer spacing */
@media (max-width: 480px) {
    .footer-bottom {
        gap: 1rem;
    }
    
    .footer-legal {
        gap: 0.5rem;
    }
}

/* ==============================================
   PRINT STYLES
   ============================================== */

@media print {
    .navbar,
    .mobile-menu,
    .footer,
    .btn-cta,
    .btn-primary,
    .btn-secondary,
    .theme-toggle,
    .mobile-menu-toggle {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
    
    .hero,
    .section {
        page-break-inside: avoid;
    }
}
