/* =====================================================================
   MIDPAY - APPLE MOBILE DESIGN SYSTEM V48.4 - NAV VISIBLE + SYMMETRY
   
   Created by: Apple Design Standards
   Last Updated: 2026-04-02
   
   CORE PRINCIPLES:
   • Mobile-first (390px base)
   • Touch-first (48px minimum)
   • Zero horizontal scroll
   • Generous whitespace (20px gutter)
   • Perfect typography (SF Pro)
   • Smooth 60fps animations
   ===================================================================== */

/* =====================================================================
   1. RESET & PREVENT HORIZONTAL SCROLL
   ===================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    font-size: 17px;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
    max-width: 100vw;
    width: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", sans-serif;
    font-size: 17px;
    line-height: 1.47059;
    font-weight: 400;
    letter-spacing: -0.022em;
    color: #ffffff;
    background: #000000;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    max-width: 100vw;
    width: 100%;
}

/* Ensure NO element can cause horizontal scroll */
img, video, svg {
    max-width: 100%;
    height: auto;
}

/* =====================================================================
   2. NAVIGATION - MOBILE ONLY
   ===================================================================== */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 48px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 9999;
}

.nav-container {
    max-width: 100%;
    height: 100%;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Hamburger Button */
.nav-toggle {
    position: relative;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0;
    z-index: 10000;
    -webkit-tap-highlight-color: transparent;
}

.nav-toggle span {
    width: 20px;
    height: 2px;
    background: #A4D233;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* Hamburger to X animation */
.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Logo Center */
.nav-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
}

.logo-img {
    height: 64px; /* BIGGER mobile logo - V48.0 */
    width: auto;
    mix-blend-mode: screen;
    filter: brightness(1.1) contrast(1.1);
}

/* Get Started Button (Right) */
.nav-btn {
    min-height: 32px;
    padding: 0 12px;
    background: #A4D233;
    color: #000;
    font-size: 13px;
    font-weight: 600;
    border-radius: 16px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

/* HIDE DESKTOP MENU ON MOBILE */
.nav-menu {
    display: none !important;
}

/* Trust Row - Hide on mobile to save space */
.nav-trust-row {
    display: none;
}

/* MOBILE SLIDE-OUT MENU - FORCE VISIBLE ON MOBILE */
body .nav-mobile-menu {
    position: fixed;
    top: 48px;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000;
    background-color: #000 !important;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
    overflow-y: auto;
    z-index: 9998;
    display: block !important; /* Force visible */
    visibility: visible !important;
    pointer-events: auto !important;
}

body .nav-mobile-menu.active {
    transform: translateX(0) !important;
}

/* EMERGENCY: If JavaScript fails, show menu on hover/focus */
.nav-toggle:focus ~ .nav-mobile-menu,
.nav-toggle:active ~ .nav-mobile-menu {
    transform: translateX(0) !important;
}

.nav-mobile-content {
    padding: 32px 20px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.nav-mobile-link {
    display: block;
    padding: 16px 0;
    font-size: 21px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: color 0.2s;
}

.nav-mobile-link:active {
    color: #A4D233;
}

/* Mobile Dropdown Group */
.mobile-dropdown-group {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 16px;
}

.mobile-dropdown-title {
    font-size: 21px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    padding: 16px 0 8px;
}

.mobile-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    transition: background 0.2s;
}

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

.mobile-dropdown-icon {
    font-size: 20px;
}

.mobile-dropdown-text {
    font-size: 17px;
    font-weight: 400;
}

/* Mobile CTA */
.nav-mobile-cta {
    display: block;
    padding: 16px;
    margin-top: 16px;
    background: #A4D233;
    color: #000;
    font-size: 19px;
    font-weight: 600;
    text-align: center;
    border-radius: 12px;
    text-decoration: none;
}

/* =====================================================================
   3. HERO SECTION - MOBILE FIRST
   ===================================================================== */

.hero-fullwidth {
    min-height: 100vh;
    max-height: 100vh;
    position: relative;
    display: flex;
    align-items: flex-start !important; /* CHANGED: Start from top, not center */
    justify-content: center;
    padding: 20px 16px 30px; /* REDUCED top padding from 60px */
    overflow: hidden;
}

/* Steps 6 & 8 need proper spacing for forms */
#heroStep6,
#heroStep8 {
    display: flex;
    flex-direction: column;
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
    padding: 20px 16px 100px; /* INCREASED bottom padding for scroll */
}

/* NUCLEAR FIX: Force Step 8 to always be visible from the top */
#heroStep8 {
    position: relative !important;
    top: 0 !important;
    margin-top: 0 !important;
    padding-top: 0 !important; /* Start at absolute zero */
}

/* When Step 8 is active, ensure it's scrollable and visible */
#heroStep8.active {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
}

/* Mobile-specific handling for Step 8 */
@media (max-width: 768px) {
    #heroStep8 {
        max-height: none !important;
        overflow: visible !important;
        padding-top: 20px !important; /* Minimal top padding */
        min-height: auto;
    }
    
    /* Force Step 8 to anchor at the very top */
    #heroStep8.active {
        scroll-margin-top: 0 !important;
        scroll-snap-align: start !important;
        transform: translateY(0) !important;
    }
}

/* Desktop: Also ensure Step 8 starts at top */
@media (min-width: 769px) {
    #heroStep8 {
        padding-top: 20px !important; /* Reduced from 40px */
    }
}

/* Remove all sticky/fixed positioning on Step 6 buttons */
#heroStep6 > div:last-child {
    position: static !important;
    margin-top: 20px;
}

/* =====================================================================
   TYPEFORM MODE - FULL-SCREEN IMMERSIVE FORM EXPERIENCE
   ===================================================================== */

/* When form is active, hide navigation and create full-screen experience */
body.form-active {
    overflow: hidden; /* Prevent body scroll - scroll within hero-form instead */
    position: fixed; /* Lock body position */
    width: 100%;
    height: 100%;
}

/* KEEP navigation visible - users need to see branding! V48.4 */
body.form-active nav {
    display: block !important; /* SHOW nav, don't hide it */
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* Hide trust row (optional) */
body.form-active .nav-trust-row {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* CRITICAL: Hide all homepage sections that appear after the hero form */
body.form-active section:not(#hero-form) {
    display: none !important;
}

/* Hide footer and any other page elements */
body.form-active footer,
body.form-active .footer {
    display: none !important;
}

/* Make hero form full-screen BELOW the nav - V48.4 */
body.form-active #hero-form {
    position: fixed;
    top: 64px; /* Below mobile nav (was 0) */
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: calc(100vh - 64px); /* Subtract nav height */
    height: calc(100dvh - 64px); /* Use dynamic viewport height for mobile */
    padding: 20px 16px 20px !important;
    z-index: 999999;
    margin: 0;
    overflow-y: auto !important; /* Force scrolling */
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

/* Remove title when in form mode - focus on form only */
/* Keep hero title visible at all times - V48.2 */
body.form-active .hero-title-huge {
    display: block !important; /* Always show "Save 46%" title */
}

/* Center form content - allow natural scrolling */
body.form-active .hero-content-center {
    display: flex;
    flex-direction: column;
    justify-content: flex-start !important; /* FORCE start from top */
    align-items: center;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    min-height: auto; /* Allow content to determine height */
    padding-top: 0 !important; /* Start from absolute top */
}

/* Make progress dots more prominent in Typeform mode */
body.form-active .step-dot-inline {
    width: 8px;
    height: 8px;
}

body.form-active .step-dot-inline.active {
    width: 24px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    /* Base gradient */
    background: linear-gradient(135deg, #000000 0%, #0a0a0a 50%, #000000 100%);
}

/* Animated wave effect - Actually cool! */
.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Animated gradient wave using your brand colors */
    background: 
        linear-gradient(
            -45deg, 
            rgba(164, 210, 51, 0.1) 0%,
            rgba(0, 255, 148, 0.08) 25%,
            rgba(164, 210, 51, 0.05) 50%,
            rgba(0, 255, 148, 0.08) 75%,
            rgba(164, 210, 51, 0.1) 100%
        );
    background-size: 400% 400%;
    animation: waveGradient 15s ease infinite;
    pointer-events: none;
    z-index: 1;
}

/* Floating particles overlay */
.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Dot pattern that pulses */
    background-image: 
        radial-gradient(circle, rgba(164, 210, 51, 0.3) 1px, transparent 1px),
        radial-gradient(circle, rgba(0, 255, 148, 0.2) 1px, transparent 1px);
    background-size: 50px 50px, 80px 80px;
    background-position: 0 0, 25px 25px;
    animation: particleFloat 20s linear infinite;
    opacity: 0.4;
    pointer-events: none;
    z-index: 2;
}

@keyframes waveGradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes particleFloat {
    0% {
        transform: translateY(0) translateX(0);
    }
    100% {
        transform: translateY(-30px) translateX(20px);
    }
}

.hero-bg-image {
    /* Hide background image completely */
    display: none !important;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Subtle radial gradient for depth */
    background: radial-gradient(
        ellipse at center,
        transparent 0%,
        rgba(0, 0, 0, 0.2) 100%
    );
    pointer-events: none;
    z-index: 0;
}

.hero-content-center {
    position: relative;
    z-index: 100001;
    max-width: 100%;
    width: 100%;
    text-align: center;
}

.hero-title-huge {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    color: #ffffff;
}

/* Override inline styles on mobile */
h1.hero-title-huge[style],
.hero-title-huge[style*="font-size"] {
    font-size: 28px !important; /* Mobile size */
    font-weight: 700 !important;
    line-height: 1.1 !important;
    letter-spacing: -0.02em !important;
    margin-bottom: 16px !important;
}

.hero-description-center {
    font-size: 19px;
    line-height: 1.42105;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

/* =====================================================================
   4. CALCULATOR / QUIZ - MOBILE OPTIMIZED
   ===================================================================== */

#hero-quiz-container {
    max-width: 100%;
    padding: 16px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin: 16px 0 0;
}

/* Quiz Label */
#hero-quiz-container > div:first-child {
    font-size: 11px !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.6) !important;
    margin-bottom: 10px !important;
}

/* Question Text */
#hero-quiz-container h3 {
    font-size: 18px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    margin-bottom: 12px !important;
}

/* Select Inputs - 48px minimum touch target */
#hero-quiz-container select,
#hero-quiz-container input[type="text"],
#hero-quiz-container input[type="number"] {
    width: 100% !important;
    min-height: 52px !important;
    padding: 0 16px !important;
    font-size: 17px !important;
    font-weight: 500 !important;
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 12px !important;
    margin-bottom: 16px !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}

/* Custom dropdown arrow */
#hero-quiz-container select {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path fill="white" d="M4 6l4 4 4-4z"/></svg>') !important;
    background-repeat: no-repeat !important;
    background-position: right 16px center !important;
    padding-right: 48px !important;
}

/* Buttons - 52px touch target */
#hero-quiz-container button,
#hero-quiz-container .cta-button,
#hero-quiz-container a[class*="btn"] {
    width: 100% !important;
    min-height: 52px !important;
    padding: 16px 24px !important;
    background: #A4D233 !important;
    color: #000 !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    border: none !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    transition: transform 0.2s, opacity 0.2s !important;
    margin-top: 8px !important;
}

#hero-quiz-container button:active {
    transform: scale(0.98) !important;
}

/* Result Display */
#hero-quiz-container .result-display {
    padding: 24px !important;
    background: rgba(164, 210, 51, 0.1) !important;
    border: 1px solid #A4D233 !important;
    border-radius: 16px !important;
    margin-top: 24px !important;
}

/* =====================================================================
   5. SECTIONS - UNIVERSAL MOBILE STYLES
   ===================================================================== */

section {
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
}

.section-container {
    max-width: 100%;
    width: 100%;
}

/* Section Headers */
h2, .section-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.125;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

h3 {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.01em;
    margin-bottom: 12px;
}

p {
    font-size: 17px;
    line-height: 1.47059;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 16px;
}

/* =====================================================================
   6. COMPARISON CARDS - MOBILE STACK
   ===================================================================== */

.comparison-section {
    background: #000;
}

.comparison-mobile {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.provider-comparison-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    transition: transform 0.2s;
}

.provider-comparison-card.highlight-card {
    border-color: #A4D233;
    box-shadow: 0 0 40px rgba(164, 210, 51, 0.2);
}

.provider-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.provider-logo-mobile {
    height: 32px;
    width: auto;
}

.provider-badge-mobile {
    background: #A4D233;
    color: #000;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 700;
}

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

.rate-label {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.rate-value {
    font-size: 17px;
    font-weight: 600;
    color: #ffffff;
}

.savings-value {
    color: #A4D233;
}

.loss-value {
    color: #FF6B6B;
}

/* Hide desktop comparison table on mobile */
.comparison-table-wrapper,
.comparison-table-modern {
    display: none !important;
}

/* =====================================================================
   7. BUTTONS & TOUCH TARGETS
   ===================================================================== */

a, button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cta-button,
.primary-button {
    min-height: 52px;
    padding: 16px 32px;
    background: #A4D233;
    color: #000;
    font-size: 17px;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, opacity 0.2s;
}

.cta-button:active,
.primary-button:active {
    transform: scale(0.98);
}

.secondary-button {
    min-height: 52px;
    padding: 16px 32px;
    background: transparent;
    color: #A4D233;
    font-size: 17px;
    font-weight: 600;
    border: 1px solid #A4D233;
    border-radius: 12px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
}

/* =====================================================================
   8. FOOTER
   ===================================================================== */

footer {
    padding: 60px 20px 40px;
    background: #000;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.footer-column h4 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-column a {
    display: block;
    padding: 8px 0;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 15px;
}

/* =====================================================================
   9. PROBLEM/SOLUTION SECTION
   ===================================================================== */

.problem-solution {
    background: #000;
    padding: 60px 20px;
}

.problem-solution-container {
    max-width: 100%;
}

.section-eyebrow {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #A4D233;
    margin-bottom: 16px;
    text-align: center;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    margin-bottom: 40px;
}

.vs-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.vs-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
}

.problem-card {
    border-color: rgba(255, 107, 107, 0.3);
}

.solution-card {
    border-color: rgba(164, 210, 51, 0.3);
}

.vs-label {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 12px;
}

.vs-rate {
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 8px;
}

.vs-rate.bad {
    color: #FF6B6B;
}

.vs-rate.good {
    color: #A4D233;
}

.vs-desc {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.vs-breakdown {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 16px;
    margin-bottom: 16px;
}

.breakdown-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 15px;
}

.breakdown-row .bad {
    color: #FF6B6B;
    font-weight: 600;
}

.breakdown-row .good {
    color: #A4D233;
    font-weight: 600;
}

.breakdown-row .neutral {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

.vs-result {
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.vs-result strong {
    font-size: 24px;
    font-weight: 700;
    display: block;
    margin-bottom: 4px;
}

.vs-result.bad strong {
    color: #FF6B6B;
}

.vs-result.good strong {
    color: #A4D233;
}

.vs-result span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.vs-arrow {
    display: none; /* Hidden on mobile */
}

.savings-callout {
    margin-top: 40px;
    padding: 32px 24px;
    background: rgba(164, 210, 51, 0.1);
    border: 1px solid rgba(164, 210, 51, 0.3);
    border-radius: 16px;
    text-align: center;
}

.savings-number {
    font-size: 64px;
    font-weight: 700;
    color: #A4D233;
    line-height: 1;
}

/* =====================================================================
   10. CALCULATOR SECTION (Full Redesign)
   ===================================================================== */

.calculator-section {
    background: #000;
    padding: 60px 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-subtitle {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 12px;
}

.calculator-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    max-width: 100%;
}

.calculator-inputs {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.input-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-label {
    font-size: 15px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.input-field {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    min-height: 52px;
}

.input-prefix,
.input-suffix {
    padding: 0 16px;
    font-size: 17px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
}

.input {
    flex: 1;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 17px;
    font-weight: 500;
    padding: 16px 8px;
    outline: none;
}

.input::-webkit-inner-spin-button,
.input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.calculator-results {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.result-comparison {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.result-box {
    padding: 20px;
    border-radius: 12px;
    text-align: center;
}

.result-competitor {
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.3);
}

.result-midpay {
    background: rgba(164, 210, 51, 0.1);
    border: 1px solid rgba(164, 210, 51, 0.3);
}

.result-label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 8px;
}

.result-amount {
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 8px;
}

.result-competitor .result-amount {
    color: #FF6B6B;
}

.result-midpay .result-amount {
    color: #A4D233;
}

.result-rate {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.result-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.3);
}

.result-arrow svg {
    transform: rotate(90deg);
}

.result-savings {
    padding: 24px;
    background: rgba(164, 210, 51, 0.15);
    border: 2px solid #A4D233;
    border-radius: 16px;
    text-align: center;
}

.savings-label {
    font-size: 15px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
}

.savings-amount {
    font-size: 48px;
    font-weight: 700;
    color: #A4D233;
    line-height: 1;
    margin-bottom: 8px;
}

.savings-period {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
}

.savings-annual {
    font-size: 19px;
    font-weight: 600;
    color: #ffffff;
}

.savings-annual span {
    color: #A4D233;
}

/* =====================================================================
   11. POS SCENARIOS SECTION (Carousel)
   ===================================================================== */

.pos-scenarios-section {
    background: #000;
    padding: 60px 20px;
}

.pos-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.carousel-track {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.scenario-card {
    min-width: 100%;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
}

.scenario-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.scenario-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.scenario-content {
    padding: 24px;
}

.scenario-badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(164, 210, 51, 0.1);
    border: 1px solid rgba(164, 210, 51, 0.3);
    border-radius: 16px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
}

.scenario-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.scenario-desc {
    font-size: 17px;
    line-height: 1.47;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 16px;
}

.scenario-rate {
    font-size: 32px;
    font-weight: 700;
    color: #A4D233;
}

.scenario-rate span {
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    display: block;
    margin-top: 4px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 20px 0;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    width: 24px;
    border-radius: 4px;
    background: #A4D233;
}

/* =====================================================================
   12. EQUIPMENT SECTION
   ===================================================================== */

.equipment-section {
    background: #000;
    padding: 60px 20px;
}

.equipment-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.equipment-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
}

.equipment-card.featured {
    border-color: #A4D233;
    box-shadow: 0 0 40px rgba(164, 210, 51, 0.2);
}

.equipment-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 8px 16px;
    background: #A4D233;
    color: #000;
    font-size: 12px;
    font-weight: 700;
    border-radius: 16px;
    z-index: 1;
}

.equipment-image {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.equipment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.equipment-content {
    padding: 24px;
}

.equipment-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.equipment-rate {
    font-size: 28px;
    font-weight: 700;
    color: #A4D233;
    margin-bottom: 12px;
}

.equipment-description {
    font-size: 17px;
    line-height: 1.47;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

.equipment-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.equipment-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
}

.equipment-features svg {
    color: #A4D233;
    flex-shrink: 0;
}

/* =====================================================================
   13. FINANCING SECTION
   ===================================================================== */

.financing-section {
    background: #000;
    padding: 60px 20px;
}

.financing-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.financing-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    display: block;
    transition: transform 0.2s, border-color 0.2s;
}

.financing-card:active {
    transform: scale(0.98);
    border-color: #A4D233;
}

.financing-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.financing-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.financing-title {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    padding: 24px 24px 12px;
}

.financing-description {
    font-size: 17px;
    line-height: 1.47;
    color: rgba(255, 255, 255, 0.7);
    padding: 0 24px 20px;
}

.financing-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 24px 24px;
    color: #A4D233;
    font-size: 17px;
    font-weight: 600;
}

.financing-link svg {
    transition: transform 0.2s;
}

.financing-card:active .financing-link svg {
    transform: translateX(4px);
}

/* =====================================================================
   14. APPLE COMPARISON SECTION
   ===================================================================== */

.apple-comparison {
    background: #000;
    padding: 60px 20px;
}

.apple-comparison-header {
    text-align: center;
    margin-bottom: 40px;
}

.apple-comparison-eyebrow {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #A4D233;
    margin-bottom: 12px;
}

.apple-comparison-headline {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.125;
    margin-bottom: 12px;
}

.apple-comparison-description {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.7);
}

.apple-comparison-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.apple-comparison-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
}

.apple-comparison-card.featured {
    border-color: #A4D233;
    box-shadow: 0 0 40px rgba(164, 210, 51, 0.2);
}

.apple-comparison-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.apple-comparison-provider {
    font-size: 24px;
    font-weight: 700;
}

.apple-comparison-badge {
    padding: 6px 12px;
    background: #A4D233;
    color: #000;
    font-size: 12px;
    font-weight: 700;
    border-radius: 16px;
}

.apple-comparison-rates {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.apple-comparison-rate-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.apple-comparison-rate-label {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.apple-comparison-rate-value {
    font-size: 17px;
    font-weight: 600;
    color: #ffffff;
}

.apple-comparison-rate-value.best {
    color: #A4D233;
}

.apple-comparison-savings {
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.apple-comparison-savings-label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 8px;
}

.apple-comparison-savings-value {
    font-size: 28px;
    font-weight: 700;
}

.apple-comparison-savings-value.baseline {
    color: #A4D233;
    font-weight: 700;
}

.apple-comparison-savings-value.loss {
    color: #FF6B6B;
}

/* =====================================================================
   15. FOOTER - APPLE DESIGN
   ===================================================================== */

footer {
    background: #000;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 48px 20px 32px;
}

.footer-container {
    max-width: 100%;
}

/* Logo & Tagline */
.footer-brand {
    text-align: center;
    margin-bottom: 48px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
    height: 48px; /* Increased from 32px for better visibility */
    width: auto;
    margin-bottom: 16px;
    mix-blend-mode: screen;
    filter: brightness(1.1) contrast(1.1);
}

.footer-tagline {
    font-size: 15px;
    line-height: 1.47059;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 20px 0;
}

.footer-cta-button {
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(135deg, #00D4FF 0%, #0099FF 100%);
    color: #000;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 24px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 153, 255, 0.3);
}

.footer-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 153, 255, 0.4);
    background: linear-gradient(135deg, #00E4FF 0%, #00AAFF 100%);
}

/* Footer Links Grid - 2 rows on mobile */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns on mobile */
    gap: 24px 16px; /* row gap / column gap */
    margin-bottom: 40px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 2px; /* Minimal spacing - about 1 line between links */
}

.footer-heading {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 4px 0; /* Reduced from 8px for tighter spacing */
}

.footer-link {
    font-size: 15px;
    line-height: 1.2; /* Reduced from 1.47059 for tighter spacing */
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s;
    display: block;
}

.footer-link:hover {
    color: #A4D233;
}

.footer-link:active {
    color: #A4D233;
}

/* Footer Bottom */
.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.footer-copyright {
    font-size: 13px;
    line-height: 1.47059;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 8px 0;
}

.footer-credit {
    font-size: 13px;
    line-height: 1.47059;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
}

.heart-icon {
    display: inline-block;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.3);
    margin: 0 2px;
    transition: color 0.2s;
}

.footer-credit:hover .heart-icon {
    color: rgba(255, 255, 255, 0.5);
}

.acromatico-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
    letter-spacing: 0.01em;
}

.acromatico-link:hover {
    color: #ffffff;
}

.acromatico-link:active {
    color: #ffffff;
}

/* =====================================================================
   HOMEPAGE SIMPLIFICATION - Hide Sections
   ===================================================================== */

/* Hide POS Scenarios, Equipment, Financing on homepage only */
body:not([data-page]) .pos-scenarios-section,
body:not([data-page]) .equipment-section,
body:not([data-page]) .financing-section {
    display: none !important;
}

/* =====================================================================
   16.5. CALCULATOR CTA SECTION
   ===================================================================== */

.calculator-cta-section {
    padding: 80px 20px;
    background: linear-gradient(180deg, #000 0%, #0a0a0a 100%);
}

.calculator-cta-card {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 48px 32px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
}

.calculator-cta-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(164, 210, 51, 0.1);
    border-radius: 50%;
}

.calculator-cta-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}

.calculator-cta-subtitle {
    font-size: 17px;
    line-height: 1.47059;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
}

/* =====================================================================
   17. TRUST BAR
   ===================================================================== */

.trust-bar {
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 32px 20px;
}

.trust-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
}

.trust-number {
    font-size: 40px;
    font-weight: 700;
    color: #A4D233;
    line-height: 1;
    letter-spacing: -0.02em;
}

.trust-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.trust-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: none;
}

.trust-icon {
    flex-shrink: 0;
}

/* Tablet - horizontal trust bar */
@media (min-width: 768px) {
    .trust-bar {
        padding: 40px 40px;
    }
    
    .trust-container {
        flex-direction: row;
        justify-content: center;
        gap: 60px;
    }
    
    .trust-divider {
        display: block;
    }
    
    .trust-number {
        font-size: 48px;
    }
    
    .trust-label {
        font-size: 15px;
    }
}

/* =====================================================================
   18. SOCIAL PROOF / TESTIMONIALS
   ===================================================================== */

.social-proof-section {
    background: #000;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

/* Global Transactions Canvas Background */
.global-transactions-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.5; /* More visible since it's an actual map */
}

/* Ensure content is above canvas */
.social-proof-section .section-container {
    position: relative;
    z-index: 2;
}

.testimonials-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 40px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px 24px;
}

.testimonial-stars {
    color: #A4D233;
    font-size: 20px;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.testimonial-quote {
    font-size: 17px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.testimonial-author strong {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
}

.testimonial-author span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

/* Tablet - 2 columns */
@media (min-width: 768px) {
    .testimonials-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .testimonial-card:last-child {
        grid-column: 1 / -1;
        max-width: 600px;
        margin: 0 auto;
    }
}

/* Desktop - 3 columns */
@media (min-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .testimonial-card:last-child {
        grid-column: auto;
        max-width: none;
    }
}

/* =====================================================================
   19. FEATURES HIGHLIGHT
   ===================================================================== */

.features-highlight {
    background: #000;
    padding: 80px 20px;
}

.features-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Features grid inside social proof section */
.social-proof-section .features-grid {
    margin-top: 64px;
    padding-top: 64px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-item {
    text-align: center;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(164, 210, 51, 0.1);
    border: 1px solid rgba(164, 210, 51, 0.2);
    border-radius: 20px;
}

.feature-item h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-item p {
    font-size: 17px;
    line-height: 1.47;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 16px;
}

.feature-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #A4D233;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.2s;
}

.feature-link:hover {
    gap: 12px;
}

/* Tablet - 3 columns */
@media (min-width: 768px) {
    .features-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
    }
}

/* =====================================================================
   20. CTA SECTION
   ===================================================================== */

.cta-section {
    background: linear-gradient(180deg, #000 0%, #0a0a0a 100%);
    padding: 80px 20px;
    text-align: center;
}

.cta-section h2 {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 19px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 400px;
    margin: 0 auto;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 400px;
    margin: 0 auto;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: #A4D233;
    color: #000;
}

.btn-primary:active {
    transform: scale(0.98);
    background: #8AB62A;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:active {
    transform: scale(0.98);
    background: rgba(255, 255, 255, 0.15);
}

.btn-large {
    padding: 16px 32px;
    font-size: 19px;
    min-height: 52px;
}

/* =====================================================================
   16. TABLET BREAKPOINT (768px+)
   ===================================================================== */

@media (min-width: 768px) {
    .hero-title-huge {
        font-size: 48px;
    }
    
    /* Problem/Solution - side by side */
    .vs-grid {
        flex-direction: row;
        align-items: stretch;
        gap: 24px;
    }
    
    .vs-card {
        flex: 1;
    }
    
    .vs-arrow {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 48px;
        color: rgba(255, 255, 255, 0.3);
    }
    
    /* Calculator - horizontal layout */
    .result-comparison {
        flex-direction: row;
        align-items: center;
    }
    
    .result-arrow svg {
        transform: rotate(0deg);
    }
    
    /* Equipment - 2 column grid */
    .equipment-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    /* Financing - 2 column grid */
    .financing-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    /* Comparison - 2 column grid */
    .apple-comparison-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    /* Footer - horizontal layout */
    .footer-brand {
        text-align: left;
    }
    
    .footer-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }
    
    .footer-bottom {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .footer-copyright,
    .footer-credit {
        margin: 0;
    }
    
    section {
        padding: 80px 40px;
    }
}

/* =====================================================================
   17. DESKTOP BREAKPOINT (1024px+)
   ===================================================================== */

@media (min-width: 1024px) {
    /* Show desktop navigation */
    .nav-toggle {
        display: none;
    }
    
    .nav-mobile-menu {
        display: none !important;
    }
    
    .nav-menu {
        display: flex !important;
        position: static;
        flex-direction: row;
        align-items: center;
        gap: 32px;
        background: transparent;
        padding: 0;
        transform: none !important;
    }
    
    .nav-link {
        padding: 0;
        font-size: 15px;
        border-bottom: none;
    }
    
    .nav-trust-row {
        display: block;
    }
    
    .hero-title-huge {
        font-size: 64px;
    }
    
    /* Equipment - 3 column grid */
    .equipment-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Financing - 3 column grid */
    .financing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Comparison - 3 column grid */
    .apple-comparison-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    section {
        padding: 100px 60px;
    }
    
    .section-container {
        max-width: 1200px;
        margin: 0 auto;
    }
    
    .problem-solution-container {
        max-width: 1200px;
        margin: 0 auto;
    }
}

/* =====================================================================
   18. LOADING ANIMATIONS
   ===================================================================== */

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading state for buttons */
.btn-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.8;
}

.btn-loading * {
    animation: fadeIn 0.3s ease-in-out;
}
