/* ==========================================================================
   Lodging Ledger - Marketing Site Stylesheet
   A complete, standalone stylesheet for the SaaS marketing website.
   ========================================================================== */

/* ==========================================================================
   1. DESIGN TOKENS
   ========================================================================== */

:root {
    /* Brand Colors */
    --primary: #0891b2;
    --primary-dark: #0e7490;
    --primary-light: #22d3ee;
    --gradient: linear-gradient(135deg, #155e75 0%, #0891b2 50%, #06b6d4 100%);
    --gradient-reverse: linear-gradient(135deg, #06b6d4 0%, #0891b2 50%, #155e75 100%);
    --gradient-subtle: linear-gradient(135deg, rgba(8, 145, 178, 0.06) 0%, rgba(6, 182, 212, 0.06) 100%);

    /* Semantic Colors */
    --success: #27ae60;
    --success-light: #e8f8ef;
    --warning: #f39c12;
    --warning-light: #fef9e7;
    --danger: #e74c3c;
    --danger-light: #fdecea;
    --info: #3498db;

    /* Text */
    --text-dark: #2c3e50;
    --text-body: #4a5568;
    --text-muted: #7f8c8d;
    --text-light: #9ca3af;
    --text-white: #ffffff;

    /* Backgrounds */
    --bg-light: #f5f5f5;
    --bg-lighter: #f8fafc;
    --bg-white: #ffffff;
    --bg-dark: #1e293b;
    --bg-darker: #0f172a;

    /* Borders */
    --border: #e5e7eb;
    --border-light: #f0f0f0;

    /* Shadows */
    --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.04);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.2);
    --shadow-xl: 0 25px 80px rgba(0, 0, 0, 0.25);
    --shadow-primary: 0 8px 30px rgba(8, 145, 178, 0.25);
    --shadow-card-hover: 0 12px 40px rgba(0, 0, 0, 0.15);

    /* Layout */
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    --container-max: 1200px;
    --container-narrow: 800px;

    /* Typography */
    --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    --font-mono: 'SF Mono', 'Fira Code', 'Fira Mono', 'Roboto Mono', monospace;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
    --transition-spring: 400ms cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Z-Index Scale */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-navbar: 1000;
    --z-modal-backdrop: 1100;
    --z-modal: 1200;
    --z-toast: 1300;
}


/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    text-size-adjust: 100%;
    font-size: 16px;
    line-height: 1.5;
}

body {
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-body);
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

input,
button,
textarea,
select {
    font: inherit;
    color: inherit;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-dark);
}

ul,
ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

p:last-child {
    margin-bottom: 0;
}

::selection {
    background-color: rgba(8, 145, 178, 0.2);
    color: var(--text-dark);
}


/* ==========================================================================
   3. CONTAINER
   ========================================================================== */

.container {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.container-narrow {
    width: 100%;
    max-width: var(--container-narrow);
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}


/* ==========================================================================
   4. MARKETING NAVBAR
   ========================================================================== */

.marketing-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-navbar);
    padding: 1.25rem 0;
    transition: all var(--transition-base);
    background: transparent;
}

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

/* Scrolled state - toggled by JS adding .nav-scrolled */
.marketing-nav.nav-scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 12px rgba(0, 0, 0, 0.08);
    padding: 0.75rem 0;
}

/* Logo */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 1.375rem;
    font-weight: 800;
    color: var(--text-white);
    text-decoration: none;
    letter-spacing: -0.03em;
    transition: color var(--transition-base), opacity var(--transition-fast);
    cursor: pointer;
    position: relative;
    z-index: 2;
}

.nav-logo:hover {
    opacity: 0.85;
    color: var(--text-white);
}

.nav-scrolled .nav-logo {
    color: var(--text-dark);
}

.nav-scrolled .nav-logo:hover {
    color: var(--primary);
    opacity: 1;
}

.nav-logo-icon {
    width: 36px;
    height: 36px;
    background: var(--bg-white);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: background var(--transition-base), color var(--transition-base);
}

.nav-logo-icon svg {
    display: block;
}

.nav-scrolled .nav-logo-icon {
    background: var(--gradient);
    color: var(--text-white);
}

/* Nav Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: color var(--transition-fast);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
    transition: width var(--transition-base);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--text-white);
}

.nav-scrolled .nav-links a {
    color: var(--text-muted);
}

.nav-scrolled .nav-links a:hover,
.nav-scrolled .nav-links a.active {
    color: var(--primary);
}

/* Nav Buttons */
.nav-buttons {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-btn-login {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: color var(--transition-fast);
}

.nav-btn-login:hover {
    color: var(--text-white);
}

.nav-scrolled .nav-btn-login {
    color: var(--text-body);
}

.nav-scrolled .nav-btn-login:hover {
    color: var(--primary);
}

.nav-btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5625rem 1.375rem;
    background: var(--bg-white);
    color: var(--primary);
    font-size: 0.9375rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-base);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.nav-btn-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    color: var(--primary-dark);
}

.nav-scrolled .nav-btn-cta {
    background: var(--gradient);
    color: var(--text-white);
    box-shadow: var(--shadow-primary);
}

.nav-scrolled .nav-btn-cta:hover {
    color: var(--text-white);
    box-shadow: 0 8px 30px rgba(8, 145, 178, 0.4);
}

/* Mobile Hamburger */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 28px;
    height: 28px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: calc(var(--z-navbar) + 1);
}

.nav-hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-white);
    border-radius: 2px;
    transition: all var(--transition-base);
    transform-origin: center;
}

.nav-scrolled .nav-hamburger span {
    background: var(--text-dark);
}

/* Hamburger animation when open */
.nav-open .nav-hamburger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-open .nav-hamburger span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-open .nav-hamburger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Menu */
.nav-mobile-menu {
    display: none;
}


/* ==========================================================================
   5. HERO SECTION
   ========================================================================== */

.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: var(--gradient);
    overflow: hidden;
    padding: 8rem 0 5rem;
}

/* Decorative gradient circles */
.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(15, 23, 42, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-decoration-1 {
    position: absolute;
    top: 15%;
    left: 8%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-decoration-2 {
    position: absolute;
    bottom: 10%;
    right: 20%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Hero Text Column */
.hero-content {
    max-width: 560px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 1rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    color: var(--text-white);
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.02em;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

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

.hero h1 {
    color: var(--text-white);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.hero h1 .text-accent {
    background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.7) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1875rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 480px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.hero-note {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8125rem;
}

/* Hero Mockup Column */
.hero-mockup {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}


/* ==========================================================================
   6. SOCIAL PROOF BAR
   ========================================================================== */

.social-proof-bar {
    background: var(--bg-lighter);
    border-bottom: 1px solid var(--border);
    padding: 2rem 0;
}

.social-proof-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.social-proof-stat {
    text-align: center;
    padding: 0 1.5rem;
    position: relative;
}

.social-proof-stat:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -1.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 40px;
    background: var(--border);
}

.social-proof-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.social-proof-label {
    font-size: 0.8125rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 0.125rem;
}

/* Trusted logos row */
.social-proof-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin-top: 1.5rem;
    opacity: 0.4;
    filter: grayscale(1);
}

.social-proof-logos img {
    height: 28px;
    width: auto;
}


/* ==========================================================================
   7. SECTION STYLING
   ========================================================================== */

.section {
    padding: 5rem 0;
}

.section-lg {
    padding: 7rem 0;
}

.section-alt {
    background-color: var(--bg-lighter);
}

.section-dark {
    background-color: var(--bg-dark);
    color: rgba(255, 255, 255, 0.8);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: var(--text-white);
}

.section-dark .section-subtitle {
    color: rgba(255, 255, 255, 0.6);
}

.section-gradient {
    background: var(--gradient);
    color: var(--text-white);
}

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}

.section-header .section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.section-label {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
}


/* ==========================================================================
   8. FEATURE CARDS
   ========================================================================== */

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

.feature-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: all var(--transition-base);
    position: relative;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
    border-color: transparent;
}

.feature-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--gradient-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: all var(--transition-base);
}

.feature-card:hover .feature-card-icon {
    background: var(--gradient);
    transform: scale(1.05);
}

.feature-card-icon svg {
    width: 26px;
    height: 26px;
    color: var(--primary);
    transition: color var(--transition-base);
}

.feature-card:hover .feature-card-icon svg {
    color: var(--text-white);
}

.feature-card h3 {
    font-size: 1.1875rem;
    font-weight: 700;
    margin-bottom: 0.625rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.65;
    margin-bottom: 1rem;
}

.feature-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    transition: gap var(--transition-base);
}

.feature-card-link:hover {
    gap: 0.625rem;
    color: var(--primary-dark);
}

.feature-card-link svg {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-base);
}

.feature-card-link:hover svg {
    transform: translateX(2px);
}


/* ==========================================================================
   9. HOW IT WORKS
   ========================================================================== */

.how-it-works-steps {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.how-it-works-step {
    flex: 1;
    text-align: center;
    padding: 0 1.5rem;
    position: relative;
}

/* Dotted line connector */
.how-it-works-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 32px;
    right: -10%;
    width: 20%;
    height: 2px;
    border-top: 3px dotted var(--border);
    z-index: 0;
}

.step-number {
    width: 64px;
    height: 64px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.375rem;
    font-weight: 800;
    margin: 0 auto 1.25rem;
    position: relative;
    z-index: 1;
    box-shadow: var(--shadow-primary);
}

.how-it-works-step h3 {
    font-size: 1.1875rem;
    margin-bottom: 0.5rem;
}

.how-it-works-step p {
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
    max-width: 260px;
    margin: 0 auto;
}


/* ==========================================================================
   10. PRICING CARDS
   ========================================================================== */

.pricing-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.pricing-toggle-label {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-muted);
}

.pricing-toggle-label.active {
    color: var(--text-dark);
    font-weight: 600;
}

.pricing-toggle-switch {
    position: relative;
    width: 52px;
    height: 28px;
    background: var(--border);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: background var(--transition-base);
}

.pricing-toggle-switch.active {
    background: var(--primary);
}

.pricing-toggle-switch::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    background: var(--bg-white);
    border-radius: 50%;
    transition: transform var(--transition-base);
    box-shadow: var(--shadow-xs);
}

.pricing-toggle-switch.active::after {
    transform: translateX(24px);
}

.pricing-save-badge {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--success);
    background: var(--success-light);
    padding: 0.125rem 0.625rem;
    border-radius: var(--radius-full);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch;
}

.pricing-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all var(--transition-base);
}

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

/* Popular / highlighted card */
.pricing-card.pricing-popular {
    border-top: 4px solid transparent;
    border-image: var(--gradient) 1;
    border-image-slice: 1;
    box-shadow: var(--shadow-md);
    transform: scale(1.04);
    z-index: 2;
}

.pricing-card.pricing-popular:hover {
    transform: scale(1.04) translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.pricing-popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    color: var(--text-white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 1.25rem;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    white-space: nowrap;
}

.pricing-plan-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.375rem;
}

.pricing-plan-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.pricing-price {
    margin-bottom: 1.5rem;
}

.pricing-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.04em;
    line-height: 1;
}

.pricing-currency {
    font-size: 1.375rem;
    font-weight: 600;
    vertical-align: top;
    position: relative;
    top: 0.25em;
}

.pricing-period {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
}

.pricing-features {
    flex: 1;
    margin-bottom: 2rem;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    padding: 0.5rem 0;
    font-size: 0.9375rem;
    color: var(--text-body);
}

.pricing-features li::before {
    content: '';
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    background: var(--success-light);
    border-radius: 50%;
    margin-top: 2px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2327ae60'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
    background-size: 14px;
    background-position: center;
    background-repeat: no-repeat;
}

.pricing-features li.disabled {
    color: var(--text-light);
}

.pricing-features li.disabled::before {
    background-color: var(--bg-light);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%239ca3af'%3E%3Cpath fill-rule='evenodd' d='M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z' clip-rule='evenodd'/%3E%3C/svg%3E");
}

.pricing-card .btn {
    width: 100%;
    justify-content: center;
}


/* ==========================================================================
   11. RATE CALCULATOR
   ========================================================================== */

.rate-calculator {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-md);
    max-width: 700px;
    margin: 0 auto;
    border: 1px solid var(--border-light);
}

.rate-calculator h3 {
    text-align: center;
    margin-bottom: 2rem;
}

.calculator-slider-group {
    margin-bottom: 2rem;
}

.calculator-slider-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.calculator-slider-label span {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-dark);
}

.calculator-slider-value {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--primary);
}

/* Range slider styling */
.calculator-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: var(--border);
    outline: none;
    cursor: pointer;
}

.calculator-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--gradient);
    cursor: pointer;
    box-shadow: var(--shadow-primary);
    border: 3px solid var(--bg-white);
    transition: transform var(--transition-fast);
}

.calculator-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--gradient);
    cursor: pointer;
    box-shadow: var(--shadow-primary);
    border: 3px solid var(--bg-white);
    transition: transform var(--transition-fast);
}

.calculator-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.calculator-slider::-moz-range-thumb:hover {
    transform: scale(1.15);
}

/* Gradient track fill (requires JS to set --slider-progress) */
.calculator-slider {
    background: linear-gradient(
        to right,
        var(--primary) 0%,
        var(--primary) var(--slider-progress, 50%),
        var(--border) var(--slider-progress, 50%),
        var(--border) 100%
    );
}

.calculator-output {
    text-align: center;
    padding: 2rem;
    background: var(--gradient-subtle);
    border-radius: var(--radius);
    margin-top: 1.5rem;
}

.calculator-output-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.calculator-output-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.03em;
}

.calculator-output-value .per-month {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
}


/* ==========================================================================
   12. FEATURE COMPARISON TABLE
   ========================================================================== */

.comparison-table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-white);
    font-size: 0.9375rem;
}

.comparison-table thead {
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
}

.comparison-table thead th {
    background: var(--bg-dark);
    color: var(--text-white);
    font-weight: 700;
    padding: 1rem 1.25rem;
    text-align: left;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.comparison-table thead th:first-child {
    border-top-left-radius: var(--radius);
}

.comparison-table thead th:last-child {
    border-top-right-radius: var(--radius);
}

.comparison-table thead th:not(:first-child) {
    text-align: center;
}

.comparison-table thead th.th-popular {
    background: var(--primary);
}

.comparison-table tbody td {
    padding: 0.875rem 1.25rem;
    border-bottom: 1px solid var(--border-light);
    vertical-align: middle;
}

.comparison-table tbody td:not(:first-child) {
    text-align: center;
}

.comparison-table tbody tr:nth-child(even) {
    background: var(--bg-lighter);
}

.comparison-table tbody tr:hover {
    background: rgba(8, 145, 178, 0.04);
}

.comparison-table .feature-name {
    font-weight: 600;
    color: var(--text-dark);
}

.comparison-table .feature-category {
    background: var(--bg-lighter);
    font-weight: 700;
    color: var(--text-dark);
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Checkmark cell */
.comparison-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--success-light);
}

.comparison-check::before {
    content: '';
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2327ae60'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.comparison-cross {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--bg-light);
}

.comparison-cross::before {
    content: '';
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%239ca3af'%3E%3Cpath fill-rule='evenodd' d='M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z' clip-rule='evenodd'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}


/* ==========================================================================
   13. FAQ ACCORDION
   ========================================================================== */

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

.faq-item {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 0.75rem;
    overflow: hidden;
    transition: all var(--transition-base);
}

.faq-item:hover {
    border-color: var(--primary-light);
}

.faq-item.open {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(8, 145, 178, 0.1);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: color var(--transition-fast);
    gap: 1rem;
}

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

.faq-chevron {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: var(--text-light);
    transition: transform var(--transition-base), color var(--transition-base);
}

.faq-item.open .faq-chevron {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow) ease, padding var(--transition-slow) ease;
}

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

.faq-answer-inner {
    padding: 0 1.5rem 1.25rem;
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.7;
}


/* ==========================================================================
   14. TESTIMONIAL CARDS
   ========================================================================== */

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

.testimonial-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: all var(--transition-base);
    position: relative;
}

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

.testimonial-stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.testimonial-stars svg {
    width: 18px;
    height: 18px;
    color: #f59e0b;
    fill: #f59e0b;
}

.testimonial-quote {
    font-size: 0.9375rem;
    color: var(--text-body);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
    position: relative;
}

.testimonial-quote::before {
    content: '\201C';
    font-size: 3rem;
    color: var(--primary-light);
    opacity: 0.3;
    position: absolute;
    top: -0.75rem;
    left: -0.25rem;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary);
    flex-shrink: 0;
    overflow: hidden;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-name {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
}

.testimonial-title {
    font-size: 0.8125rem;
    color: var(--text-muted);
}


/* ==========================================================================
   15. CTA SECTIONS
   ========================================================================== */

.cta-section {
    background: var(--gradient);
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    color: var(--text-white);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.125rem;
    max-width: 560px;
    margin: 0 auto 2rem;
}

.cta-section .btn-white {
    font-size: 1.0625rem;
    padding: 0.875rem 2.5rem;
}


/* ==========================================================================
   16. FEATURE DETAIL SECTIONS (Features Page)
   ========================================================================== */

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 3rem 0;
}

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

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

.feature-row-content {
    max-width: 480px;
}

.feature-row-label {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
}

.feature-row-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feature-row-content p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.feature-row-list {
    margin-bottom: 1.5rem;
}

.feature-row-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    padding: 0.375rem 0;
    font-size: 0.9375rem;
    color: var(--text-body);
}

.feature-row-list li::before {
    content: '';
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    background: var(--success-light);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2327ae60'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
    background-size: 14px;
    background-position: center;
    background-repeat: no-repeat;
}

.feature-row-mockup {
    display: flex;
    justify-content: center;
    align-items: center;
}


/* ==========================================================================
   17. ABOUT PAGE
   ========================================================================== */

/* Story Section */
.about-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-story-content h2 {
    font-size: 2rem;
    margin-bottom: 1.25rem;
}

.about-story-content p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.about-story-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: var(--gradient-subtle);
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.team-card {
    text-align: center;
}

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--gradient-subtle);
    margin: 0 auto 1rem;
    overflow: hidden;
    border: 3px solid var(--bg-white);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--primary);
    font-weight: 700;
    transition: transform var(--transition-base);
}

.team-card:hover .team-avatar {
    transform: scale(1.05);
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card h4 {
    font-size: 1.0625rem;
    margin-bottom: 0.25rem;
}

.team-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Values Cards */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.value-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: all var(--transition-base);
}

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

.value-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--gradient-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 1.75rem;
}

.value-card h3 {
    font-size: 1.1875rem;
    margin-bottom: 0.625rem;
}

.value-card p {
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.65;
}


/* ==========================================================================
   18. CONTACT PAGE
   ========================================================================== */

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-start;
}

.contact-form-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

.contact-form-card h2 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.contact-form-card > p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.contact-info h2 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.contact-info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.75rem;
    align-items: flex-start;
}

.contact-info-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: var(--gradient-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-icon svg {
    width: 22px;
    height: 22px;
    color: var(--primary);
}

.contact-info-item h4 {
    font-size: 0.9375rem;
    margin-bottom: 0.125rem;
}

.contact-info-item p {
    font-size: 0.875rem;
    color: var(--text-muted);
}


/* ==========================================================================
   19. RESOURCES PAGE
   ========================================================================== */

/* Category Filter Bar */
.resource-filter-bar {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.resource-filter-btn {
    padding: 0.5rem 1.25rem;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.resource-filter-btn:hover {
    border-color: var(--primary-light);
    color: var(--primary);
}

.resource-filter-btn.active {
    background: var(--gradient);
    color: var(--text-white);
    border-color: transparent;
}

/* Article Card Grid */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.resource-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
}

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

.resource-card-thumbnail {
    width: 100%;
    height: 180px;
    background: var(--gradient);
    position: relative;
    overflow: hidden;
}

.resource-card-thumbnail::before {
    content: '';
    position: absolute;
    top: 20%;
    right: -20%;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.resource-card-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.resource-card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.resource-card-category {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.5rem;
}

.resource-card-body h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    line-height: 1.35;
}

.resource-card-body h3 a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.resource-card-body h3 a:hover {
    color: var(--primary);
}

.resource-card-excerpt {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
    flex: 1;
    margin-bottom: 1rem;
}

.resource-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8125rem;
    color: var(--text-light);
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
}


/* ==========================================================================
   20. DEMO PAGE
   ========================================================================== */

.demo-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.demo-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 3rem 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--border-light);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.demo-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.demo-card-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--gradient-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.demo-card h3 {
    font-size: 1.375rem;
    margin-bottom: 0.75rem;
}

.demo-card p {
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.65;
    margin-bottom: 2rem;
}

.demo-card .btn {
    margin-top: auto;
}


/* ==========================================================================
   21. FOOTER
   ========================================================================== */

.marketing-footer {
    background: var(--bg-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
}

.footer-brand {
    max-width: 280px;
}

.footer-brand .nav-logo {
    color: var(--text-white);
    margin-bottom: 1rem;
}

.footer-brand .nav-logo-icon {
    background: var(--gradient);
    color: var(--text-white);
}

.footer-brand-desc {
    font-size: 0.875rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1.5rem;
}

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

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

.footer-social a:hover {
    background: var(--primary);
    color: var(--text-white);
    transform: translateY(-2px);
}

.footer-social a svg {
    width: 18px;
    height: 18px;
}

.footer-column h4 {
    color: var(--text-white);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.25rem;
}

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

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.footer-column ul li a:hover {
    color: var(--text-white);
    padding-left: 4px;
}

/* Footer Bottom Bar */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-bottom-links a:hover {
    color: rgba(255, 255, 255, 0.8);
}


/* ==========================================================================
   22. FORMS
   ========================================================================== */

.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.375rem;
}

.form-label .required {
    color: var(--danger);
    margin-left: 2px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--bg-lighter);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.9375rem;
    color: var(--text-dark);
    transition: all var(--transition-fast);
    outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--primary);
    background: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(8, 145, 178, 0.12);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-light);
}

.form-select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%237f8c8d'%3E%3Cpath fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z' clip-rule='evenodd'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 18px;
    padding-right: 2.5rem;
    cursor: pointer;
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.6;
}

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

.form-help {
    font-size: 0.8125rem;
    color: var(--text-light);
    margin-top: 0.375rem;
}

.form-error {
    font-size: 0.8125rem;
    color: var(--danger);
    margin-top: 0.375rem;
}

.form-input.error,
.form-select.error,
.form-textarea.error {
    border-color: var(--danger);
}

.form-input.error:focus,
.form-select.error:focus,
.form-textarea.error:focus {
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.12);
}

/* Checkbox & Radio */
.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    border: 1.5px solid var(--border);
    border-radius: 4px;
    accent-color: var(--primary);
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 2px;
}

.form-checkbox span {
    font-size: 0.875rem;
    color: var(--text-body);
    line-height: 1.5;
}


/* ==========================================================================
   23. BUTTONS
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    font-size: 0.9375rem;
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-base);
    white-space: nowrap;
    line-height: 1.4;
    position: relative;
    overflow: hidden;
}

.btn:active {
    transform: scale(0.97);
}

.btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* Primary (gradient) */
.btn-primary {
    background: var(--gradient);
    color: var(--text-white);
    border-color: transparent;
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    box-shadow: 0 8px 30px rgba(8, 145, 178, 0.4);
    transform: translateY(-2px);
    color: var(--text-white);
}

.btn-primary:active {
    transform: translateY(0) scale(0.98);
}

/* Outline */
.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-primary);
}

/* White */
.btn-white {
    background: var(--bg-white);
    color: var(--text-dark);
    border-color: transparent;
    box-shadow: var(--shadow-sm);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--primary);
}

/* Ghost (transparent bg, white text - for dark/gradient sections) */
.btn-ghost {
    background: transparent;
    color: var(--text-white);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.7);
    color: var(--text-white);
    transform: translateY(-2px);
}

/* Button Sizes */
.btn-sm {
    padding: 0.5rem 1.125rem;
    font-size: 0.8125rem;
    border-radius: 6px;
}

.btn-lg {
    padding: 1rem 2.25rem;
    font-size: 1.0625rem;
    border-radius: var(--radius);
}

/* Disabled */
.btn:disabled,
.btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}


/* ==========================================================================
   24. CSS-ONLY MOCKUPS
   ========================================================================== */

/* ---- Dashboard Mockup ---- */
.mockup-dashboard {
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 1.5rem;
    max-width: 480px;
    width: 100%;
}

.mockup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-light);
}

.mockup-header-title {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--text-dark);
}

.mockup-header-dots {
    display: flex;
    gap: 5px;
}

.mockup-header-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
}

.mockup-header-dots span:first-child { background: #ff5f57; }
.mockup-header-dots span:nth-child(2) { background: #febc2e; }
.mockup-header-dots span:last-child { background: #28c840; }

.mockup-stat-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.mockup-stat-card {
    background: var(--bg-lighter);
    border-radius: var(--radius-sm);
    padding: 0.625rem 0.5rem;
    text-align: center;
}

.mockup-stat-card-value {
    display: block;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.02em;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    margin-bottom: 0.2rem;
}

.mockup-stat-card-label {
    display: block;
    font-size: 0.55rem;
    color: var(--text-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    line-height: 1;
}

.mockup-stat-card.positive .mockup-stat-card-value { color: var(--success); }
.mockup-stat-card.negative .mockup-stat-card-value { color: var(--danger); }
.mockup-stat-card.highlight .mockup-stat-card-value { color: var(--primary); }

/* Mini bar chart inside mockup */
.mockup-chart {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 60px;
    padding: 0.75rem 0;
}

.mockup-chart-bar {
    flex: 1;
    background: var(--gradient-subtle);
    border-radius: 3px 3px 0 0;
    transition: height var(--transition-base);
    min-height: 8px;
}

.mockup-chart-bar.active {
    background: var(--gradient);
}

/* ---- Reconciliation Two-Panel Mockup ---- */
.mockup-reconciliation {
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    max-width: 480px;
    width: 100%;
}

.mockup-recon-header {
    background: var(--gradient);
    color: var(--text-white);
    padding: 0.875rem 1.25rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mockup-recon-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.mockup-recon-panel {
    padding: 1rem;
}

.mockup-recon-panel:first-child {
    border-right: 1px solid var(--border-light);
}

.mockup-recon-panel-title {
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.625rem;
}

.mockup-recon-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.375rem 0;
    font-size: 0.75rem;
    border-bottom: 1px solid var(--border-light);
}

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

.mockup-recon-row span:first-child {
    color: var(--text-muted);
}

.mockup-recon-row span:last-child {
    font-weight: 600;
    color: var(--text-dark);
}

.mockup-recon-row.matched {
    background: rgba(39, 174, 96, 0.06);
    padding: 0.375rem 0.5rem;
    border-radius: 4px;
    margin: 0 -0.5rem;
}

.mockup-recon-row.matched span:last-child {
    color: var(--success);
}

.mockup-recon-footer {
    border-top: 1px solid var(--border-light);
    padding: 0.75rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-lighter);
    font-size: 0.75rem;
}

.mockup-recon-footer .match-badge {
    background: var(--success-light);
    color: var(--success);
    padding: 0.125rem 0.5rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.6875rem;
}

/* ---- Aging Buckets Mockup ---- */
.mockup-aging {
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 1.5rem;
    max-width: 480px;
    width: 100%;
}

.mockup-aging-title {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.mockup-aging-buckets {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.mockup-aging-bucket {
    flex: 1;
    text-align: center;
    padding: 0.75rem 0.375rem;
    border-radius: var(--radius-sm);
    transition: transform var(--transition-fast);
}

.mockup-aging-bucket:hover {
    transform: translateY(-2px);
}

.mockup-aging-bucket.bucket-current {
    background: rgba(39, 174, 96, 0.08);
}

.mockup-aging-bucket.bucket-30 {
    background: rgba(243, 156, 18, 0.08);
}

.mockup-aging-bucket.bucket-60 {
    background: rgba(243, 156, 18, 0.15);
}

.mockup-aging-bucket.bucket-90 {
    background: rgba(231, 76, 60, 0.08);
}

.mockup-aging-bucket.bucket-over {
    background: rgba(231, 76, 60, 0.15);
}

.mockup-aging-bucket-amount {
    font-size: 0.875rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.125rem;
}

.mockup-aging-bucket-label {
    font-size: 0.5625rem;
    color: var(--text-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.mockup-aging-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.75rem;
    border-top: 2px solid var(--border-light);
    font-size: 0.8125rem;
}

.mockup-aging-total span:first-child {
    font-weight: 600;
    color: var(--text-muted);
}

.mockup-aging-total span:last-child {
    font-weight: 800;
    color: var(--text-dark);
    font-size: 1rem;
}


/* ==========================================================================
   25. TOAST / NOTIFICATION
   ========================================================================== */

.toast-container {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    z-index: var(--z-toast);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    pointer-events: none;
}

.toast {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: var(--bg-white);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--border);
    min-width: 320px;
    max-width: 440px;
    pointer-events: auto;
    animation: toast-in var(--transition-base) ease forwards;
    position: relative;
}

.toast.toast-removing {
    animation: toast-out var(--transition-fast) ease forwards;
}

@keyframes toast-in {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes toast-out {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100%);
    }
}

.toast-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    margin-top: 1px;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.125rem;
}

.toast-message {
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.toast-close {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: color var(--transition-fast);
}

.toast-close:hover {
    color: var(--text-dark);
}

/* Toast Variants */
.toast-success {
    border-left-color: var(--success);
}

.toast-success .toast-icon {
    color: var(--success);
}

.toast-error {
    border-left-color: var(--danger);
}

.toast-error .toast-icon {
    color: var(--danger);
}

.toast-warning {
    border-left-color: var(--warning);
}

.toast-warning .toast-icon {
    color: var(--warning);
}

.toast-info {
    border-left-color: var(--info);
}

.toast-info .toast-icon {
    color: var(--info);
}

/* Progress bar for auto-dismiss */
.toast-progress {
    position: absolute;
    bottom: 0;
    left: 4px;
    right: 0;
    height: 3px;
    border-radius: 0 0 var(--radius-sm) 0;
    overflow: hidden;
}

.toast-progress-bar {
    height: 100%;
    background: var(--primary);
    border-radius: inherit;
    animation: toast-progress 5s linear forwards;
}

.toast-success .toast-progress-bar { background: var(--success); }
.toast-error .toast-progress-bar { background: var(--danger); }
.toast-warning .toast-progress-bar { background: var(--warning); }

@keyframes toast-progress {
    from { width: 100%; }
    to { width: 0%; }
}


/* ==========================================================================
   26. ANIMATIONS
   ========================================================================== */

/* Fade-in-up on scroll */
.animate-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered children */
.animate-in.visible .animate-child:nth-child(1) { transition-delay: 0ms; }
.animate-in.visible .animate-child:nth-child(2) { transition-delay: 100ms; }
.animate-in.visible .animate-child:nth-child(3) { transition-delay: 200ms; }
.animate-in.visible .animate-child:nth-child(4) { transition-delay: 300ms; }
.animate-in.visible .animate-child:nth-child(5) { transition-delay: 400ms; }
.animate-in.visible .animate-child:nth-child(6) { transition-delay: 500ms; }

.animate-child {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.animate-in.visible .animate-child {
    opacity: 1;
    transform: translateY(0);
}

/* Fade in from left / right */
.animate-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.animate-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Scale in */
.animate-scale {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.animate-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* Floating animation for mockups */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

.float-animation {
    animation: float 6s ease-in-out infinite;
}

/* Subtle pulse for CTA emphasis */
@keyframes cta-pulse {
    0%, 100% { box-shadow: var(--shadow-primary); }
    50% { box-shadow: 0 8px 40px rgba(8, 145, 178, 0.45); }
}

.cta-pulse {
    animation: cta-pulse 3s ease-in-out infinite;
}

/* Gradient shimmer for loading or decorative */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.shimmer {
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 100%
    );
    background-size: 200% 100%;
    animation: shimmer 2.5s ease-in-out infinite;
}

/* Spin for loading icons */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.spin {
    animation: spin 1s linear infinite;
}


/* ==========================================================================
   27. UTILITY CLASSES
   ========================================================================== */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-white { color: var(--text-white); }
.text-muted { color: var(--text-muted); }
.text-primary { color: var(--primary); }
.text-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

.w-100 { width: 100%; }
.mx-auto { margin-left: auto; margin-right: auto; }

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


/* ==========================================================================
   28. PAGE HERO (Interior Pages)
   ========================================================================== */

.page-hero {
    background: var(--gradient);
    padding: 9rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.page-hero h1 {
    color: var(--text-white);
    font-size: 2.75rem;
    margin-bottom: 0.75rem;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.125rem;
    max-width: 560px;
    margin: 0 auto;
}

.page-hero .breadcrumbs {
    margin-bottom: 1.5rem;
}

.breadcrumbs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumbs a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.breadcrumbs a:hover {
    color: var(--text-white);
}

.breadcrumbs .separator {
    opacity: 0.4;
}


/* ==========================================================================
   29. RESPONSIVE DESIGN
   ========================================================================== */

/* ---- 1200px and below ---- */
@media (max-width: 1200px) {
    .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .section-header h2 {
        font-size: 2.25rem;
    }

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

/* ---- 992px and below ---- */
@media (max-width: 992px) {
    h1 { font-size: 2.75rem; }
    h2 { font-size: 2rem; }

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

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

    .hero-subtitle {
        max-width: 100%;
    }

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

    .hero-mockup {
        max-width: 420px;
        margin: 0 auto;
    }

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

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

    .pricing-card.pricing-popular {
        transform: scale(1);
    }

    .pricing-card.pricing-popular:hover {
        transform: translateY(-4px);
    }

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

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

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

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

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

    .feature-row-list li {
        justify-content: center;
    }

    .about-story {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

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

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

    .footer-brand {
        grid-column: span 2;
        max-width: 100%;
    }

    .how-it-works-steps {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }

    .how-it-works-step {
        padding: 0;
    }

    .how-it-works-step:not(:last-child)::after {
        display: none;
    }

    /* Vertical dotted line between steps on tablet/mobile */
    .how-it-works-step:not(:last-child) {
        padding-bottom: 2rem;
        position: relative;
    }

    .how-it-works-step:not(:last-child)::before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 2px;
        height: 2rem;
        border-left: 3px dotted var(--border);
    }
}

/* ---- 768px and below (Mobile Nav) ---- */
@media (max-width: 768px) {
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }

    .section {
        padding: 3.5rem 0;
    }

    .section-lg {
        padding: 4.5rem 0;
    }

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

    .section-header h2 {
        font-size: 1.75rem;
    }

    /* Hamburger visible */
    .nav-hamburger {
        display: flex;
    }

    .nav-links,
    .nav-buttons {
        display: none;
    }

    /* Mobile menu overlay */
    .nav-mobile-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        z-index: calc(var(--z-navbar) - 1);
        padding: 6rem 2rem 2rem;
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .nav-open .nav-mobile-menu {
        display: flex;
    }

    .nav-open .nav-hamburger span {
        background: var(--text-dark);
    }

    .nav-mobile-menu a {
        display: block;
        color: var(--text-dark);
        font-size: 1.25rem;
        font-weight: 600;
        padding: 0.75rem 1.5rem;
        text-decoration: none;
        text-align: center;
        border-radius: var(--radius-sm);
        transition: all var(--transition-fast);
        width: 100%;
        max-width: 320px;
    }

    .nav-mobile-menu a:hover {
        background: var(--bg-lighter);
        color: var(--primary);
    }

    .nav-mobile-menu .btn-primary {
        margin-top: 1rem;
        width: 100%;
        max-width: 320px;
        justify-content: center;
        color: var(--text-white);
    }

    .nav-mobile-menu .btn-primary:hover {
        color: var(--text-white);
    }

    /* Hero adjustments */
    .hero {
        min-height: auto;
        padding: 7rem 0 3.5rem;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

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

    /* Pricing - single column */
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
    }

    /* Features - single column */
    .features-grid {
        grid-template-columns: 1fr;
    }

    /* Testimonials - single column */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    /* Resources - single column */
    .resources-grid {
        grid-template-columns: 1fr;
    }

    /* Values */
    .values-grid {
        grid-template-columns: 1fr;
    }

    /* Demo */
    .demo-options {
        grid-template-columns: 1fr;
    }

    /* Social proof */
    .social-proof-stats {
        gap: 1.5rem;
    }

    .social-proof-stat:not(:last-child)::after {
        display: none;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand {
        grid-column: span 1;
        max-width: 100%;
        margin: 0 auto;
    }

    .footer-brand .nav-logo {
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-links {
        justify-content: center;
    }

    /* Form row stacks */
    .form-row {
        grid-template-columns: 1fr;
    }

    /* CTA section */
    .cta-section h2 {
        font-size: 1.75rem;
    }

    /* Page hero */
    .page-hero {
        padding: 7rem 0 3rem;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    /* Rate calculator */
    .rate-calculator {
        padding: 2rem 1.5rem;
    }

    .calculator-output-value {
        font-size: 2rem;
    }

    /* Comparison table */
    .comparison-table-wrapper {
        margin-left: -1.5rem;
        margin-right: -1.5rem;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }

    .comparison-table {
        font-size: 0.8125rem;
    }

    .comparison-table thead th,
    .comparison-table tbody td {
        padding: 0.625rem 0.75rem;
    }

    /* Toast */
    .toast-container {
        top: auto;
        bottom: 1rem;
        right: 1rem;
        left: 1rem;
    }

    .toast {
        min-width: auto;
        max-width: 100%;
    }

    /* Mockups scale down */
    .mockup-dashboard,
    .mockup-reconciliation,
    .mockup-aging {
        max-width: 100%;
    }

    .mockup-stat-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }
}

/* ---- 480px and below ---- */
@media (max-width: 480px) {
    html {
        font-size: 15px;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }

    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-badge {
        font-size: 0.75rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .section {
        padding: 2.5rem 0;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .section-header .section-subtitle {
        font-size: 1rem;
    }

    .pricing-amount {
        font-size: 2.5rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

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

    .contact-form-card {
        padding: 1.5rem;
    }

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

    .social-proof-number {
        font-size: 1.5rem;
    }

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

    .mockup-stat-cards {
        grid-template-columns: 1fr;
    }

    .mockup-aging-buckets {
        flex-wrap: wrap;
    }

    .mockup-aging-bucket {
        flex: 0 0 calc(50% - 0.25rem);
    }

    .mockup-recon-body {
        grid-template-columns: 1fr;
    }

    .mockup-recon-panel:first-child {
        border-right: none;
        border-bottom: 1px solid var(--border-light);
    }

    .resource-filter-bar {
        gap: 0.375rem;
    }

    .resource-filter-btn {
        padding: 0.375rem 0.875rem;
        font-size: 0.8125rem;
    }

    .faq-question {
        padding: 1rem;
        font-size: 0.9375rem;
    }

    .faq-answer-inner {
        padding: 0 1rem 1rem;
    }

    /* Buttons slightly smaller */
    .btn {
        padding: 0.625rem 1.5rem;
        font-size: 0.875rem;
    }

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


/* ==========================================================================
   30. PRINT STYLES
   ========================================================================== */

@media print {
    .marketing-nav,
    .marketing-footer,
    .cta-section,
    .toast-container,
    .nav-mobile-menu {
        display: none !important;
    }

    body {
        color: #000;
        background: #fff;
    }

    .hero {
        background: none;
        color: #000;
        min-height: auto;
        padding: 2rem 0;
    }

    .hero h1,
    .hero-subtitle {
        color: #000;
    }

    .section {
        padding: 2rem 0;
    }

    a {
        color: #000;
        text-decoration: underline;
    }

    .btn {
        border: 1px solid #000;
        background: none;
        color: #000;
        box-shadow: none;
    }
}
