/* Extracted inline styles from /roi-calculator.html (H5) */
:root { --primary: #3B82F6; --background: #0B0D12; }
        * { margin: 0; padding: 0; box-sizing: border-box; }
        html { scroll-behavior: smooth; }
        body { background: #0B0D12; color: #fff; font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; line-height: 1.6; }
        body::before { content: ""; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(ellipse at top left, rgba(59, 130, 246, 0.15) 0%, transparent 50%), radial-gradient(ellipse at bottom right, rgba(59, 130, 246, 0.08) 0%, transparent 50%); pointer-events: none; z-index: 0; }
        .glass-card { background: rgba(47, 52, 54, 0.5); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 1rem; transition: all 0.3s ease; }
        .glass-card:hover { border-color: rgba(59, 130, 246, 0.3); }
        .gradient-text { background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
        .hero-bg { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.3) 0%, transparent 50%), radial-gradient(circle at 80% 50%, rgba(59, 130, 246, 0.2) 0%, transparent 50%); filter: blur(100px); opacity: 0.5; }
        .category-badge { display: inline-block; padding: 0.5rem 1rem; background: rgba(59, 130, 246, 0.1); border: 1px solid rgba(59, 130, 246, 0.3); border-radius: 9999px; font-size: 0.875rem; color: #93c5fd; margin-bottom: 1.5rem; }
        .slider { -webkit-appearance: none; appearance: none; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, 0.1); outline: none; }
        .slider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 20px; height: 20px; border-radius: 50%; background: linear-gradient(135deg, #3B82F6, #60A5FA); cursor: pointer; }
        .metric-card { background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(29, 78, 216, 0.1)); border: 1px solid rgba(59, 130, 246, 0.2); }
        .savings-highlight { background: linear-gradient(135deg, rgba(29, 78, 216, 0.1), rgba(59, 130, 246, 0.1)); border: 1px solid rgba(29, 78, 216, 0.3); }
        .assumptions-box { background: rgba(59, 130, 246, 0.05); border: 1px solid rgba(59, 130, 246, 0.2); border-radius: 0.75rem; padding: 1.25rem; margin-top: 1.5rem; }
        .modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.8); z-index: 1000; justify-content: center; align-items: center; }
        .modal-content { background: #0B0D12; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 1rem; padding: 2rem; max-width: 400px; width: 90%; }
        .modal-input { width: 100%; padding: 0.75rem 1rem; border-radius: 0.5rem; border: 1px solid rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.05); color: white; margin-bottom: 1rem; }
        .modal-input:focus { outline: none; border-color: #3B82F6; }
        .btn-primary { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 1rem 2rem; background: linear-gradient(135deg, #3B82F6, #60A5FA); border-radius: 9999px; font-weight: 600; text-decoration: none; color: #fff; transition: all 0.3s ease; border: none; cursor: pointer; width: 100%; }
        .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4); }
        .btn-secondary { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 1rem 2rem; border: 1px solid rgba(59, 130, 246, 0.5); border-radius: 9999px; font-weight: 600; text-decoration: none; color: #93c5fd; transition: all 0.3s ease; background: transparent; cursor: pointer; width: 100%; }
        .btn-secondary:hover { background: rgba(59, 130, 246, 0.1); transform: translateY(-2px); }
        .btn-green { background: linear-gradient(135deg, #1d4ed8, #3B82F6); }
        .fade-in-section { opacity: 0; transform: translateY(30px); transition: all 0.8s ease; }
        .fade-in-section.visible { opacity: 1; transform: translateY(0); }
        a:focus-visible, button:focus-visible { outline: 2px solid #3B82F6; outline-offset: 2px; }

/* iPhone modal fixes */
.modal-content, .roi-modal-content {
  max-height: 85vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.modal-content input, .modal-content select, .modal-content textarea,
.roi-modal-content input {
  font-size: 16px;
}
.modal-close, .roi-modal-close {
  min-width: 44px;
  min-height: 44px;
}


/* ROI CTA button spacing */
.btn-primary { min-height: 44px; }
.btn-primary + .btn-primary { margin-top: 0; }
