/* ============================================================
   OnlineBarnManagement.com — Modern Landing Page Stylesheet
   Brand: Warm Amber + Earth Tones
   Font: Plus Jakarta Sans
   ============================================================ */

/* ========== CSS CUSTOM PROPERTIES ========== */
:root {
    --color-primary: #b45309;
    --color-primary-dark: #92400e;
    --color-primary-light: #f59e0b;
    --color-primary-bg: #fffbeb;
    --color-primary-50: #fffbeb;
    --color-primary-100: #fef3c7;
    --color-accent: #d97706;
    --color-white: #ffffff;
    --color-black: #0f172a;
    --color-gray-50: #f8fafc;
    --color-gray-100: #f1f5f9;
    --color-gray-200: #e2e8f0;
    --color-gray-300: #cbd5e1;
    --color-gray-400: #94a3b8;
    --color-gray-500: #64748b;
    --color-gray-600: #475569;
    --color-gray-700: #334155;
    --color-gray-800: #1e293b;
    --color-gray-900: #0f172a;
    --color-success: #16a34a;
    --color-success-bg: #f0fdf4;
    --font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --radius-sm: 0.5rem;
    --radius: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.25rem;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
    -webkit-text-size-adjust: 100%;
}

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

body.nav-open {
    overflow: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

ul {
    list-style: none;
}

strong {
    font-weight: 700;
    color: var(--color-gray-900);
}

/* ========== SKIP NAVIGATION ========== */
.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius);
    font-weight: 600;
    z-index: 9999;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 0.5rem;
}

/* ========== UTILITY CLASSES ========== */
.text-accent {
    color: var(--color-accent);
}

.obm-container {
    width: 100%;
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (min-width: 640px) {
    .obm-container { padding: 0 2rem; }
}

@media (min-width: 1024px) {
    .obm-container { padding: 0 2.5rem; }
}

/* ========== SECTION HEADER PATTERN ========== */
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-tag {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-primary);
    background: var(--color-primary-100);
    padding: 0.375rem 1rem;
    border-radius: 9999px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-gray-900);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-gray-500);
    max-width: 36rem;
    margin: 0 auto;
    line-height: 1.6;
}

@media (min-width: 640px) {
    .section-title { font-size: 2.5rem; }
    .section-subtitle { font-size: 1.1875rem; }
}

@media (min-width: 1024px) {
    .section-title { font-size: 3rem; }
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    line-height: 1.4;
    white-space: nowrap;
}

.btn svg {
    flex-shrink: 0;
}

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

.btn-block {
    width: 100%;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
    box-shadow: 0 2px 8px rgba(180, 83, 9, 0.3);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    box-shadow: 0 4px 16px rgba(180, 83, 9, 0.4);
    transform: translateY(-2px);
}

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

.btn-outline {
    background: transparent;
    color: var(--color-gray-700);
    border-color: var(--color-gray-300);
}

.btn-outline:hover {
    background: var(--color-gray-50);
    border-color: var(--color-gray-400);
    transform: translateY(-2px);
}

.btn-white {
    background: var(--color-white);
    color: var(--color-primary);
    border-color: var(--color-white);
    box-shadow: var(--shadow-md);
}

.btn-white:hover {
    background: var(--color-gray-50);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.btn-outline-white {
    background: transparent;
    color: var(--color-white);
    border-color: rgba(255,255,255,0.5);
}

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

/* ========== NAVIGATION ========== */
.obm-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-gray-200);
    transition: box-shadow var(--transition);
}

.obm-nav.nav-scrolled {
    box-shadow: var(--shadow-md);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4.25rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.nav-logo {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

.nav-brand-text {
    font-size: 1.1875rem;
    font-weight: 800;
    color: var(--color-gray-900);
    letter-spacing: -0.02em;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-gray-600);
    border-radius: var(--radius);
    transition: all var(--transition);
}

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

.nav-link-btn {
    background: var(--color-primary);
    color: var(--color-white) !important;
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    margin-left: 0.25rem;
}

.nav-link-btn:hover {
    background: var(--color-primary-dark) !important;
    color: var(--color-white) !important;
}

/* Hamburger Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 101;
}

.nav-toggle-bar {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--color-gray-700);
    border-radius: 2px;
    transition: all var(--transition);
}

/* Mobile Navigation */
@media (max-width: 767px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--color-white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0.5rem;
        transform: translateY(-100%);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 100;
    }

    .nav-menu.nav-menu-open {
        transform: translateY(0);
    }

    .nav-link {
        font-size: 1.25rem;
        padding: 0.75rem 1.5rem;
    }

    .nav-link-btn {
        margin-top: 1rem;
        padding: 0.75rem 2rem;
        font-size: 1.125rem;
    }
}

/* ========== HERO SECTION ========== */
.hero {
    position: relative;
    background: linear-gradient(160deg, #fef3c7 0%, #fde68a 25%, #fef3c7 60%, #fffbeb 100%);
    padding: 4rem 0 8rem;
    overflow: hidden;
}

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

@media (min-width: 768px) {
    .hero {
        padding: 5rem 0 10rem;
    }
    .hero-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .hero {
        padding: 6rem 0 11rem;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-primary-dark);
    background: rgba(255,255,255,0.7);
    border: 1px solid rgba(180,83,9,0.2);
    padding: 0.375rem 1rem;
    border-radius: 9999px;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--color-gray-900);
    line-height: 1.1;
    margin-bottom: 1.25rem;
    letter-spacing: -0.03em;
}

.hero-title .text-accent {
    display: block;
}

@media (min-width: 640px) {
    .hero-title { font-size: 3.25rem; }
}

@media (min-width: 1024px) {
    .hero-title { font-size: 3.75rem; }
}

.hero-description {
    font-size: 1.0625rem;
    color: var(--color-gray-600);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 34rem;
}

@media (min-width: 640px) {
    .hero-description { font-size: 1.125rem; }
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
}

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

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

.hero-trust-item svg {
    color: var(--color-success);
    flex-shrink: 0;
}

/* Hero Image */
.hero-image-wrapper {
    position: relative;
}

.hero-image-accent {
    position: absolute;
    inset: -1rem;
    background: var(--color-primary);
    opacity: 0.08;
    border-radius: var(--radius-xl);
    transform: rotate(-2deg);
}

.hero-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 1;
}

.hero-float-card {
    position: absolute;
    bottom: -1rem;
    left: -0.5rem;
    background: var(--color-white);
    border-radius: var(--radius);
    padding: 0.75rem 1.25rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 2;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.hero-float-card-icon {
    font-size: 1.5rem;
}

.hero-float-card-text {
    display: flex;
    flex-direction: column;
}

.hero-float-card-text strong {
    font-size: 0.9375rem;
    color: var(--color-primary-dark);
}

.hero-float-card-text span {
    font-size: 0.75rem;
    color: var(--color-gray-500);
}

/* Hero Wave */
.hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: auto;
    min-height: 60px;
}

/* ========== TRUST BAR / STATS ========== */
.trust-bar {
    padding: 2.5rem 0;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-gray-100);
}

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

@media (min-width: 640px) {
    .trust-bar-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

.trust-stat {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

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

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

@media (min-width: 640px) {
    .trust-stat-number { font-size: 2.25rem; }
}

/* ========== FEATURES SECTION ========== */
.features {
    padding: 5rem 0;
    background: var(--color-white);
}

@media (min-width: 768px) {
    .features { padding: 6rem 0; }
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
    opacity: 0;
    transition: opacity var(--transition);
}

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

.feature-card:hover::before {
    opacity: 1;
}

.feature-card-icon {
    width: 3.25rem;
    height: 3.25rem;
    background: var(--color-primary-50);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    margin-bottom: 1.25rem;
    transition: all var(--transition);
}

.feature-card:hover .feature-card-icon {
    background: var(--color-primary);
    color: var(--color-white);
}

.feature-card-title {
    font-size: 1.1875rem;
    font-weight: 700;
    color: var(--color-gray-900);
    margin-bottom: 0.75rem;
}

.feature-card-desc {
    font-size: 0.9375rem;
    color: var(--color-gray-500);
    line-height: 1.65;
    margin-bottom: 1.25rem;
}

.feature-card-benefits {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.feature-benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--color-gray-600);
    line-height: 1.5;
}

.feature-benefit-item svg {
    color: var(--color-success);
    margin-top: 3px;
    flex-shrink: 0;
}

/* ========== HOW IT WORKS SECTION ========== */
.how-it-works {
    padding: 5rem 0;
    background: var(--color-gray-50);
}

@media (min-width: 768px) {
    .how-it-works { padding: 6rem 0; }
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 56rem;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.step-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-gray-100);
    transition: all var(--transition);
    position: relative;
}

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

.step-number {
    width: 3rem;
    height: 3rem;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.375rem;
    font-weight: 800;
    margin: 0 auto 1.25rem;
}

.step-title {
    font-size: 1.1875rem;
    font-weight: 700;
    color: var(--color-gray-900);
    margin-bottom: 0.75rem;
}

.step-desc {
    font-size: 0.9375rem;
    color: var(--color-gray-500);
    line-height: 1.6;
}

/* ========== SCREENSHOTS SECTION ========== */
.screenshots {
    padding: 5rem 0;
    background: var(--color-white);
}

@media (min-width: 768px) {
    .screenshots { padding: 6rem 0; }
}

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

@media (min-width: 640px) {
    .screenshots-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .screenshots-grid {
        gap: 1.5rem;
    }
}

.screenshot-thumb {
    position: relative;
    border: 2px solid var(--color-gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    background: none;
    padding: 0;
    transition: all var(--transition);
    aspect-ratio: 4/3;
}

.screenshot-thumb:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.screenshot-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.screenshot-thumb:hover img {
    transform: scale(1.05);
}

.screenshot-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(15,23,42,0.7) 0%, rgba(15,23,42,0.1) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 1rem;
    opacity: 0;
    transition: opacity var(--transition);
}

.screenshot-thumb:hover .screenshot-overlay {
    opacity: 1;
}

.screenshot-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 0.25rem;
}

.screenshot-overlay svg {
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

/* ========== PRICING SECTION ========== */
.pricing {
    padding: 5rem 0;
    background: var(--color-gray-50);
}

@media (min-width: 768px) {
    .pricing { padding: 6rem 0; }
}

.pricing-grid {
    display: flex;
    justify-content: center;
    max-width: 30rem;
    margin: 0 auto;
}

.pricing-card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    border: 2px solid var(--color-gray-200);
    overflow: hidden;
    width: 100%;
    transition: all var(--transition);
}

.pricing-card-featured {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-lg);
}

.pricing-badge {
    background: var(--color-primary);
    color: var(--color-white);
    text-align: center;
    font-size: 0.8125rem;
    font-weight: 700;
    padding: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.pricing-card-header {
    text-align: center;
    padding: 2rem 2rem 1.5rem;
}

.pricing-plan-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-gray-900);
    margin-bottom: 0.75rem;
}

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

.pricing-currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-gray-400);
}

.pricing-amount {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--color-gray-900);
    line-height: 1;
    letter-spacing: -0.03em;
}

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

.pricing-monthly-equivalent {
    font-size: 0.9375rem;
    color: var(--color-gray-500);
    margin-top: 0.5rem;
}

.pricing-card-body {
    padding: 0 2rem 2rem;
}

.pricing-features-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.pricing-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9375rem;
    color: var(--color-gray-600);
    line-height: 1.5;
}

.pricing-feature-item svg {
    margin-top: 2px;
    flex-shrink: 0;
}

.pricing-card-footer {
    padding: 1.5rem 2rem 2rem;
    text-align: center;
}

.pricing-guarantee {
    margin-top: 0.75rem;
    font-size: 0.8125rem;
    color: var(--color-gray-400);
}

/* ========== TESTIMONIALS SECTION ========== */
.testimonials {
    padding: 5rem 0;
    background: var(--color-white);
}

@media (min-width: 768px) {
    .testimonials { padding: 6rem 0; }
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 64rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-card {
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all var(--transition);
}

.testimonial-card:hover {
    border-color: var(--color-primary-light);
    box-shadow: var(--shadow-md);
}

.testimonial-stars {
    font-size: 1.125rem;
    color: var(--color-primary-light);
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 0.9375rem;
    color: var(--color-gray-600);
    line-height: 1.7;
    margin-bottom: 1.25rem;
    font-style: italic;
}

.testimonial-author {
    border-top: 1px solid var(--color-gray-100);
    padding-top: 1rem;
}

.testimonial-author strong {
    display: block;
    font-size: 0.9375rem;
    color: var(--color-gray-900);
}

.testimonial-author span {
    display: block;
    font-size: 0.8125rem;
    color: var(--color-gray-400);
    margin-top: 0.125rem;
}

/* ========== FAQ SECTION ========== */
.faq {
    padding: 5rem 0;
    background: var(--color-gray-50);
}

@media (min-width: 768px) {
    .faq { padding: 6rem 0; }
}

.faq-list {
    max-width: 48rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--transition);
}

.faq-item[open] {
    border-color: var(--color-primary-light);
    box-shadow: var(--shadow-sm);
}

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

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

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--color-gray-400);
    transition: all var(--transition);
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item[open] .faq-question {
    color: var(--color-primary-dark);
}

.faq-item[open] .faq-question::after {
    content: '−';
    color: var(--color-primary);
}

.faq-answer {
    padding: 0 1.5rem 1.25rem;
}

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

/* ========== CTA SECTION ========== */
.cta {
    padding: 5rem 0;
    background: var(--color-white);
}

@media (min-width: 768px) {
    .cta { padding: 6rem 0; }
}

.cta-card {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 60%, var(--color-accent) 100%);
    border-radius: var(--radius-xl);
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(180, 83, 9, 0.35);
}

@media (min-width: 768px) {
    .cta-card {
        padding: 4rem 3rem;
    }
}

.cta-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-white);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

@media (min-width: 640px) {
    .cta-title { font-size: 2.5rem; }
}

.cta-description {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 2rem;
    max-width: 30rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

/* ========== INLINE PAYMENT FORM IN CTA ========== */
/* Back button */
.cta-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    background: none;
    border: none;
    color: rgba(255,255,255,0.8);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 1.5rem;
    padding: 0;
    transition: color var(--transition);
    font-family: var(--font-family);
}
.cta-back-link:hover {
    color: var(--color-white);
}

/* Payment header */
.cta-payment-inner {
    text-align: center;
    max-width: 580px;
    margin: 0 auto;
}
.cta-payment-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255,255,255,0.7);
    display: inline-block;
    margin-bottom: 0.5rem;
}
.cta-payment-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-white);
    margin: 0 0 0.5rem;
    letter-spacing: -0.02em;
}
@media (min-width: 640px) {
    .cta-payment-title { font-size: 2rem; }
}
.cta-payment-subhead {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.8);
    max-width: 440px;
    margin: 0 auto 1.5rem;
    line-height: 1.5;
}
.cta-payment-divider {
    width: 48px;
    height: 3px;
    background: var(--color-white);
    opacity: 0.5;
    margin: 0 auto 1.5rem;
    border-radius: 2px;
}

/* Payment card (white card inside the CTA card) */
.cta-payment-card {
    background: var(--color-white);
    color: var(--color-gray-800);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: left;
    box-shadow: var(--shadow-xl);
    /* Ensure card doesn't overflow on mobile */
    max-width: 100%;
    box-sizing: border-box;
}
@media (min-width: 640px) {
    .cta-payment-card { padding: 2.5rem; }
}

.cta-payment-service-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.25rem;
    color: var(--color-gray-900);
}

.cta-payment-service-meta {
    font-size: 0.875rem;
    color: var(--color-gray-500);
    margin: 0 0 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--color-gray-200);
}

/* Includes list */
.cta-payment-includes {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}
    color: var(--color-gray-700);
    margin-bottom: 0.625rem;
}
.cta-payment-includes li svg {
    flex-shrink: 0;
    margin-top: 2px;
}

/* Checkout slot — the Stripe embed lands here */
.cta-checkout-slot {
    background: var(--color-primary-50);
    border: 1px solid var(--color-primary-100);
    border-radius: var(--radius);
    padding: 1.25rem;
    min-height: 60px;
    /* Ensure the Stripe embed stays within bounds on mobile */
    overflow: hidden;
    max-width: 100%;
}
.cta-checkout-slot p {
    margin: 0;
    font-size: 0.8125rem;
    color: var(--color-primary-dark);
    font-weight: 600;
    text-align: center;
}

/* Stripe Embedded Checkout responsive fixes */
.cta-checkout-slot > div,
.cta-checkout-slot iframe {
    max-width: 100% !important;
    width: 100% !important;
}

/* Ensure Stripe Elements container doesn't overflow on mobile */
#checkout-slot .StripeElement,
#checkout-slot .stripe-element,
#checkout-slot [data-stripe-element] {
    max-width: 100% !important;
    box-sizing: border-box;
}

/* Mobile-specific adjustments for Stripe embedded checkout */
@media (max-width: 480px) {
    .cta-checkout-slot {
        padding: 1rem;
    }
    .cta-checkout-slot iframe {
        min-width: 100% !important;
        width: 100% !important;
    }
}
/* Mobile adjustments for payment form */
@media (max-width: 480px) {
    .cta-payment-inner {
        max-width: 100%;
        padding: 0 0.5rem;
    }
    .cta-payment-card {
        padding: 1.5rem 1rem;
        border-radius: var(--radius);
    }
    .cta-payment-title {
        font-size: 1.5rem;
    }
    .cta-payment-service-name {
        font-size: 1.125rem;
    }
    .cta-payment-includes li {
        font-size: 0.8125rem;
    }
    .cta-trust-row {
        gap: 0.75rem;
        font-size: 0.6875rem;
    }
}

/* Trust row */
.cta-trust-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.25rem;
    margin-top: 1.25rem;
    color: var(--color-gray-500);
    font-size: 0.75rem;
    flex-wrap: wrap;
}
.cta-trust-row span {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

/* Footer note */
.cta-payment-footer-note {
    text-align: center;
    margin-top: 1.25rem;
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.75);
}
.cta-payment-footer-note a {
    color: var(--color-white);
    text-decoration: underline;
    font-weight: 600;
}
.cta-payment-footer-note a:hover {
    color: var(--color-primary-100);
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--color-gray-800);
}

@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.footer-logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius-sm);
}

.footer-brand-name {
    font-size: 1.1875rem;
    font-weight: 700;
    color: var(--color-white);
}

.footer-brand-desc {
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    max-width: 24rem;
}

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

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: var(--color-gray-800);
    border-radius: var(--radius);
    color: var(--color-gray-400);
    transition: all var(--transition);
}

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

.footer-heading {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.footer-links a {
    font-size: 0.875rem;
    transition: color var(--transition);
}

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

.footer-bottom {
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}

@media (min-width: 640px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-bottom p {
    font-size: 0.875rem;
}

.footer-bottom-tagline {
    color: var(--color-gray-500);
}

/* ========== SCREENSHOT MODAL ========== */
.modal {
    display: none;
}

.modal.modal-active {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(4px);
}

.modal-dialog {
    position: relative;
    z-index: 1;
    max-width: 90vw;
    max-height: 90vh;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
}

.modal-close-btn {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: rgba(15,23,42,0.6);
    color: var(--color-white);
    border: none;
    border-radius: var(--radius);
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: background var(--transition);
}

.modal-close-btn:hover {
    background: rgba(15,23,42,0.85);
}

.modal-body {
    overflow: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
}

.modal-body img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 80vh;
    object-fit: contain;
    cursor: zoom-in;
    transition: all 0.3s ease;
}

.modal-body img.zoomed {
    cursor: zoom-out;
    width: auto;
    height: auto;
    max-height: none;
    max-width: 100%;
    object-fit: none;
}

.modal-dialog.zoomed-dialog {
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
    border-radius: 0;
}

.modal-caption {
    padding: 0.75rem 1.25rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-gray-700);
    text-align: center;
    background: var(--color-gray-50);
    width: 100%;
    flex-shrink: 0;
}

/* ========== RESPONSIVE FINE-TUNING ========== */
@media (max-width: 480px) {
    .hero-cta-group {
        flex-direction: column;
    }
    .hero-cta-group .btn {
        width: 100%;
    }
    .cta-btn-group {
        flex-direction: column;
    }
    .cta-btn-group .btn {
        width: 100%;
    }
    .hero-float-card {
        bottom: -0.5rem;
        left: 0;
        right: 0;
    }
    .hero-float-card-icon { display: none; }
}
/* ============================================================
   STRIPE EMBEDDED CHECKOUT MOBILE FIXES
   Comprehensive rules to prevent overflow on mobile devices
   ============================================================ */

/* Force the checkout slot to constrain all children */
#checkout-slot {
    overflow: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* Constrain any iframe inside checkout slot */
#checkout-slot iframe {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    display: block !important;
}

/* Constrain Stripe's embedded checkout container and all descendants */
#checkout-slot div,
#checkout-slot > div {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Stripe Embedded Checkout specific selectors */
#checkout-slot .stripe-embedded-checkout,
#checkout-slot [data-stripe-embedded-checkout],
#checkout-slot .stripe-checkout-root {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Constrain Stripe Elements (card inputs, etc.) */
#checkout-slot .StripeElement,
#checkout-slot .stripe-element,
#checkout-slot [data-stripe-element],
#checkout-slot .StripeElement--complete,
#checkout-slot .StripeElement--focus,
#checkout-slot .StripeElement--invalid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Handle Stripe's shadow DOM elements via ::part if available, or force container */
#checkout-slot * {
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* Mobile viewport specific - extra aggressive constraints */
@media (max-width: 480px) {
    #checkout-slot {
        padding: 0 !important;
        margin: 0 !important;
    }
    
    #checkout-slot .cta-checkout-slot {
        padding: 0.75rem !important;
    }
    
    /* Stripe embedded checkout often uses fixed width containers */
    #checkout-slot iframe {
        width: 100vw !important;
        max-width: 100vw !important;
        min-width: 100% !important;
    }
    
    /* Additional containment for any Stripe-iframe content */
    #checkout-slot > div:first-child {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }
}

/* Tablet adjustments */
@media (max-width: 768px) {
    #checkout-slot iframe {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* Ensure the CTA payment card constrains properly */
.cta-payment-card {
    overflow: hidden;
    max-width: 100%;
}

@media (max-width: 480px) {
    .cta-payment-card {
        padding: 1.25rem 0.875rem !important;
    }
    
    .cta-payment-title {
        font-size: 1.375rem !important;
    }
    
    .cta-payment-subhead {
        font-size: 0.875rem !important;
    }
    
    .cta-payment-service-name {
        font-size: 1rem !important;
    }
}

/* Additional CTA card mobile responsiveness for payment form */
@media (max-width: 480px) {
    .cta-card {
        padding: 2rem 1rem !important;
        border-radius: var(--radius-lg);
    }
    
    .cta-title {
        font-size: 1.75rem !important;
    }
    
    .cta-description {
        font-size: 1rem !important;
    }
}

/* Ensure obm-container doesn't cause horizontal overflow on narrow screens */
@media (max-width: 480px) {
    .obm-container {
        padding: 0 1rem !important;
    }
    
    /* CTA section specific */
    #start-trial .obm-container {
        padding: 0 0.75rem !important;
    }
}

/* Safety: Prevent horizontal overflow on body/html for mobile */
@media (max-width: 480px) {
    html, body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }
}

/* ============================================================
   MOBILE TOUCH FIXES
   Fixes for dropdown menu and button interactions on mobile
   ============================================================ */

/* Ensure nav-toggle is clickable on mobile */
@media (max-width: 767px) {
    .nav-toggle {
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
        pointer-events: auto;
        z-index: 101 !important;
    }
    
    .nav-menu {
        touch-action: manipulation;
        pointer-events: auto;
    }
    
    .nav-link {
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    
    /* Ensure buttons in hero and CTA sections are clickable */
    .hero .btn,
    .cta .btn,
    .pricing .btn {
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
        pointer-events: auto;
    }
    
    /* Fix for any overlay issues */
    .cta-card {
        pointer-events: auto;
    }
    
    .cta-btn-group {
        pointer-events: auto;
    }
}

/* Prevent any element from blocking taps */
@media (max-width: 767px) {
    .cta-card * {
        pointer-events: auto;
    }
    
    /* Ensure the cta-stage elements don't block each other */
    .cta-stage {
        pointer-events: auto;
    }
    
    /* Ensure form elements are clickable */
    .cta-barn-form input,
    .cta-barn-form button {
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    
    /* Fix for subdomain input wrapper */
    .subdomain-input-wrapper {
        pointer-events: auto;
    }
    
    .subdomain-input-wrapper input {
        pointer-events: auto;
    }
}

/* General button improvements for mobile */
@media (max-width: 767px) {
    .btn {
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    
    .btn:active {
        transform: scale(0.98);
    }
}

/* Ensure back buttons work on mobile */
.cta-back-link {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    pointer-events: auto;
}

@media (max-width: 767px) {
    .cta-back-link {
        padding: 0.5rem;
        min-width: 44px;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

/* Additional mobile button and interaction fixes */
@media (max-width: 767px) {
    /* Ensure all interactive elements have proper touch handling */
    button, 
    [role="button"],
    input[type="submit"],
    input[type="button"],
    .btn {
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
        -webkit-touch-callout: none;
        user-select: none;
    }
    
    /* Fix potential 300ms delay on click */
    .nav-toggle,
    .js-start-trial-btn,
    .cta-back-link,
    .cta-submit-barn-btn {
        touch-action: manipulation;
    }
}

/* Ensure the nav-toggle click isn't blocked */
@media (max-width: 767px) {
    .nav-inner {
        position: relative;
        z-index: 102;
    }
    
    .nav-brand {
        z-index: 102;
    }
}
