/* ==========================================================================
   DAYPAGE LANDING PAGE - PREMIUM GLASSMORPHISM SYSTEM
   ========================================================================== */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* --- Design Tokens / CSS Variables --- */
:root {
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Colors - Nordic Frost Light Theme (Warm Watercolor Paper Upgrade) */
  --bg-primary: #faf8f5;
  --bg-gradient: radial-gradient(circle at 50% 0%, #fff2e6 0%, #faf8f5 65%, #f4eee8 100%);
  --accent-amber: #ea580c;
  --accent-indigo: #4f46e5;
  --accent-violet: #7c3aed;
  
  /* Glassmorphism tokens - Frosty Ice Blur */
  --glass-bg: rgba(255, 255, 255, 0.45);
  --glass-bg-hover: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(15, 23, 42, 0.06);
  --glass-border-hover: rgba(15, 23, 42, 0.12);
  --glass-shadow: 0 20px 40px rgba(15, 23, 42, 0.04);
  --glass-blur: blur(25px);

  /* Typography Colors */
  --text-main: #334155;
  --text-muted: #64748b;
  --text-dark: #0f172a;
  
  --max-width: 1200px;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Base Resets & Global Styles --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.55)), 
    url("paper_texture.png"), 
    var(--bg-gradient);
  background-blend-mode: normal, multiply;
  background-size: cover, auto, cover;
  background-attachment: scroll, scroll, scroll;
  background-repeat: no-repeat, repeat, no-repeat;
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  width: 100%;
}

/* Frosted Noise Overlay */
.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.015;
  z-index: 9999;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* --- Scroll Reveal Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

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

.reveal-stagger > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger > *:nth-child(3) { transition-delay: 0.25s; }
.reveal-stagger > *:nth-child(4) { transition-delay: 0.35s; }

/* Subtle background glowing orbs */
body::before {
  content: '';
  position: absolute;
  top: 15%;
  left: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

body::after {
  content: '';
  position: absolute;
  top: 55%;
  right: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.12) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  font-weight: 800;
  letter-spacing: -0.5px;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

/* --- Layout Utilities --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Navigation Bar --- */
.header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: var(--max-width);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  z-index: 1000;
  box-shadow: var(--glass-shadow);
  transition: var(--transition-smooth);
}

.header.scrolled {
  top: 10px;
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(15, 23, 42, 0.08);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.brand-logo {
  height: 38px;
  width: 38px;
  border-radius: 8px;
}

.brand-name {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 1px;
  background: linear-gradient(135deg, var(--text-dark) 40%, var(--text-main) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.nav-link:hover {
  color: #ffffff;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent-indigo) 0%, var(--accent-violet) 100%);
  color: #ffffff;
  padding: 10px 22px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
  border-color: rgba(255, 255, 255, 0.25);
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-main);
}

/* --- Hero Section --- */
.hero {
  padding-top: 180px;
  padding-bottom: 100px;
  position: relative;
}

.hero-single-column {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.hero-image-wrapper {
  margin-top: 50px;
  width: 100%;
  max-width: 900px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.01);
  padding: 10px;
}

.hero-image {
  width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
}

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
  color: var(--accent-amber);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero-title {
  font-size: 3.8rem;
  line-height: 1.15;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--text-dark) 30%, var(--accent-indigo) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  line-height: 1.65;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-indigo) 0%, var(--accent-violet) 100%);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(99, 102, 241, 0.55);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-secondary {
  background: rgba(15, 23, 42, 0.04);
  color: var(--text-dark);
  border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
  background: rgba(15, 23, 42, 0.08);
  border-color: rgba(15, 23, 42, 0.15);
  transform: translateY(-2px);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

/* --- Ambient Glowing Backdrop (Idea 5) --- */
.hero-glow-backdrop {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(249, 115, 22, 0.05) 50%, transparent 80%);
  filter: blur(80px);
  animation: pulseGlow 10s infinite alternate ease-in-out;
  z-index: 1;
  pointer-events: none;
}

@keyframes pulseGlow {
  0% { transform: translate(-50%, -50%) scale(0.9) rotate(0deg); opacity: 0.6; }
  100% { transform: translate(-50%, -50%) scale(1.1) rotate(15deg); opacity: 0.95; }
}

/* --- Hero Mockup Image Wrapper --- */
.hero-image-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 480px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--glass-shadow);
  border: 1.5px solid var(--glass-border);
  transition: var(--transition-smooth);
}

.hero-image-wrapper:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 60px rgba(99, 102, 241, 0.12);
  border-color: rgba(99, 102, 241, 0.2);
}

.hero-mockup-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* --- Features Grid --- */
.features {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 60px auto;
}

.section-subtitle {
  color: var(--accent-indigo);
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: 2.6rem;
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-description {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.feature-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: var(--transition-smooth);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--glass-border-hover);
  box-shadow: 0 15px 40px rgba(99, 102, 241, 0.1);
  background: var(--glass-bg-hover);
}

.feature-icon-container {
  height: 54px;
  width: 54px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--accent-indigo);
  font-size: 1.4rem;
}

.feature-card:nth-child(2) .feature-icon-container {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.25);
  color: var(--accent-amber);
}

.feature-card:nth-child(3) .feature-icon-container {
  background: rgba(168, 85, 247, 0.1);
  border-color: rgba(168, 85, 247, 0.25);
  color: var(--accent-violet);
}

.feature-card h3 {
  font-size: 1.35rem;
  margin-bottom: 14px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --- Kiosk Showcase --- */
.showcase {
  padding: 100px 0;
  background: rgba(255, 255, 255, 0.01);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  position: relative;
}

/* --- Showcase Section (Vertical Flow Layout) --- */
.showcase-vertical-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
  max-width: 1000px;
  margin: 0 auto;
}

.showcase-header {
  text-align: center;
  max-width: 800px;
}

.showcase-header h2 {
  font-size: 2.5rem;
  margin-top: 10px;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--text-main);
}

.showcase-intro {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.showcase-main-image-wrapper {
  width: 100%;
  max-width: 850px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.25);
  background: rgba(255, 255, 255, 0.01);
  padding: 12px;
}

.showcase-main-image {
  width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
}

.showcase-main-caption {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 12px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.showcase-main-caption i {
  color: var(--accent-amber);
  margin-right: 6px;
}

.showcase-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  width: 100%;
  margin-top: 20px;
}

.showcase-feature-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.showcase-feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.15);
}

.showcase-feature-icon {
  font-size: 1.5rem;
  color: var(--accent-amber);
  margin-bottom: 16px;
}

.showcase-feature-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-main);
}

.showcase-feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.showcase-interactive-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  margin-top: 30px;
}

.showcase-interactive-header {
  text-align: center;
  margin-bottom: 10px;
}

.showcase-interactive-header h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-main);
}

.showcase-interactive-header p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* --- Problem Section --- */
.problem-section {
  padding: 100px 0;
  background: rgba(255, 255, 255, 0.005);
  border-top: 1px solid var(--glass-border);
  position: relative;
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.problem-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  line-height: 1.25;
  color: var(--text-main);
}

.problem-description {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.problem-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.problem-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.problem-card:hover {
  transform: translateY(-2px);
  background-color: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.problem-card-icon {
  color: var(--accent-amber);
  font-size: 1.3rem;
  background: rgba(245, 158, 11, 0.1);
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.problem-card-text h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-main);
}

.problem-card-text p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.problem-footer {
  grid-column: span 2;
  text-align: center;
  margin-top: 40px;
  padding: 24px 30px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(15, 23, 42, 0.08);
  border-radius: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.problem-footer p {
  font-size: 1.1rem;
  color: var(--text-main);
  font-weight: 500;
  line-height: 1.6;
  margin: 0;
}



.kiosk-mockup-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.tablet-kiosk {
  width: 100%;
  max-width: 580px;
  background: #111827;
  border: 14px solid #1f2937;
  border-radius: 36px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.tablet-screen {
  flex: 1;
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  font-family: var(--font-body);
  background: var(--theme-bg);
  color: var(--theme-text);
  transition: var(--transition-smooth);
}

.tablet-sidebar {
  background: var(--theme-sidebar-bg);
  border-right: 1px solid var(--theme-border);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  transition: var(--transition-smooth);
}

.tablet-logo-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.tablet-logo-img {
  height: 36px;
  width: 36px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.tablet-logo-text {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 1px;
}

.tablet-member-filter {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin-top: 10px;
}

.tablet-member-btn {
  display: flex;
  align-items: center;
  background: transparent;
  border: 1px solid transparent;
  padding: 6px 10px;
  border-radius: 10px;
  color: inherit;
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-align: left;
  gap: 10px;
  width: 100%;
}

.tablet-member-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.tablet-member-btn.active {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--theme-border);
}

.member-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: #ffffff;
  flex-shrink: 0;
}

.member-avatar.all { background: var(--accent-indigo); }
.member-avatar.dad { background: var(--accent-amber); }
.member-avatar.mom { background: var(--accent-violet); }
.member-avatar.kids { background: #ec4899; }

.member-name {
  font-size: 0.8rem;
  font-weight: 600;
}

.tablet-main {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tablet-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--theme-border);
}

.tablet-title {
  font-size: 1.15rem;
  font-weight: 700;
}

.tablet-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  flex: 1;
}

.tablet-day {
  background: var(--theme-day-bg);
  border: 1px solid var(--theme-day-border);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: var(--transition-smooth);
  min-width: 0;
}

.tablet-day-header {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--theme-day-header);
}

.tablet-event {
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.68rem;
  font-weight: 600;
  border-left: 3px solid #6366f1;
  background: rgba(99, 102, 241, 0.08);
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.tablet-event-social {
  border-left-color: #ec4899;
  background: rgba(236, 72, 153, 0.08);
}

.tablet-event-school {
  border-left-color: #f97316;
  background: rgba(249, 115, 22, 0.08);
}

/* --- Steps Section --- */
.steps {
  padding: 100px 0;
  position: relative;
}

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

.step-card {
  text-align: center;
  position: relative;
}

.step-num {
  height: 60px;
  width: 60px;
  background: linear-gradient(135deg, var(--accent-indigo) 0%, var(--accent-violet) 100%);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0 auto 28px auto;
  border: 4px solid var(--bg-primary);
  box-shadow: 0 0 0 2px var(--accent-indigo);
  position: relative;
  z-index: 2;
}

.step-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.step-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Connecting line in steps */
.steps-grid::before {
  content: '';
  position: absolute;
  top: 130px;
  left: 10%;
  width: 80%;
  height: 2px;
  background: linear-gradient(to right, transparent, rgba(99, 102, 241, 0.3) 20%, rgba(99, 102, 241, 0.3) 80%, transparent);
  z-index: 1;
}

/* --- Call To Action (CTA) --- */
.cta-section {
  padding: 100px 0;
}

.cta-box {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 32px;
  padding: 80px 40px;
  text-align: center;
  box-shadow: var(--glass-shadow);
  position: relative;
  overflow: hidden;
}

.cta-box .cta-title {
  color: var(--text-dark) !important;
}

.cta-box .cta-description {
  color: var(--text-muted) !important;
}

.cta-title {
  font-size: 3rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.cta-description {
  color: var(--text-muted);
  font-size: 1.2rem;
  max-width: 650px;
  margin: 0 auto 40px auto;
  line-height: 1.6;
}

/* --- Footer --- */
.footer {
  padding: 60px 0;
  border-top: 1px solid var(--glass-border);
  background: #f1f5f9;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo {
  height: 32px;
  width: 32px;
  border-radius: 6px;
}

.footer-name {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.footer-links {
  display: flex;
  list-style: none;
  gap: 30px;
}

.footer-link {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-link:hover {
  color: #fff;
}

.footer-copy {
  margin-top: 40px;
  font-size: 0.8rem;
  color: var(--text-dark);
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  padding-top: 30px;
}

/* --- Mobile Menu Styles --- */
.mobile-menu {
  position: fixed;
  top: 90px;
  left: 24px;
  width: calc(100% - 48px);
  background: rgba(250, 248, 245, 0.98);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 20px;
  padding: 30px 24px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
  display: none;
  z-index: 999;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  list-style: none;
  gap: 24px;
  margin-bottom: 30px;
}

.mobile-link {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.mobile-link:hover {
  color: var(--accent-indigo);
}

/* --- Responsive Media Queries --- */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3.2rem;
  }
}

@media (max-width: 900px) {
  .hero-single-column {
    width: 100%;
  }
  .hero-tagline {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-buttons {
    justify-content: center;
  }
  .problem-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .problem-card {
    text-align: left;
  }
  .problem-footer {
    grid-column: span 1;
    margin-top: 25px;
    padding: 20px;
  }
  .problem-footer p {
    font-size: 1rem;
  }
  .showcase-features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .steps-grid::before {
    display: none;
  }
  .cta-title {
    font-size: 2.3rem;
  }
  .hero-title {
    font-size: 2.6rem;
  }
}

/* ==========================================================================
   DAYPAGE INTERACTIVE ELEMENTS & NORDIC FROST UPGRADES
   ========================================================================== */

/* --- Showcase Kiosk Mockup Theme Variants --- */
.tablet-screen {
  --theme-bg: radial-gradient(circle at 0% 0%, #e0f2fe 0%, #f8fafc 70%);
  --theme-text: #1e293b;
  --theme-sidebar-bg: rgba(15, 23, 42, 0.03);
  --theme-border: rgba(15, 23, 42, 0.05);
  --theme-day-bg: rgba(15, 23, 42, 0.02);
  --theme-day-border: rgba(15, 23, 42, 0.04);
  --theme-day-header: #64748b;

  flex: 1;
  background: var(--theme-bg);
  color: var(--theme-text);
  transition: var(--transition-smooth);
}

/* Kiosk Cosmic Space Theme */
.tablet-screen.theme-space {
  --theme-bg: radial-gradient(circle at 0% 0%, #1e1b4b 0%, #0a0f1d 70%);
  --theme-text: #ffffff;
  --theme-sidebar-bg: rgba(30, 41, 59, 0.4);
  --theme-border: rgba(255, 255, 255, 0.08);
  --theme-day-bg: rgba(255, 255, 255, 0.02);
  --theme-day-border: rgba(255, 255, 255, 0.05);
  --theme-day-header: #9ca3af;
}

/* Kiosk Minty Fresh Theme */
.tablet-screen.theme-minty {
  --theme-bg: linear-gradient(135deg, #f0fdf4 0%, #e8f5e9 100%);
  --theme-text: #064e3b;
  --theme-sidebar-bg: rgba(5, 150, 105, 0.04);
  --theme-border: rgba(5, 150, 105, 0.08);
  --theme-day-bg: rgba(5, 150, 105, 0.02);
  --theme-day-border: rgba(5, 150, 105, 0.04);
  --theme-day-header: #059669;
}

/* Kiosk Ocean Breeze Theme */
.tablet-screen.theme-ocean {
  --theme-bg: linear-gradient(135deg, #0b3c5d 0%, #051622 100%);
  --theme-text: #e0f2fe;
  --theme-sidebar-bg: rgba(56, 189, 248, 0.05);
  --theme-border: rgba(56, 189, 248, 0.1);
  --theme-day-bg: rgba(56, 189, 248, 0.02);
  --theme-day-border: rgba(56, 189, 248, 0.05);
  --theme-day-header: #38bdf8;
}

/* Kiosk Sunset Glow Theme */
.tablet-screen.theme-sunset {
  --theme-bg: radial-gradient(circle at 0% 0%, #4c1d95 0%, #2e1065 40%, #7c2d12 80%, #0c0a09 100%);
  --theme-text: #ffedd5;
  --theme-sidebar-bg: rgba(249, 115, 22, 0.05);
  --theme-border: rgba(249, 115, 22, 0.1);
  --theme-day-bg: rgba(249, 115, 22, 0.02);
  --theme-day-border: rgba(249, 115, 22, 0.05);
  --theme-day-header: #f97316;
}

/* --- Live Theme Switcher Style --- */
.theme-switcher {
  text-align: center;
  margin-top: 16px;
  width: 100%;
}

.switcher-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: block;
  margin-bottom: 10px;
  font-weight: 500;
}

.switcher-buttons {
  display: inline-flex;
  gap: 8px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

.switcher-btn {
  background: transparent;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.switcher-btn:hover {
  color: var(--text-dark);
}

.switcher-btn.active {
  background: #ffffff;
  color: var(--accent-indigo);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

/* --- FAQ Section & Accordion Styles --- */
.faq-section {
  padding: 100px 0;
  position: relative;
}

.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--glass-shadow);
  transition: var(--transition-smooth);
}

.faq-card:hover {
  border-color: var(--glass-border-hover);
  background: var(--glass-bg-hover);
  box-shadow: 0 10px 25px rgba(0,0,0,0.02);
}

.faq-header {
  width: 100%;
  padding: 22px 28px;
  background: transparent;
  border: none;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
}

.faq-icon {
  font-size: 0.9rem;
  color: var(--accent-indigo);
  transition: var(--transition-smooth);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-body p {
  padding: 0 28px 24px 28px;
  color: var(--text-main);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-card.active .faq-icon {
  transform: rotate(180deg);
}



/* --- Mobile Spacing & Layout Overrides --- */
@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }
  .section-title {
    font-size: 2rem;
  }
  .cta-title {
    font-size: 1.8rem;
  }
  .faq-header {
    padding: 16px 20px;
    font-size: 0.95rem;
  }
  .faq-body p {
    padding: 0 20px 16px 20px;
    font-size: 0.88rem;
  }
  .hero-tagline {
    font-size: 0.8rem;
  }
}

/* Expand Mockup to Landscape Tablet on Desktop Screens */
/* Mobile Responsive Overrides - Fluid Landscape Kiosk Layout */
@media (max-width: 767px) {
  .hero {
    padding-top: 100px;
    padding-bottom: 50px;
  }

  .hero-tagline {
    display: none !important;
  }

  .hero-image-wrapper {
    order: -1;
    margin-top: 0;
    margin-bottom: 24px;
    max-width: 480px;
    border-radius: 16px;
    padding: 6px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  }

  .hero-image {
    border-radius: 10px;
  }

  .kiosk-mockup-wrapper {
    position: relative;
    width: 100%;
    height: auto !important;
    display: flex;
    justify-content: center;
    overflow: visible !important;
  }

  .tablet-kiosk {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    aspect-ratio: 4 / 3 !important;
    border-width: 8px !important;
    border-radius: 20px !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4) !important;
    margin: 0 auto !important;
  }

  .tablet-screen {
    grid-template-columns: 64px 1fr !important;
    padding-top: 0 !important;
  }
  
  .tablet-sidebar {
    padding: 8px 4px !important;
    gap: 12px !important;
  }
  
  .tablet-logo-block {
    gap: 4px !important;
  }

  .tablet-logo-img {
    height: 24px !important;
    width: 24px !important;
    border-radius: 6px !important;
  }

  .tablet-logo-text {
    display: none !important;
  }
  
  .tablet-member-filter {
    gap: 6px !important;
    margin-top: 4px !important;
  }

  .tablet-member-btn {
    padding: 4px !important;
    gap: 0 !important;
    justify-content: center !important;
  }

  .tablet-member-btn .member-name {
    display: none !important;
  }

  .tablet-member-btn .member-avatar {
    width: 22px !important;
    height: 22px !important;
    font-size: 0.6rem !important;
    margin-right: 0 !important;
  }

  .tablet-main {
    padding: 10px 12px !important;
    gap: 8px !important;
  }

  .tablet-header {
    padding-bottom: 6px !important;
  }

  .tablet-title {
    font-size: 0.8rem !important;
  }

  #showcaseWeather {
    font-size: 0.55rem !important;
  }

  .tablet-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 6px !important;
  }

  .tablet-day {
    padding: 6px !important;
    gap: 4px !important;
    min-width: 0 !important;
  }

  .tablet-day-header {
    font-size: 0.58rem !important;
  }

  .tablet-event {
    padding: 4px 6px !important;
    font-size: 0.52rem !important;
    line-height: 1.25 !important;
    border-left-width: 2px !important;
    word-break: break-word !important;
    white-space: normal !important;
  }

  /* Style switcher reset for standard relative document flow */
  .theme-switcher {
    position: relative !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    margin-top: 16px !important;
  }
}
