/* ============================================================
   RoboClean — Landing Page Styles
   ============================================================ */

/* ===== RESET & BASE ===== */
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; }
body { background: #f8fafc; color: #1f2a44; line-height: 1.6; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
a { text-decoration: none; color: inherit; }

/* ===== HEADER ===== */
header { background: white; border-bottom: 1px solid #edf2f7; padding: 16px 0; position: sticky; top: 0; z-index: 100; backdrop-filter: blur(8px); background: rgba(255,255,255,0.9); }
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 24px; font-weight: 700; color: #0b1e3a; }
.logo-icon { width: 40px; height: 40px; background: #2563eb; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: white; font-size: 22px; }
.nav-actions { display: flex; gap: 12px; }
.btn { padding: 12px 28px; border-radius: 40px; font-weight: 600; font-size: 16px; border: none; cursor: pointer; transition: 0.15s; display: inline-flex; align-items: center; gap: 6px; }
.btn-outline { background: transparent; border: 2px solid #2563eb; color: #2563eb; }
.btn-outline:hover { background: #eef2ff; }
.btn-primary { background: #2563eb; color: white; box-shadow: 0 4px 12px -2px rgba(37,99,235,0.3); }
.btn-primary:hover { background: #1d4ed8; transform: translateY(-2px); box-shadow: 0 6px 16px -2px rgba(37,99,235,0.4); }
.btn-success { background: #16a34a; color: white; }
.btn-success:hover { background: #15803d; }

/* ===== HERO ===== */
.hero { padding: 80px 0 100px; background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-text h1 { font-size: 48px; font-weight: 800; color: #0b1e3a; line-height: 1.2; margin-bottom: 24px; }
.hero-text h1 span { color: #2563eb; }
.hero-text p { font-size: 20px; color: #4b5a72; margin-bottom: 32px; max-width: 520px; line-height: 1.7; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.robot-svg { max-width: 100%; height: auto; }

/* ===== SECTIONS ===== */
.section { padding: 80px 0; border-bottom: 1px solid #edf2f7; }
.section:last-child { border-bottom: none; }
.section-title { font-size: 38px; font-weight: 700; color: #0b1e3a; text-align: center; margin-bottom: 16px; }
.section-sub { text-align: center; color: #4b5a72; font-size: 20px; max-width: 720px; margin: 0 auto 48px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 28px; }
.card { background: white; border-radius: 24px; padding: 32px 28px; border: 1px solid #edf2f7; transition: 0.2s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.06); }
.card .icon { font-size: 40px; margin-bottom: 16px; }
.card h3 { font-size: 20px; font-weight: 600; margin-bottom: 8px; color: #0b1e3a; }
.card p { font-size: 16px; color: #4b5a72; }
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 24px; }
.price-item { background: white; border-radius: 20px; padding: 24px; border: 1px solid #edf2f7; text-align: center; transition: 0.2s; }
.price-item:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.05); }
.price-item .service { font-weight: 600; color: #0b1e3a; font-size: 18px; }
.price-item .cost { font-size: 28px; font-weight: 700; color: #2563eb; margin: 8px 0; }
.price-item .note { font-size: 15px; color: #6b7a93; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 28px; counter-reset: step; }
.step { background: white; border-radius: 24px; padding: 28px 24px; border: 1px solid #edf2f7; text-align: center; position: relative; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: #2563eb; color: white; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px; }
.step .icon { font-size: 36px; margin-top: 16px; margin-bottom: 8px; }
.step h4 { font-size: 18px; font-weight: 600; color: #0b1e3a; margin-bottom: 4px; }
.step p { font-size: 15px; color: #4b5a72; }

/* ===== FOOTER ===== */
footer { background: #0b1e3a; color: #cbd5e1; padding: 48px 0 32px; margin-top: 40px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.column h4 { color: white; font-weight: 600; font-size: 18px; margin-bottom: 12px; }
.column p, .column a { font-size: 16px; color: #94a3b8; line-height: 1.8; }
.copy { margin-top: 32px; padding-top: 20px; border-top: 1px solid #1e3a5a; text-align: center; font-size: 15px; color: #64748b; }

/* ===== MODALS ===== */
.modal-overlay { display: none; position: fixed; top:0; left:0; right:0; bottom:0; background: rgba(0,0,0,0.4); backdrop-filter: blur(4px); z-index: 200; align-items: center; justify-content: center; }
.modal-overlay.active { display: flex; }
.modal { background: white; border-radius: 32px; max-width: 460px; width: 100%; padding: 36px 40px; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.3); }
.modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.modal-header h2 { font-size: 24px; font-weight: 700; color: #0b1e3a; }
.modal-close { background: none; border: none; font-size: 32px; color: #6b7a93; cursor: pointer; padding: 0 8px; line-height: 1; transition: 0.15s; }
.modal-close:hover { color: #b91c1c; transform: rotate(90deg); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; font-size: 15px; color: #2c3d5c; margin-bottom: 4px; }
.form-group label .required { color: #dc2626; margin-left: 2px; }
.form-group input { width: 100%; padding: 12px 16px; border: 1px solid #e2e8f0; border-radius: 12px; font-size: 16px; background: #fafcff; transition: 0.15s; }
.form-group input:focus { outline: none; border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37,99,235,0.15); }
.modal-footer { display: flex; justify-content: flex-end; gap: 12px; margin-top: 24px; }
.modal-footer .btn { padding: 12px 32px; font-weight: 600; font-size: 16px; }
.switch-link { text-align: center; margin-top: 20px; font-size: 16px; color: #4b5a72; }
.switch-link a { color: #2563eb; font-weight: 500; cursor: pointer; }
.switch-link a:hover { text-decoration: underline; }
.error-message { color: #dc2626; font-size: 15px; margin-top: 8px; display: none; }

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-text p { margin: 0 auto; }
  .hero-buttons { justify-content: center; }
  .robot-svg { max-width: 350px; }
  .hero-text h1 { font-size: 38px; }
  .section-title { font-size: 32px; }
}
@media (max-width: 768px) {
  .header-inner { flex-wrap: wrap; gap: 12px; }
  .nav-actions { width: 100%; justify-content: center; }
  .hero-text h1 { font-size: 30px; }
  .hero { padding: 40px 0 60px; }
  .section-title { font-size: 28px; }
  .section-sub { font-size: 17px; }
  .modal { padding: 24px 20px; margin: 16px; }
  .btn { padding: 10px 20px; font-size: 14px; }
  .price-item .cost { font-size: 22px; }
  .hero-text p { font-size: 17px; }
}