/* ==========================================================================
   1. Reset & Global Base Architecture
   ========================================================================== */
*, *::before, *::after { 
  box-sizing: border-box; 
  margin: 0; 
  padding: 0; 
}

:root {
  --bg:       #0d1117;
  --surface:  #161b22;
  --surface2: #1c2128;
  --border:   #21262d;
  --border2:  #30363d;
  --text:     #c9d1d9;
  --muted:    #8b949e;
  --bright:   #f0f6fc;
  --cyan:     #00bce3;
  --blue:     #58a6ff;
  --indigo:   #667eea;
  --purple:   #a78bfa;
  --success:  #3fb950;
  --r:        10px;
}

html { 
  scroll-behavior: smooth; 
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Inter, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  width: 100%;
}

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

/* ==========================================================================
   2. Shared Structural Layouts
   ========================================================================== */
section { 
  padding: 100px 24px; 
  width: 100%;             
  box-sizing: border-box;  
  overflow: hidden;        
}

.container { 
  max-width: 1100px; 
  width: 100%;
  margin: 0 auto;         
  box-sizing: border-box;
}

h2 {
  font-size: clamp(26px, 4vw, 46px); 
  font-weight: 800;
  line-height: 1.15; 
  letter-spacing: -1px; 
  color: var(--bright); 
  margin-bottom: 16px;
}

.section-sub {
  font-size: 17px; 
  color: var(--muted); 
  max-width: 560px;
  line-height: 1.75; 
  margin-bottom: 56px;
}

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

.centered-sub { 
  margin-left: auto; 
  margin-right: auto; 
}

.section-tag {
  display: inline-block; 
  font-size: 11px; 
  font-weight: 700; 
  letter-spacing: 2px;
  text-transform: uppercase; 
  color: var(--cyan); 
  margin-bottom: 14px;
}

/* ==========================================================================
   3. Header Navigation Layer
   ========================================================================== */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px; height: 64px;
  background: rgba(13,17,23,.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 19px; font-weight: 800; letter-spacing: -.3px;
  color: var(--bright);
}

.nav-logo-icon {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
}

.nav-logo-icon img {
  width: 32px; height: 32px; object-fit: contain;
  filter: invert(1);
}

.nav-links { 
  display: flex; 
  gap: 32px; 
  font-size: 14px; 
  color: var(--muted); 
}

.nav-links a { 
  transition: color .2s; 
}

.nav-links a:hover { 
  color: var(--bright); 
}

.nav-cta {
  padding: 8px 20px; border-radius: var(--r); font-size: 14px; font-weight: 600;
  background: linear-gradient(135deg, var(--cyan), var(--indigo));
  color: #fff; border: none; cursor: pointer; transition: opacity .2s, transform .15s;
}

.nav-cta:hover { 
  opacity: .88; 
  transform: translateY(-1px); 
}

@media(max-width: 700px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
}

/* ==========================================================================
   4. Hero Core Component
   ========================================================================== */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 120px 24px 80px;
  position: relative; overflow: hidden;
}

.hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 50% -5%, rgba(0,188,227,.18) 0%, transparent 65%),
    radial-gradient(ellipse 40% 30% at 80% 80%, rgba(102,126,234,.1) 0%, transparent 60%);
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 20px; font-size: 13px; font-weight: 600;
  background: rgba(0,188,227,.12); border: 1px solid rgba(0,188,227,.3);
  color: var(--cyan); margin-bottom: 28px; position: relative;
}

.badge-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--cyan);
  animation: pulse 2s infinite;
}

@keyframes pulse { 
  0%,100%{opacity:1;transform:scale(1)} 
  50%{opacity:.55;transform:scale(1.5)} 
}

h1 {
  font-size: clamp(38px, 6.5vw, 80px);
  font-weight: 900; line-height: 1.06; letter-spacing: -2.5px;
  max-width: 900px; margin-bottom: 24px; color: var(--bright); position: relative;
}

h1 .grad {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--indigo) 60%, var(--purple) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: clamp(16px, 2vw, 20px); color: var(--muted);
  max-width: 620px; line-height: 1.75; margin-bottom: 44px; position: relative;
}

.hero-actions {
  display: flex; gap: 14px; flex-wrap: wrap; justify-content: center;
  margin-bottom: 72px; position: relative;
}

.btn-primary {
  padding: 15px 36px; border-radius: var(--r); font-size: 15px; font-weight: 700;
  color: #fff; border: none; cursor: pointer;
  background: linear-gradient(135deg, var(--cyan), var(--indigo));
  box-shadow: 0 0 40px rgba(0,188,227,.3);
  transition: transform .15s, box-shadow .15s; display: inline-block;
}

.btn-primary:hover { 
  transform: translateY(-2px); 
  box-shadow: 0 0 60px rgba(0,188,227,.5); 
}

.btn-secondary {
  padding: 15px 36px; border-radius: var(--r); font-size: 15px; font-weight: 600;
  background: transparent; color: var(--text); display: inline-block;
  border: 1px solid var(--border2); cursor: pointer;
  transition: border-color .15s, color .15s, transform .15s;
}

.btn-secondary:hover { 
  border-color: var(--cyan); 
  color: var(--bright); 
  transform: translateY(-1px); 
}

.stats-strip {
  display: flex; justify-content: center; flex-wrap: wrap;
  border: 1px solid var(--border); border-radius: 14px;
  overflow: hidden; max-width: 780px; width: 100%; position: relative;
  background: var(--surface);
}

.stat-item {
  flex: 1; min-width: 150px; padding: 24px 20px; text-align: center;
  border-right: 1px solid var(--border);
}

.stat-item:last-child { 
  border-right: none; 
}

.stat-val {
  font-size: 34px; font-weight: 800;
  background: linear-gradient(135deg, var(--cyan), var(--indigo));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

.stat-lbl { 
  font-size: 13px; 
  color: var(--muted); 
  margin-top: 4px; 
}

/* ==========================================================================
   5. Functional Services Infrastructure Grid
   ========================================================================== */
.services { 
  background: var(--surface); 
}

.services-grid {
  display: grid; 
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); 
  gap: 20px;
}

.service-card {
  background: var(--bg); 
  border: 1px solid var(--border);
  border-radius: 14px; 
  padding: 32px 28px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}

.service-card:hover {
  border-color: rgba(0,188,227,.4); 
  transform: translateY(-3px);
  box-shadow: 0 8px 40px rgba(0,188,227,.08);
}

.service-icon {
  width: 44px; height: 44px; border-radius: 12px; margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center; font-size: 20px;
  background: rgba(0,188,227,.1); border: 1px solid rgba(0,188,227,.2);
}

.service-card h3 { 
  font-size: 17px; 
  font-weight: 700; 
  color: var(--bright); 
  margin-bottom: 10px; 
}

.service-card p { 
  font-size: 14px; 
  color: var(--muted); 
  line-height: 1.7; 
}

/* ==========================================================================
   6. Why Us Metrics Grid
   ========================================================================== */
.why-grid { 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 64px; 
  align-items: center; 
}

@media(max-width: 768px) { 
  .why-grid { grid-template-columns: 1fr; } 
}

.why-points { 
  display: flex; 
  flex-direction: column; 
  gap: 28px; 
}

.why-point { 
  display: flex; 
  gap: 18px; 
}

.wp-icon {
  width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 16px;
  background: rgba(102,126,234,.12); border: 1px solid rgba(102,126,234,.25);
}

.wp-body h4 { 
  font-size: 15px; 
  font-weight: 700; 
  color: var(--bright); 
  margin-bottom: 5px; 
}

.wp-body p { 
  font-size: 14px; 
  color: var(--muted); 
  line-height: 1.65; 
}

.why-visual {
  background: var(--surface); 
  border: 1px solid var(--border);
  border-radius: 16px; 
  padding: 36px 32px;
}

.comparison-row {
  display: flex; 
  align-items: center; 
  gap: 12px;
  padding: 13px 0; 
  border-bottom: 1px solid var(--border);
}

.comparison-row:last-child { 
  border-bottom: none; 
}

.comp-label { 
  font-size: 12px; 
  color: var(--muted); 
  width: 130px; 
  flex-shrink: 0; 
}

.comp-before {
  font-size: 12px; 
  color: #f85149;
  background: rgba(248,81,73,.08); 
  padding: 3px 9px; 
  border-radius: 6px;
  flex: 1; 
  text-align: center;
}

.comp-arrow { 
  color: var(--muted); 
  font-size: 14px; 
}

.comp-after {
  font-size: 12px; 
  color: var(--success); 
  font-weight: 600;
  background: rgba(63,185,80,.1); 
  padding: 3px 9px; 
  border-radius: 6px;
  flex: 1; 
  text-align: center;
}

/* ==========================================================================
   7. Rainbo.AI Engine Spotlight
   ========================================================================== */
.rainbo-section { 
  background: var(--surface); 
  position: relative; 
  overflow: hidden; 
}

.rainbo-section::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 70% at 90% 50%, rgba(102,126,234,.1) 0%, transparent 65%);
}

.rainbo-inner { 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 64px; 
  align-items: flex-start; 
}

@media(max-width: 992px) {
  .rainbo-inner { 
    grid-template-columns: 1fr; 
    gap: 40px; 
  }
}

.rainbo-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 14px; border-radius: 16px; font-size: 12px; font-weight: 700;
  background: rgba(167,139,250,.12); border: 1px solid rgba(167,139,250,.3);
  color: var(--purple); margin-bottom: 20px; letter-spacing: .5px;
}

.rainbo-features { 
  display: flex; 
  flex-direction: column; 
  gap: 14px; 
  margin-top: 36px; 
}

.rainbo-feat {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 16px 20px; background: var(--surface2); border: 1px solid var(--border);
  border-radius: 10px; transition: border-color .2s;
}

.rainbo-feat:hover { 
  border-color: rgba(167,139,250,.35); 
}

.feat-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  flex-shrink: 0; margin-top: 6px;
}

.rainbo-feat strong { 
  font-size: 13px; 
  color: var(--bright); 
  display: block; 
  margin-bottom: 2px; 
}

.rainbo-feat span { 
  font-size: 13px; 
  color: var(--muted); 
  line-height: 1.6; 
}

.rainbo-visual { 
  position: relative; 
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
}

@media(min-width: 1024px) {
  .rainbo-visual {
    align-items: stretch; 
    max-width: 440px;
    margin-left: auto;    
  }
  .report-chip {
    position: relative;   
    top: 0;
    right: 0;
    margin-top: 24px;
    z-index: 10;
  }
}    

.code-window {
  background: var(--bg); 
  border: 1px solid var(--border);
  border-radius: 12px; 
  overflow: hidden; 
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
  width: 100%;             
  max-width: 440px;        
  box-sizing: border-box;
}

.code-titlebar {
  display: flex; align-items: center; gap: 7px;
  padding: 12px 16px; background: var(--surface2); border-bottom: 1px solid var(--border);
}

.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot-r { background: #f85149; } .dot-y { background: #d29922; } .dot-g { background: #3fb950; }
.code-title { font-size: 12px; color: var(--muted); margin-left: 8px; font-family: monospace; }

.code-body {
  padding: 24px;
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
  font-size: 13px; 
  line-height: 1.8;
  white-space: pre-wrap;   
  word-break: break-word;
  text-align: left;
}

.c-kw { color: #ff7b72; } .c-cls { color: #ffa657; } .c-fn { color: #79c0ff; }
.c-str { color: #a5d6ff; } .c-cmt { color: #8b949e; font-style: italic; }
.c-attr { color: #d2a8ff; }

.report-chip {
  background: var(--surface); 
  border: 1px solid var(--border);
  border-radius: 12px; 
  padding: 18px 20px; 
  box-shadow: 0 20px 40px rgba(0,0,0,.4);
  width: 100%;             
  max-width: 440px;        
  margin-top: 24px; 
  position: relative; 
  box-sizing: border-box;
  text-align: center;
}

.chip-header { font-size: 11px; color: var(--muted); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 10px; }
.chip-score { font-size: 30px; font-weight: 800; color: var(--success); }
.chip-label { font-size: 12px; color: var(--muted); }
.chip-bar { height: 5px; background: var(--border); border-radius: 3px; margin-top: 10px; overflow: hidden; }
.chip-fill { height: 100%; width: 94%; background: linear-gradient(90deg, var(--success), #56d364); border-radius: 3px; }
.chip-ai {
  margin-top: 12px; font-size: 12px; color: var(--muted); line-height: 1.65;
  border-top: 1px solid var(--border); padding-top: 10px;
}
.chip-ai strong { color: var(--purple); font-size: 11px; text-transform: uppercase; letter-spacing: .5px; }

/* ==========================================================================
   8. Process Steps Flow
   ========================================================================== */
.process-section { 
  background: var(--bg); 
  padding: 100px 24px; 
  border-top: 1px solid var(--border); 
}    

.process-steps {
  display: grid; 
  grid-template-columns: repeat(2, 1fr); 
  gap: 24px;
}

@media(max-width: 768px) {
  .process-steps {
    grid-template-columns: 1fr;
  }
}

.process-step {
  background: var(--surface); 
  border: 1px solid var(--border);
  border-radius: 14px; 
  padding: 32px 28px;
  transition: border-color .2s;
}

.process-step:hover {
  border-color: rgba(0,188,227,.3);
}

.step-num {
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  color: var(--cyan); text-transform: uppercase; margin-bottom: 16px;
}

.process-step h3 { font-size: 16px; font-weight: 700; color: var(--bright); margin-bottom: 8px; }
.process-step p { font-size: 13px; color: var(--muted); line-height: 1.7; }

/* ==========================================================================
   9. Frequently Asked Questions
   ========================================================================== */
.faq-section { 
  background: var(--bg); 
  border-top: 1px solid var(--border); 
}

.faq-grid { 
  display: grid; 
  grid-template-columns: 1fr; 
  gap: 24px; 
  margin-top: 40px; 
}

.faq-item { 
  background: var(--surface); 
  border: 1px solid var(--border); 
  border-radius: var(--r); 
  padding: 24px; 
}

.faq-item h3 { font-size: 16px; font-weight: 700; color: var(--bright); margin-bottom: 10px; }
.faq-item p { font-size: 14px; color: var(--muted); line-height: 1.65; }

/* ==========================================================================
   10. Conversions Intake Layout
   ========================================================================== */
.contact-section { 
  background: var(--surface2); 
  width: 100%; 
  padding: 100px 24px;
  border-top: 1px solid var(--border);
} 

.contact-inner { 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 80px; 
  align-items: start; 
}

@media(max-width: 768px) { 
  .contact-inner { grid-template-columns: 1fr; gap: 48px; } 
}

.contact-info p { font-size: 16px; color: var(--muted); line-height: 1.75; margin-bottom: 32px; }
.contact-perks { display: flex; flex-direction: column; gap: 14px; }
.contact-perk { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }

.perk-check {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
  background: rgba(63,185,80,.12); border: 1px solid rgba(63,185,80,.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--success); font-size: 12px;
}

.contact-form {
  background: var(--surface); 
  border: 1px solid var(--border);
  border-radius: 16px; 
  padding: 36px 32px;
}

.form-group { 
  margin-bottom: 20px; 
}

.form-group label {
  display: block; 
  font-size: 13px; 
  font-weight: 600;
  color: var(--text); 
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 11px 14px; border-radius: var(--r);
  background: var(--surface2); border: 1px solid var(--border2);
  color: var(--bright); font-size: 14px; outline: none; font-family: inherit;
  transition: border-color .15s, box-shadow .15s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--cyan); 
  box-shadow: 0 0 0 3px rgba(0,188,227,.12);
}

.form-group textarea { 
  resize: vertical; 
  min-height: 110px; 
}

.form-group select option { 
  background: var(--surface2); 
}

.form-submit {
  width: 100%; padding: 14px; border-radius: var(--r); font-size: 15px; font-weight: 700;
  color: #fff; border: none; cursor: pointer;
  background: linear-gradient(135deg, var(--cyan), var(--indigo));
  box-shadow: 0 0 30px rgba(0,188,227,.2);
  transition: transform .15s, box-shadow .15s;
}

.form-submit:hover { 
  transform: translateY(-2px); 
  box-shadow: 0 0 50px rgba(0,188,227,.35); 
}

/* ==========================================================================
   11. Floating Widgets & Document Footer
   ========================================================================== */
#whatsapp-widget {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  transition: transform .2s, box-shadow .2s;
}

#whatsapp-widget:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37,211,102,.6);
}

footer {
  background: transparent;
  width: 100%; 
  padding: 60px 24px 40px 24px; 
  border-top: none; 
  box-sizing: border-box;
}

.footer-logo { 
  font-size: 16px; 
  font-weight: 800; 
  color: var(--bright); 
  display: flex;
  align-items: center;
}

.footer-links { 
  display: flex; 
  gap: 32px; 
  font-size: 13px; 
  color: var(--muted); 
}

.footer-links a { 
  transition: color .2s; 
}

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

.footer-copy { 
  font-size: 13px; 
  color: var(--muted); 
  width: 100%; 
  text-align: center; 
  margin-top: 40px; 
  border-top: none; 
  padding-top: 0;
}

@media(max-width: 768px) {
  footer { 
    flex-direction: column; 
    text-align: center; 
    padding: 40px 20px; 
    gap: 20px;
  }
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 20px; }
}