/* Google Fonts: Outfit (Display) & Plus Jakarta Sans (Body & UI) */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  /* Color Palette */
  --bg-light-blue: #E9F1FA;
  --brand-blue: #00ABE4;
  --white: #FFFFFF;
  --charcoal: #0F172A;
  --slate-muted: #64748B;
  --slate-border: rgba(15, 23, 42, 0.08);
  --blue-border: rgba(0, 171, 228, 0.15);
  
  /* Layout & Corners */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  
  /* Animation */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Resets */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--charcoal);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
}

/* Typography rules */
h1, h2, h3, h4 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

p {
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1.65;
  color: var(--slate-muted);
}

.mono {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85em;
  letter-spacing: -0.01em;
}

/* Containers */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Global Buttons & Links */
a {
  text-decoration: none;
  color: inherit;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--charcoal);
  color: var(--white);
}

.btn-primary:hover {
  background-color: #1e293b;
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0) scale(0.98);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--charcoal);
  border: 1px solid var(--slate-border);
}

.btn-secondary:hover {
  background-color: var(--bg-light-blue);
  border-color: var(--brand-blue);
  transform: translateY(-1px);
}

.btn-secondary:active {
  transform: translateY(0) scale(0.98);
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 72px;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-border);
  display: flex;
  align-items: center;
  transition: var(--transition-fast);
}

header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: var(--charcoal);
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo span {
  color: var(--brand-blue);
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--slate-muted);
  transition: var(--transition-fast);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--brand-blue);
}

/* Sections padding */
section {
  padding: 110px 0;
  position: relative;
}

/* Hero Section */
.hero-section {
  padding-top: 160px;
  padding-bottom: 110px;
  background-color: var(--bg-light-blue);
  overflow: hidden;
}

.hero-wrapper {
  display: grid;
  grid-template-cols: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  max-width: 620px;
}

.hero-tag {
  display: inline-block;
  padding: 6px 12px;
  background-color: var(--white);
  border: 1px solid var(--blue-border);
  color: var(--brand-blue);
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 56px;
  margin-bottom: 20px;
  color: var(--charcoal);
  min-height: 120px; /* Prevent layout shift on rotation */
}

.hero-title .rotating-text {
  color: var(--brand-blue);
  display: inline-block;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.hero-subtitle {
  font-size: 22px;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 12px;
}

.hero-desc {
  font-size: 16px;
  margin-bottom: 36px;
  max-width: 50ch;
}

.hero-ctas {
  display: flex;
  gap: 16px;
}

/* Hero Graphic / Interactive Mockup Preview */
.hero-graphic {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-glow {
  position: absolute;
  width: 140%;
  height: 140%;
  background: radial-gradient(circle, rgba(0, 171, 228, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

/* Bento Box layouts */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.bento-card {
  background-color: var(--white);
  border: 1px solid var(--slate-border);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.bento-card:hover {
  border-color: var(--brand-blue);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 171, 228, 0.04);
}

.bento-col-2 {
  grid-column: span 2;
}

.bento-col-3 {
  grid-column: span 3;
}

.bento-card-category {
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--brand-blue);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  display: block;
}

.bento-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
  color: var(--charcoal);
}

.bento-card p {
  font-size: 15px;
  color: var(--slate-muted);
}

.bento-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background-color: var(--bg-light-blue);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

/* Features list */
.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 64px auto;
}

.section-header h2 {
  font-size: 38px;
  color: var(--charcoal);
  margin-bottom: 16px;
}

.section-header p {
  font-size: 16px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-item {
  background-color: var(--white);
  border-left: 3px solid var(--brand-blue);
  padding: 24px 32px;
  transition: var(--transition-smooth);
}

.feature-item:hover {
  background-color: var(--bg-light-blue);
}

.feature-item h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

/* Interactive Simulations Section */
.simulations-section {
  background-color: var(--bg-light-blue);
}

.sim-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background-color: var(--white);
  border: 1px solid var(--slate-border);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.01);
}

.sim-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-right: 24px;
}

.sim-intro h3 {
  font-size: 28px;
  margin-bottom: 16px;
}

.sim-intro p {
  margin-bottom: 24px;
}

/* Mockup interfaces */
.mockup-window {
  background: var(--white);
  border: 1px solid var(--slate-border);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 480px;
}

.mockup-header {
  background-color: #f8fafc;
  padding: 12px 20px;
  border-bottom: 1px solid var(--slate-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mockup-controls {
  display: flex;
  gap: 6px;
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #cbd5e1;
}

.mockup-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--slate-muted);
  font-family: 'JetBrains Mono', monospace;
}

.mockup-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  background-color: var(--white);
  overflow-y: auto;
}

/* Live Booking Public Widget Sim */
.service-selector {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.service-card-sim {
  border: 1px solid var(--slate-border);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.service-card-sim:hover {
  border-color: var(--brand-blue);
  background-color: var(--bg-light-blue);
}

.service-card-sim.selected {
  border-color: var(--brand-blue);
  background-color: rgba(0, 171, 228, 0.08);
}

.service-info-sim h4 {
  font-size: 14px;
  margin-bottom: 2px;
}

.service-info-sim p {
  font-size: 12px;
}

.service-price-sim {
  font-weight: 700;
  font-size: 14px;
  color: var(--charcoal);
}

.time-grid-sim {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 24px;
}

.time-pill-sim {
  border: 1px solid var(--slate-border);
  padding: 8px;
  text-align: center;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  background: transparent;
}

.time-pill-sim:hover {
  border-color: var(--brand-blue);
  background-color: var(--bg-light-blue);
}

.time-pill-sim.selected {
  background-color: var(--brand-blue);
  color: var(--white);
  border-color: var(--brand-blue);
}

/* Admin view panel */
.admin-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.admin-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background-color: #f8fafc;
  border: 1px solid var(--slate-border);
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
}

.admin-item.new-booking {
  animation: highlight-new 1.5s ease-out;
  border-color: var(--brand-blue);
  background-color: rgba(0, 171, 228, 0.04);
}

@keyframes highlight-new {
  0% { background-color: rgba(0, 171, 228, 0.3); }
  100% { background-color: rgba(0, 171, 228, 0.04); }
}

.admin-item-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.admin-item-name {
  font-size: 14px;
  font-weight: 700;
}

.admin-item-meta {
  font-size: 12px;
  color: var(--slate-muted);
}

.status-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status-badge.ok {
  background-color: #edf3ec;
  color: #346538;
}

.status-badge.pending {
  background-color: #fbf3db;
  color: #956400;
}

/* WhatsApp helper simulated notification */
.whatsapp-sim {
  position: absolute;
  bottom: 24px;
  right: 24px;
  width: 320px;
  background-color: var(--white);
  border: 1px solid var(--slate-border);
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  border-radius: 16px;
  overflow: hidden;
  z-index: 10;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  transition: var(--transition-smooth);
}

.whatsapp-sim.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.wa-header {
  background-color: #075e54;
  color: var(--white);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.wa-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
}

.wa-title {
  font-size: 13px;
  font-weight: 600;
}

.wa-body {
  background-color: #ece5dd;
  padding: 16px;
  min-height: 100px;
}

.wa-bubble {
  background-color: var(--white);
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.4;
  max-width: 90%;
  position: relative;
}

.wa-bubble::after {
  content: '';
  position: absolute;
  left: -6px;
  top: 10px;
  border-width: 6px 6px 6px 0;
  border-style: solid;
  border-color: transparent var(--white) transparent transparent;
}

.wa-time {
  display: block;
  font-size: 9px;
  color: var(--slate-muted);
  text-align: right;
  margin-top: 4px;
}

/* Catalog / Services list styles */
.services-catalog {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.catalog-card {
  background-color: var(--white);
  border: 1px solid var(--slate-border);
  border-radius: var(--radius-md);
  padding: 40px;
  transition: var(--transition-smooth);
}

.catalog-card:hover {
  border-color: var(--brand-blue);
}

.catalog-tag-list {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.catalog-tag {
  background-color: var(--bg-light-blue);
  color: var(--brand-blue);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.catalog-card h3 {
  font-size: 24px;
  margin-bottom: 16px;
}

.catalog-card p {
  font-size: 15px;
  margin-bottom: 24px;
}

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

.benefit-bullet-list li {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--charcoal);
}

.benefit-bullet-list li::before {
  content: '✓';
  color: var(--brand-blue);
  font-weight: 700;
}

/* About Section */
.about-section {
  background-color: #f8fafc;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.about-principles {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 40px;
}

.principle-item h4 {
  font-size: 18px;
  margin-bottom: 8px;
}

/* Methodology Grid */
.methodology-container {
  margin-top: 80px;
}

.methodology-header {
  margin-bottom: 40px;
}

.methodology-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.method-card {
  background-color: var(--white);
  border: 1px solid var(--slate-border);
  padding: 32px;
  border-radius: var(--radius-md);
  position: relative;
}

.method-step {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--brand-blue);
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  display: block;
}

.method-card h4 {
  font-size: 18px;
  margin-bottom: 10px;
}

.method-card p {
  font-size: 14px;
}

/* Final CTA Section */
.final-cta-section {
  text-align: center;
  background-color: var(--bg-light-blue);
  padding: 100px 0;
}

.final-cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.final-cta-content h2 {
  font-size: 42px;
  margin-bottom: 16px;
}

.final-cta-content p {
  font-size: 18px;
  margin-bottom: 32px;
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

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

.channel-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.channel-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--bg-light-blue);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.channel-details h4 {
  font-size: 13px;
  color: var(--slate-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.channel-details p {
  font-size: 16px;
  font-weight: 600;
  color: var(--charcoal);
}

.contact-form-wrapper {
  background-color: var(--white);
  border: 1px solid var(--slate-border);
  padding: 48px;
  border-radius: var(--radius-md);
}

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

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

.form-control {
  width: 100%;
  padding: 12px 16px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  border: 1px solid var(--slate-border);
  border-radius: var(--radius-sm);
  background-color: #f8fafc;
  transition: var(--transition-fast);
  color: var(--charcoal);
}

.form-control:focus {
  outline: none;
  border-color: var(--brand-blue);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(0, 171, 228, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-success {
  display: none;
  background-color: #edf3ec;
  border: 1px solid rgba(52, 101, 56, 0.15);
  color: #346538;
  padding: 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 24px;
}

/* Footer styling */
footer {
  background-color: var(--charcoal);
  color: var(--white);
  padding: 80px 0 40px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 80px;
  margin-bottom: 60px;
}

.footer-logo {
  color: var(--white);
  margin-bottom: 16px;
}

.footer-desc {
  color: rgba(255, 255, 255, 0.6);
  max-width: 400px;
}

.footer-links {
  display: flex;
  gap: 48px;
  justify-content: flex-end;
}

.footer-link-group h4 {
  font-size: 14px;
  margin-bottom: 20px;
  color: var(--white);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-link-group ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link-group a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition-fast);
}

.footer-link-group a:hover {
  color: var(--brand-blue);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 40px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-policies {
  display: flex;
  gap: 24px;
}

.footer-policies a:hover {
  color: var(--brand-blue);
}

/* Animations & Intersection Observer styles */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive collapse rules */
@media (max-width: 1024px) {
  .hero-wrapper {
    grid-template-cols: 1fr;
    gap: 48px;
    text-align: center;
  }
  
  .hero-content {
    margin: 0 auto;
  }
  
  .hero-ctas {
    justify-content: center;
  }
  
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .sim-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .services-catalog {
    grid-template-columns: 1fr;
  }
  
  .about-grid {
    grid-template-cols: 1fr;
    gap: 48px;
  }
  
  .methodology-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  section {
    padding: 80px 0;
  }
  
  .hero-section {
    padding-top: 120px;
  }
  
  .hero-title {
    font-size: 38px;
    min-height: 90px;
  }
  
  .bento-grid {
    grid-template-columns: 1fr;
  }
  
  .bento-col-2, .bento-col-3 {
    grid-column: span 1;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .methodology-grid {
    grid-template-columns: 1fr;
  }
  
  .nav-links {
    display: none; /* simple hidden nav link for tablet/mobile to focus user on CTA */
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}
