/* 
 * My IT Rental - Modern Theme CSS
 * High performance, zero Node.js dependency
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

:root {
  --primary: #FF5722;
  --primary-hover: #E64A19;
  --primary-light: #FFF1EC;
  --secondary: #0F172A;
  --secondary-light: #1E293B;
  --accent: #2563EB;
  --accent-light: #EFF6FF;
  --text-dark: #0F172A;
  --text-muted: #64748B;
  --surface: #F8FAFC;
  --border: #E2E8F0;
  --card-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.05), 0 8px 10px -6px rgba(15, 23, 42, 0.02);
  --card-hover: 0 20px 30px -10px rgba(255, 87, 34, 0.15), 0 10px 15px -5px rgba(15, 23, 42, 0.04);
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-dark);
  background-color: #FFFFFF;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -0.02em;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #F1F5F9;
}
::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Smooth Interactive Elements */
.btn-primary {
  background: linear-gradient(135deg, #FF5722 0%, #FF7043 100%);
  color: #FFFFFF;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 14px 0 rgba(255, 87, 34, 0.35);
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #E64A19 0%, #F4511E 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px 0 rgba(255, 87, 34, 0.45);
}

.btn-secondary {
  background: var(--secondary);
  color: #FFFFFF;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.25s ease;
  text-decoration: none;
  border: 1px solid var(--secondary);
  cursor: pointer;
}

.btn-secondary:hover {
  background: var(--secondary-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.2);
}

.btn-outline {
  background: transparent;
  color: var(--secondary);
  border: 2px solid #E2E8F0;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.25s ease;
  text-decoration: none;
  cursor: pointer;
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background-color: var(--primary-light);
  transform: translateY(-2px);
}

/* Feature & Service Card Styles */
.feature-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: var(--card-shadow);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 87, 34, 0.3);
  box-shadow: var(--card-hover);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--primary);
  transition: height 0.3s ease;
}

.feature-card:hover::before {
  height: 100%;
}

/* Hero Gradient & Glow */
.hero-gradient {
  background: radial-gradient(circle at 10% 20%, rgba(255, 87, 34, 0.08) 0%, transparent 40%),
              radial-gradient(circle at 90% 80%, rgba(37, 99, 235, 0.06) 0%, transparent 40%);
}

.glow-badge {
  background: rgba(255, 87, 34, 0.1);
  color: #D84315;
  border: 1px solid rgba(255, 87, 34, 0.25);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* Calculator Card */
.calc-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 1.25rem;
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.08);
}

/* Mobile Sticky Bottom CTA */
.mobile-sticky-bar {
  display: none;
}

@media (max-width: 768px) {
  .mobile-sticky-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #FFFFFF;
    border-top: 1px solid #E2E8F0;
    z-index: 9999;
    padding: 0.6rem 1rem;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.08);
    gap: 0.5rem;
  }
}

/* Modal Popup */
.quote-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(4px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.quote-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.quote-modal-content {
  background: #FFFFFF;
  border-radius: 1rem;
  max-width: 550px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.95);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.quote-modal.active .quote-modal-content {
  transform: scale(1);
}
