/* ===================================================================
   ANVAYO - COMING SOON / PRE-LAUNCH PAGE STYLESHEET
   Pure CSS/HTML Responsive 3D MacBook & Smart School Cockpit
   Zero External Images Needed for Dashboard & Visual
   =================================================================== */

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

:root {
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Outfit', sans-serif;
  --font-handwriting: 'Caveat', cursive, sans-serif;

  --color-primary-dark: #2A084E;
  --color-primary-purple: #4A2082;
  --color-primary-violet: #6D28D9;
  --color-primary-bright: #7C3AED;
  --color-accent-purple: #8B5CF6;
  --color-accent-lilac: #A855F7;

  --color-heading: #1E1035;
  --color-body: #4B5563;
  --color-muted: #6B7280;

  --bg-page: #FAF7FD;
  --bg-card: #FFFFFF;

  /* Feature Badge Colors */
  --badge-student-bg: #EDE9FE;
  --badge-student-icon: #7C3AED;

  --badge-exam-bg: #FFEDD5;
  --badge-exam-icon: #EA580C;

  --badge-attendance-bg: #DCFCE7;
  --badge-attendance-icon: #16A34A;

  --badge-teacher-bg: #E0F2FE;
  --badge-teacher-icon: #0284C7;

  --badge-fees-bg: #EEF2FF;
  --badge-fees-icon: #6366F1;

  --badge-comm-bg: #FFE4E6;
  --badge-comm-icon: #E11D48;
}

/* -------------------------------------------------------------
   RESET & BASE
   ------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: var(--font-main);
  background-color: var(--bg-page);
  color: var(--color-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Ambient Radial Glow Background */
.page-wrapper {
  position: relative;
  min-height: 100vh;
  background: 
    radial-gradient(circle at 85% 25%, rgba(224, 207, 251, 0.45) 0%, rgba(243, 237, 251, 0.25) 35%, rgba(250, 247, 253, 0) 70%),
    radial-gradient(circle at 10% 85%, rgba(237, 233, 254, 0.4) 0%, rgba(250, 247, 253, 0) 60%),
    #FAF7FD;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Ambient Floating Decorative Glow Orbs */
.ambient-glow-orb {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
}
.ambient-orb-1 {
  width: 480px;
  height: 480px;
  top: -80px;
  right: -60px;
  background: rgba(168, 85, 247, 0.16);
  animation: pulseGlow 10s ease-in-out infinite alternate;
}
.ambient-orb-2 {
  width: 360px;
  height: 360px;
  bottom: 40px;
  left: -80px;
  background: rgba(124, 58, 237, 0.1);
  animation: pulseGlow 12s ease-in-out infinite alternate-reverse;
}

@keyframes pulseGlow {
  0% { transform: scale(1) translate(0, 0); opacity: 0.8; }
  100% { transform: scale(1.15) translate(20px, 30px); opacity: 1; }
}

/* -------------------------------------------------------------
   NAVIGATION BAR
   ------------------------------------------------------------- */
.cs-navbar {
  position: relative;
  z-index: 50;
  padding: 1.15rem 2rem;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 215, 245, 0.6);
}

.cs-nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cs-brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}

.cs-logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.cs-brand-badge {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary-purple);
  background: rgba(109, 40, 217, 0.08);
  border: 1px solid rgba(109, 40, 217, 0.2);
  padding: 3px 8px;
  border-radius: 6px;
}

.cs-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #FFFFFF;
  border: 1px solid rgba(139, 92, 246, 0.25);
  border-radius: 9999px;
  padding: 6px 16px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--color-heading);
  box-shadow: 0 2px 10px rgba(109, 40, 217, 0.05);
}

.status-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10B981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.cs-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.btn-nav-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 8px 18px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-primary-purple);
  background: #FFFFFF;
  border: 1.5px solid rgba(74, 32, 130, 0.2);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-nav-outline:hover {
  background: rgba(74, 32, 130, 0.05);
  border-color: var(--color-primary-purple);
  color: var(--color-primary-purple);
  transform: translateY(-1px);
}

.btn-nav-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 8px 20px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #FFFFFF;
  background: linear-gradient(135deg, var(--color-primary-purple) 0%, var(--color-primary-dark) 100%);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(74, 32, 130, 0.25);
  transition: all 0.25s ease;
}

.btn-nav-primary:hover {
  transform: translateY(-1.5px);
  box-shadow: 0 6px 18px rgba(74, 32, 130, 0.35);
  color: #FFFFFF;
}

/* -------------------------------------------------------------
   HERO / MAIN CONTENT SECTION
   ------------------------------------------------------------- */
.cs-hero-section {
  position: relative;
  z-index: 10;
  padding: 2.25rem 2rem 3rem;
  flex: 1;
  display: flex;
  align-items: center;
}

.cs-hero-container {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.cs-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: center;
  gap: 3rem;
}

/* LEFT COLUMN CONTENT */
.cs-left-content {
  position: relative;
  z-index: 10;
}

.cs-version-badge-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: #FFFFFF;
  border: 1px solid rgba(139, 92, 246, 0.3);
  box-shadow: 0 2px 12px rgba(109, 40, 217, 0.06);
  border-radius: 9999px;
  padding: 4px 16px 4px 5px;
  margin-bottom: 1.4rem;
}

.cs-pill-dark {
  background: var(--color-primary-dark);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 4px 11px;
  border-radius: 9999px;
  text-transform: uppercase;
}

.cs-pill-text {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--color-heading);
}

.cs-main-heading {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4.2vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--color-heading);
  margin-bottom: 1.15rem;
  letter-spacing: -0.03em;
  position: relative;
}

.heading-line {
  display: block;
  position: relative;
}

.heading-line-1 {
  display: inline-block;
  position: relative;
}

.spark-top-right {
  position: absolute;
  top: -12px;
  right: -34px;
  display: inline-block;
}

.spark-left {
  position: absolute;
  left: -28px;
  top: 14px;
  display: inline-block;
}

.cs-gradient-text {
  background: linear-gradient(135deg, #7C3AED 0%, #A855F7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  position: relative;
}

.cs-subtitle {
  font-size: clamp(1.05rem, 1.2vw, 1.2rem);
  font-weight: 500;
  line-height: 1.6;
  color: var(--color-body);
  margin-bottom: 1.85rem;
  max-width: 520px;
}

/* 6 Core Feature Grid (2 Columns x 3 Rows) */
.cs-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  row-gap: 1.25rem;
  column-gap: 1.5rem;
  margin-bottom: 2.2rem;
}

.cs-feature-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  transition: transform 0.2s ease;
}

.cs-feature-item:hover {
  transform: translateX(4px);
}

.cs-feat-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cs-feature-item:hover .cs-feat-icon-badge {
  transform: scale(1.08);
}

.badge-student { background: var(--badge-student-bg); color: var(--badge-student-icon); }
.badge-exam { background: var(--badge-exam-bg); color: var(--badge-exam-icon); }
.badge-attendance { background: var(--badge-attendance-bg); color: var(--badge-attendance-icon); }
.badge-teacher { background: var(--badge-teacher-bg); color: var(--badge-teacher-icon); }
.badge-fees { background: var(--badge-fees-bg); color: var(--badge-fees-icon); }
.badge-comm { background: var(--badge-comm-bg); color: var(--badge-comm-icon); }

.cs-feat-text {
  font-size: 1.02rem;
  font-weight: 700;
  color: #1F2937;
  line-height: 1.3;
}

/* BIG CTA BUTTON */
.cs-cta-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 1.75rem;
}

.cs-btn-book-demo {
  display: inline-flex;
  align-items: center;
  gap: 1.1rem;
  padding: 16px 28px;
  background: linear-gradient(135deg, var(--color-primary-purple) 0%, var(--color-primary-dark) 100%);
  color: #FFFFFF;
  border: none;
  border-radius: 20px;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 16px 36px -6px rgba(74, 32, 130, 0.45);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.cs-btn-book-demo::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: left 0.75s ease;
}

.cs-btn-book-demo:hover::before {
  left: 100%;
}

.cs-btn-book-demo:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 20px 42px -4px rgba(74, 32, 130, 0.55);
  color: #FFFFFF;
}

.cs-btn-book-demo:active {
  transform: translateY(-1px) scale(0.99);
}

.cs-btn-icon-cal {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.cs-btn-arrow-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #FFFFFF;
  color: var(--color-primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: transform 0.25s ease;
}

.cs-btn-book-demo:hover .cs-btn-arrow-circle {
  transform: translateX(3px);
}

/* HAND-DRAWN DOODLES: Curved Arrow & "See it in action!" */
.cs-doodle-container {
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-10%);
  width: 290px;
  pointer-events: none;
  display: flex;
  align-items: center;
}

.doodle-arrow-svg {
  width: 110px;
  height: auto;
  overflow: visible;
}

.doodle-text-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-left: -12px;
  margin-top: 22px;
}

.doodle-handwriting {
  font-family: var(--font-handwriting);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-primary-purple);
  white-space: nowrap;
  transform: rotate(-3deg);
  text-shadow: 0 1px 2px rgba(74, 32, 130, 0.1);
}

.doodle-paper-plane {
  width: 32px;
  height: 32px;
  transform: rotate(5deg);
  animation: planeFloat 4s ease-in-out infinite alternate;
}

@keyframes planeFloat {
  0% { transform: translateY(0) rotate(5deg); }
  100% { transform: translateY(-6px) rotate(9deg); }
}

/* BOTTOM TRUST STRIP */
.cs-trust-strip {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1.5px dashed rgba(139, 92, 246, 0.25);
  max-width: 580px;
}

.cs-trust-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.98rem;
  font-weight: 700;
  color: #1F2937;
}

.cs-trust-icon {
  font-size: 1.15rem;
  color: var(--color-primary-bright);
}

/* -------------------------------------------------------------
   RIGHT COLUMN: PURE HTML/CSS 3D MACBOOK & SMART SCHOOL COCKPIT
   ------------------------------------------------------------- */
.cs-right-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1400px;
}

.macbook-3d-scene {
  position: relative;
  width: 100%;
  max-width: 650px;
  transform-style: preserve-3d;
  transform: rotateY(-11deg) rotateX(6deg) rotateZ(0.5deg);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  animation: floatCockpit 8s ease-in-out infinite;
}

.macbook-3d-scene:hover {
  transform: rotateY(-5deg) rotateX(2deg) rotateZ(0deg) scale(1.02);
}

@keyframes floatCockpit {
  0%   { transform: rotateY(-11deg) rotateX(6deg) rotateZ(0.5deg) translateY(0px); }
  50%  { transform: rotateY(-11deg) rotateX(6deg) rotateZ(0.5deg) translateY(-10px); }
  100% { transform: rotateY(-11deg) rotateX(6deg) rotateZ(0.5deg) translateY(0px); }
}

/* MacBook Display Lid (Top Frame) */
.macbook-lid {
  background: linear-gradient(135deg, #E2E8F0 0%, #CBD5E1 100%);
  padding: 10px 10px 14px 10px;
  border-radius: 18px 18px 4px 4px;
  box-shadow: 
    0 30px 60px -12px rgba(42, 8, 78, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.8) inset,
    0 1px 3px rgba(0, 0, 0, 0.1);
  position: relative;
}

/* MacBook Dark Screen Bezel */
.macbook-bezel {
  background: #0B0E14;
  border-radius: 12px;
  padding: 8px 8px 12px 8px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6) inset;
  position: relative;
}

/* Webcam Dot */
.macbook-camera {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #1E293B;
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin: 0 auto 6px;
}

/* Screen Glass Display */
.macbook-screen {
  background: #FAFBFD;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.15) inset;
}

/* LIVE SMART SCHOOL DASHBOARD CONTAINER */
.dash-window {
  display: grid;
  grid-template-columns: 130px 1fr;
  min-height: 380px;
  background: #FAFBFD;
}

/* 1. Left Dark Purple Sidebar */
.dash-sidebar {
  background: #231238;
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dash-brand {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 4px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dash-brand-icon {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  background: linear-gradient(135deg, #7C3AED, #A855F7);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
}

.dash-brand-name {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.01em;
}

.dash-nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.dash-nav-item {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px 8px;
  border-radius: 6px;
  font-size: 0.64rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: all 0.15s ease;
}

.dash-nav-item i {
  font-size: 0.7rem;
  width: 14px;
  text-align: center;
}

.dash-nav-item.active {
  background: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.dash-nav-item:hover:not(.active) {
  background: rgba(255, 255, 255, 0.06);
  color: #FFFFFF;
}

/* 2. Main Dashboard Area */
.dash-main {
  padding: 10px 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #F8FAFC;
}

/* Topbar */
.dash-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 4px;
}

.dash-dots {
  display: flex;
  align-items: center;
  gap: 4px;
}

.dash-dots .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.dot-red { background: #EF4444; }
.dot-yellow { background: #F59E0B; }
.dot-green { background: #10B981; }

.dash-search {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 20px;
  padding: 3px 10px;
  font-size: 0.62rem;
  color: #94A3B8;
  flex: 1;
  max-width: 220px;
}

.dash-user {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dash-portal-badge {
  background: #ECFDF5;
  color: #059669;
  border: 1px solid #A7F3D0;
  font-size: 0.58rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 9999px;
}

.dash-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7C3AED, #A855F7);
  color: #FFFFFF;
  font-size: 0.58rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 4 Top KPI Cards Grid */
.dash-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
}

.dash-kpi-card {
  background: #FFFFFF;
  border: 1px solid #F1F5F9;
  border-radius: 8px;
  padding: 6px 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.kpi-icon {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  flex-shrink: 0;
}

.kpi-purple { background: #EDE9FE; color: #7C3AED; }
.kpi-violet { background: #F3E8FF; color: #9333EA; }
.kpi-green  { background: #DCFCE7; color: #16A34A; }
.kpi-indigo { background: #EEF2FF; color: #4F46E5; }

.kpi-data {
  display: flex;
  flex-direction: column;
}

.kpi-val {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.1;
}

.kpi-lbl {
  font-size: 0.55rem;
  font-weight: 600;
  color: #64748B;
}

/* Lower 2 Panels */
.dash-panels-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 8px;
  flex: 1;
}

.dash-panel {
  background: #FFFFFF;
  border: 1px solid #F1F5F9;
  border-radius: 8px;
  padding: 8px 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.dash-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.dash-panel-title {
  font-size: 0.65rem;
  font-weight: 700;
  color: #1E293B;
  display: flex;
  align-items: center;
}

.badge-weekly {
  background: #DCFCE7;
  color: #15803D;
  font-size: 0.55rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 9999px;
}

.badge-term {
  background: #EDE9FE;
  color: #6D28D9;
  font-size: 0.55rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 9999px;
}

/* Chart Canvas & Days */
.dash-chart-wrap {
  position: relative;
  width: 100%;
}

.dash-chart-svg {
  width: 100%;
  height: 52px;
  display: block;
}

.chart-days-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.52rem;
  font-weight: 600;
  color: #94A3B8;
  padding-top: 3px;
}

.dash-chart-legend {
  display: flex;
  justify-content: space-between;
  font-size: 0.54rem;
  font-weight: 600;
  color: #64748B;
  border-top: 1px solid #F1F5F9;
  padding-top: 4px;
  margin-top: 4px;
}

.dot-ind {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  margin-right: 3px;
  vertical-align: middle;
}
.dot-blue  { background: #3B82F6; }
.dot-red   { background: #EF4444; }
.dot-amber { background: #F59E0B; }

/* Exam items list */
.exam-items-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.exam-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 6px;
  background: #F8FAFC;
  border-radius: 5px;
  font-size: 0.6rem;
}

.exam-item strong {
  color: #1E293B;
  font-size: 0.62rem;
}

.exam-item small {
  color: #64748B;
  font-size: 0.52rem;
}

.badge-tomorrow {
  background: #DBEAFE;
  color: #1D4ED8;
  font-size: 0.54rem;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 4px;
}

.badge-oct3 {
  background: #F1F5F9;
  color: #475569;
  font-size: 0.54rem;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 4px;
}

.dash-gps-alert {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 6px;
  background: #FFFBEB;
  border: 1px solid #FEF3C7;
  border-radius: 5px;
  font-size: 0.54rem;
  color: #92400E;
  font-weight: 600;
  margin-top: 5px;
}

/* MacBook Base (Lower Keyboard Half Deck) */
.macbook-base {
  height: 14px;
  background: linear-gradient(180deg, #CBD5E1 0%, #94A3B8 100%);
  border-radius: 0 0 16px 16px;
  box-shadow: 
    0 12px 24px -2px rgba(42, 8, 78, 0.4),
    0 2px 4px rgba(0, 0, 0, 0.15);
  position: relative;
  width: 104%;
  left: -2%;
  margin-top: -2px;
}

.macbook-notch {
  width: 80px;
  height: 4px;
  background: #64748B;
  border-radius: 0 0 4px 4px;
  margin: 0 auto;
}

/* Floating Interactive Hotspots / Live Preview Pill */
.laptop-inspect-pill {
  position: absolute;
  top: -14px;
  right: 18px;
  background: #FFFFFF;
  border: 1px solid rgba(139, 92, 246, 0.35);
  padding: 7px 16px;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-primary-purple);
  box-shadow: 0 8px 24px rgba(74, 32, 130, 0.18);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.25s ease;
  z-index: 30;
}

.laptop-inspect-pill:hover {
  background: var(--color-primary-purple);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(74, 32, 130, 0.28);
}
.laptop-inspect-pill:hover i {
  color: #FFFFFF !important;
}

/* -------------------------------------------------------------
   COUNTDOWN TIMER BAR
   ------------------------------------------------------------- */
.cs-countdown-strip {
  background: #FFFFFF;
  border-top: 1px solid rgba(226, 215, 245, 0.7);
  padding: 1.15rem 2rem;
  position: relative;
  z-index: 40;
}

.cs-countdown-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.cs-countdown-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cs-cd-tag {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(109, 40, 217, 0.09);
  color: var(--color-primary-purple);
}

.cs-cd-title {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--color-heading);
}

.cs-cd-units-grid {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cs-cd-box {
  background: var(--bg-page);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 10px;
  padding: 6px 14px;
  text-align: center;
  min-width: 60px;
}

.cs-cd-num {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-primary-purple);
  line-height: 1.1;
  display: block;
}

.cs-cd-text {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cs-cd-divider {
  font-size: 1.25rem;
  font-weight: 700;
  color: rgba(139, 92, 246, 0.5);
}

/* -------------------------------------------------------------
   BOOKING / DEMO MODAL POPUP
   ------------------------------------------------------------- */
.cs-modal-dialog {
  max-width: 580px;
}

.cs-modal-content {
  border: none;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 60px -10px rgba(42, 8, 78, 0.35);
  background: #FFFFFF;
}

.cs-modal-header {
  position: relative;
  padding: 2.25rem 2rem 1.75rem;
  background: linear-gradient(135deg, var(--color-primary-purple) 0%, var(--color-primary-dark) 100%);
  color: #FFFFFF;
}

.cs-modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 1rem;
}

.cs-modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: rotate(90deg);
}

.cs-modal-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.2);
  color: #DDD6FE;
  margin-bottom: 0.75rem;
}

.cs-modal-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
  color: #FFFFFF;
}

.cs-modal-subtitle {
  font-size: 0.92rem;
  color: #DDD6FE;
  margin-bottom: 0;
  line-height: 1.5;
}

.cs-modal-body {
  padding: 2rem;
  background: #FFFFFF;
}

.cs-form-group {
  margin-bottom: 1.25rem;
}

.cs-form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 0.4rem;
}

.cs-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.cs-input-icon {
  position: absolute;
  left: 14px;
  font-size: 1rem;
  color: #9CA3AF;
  pointer-events: none;
}

.cs-form-control {
  width: 100%;
  padding: 12px 14px 12px 42px;
  font-size: 0.95rem;
  font-family: var(--font-main);
  border: 1.5px solid #E5E7EB;
  border-radius: 12px;
  background: #F9FAFB;
  color: #111827;
  transition: all 0.2s ease;
}

.cs-form-control:focus {
  outline: none;
  border-color: var(--color-primary-bright);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.15);
}

.cs-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.cs-modal-submit-btn {
  width: 100%;
  padding: 14px 20px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(135deg, var(--color-primary-purple) 0%, var(--color-primary-dark) 100%);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(74, 32, 130, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: all 0.25s ease;
  margin-top: 1rem;
}

.cs-modal-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(74, 32, 130, 0.45);
}

.cs-modal-note {
  font-size: 0.78rem;
  color: var(--color-muted);
  text-align: center;
  margin-top: 1rem;
  margin-bottom: 0;
}

/* Success State in Modal */
.cs-success-overlay {
  display: none;
  padding: 2.5rem 1.5rem;
  text-align: center;
}

.cs-success-overlay.visible {
  display: block;
}

.cs-success-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.12);
  color: #10B981;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
  margin-bottom: 1.25rem;
}

.cs-success-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-heading);
  margin-bottom: 0.5rem;
}

.cs-success-text {
  font-size: 0.95rem;
  color: var(--color-body);
  max-width: 400px;
  margin: 0 auto 1.5rem;
  line-height: 1.5;
}

/* -------------------------------------------------------------
   TOAST NOTIFICATION
   ------------------------------------------------------------- */
.cs-toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--color-primary-dark);
  color: #FFFFFF;
  padding: 14px 24px;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cs-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  visibility: visible;
}

.cs-toast-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #10B981;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

/* -------------------------------------------------------------
   RESPONSIVE MEDIA QUERIES (100% FLUID & ULTRA ATTRACTIVE)
   ------------------------------------------------------------- */
@media (max-width: 1260px) {
  .cs-doodle-container {
    display: none;
  }
}

@media (max-width: 992px) {
  .cs-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .cs-left-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .cs-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .cs-features-grid {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
  }

  .cs-trust-strip {
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }

  /* Flatten 3D perspective into clean direct view on tablet/mobile */
  .macbook-3d-scene {
    transform: none !important;
    animation: none;
    max-width: 580px;
  }

  .macbook-3d-scene:hover {
    transform: none !important;
  }

  .laptop-inspect-pill {
    top: -12px;
    right: 12px;
  }
}

@media (max-width: 640px) {
  .cs-navbar {
    padding: 0.9rem 1.25rem;
  }

  .cs-status-pill {
    display: none;
  }

  .cs-hero-section {
    padding: 1.75rem 1rem;
  }

  .cs-features-grid {
    grid-template-columns: 1fr;
    gap: 0.95rem;
    max-width: 320px;
  }

  .cs-btn-book-demo {
    width: 100%;
    justify-content: center;
    font-size: 1.12rem;
    padding: 14px 20px;
  }

  .cs-trust-strip {
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
  }

  .cs-countdown-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .cs-form-row {
    grid-template-columns: 1fr;
  }

  /* Micro adjustments for laptop screen on mobile phones */
  .dash-window {
    grid-template-columns: 95px 1fr;
  }

  .dash-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dash-panels-grid {
    grid-template-columns: 1fr;
  }
}
