/* Google AI Edge Gallery - Centered Landing Page Styles */
:root {
  --bg-color: #ffffff;
  --text-color: #1d1d1f;
  --text-secondary: #57575c;
  --grey-placeholder: #d1d1d6;

  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --radius-modern: 12px;
  --page-padding: 32px; /* Standard horizontal inner padding bounds */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Google Sans Display", "Google Sans", sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  overflow-x: hidden;
  height: unset !important;
  overflow-y: auto !important;
  user-select: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

/* Central Alignment Container */
#main-content {
  min-height: 100vh;
  margin: 0 auto;
  padding: 96px var(--page-padding) 80px var(--page-padding); /* Spacious top spacing and balanced bottom padding for capsule liftoff */
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* Top-aligned start instead of full vertical center */
  align-items: center;        /* Center horizontally */
  text-align: center;
  gap: 170px; /* Spacing between main sections */
  animation: fadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Hero Section Container */
.hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px; /* Tightened vertical layout spacing */
  width: 100%;
  position: relative; /* Anchor point for full-bleed background shape backdrop */
  overflow: visible; /* Let children absolutely flow past content container margins into the outer margins */
  border-radius: var(--radius-modern);
  padding-bottom: 24px;
}

/* Full-Bleed Viewport Backdrop Container */
.hero-shapes-backdrop {
  position: absolute;
  top: -160px; /* Extends far above the document top to provide safe headroom for high watermarks */
  left: 50%;
  transform: translateX(-50%);
  width: 100vw; /* Lock box width exactly to physical screen width, preventing body horizontal expanding */
  height: calc(100% + 200px); /* Extend height to match the larger top offset */
  overflow: hidden; /* Clips scattered shapes *only* at the physical screen borders to block page width expansion */
  pointer-events: none;
  z-index: -1;
}

/* Scattered Decorative Vector shapes */
.deco-shape {
  position: absolute;
  z-index: -1; /* Place below all text content to avoid blocking interaction */
  pointer-events: none; /* Make click-through so user can interact with page elements */
  user-select: none;
  transition: var(--transition-smooth);
}

/* Decorative Brand Color Fills */
.shape-yellow path, .shape-yellow circle { fill: #F6B704; }
.shape-red path, .shape-red circle { fill: #E54335; }
.shape-green path, .shape-green circle { fill: #34A353; }
.shape-blue path, .shape-blue circle { fill: #4280EF; }

/* Scatters & Sizes (All top coordinates set strictly to positive values relative to the elevated -160px backdrop to prevent crop cuts) */
.shape-1 {
  width: 130px;
  height: 130px;
  left: 4%;
  top: 150px; /* Resided securely positive inside backdrop */
  opacity: 0.14;
}

.shape-2 {
  width: 44px;
  height: 48px;
  right: 12%;
  top: 140px;
  opacity: 0.22;
}

.shape-3 {
  width: 200px;
  height: 200px;
  right: -60px; /* Peek slightly off the screen right-edge */
  top: 280px;
  opacity: 0.12;
}

.shape-4 {
  width: 32px;
  height: 32px; /* Circle layout */
  left: 11%;
  top: 370px;
  opacity: 0.20;
}

.shape-5 {
  width: 100px;
  height: 100px;
  left: 6%;
  top: 560px;
  opacity: 0.15;
}

.shape-6 {
  width: 54px;
  height: 54px; /* Circle layout */
  right: 15%;
  top: 510px;
  opacity: 0.14;
}

.shape-7 {
  width: 90px;
  height: 90px;
  left: 15%;
  top: 440px;
  opacity: 0.15;
}

.shape-8 {
  width: 36px;
  height: 40px;
  right: -30px; /* Peek slightly off the screen right-edge */
  top: 610px;
  opacity: 0.14;
}

.shape-9 {
  width: 80px;
  height: 80px;
  right: 28%;
  top: 90px; /* Strictly positive headroom */
  opacity: 0.16;
  transform: rotate(35deg); /* Fluid dynamic rotation watermark overlay */
}

.shape-10 {
  width: 150px;
  height: 150px;
  left: 26%;
  top: 570px;
  opacity: 0.12;
  transform: rotate(-25deg); /* Fluid dynamic rotation watermark overlay */
}

.shape-11 {
  width: 48px;
  height: 52px;
  left: -80px;
  top: 300px;
  opacity: 0.18;
  transform: rotate(18deg); /* Fluid dynamic rotation watermark overlay */
}

.shape-12 {
  width: 50px;
  height: 50px;
  right: 32%;
  top: 450px;
  opacity: 0.16;
  transform: rotate(-45deg); /* Fluid dynamic rotation watermark overlay */
}



@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Unified Tag block (Center-aligned) */
.tag-block {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* Equivalent-sized logo.png image */
.tag-logo-img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  display: inline-block;
}

.tag-text {
  font-size: 16px;
  font-weight: 500; /* Medium weight */
  color: var(--text-color);
  letter-spacing: -0.01em;
}

/* Main Header */
.main-header {
  font-size: 64px;
  font-weight: 500; /* Medium weight */
  line-height: 1.12;
  letter-spacing: -0.04em;
  color: var(--text-color);
  max-width: 920px;
  margin-bottom: 8px; /* Margin to separate the header from CTA grid */
  margin-top: 0;
}

/* Hero Subheader Description */
.hero-subheader {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--text-secondary);
  max-width: 840px;
  margin: 0 auto 8px auto; /* Tightened margin */
  letter-spacing: -0.01em;
}

/* Download CTA Container */
.cta-container,
.cta-header-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  width: 100%;
}

/* CTA Pill Buttons (Premium Black Pill Style) */
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background-color: #000000;
  border: none;
  border-radius: 100px;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.cta-btn .btn-icon {
  font-size: 20px;
  color: #ffffff;
  transition: var(--transition-smooth);
}

.btn-brand-svg {
  width: 20px;
  height: 20px;
  fill: #ffffff;
  display: inline-block;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.cta-btn .btn-text {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  transition: var(--transition-smooth);
}

/* Sleek High-Contrast Hover Effects */
.cta-btn:hover {
  background-color: #2c2c2e;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

/* Accelerator Container & Widescreen Video Showcase */
.accelerator-container {
  width: 100%;
  max-width: 1040px;
  margin-top: 20px; /* Tightened margin under CTA buttons */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.accelerator-control-card {
  width: 100%;
  aspect-ratio: 16 / 9; /* Widescreen player format dimensions */
  min-height: 480px;
  max-height: 585px;
  background-color: transparent;
  border-radius: 32px;
  border: none; /* Border stroke completely removed */
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.05), 0 4px 16px rgba(0, 0, 0, 0.02);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden; /* Clip the video inside rounded bezel corners */
}

.widescreen-video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Crop to fill viewport borders perfectly */
  border: none;      /* Clear default media borders */
  outline: none;     /* Strip focus outlines */
}

/* Video Controls Overlay Buttons */
.video-controls-overlay {
  position: absolute;
  bottom: 24px;
  right: 24px;
  display: flex;
  gap: 8px;
  z-index: 5;
}

.control-pill-btn {
  background-color: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.control-pill-btn:hover {
  background-color: rgba(0, 0, 0, 0.75);
  transform: scale(1.08);
}

.control-pill-btn .control-icon {
  color: #ffffff;
  font-size: 20px !important;
  font-weight: 600;
}

.segmented-control {
  display: flex;
  background-color: #ffffff;
  border: 5px solid #E8EAED;
  border-radius: 100px;
  padding: 2px;
  gap: 4px;
  width: 100%;
  max-width: 540px;
  position: relative;
  z-index: 2;
}

.segment-btn {
  flex: 1;
  background: none;
  border: none;
  padding: 14px 24px;
  font-family: inherit;
  font-size: 24px;
  font-weight: 600;
  color: #5f6368;
  cursor: pointer;
  border-radius: 100px;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.segment-btn.active {
  background-color: #1a73e8;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(26, 115, 232, 0.35);
}

.segment-btn .check-icon {
  font-size: 26px !important;
  font-weight: 700;
}

/* Glowing decorative visual bubble */
.glow-orb {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  height: 80px;
  background: radial-gradient(ellipse at center, rgba(26, 115, 232, 0.2) 0%, rgba(26, 115, 232, 0) 70%);
  filter: blur(10px);
  pointer-events: none;
  z-index: 1;
}

/* Elegant Intro Description block */
.description-text {
  font-size: 32px;
  font-weight: 400; /* Regular */
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: #000000;
  max-width: 950px;
  text-align: center;
  margin: 0 auto;
}

.description-text .highlight-gradient {
  font-weight: 700; /* Bold */
  background: linear-gradient(to right, #84b1f8 6%, #3174f1 66%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  display: inline;
}

/* Unified Section Headers */
.section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  width: 100%;
  margin-bottom: 16px;
}

.section-title {
  font-size: 44px;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--text-color);
  margin: 0;
  line-height: 1.6;
}

.section-subtitle {
  font-size: 18px;
  font-weight: 400;
  color: var(--text-secondary);
  max-width: 840px;
  line-height: 1.55;
  margin: 0;
}

.section-subtitle.signup {
  font-weight: 700;
}

/* Explore Community Skills Section */
.community-skills-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: visible;
}

/* Carousel container wrapper (modern centered full-viewport bleed) */
.skills-carousel-wrapper {
  position: relative;
  width: 100vw; /* Symmetrical viewport expansion */
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  overflow: hidden;
  padding: 24px 0;
  display: flex;
}

/* Side opacity gradients masks */
.skills-carousel-wrapper::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 20%;
  max-width: 280px;
  background: linear-gradient(to right, #ffffff 20%, rgba(255, 255, 255, 0) 100%);
  z-index: 10;
  pointer-events: none;
}

.skills-carousel-wrapper::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 20%;
  max-width: 280px;
  background: linear-gradient(to left, #ffffff 20%, rgba(255, 255, 255, 0) 100%);
  z-index: 10;
  pointer-events: none;
}

/* Carousel continuous infinite track */
.skills-carousel-track {
  display: flex;
  width: max-content;
  animation: slowHorizontalScroll 50s linear infinite; /* Balanced velocity: ~51.6px/sec (30% faster visually for 10 mockups) */
}

/* Group styling within the track */
.skills-carousel-group {
  display: flex;
  gap: 32px; /* Balanced compact gap spacing between mockups */
  padding-right: 32px; /* Seamless spacer padding matching the gap exactly */
  width: max-content;
}

/* Image layout for phone mockup PNGs (Zero decoration, displays user's raw file exactly) */
.phone-mockup-img {
  width: 210px;
  height: auto; /* Scaled symmetrically by width to prevent squishing */
  object-fit: contain;
  transition: none;
  pointer-events: none;
}

/* Slow horizontal scroll keyframes */
@keyframes slowHorizontalScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    /* Shift exactly one full group (half the track's total double-group width) */
    transform: translateX(-50%);
  }
}

/* Discover Gallery features layout & Zigzag rows */
.gallery-features-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 64px; /* Cozy, tight vertical layout spacing between rows */
  align-items: center;
}

.highlight-showcase-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1040px; /* Constrains column expansion to standard premium content bounds */
  margin: 0 auto;     /* Center-align row relative to page viewport column */
  gap: 80px;
  min-height: 440px;
  text-align: left;
}

.zigzag-row {
  flex-direction: row;
}

.showcase-visual-side {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.showcase-text-side {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  max-width: 480px;
}

.showcase-title {
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--text-color);
  margin: 0;
}

.showcase-desc {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Symmetrical Bezel Gradient Container */
.showcase-gradient-bezel {
  width: 100%;
  max-width: 460px;
  height: 440px;
  border-radius: 48px; /* Highly round premium aesthetics */
  padding: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.03);
  transition: var(--transition-smooth);
}

.showcase-gradient-bezel:hover {
  transform: scale(1.02); /* Symmetrical gentle hover zoom */
}

.showcase-feature-img {
  width: 100%;
  height: 100%;
}

.blue-cyan-gradient {
  background: linear-gradient(135deg, #a1c4fd 0%, #c2e9fb 100%);
}

.lilac-blue-gradient {
  background: linear-gradient(135deg, #e0c3fc 0%, #8ec5fc 100%);
}

/* Premium White Gemma Model Card Trial */
.highlight-model-card {
  background-color: #ffffff;
  border-radius: 24px;
  padding: 24px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.demo-header {
  display: flex;
  gap: 8px;
  margin-bottom: 4px;
}

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

.star-badge {
  background-color: #fef7e0;
  color: #b06000;
  display: flex;
  align-items: center;
  gap: 4px;
}

.success-badge {
  background-color: #e6f4ea;
  color: #137333;
  display: flex;
  align-items: center;
  gap: 4px;
}

.dot-icon, .check-icon {
  font-size: 14px !important;
}

.highlight-model-title {
  font-size: 24px;
  font-weight: 700;
  color: #1d1d1f;
  margin-bottom: 2px;
  letter-spacing: -0.02em;
}

.highlight-model-size {
  font-size: 14px;
  color: #86868b;
  font-weight: 600;
}

.model-meta-line {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #1a73e8;
  margin-bottom: 4px;
}

.model-meta-line .meta-icon {
  font-size: 16px !important;
}

.meta-link {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}

.meta-link:hover {
  text-decoration: underline;
}

.model-description-text {
  font-size: 13px;
  color: #5f6368;
  line-height: 1.45;
  text-align: left;
  margin-bottom: 12px;
}

.highlight-card-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.demo-btn {
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-smooth);
}

.demo-btn.primary {
  background-color: #1a73e8;
  color: #ffffff;
}

.demo-btn.primary:hover {
  background-color: #1557b0;
}

.demo-btn.secondary {
  background-color: #e8f0fe;
  color: #1a73e8;
}

.demo-btn.secondary:hover {
  background-color: #d2e3fc;
}

.demo-btn .btn-inner-icon {
  font-size: 16px !important;
}

.icon-only-btn.delete-btn {
  background-color: #f1f3f4;
  color: #5f6368;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.icon-only-btn.delete-btn:hover {
  background-color: #e8eaed;
  transform: scale(1.05);
}

/* Grid of Features & Asymmetric Layout grid */
.features-grid-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.features-asymmetric-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr); /* 6-column split system */
  gap: 24px;
  width: 100%;
  max-width: 1100px;
  margin-top: 16px;
}

.feature-demo-card {
  background-color: #F5F7FB; /* Premium light blue-grey background */
  border-radius: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  min-height: 400px;
  transition: var(--transition-smooth);
  overflow: hidden;
  position: relative;
}

.feature-demo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.04);
}

/* Responsive grid layout spanning */
.features-asymmetric-grid .feature-demo-card:nth-child(1) { grid-column: span 2; } /* 33.3% Card */
.features-asymmetric-grid .feature-demo-card:nth-child(2) { grid-column: span 4; } /* 66.6% Card */
.features-asymmetric-grid .feature-demo-card:nth-child(3) { grid-column: span 2; } /* 33.3% Card */
.features-asymmetric-grid .feature-demo-card:nth-child(4) { grid-column: span 2; } /* 33.3% Card */
.features-asymmetric-grid .feature-demo-card:nth-child(5) { grid-column: span 2; } /* 33.3% Card */

/* Visual contents slots above caption */
.demo-card-visual-area {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 180px;
  overflow: hidden;
}

.card-bottom-caption {
  padding: 24px 32px 32px 32px;
  margin-top: auto;
  width: 100%;
}

.card-caption-title {
  font-size: 18px;
  font-weight: 700;
  color: #1d1d1f;
  margin-bottom: 8px;
}

.card-caption-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Card 1 Miniature Card styles */
.gemma-mini-visual {
  padding: 32px 32px 0 32px;
  width: 100%;
  height: 100%;
}

.mini-gemma-bezel {
  background: linear-gradient(135deg, #e0ebff 0%, #c2d9ff 100%);
  border-radius: 24px;
  padding: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 180px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.mini-gemma-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 12px;
  width: 100%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 9px;
  color: #5f6368;
}

.mini-badges {
  display: flex;
  gap: 4px;
  margin-bottom: 2px;
}

.mini-badges .m-badge {
  border-radius: 50%;
  width: 12px;
  height: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  font-weight: 700;
}

.mini-badges .m-badge.yellow { background-color: #fef7e0; color: #b06000; }
.mini-badges .m-badge.green { background-color: #e6f4ea; color: #137333; }

.mini-title {
  font-size: 11px;
  font-weight: 700;
  color: #1d1d1f;
}

.mini-meta {
  font-size: 8px;
  font-weight: 600;
  color: #86868b;
}

.mini-desc {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  font-size: 8px;
}

.mini-actions {
  display: flex;
  gap: 6px;
  margin-top: 4px;
}

.mini-pill {
  padding: 2px 8px;
  border-radius: 100px;
  font-size: 7px;
  font-weight: 700;
}

.mini-pill.blue { background-color: #1a73e8; color: #ffffff; }
.mini-pill.grey { background-color: #f1f3f4; color: #3c4043; }

/* Card 2 AI Chat mockup elements */
.chat-demo-visual {
  padding: 32px 32px 0 32px;
  width: 100%;
  flex-direction: column;
  gap: 16px;
}

.chat-demo-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  width: 100%;
}

.chat-demo-icon {
  background-color: #e8f0fe;
  color: #1a73e8;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-demo-icon span {
  font-size: 18px !important;
}

.chat-demo-title {
  font-size: 15px;
  font-weight: 700;
  color: #1d1d1f;
}

.chat-demo-subtitle {
  font-size: 11px;
  color: #86868b;
}

.chat-demo-input-bar {
  background-color: #ffffff;
  border: 1px solid #e8eaed;
  border-radius: 100px;
  padding: 10px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.chat-demo-input-bar .add-icon {
  font-size: 16px !important;
  color: #5f6368;
  margin-right: 8px;
  cursor: pointer;
}

.chat-demo-placeholder {
  font-size: 11px;
  color: #5f6368;
  font-weight: 500;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  flex: 1;
  text-align: left;
  margin-right: 8px;
}

.chat-demo-input-icons {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #5f6368;
}

.chat-demo-input-icons .mic-icon {
  font-size: 15px !important;
  color: #1a73e8;
}

.chat-demo-input-icons .send-arrow-icon {
  color: #ffffff;
  background-color: #4F378B; /* Premium deep purple icon circle */
  border-radius: 50%;
  padding: 4px;
  font-size: 12px !important;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
}

/* Card 3 Prompt Chips Visual elements */
.chips-demo-visual {
  padding: 32px 0 0 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.demo-chips-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.demo-chip {
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.demo-chip .chip-i {
  font-size: 14px !important;
}

/* Full Bleed staggered offsets */
.demo-chips-row .demo-chip:nth-child(1) { align-self: flex-start; margin-left: -24px; }
.demo-chips-row .demo-chip:nth-child(2) { align-self: flex-end; margin-right: 16px; }
.demo-chips-row .demo-chip:nth-child(3) { align-self: flex-start; margin-left: -8px; }
.demo-chips-row .demo-chip:nth-child(4) { align-self: flex-end; margin-right: -32px; }
.demo-chips-row .demo-chip:nth-child(5) { align-self: flex-start; margin-left: -48px; }

.chip-blue { background-color: #E2EEFF; color: #1967D2; }
.chip-lightblue { background-color: #E1F5FE; color: #0288D1; }
.chip-blue-solid { background-color: #1a73e8; color: #ffffff; }
.chip-blue-fade { background-color: rgba(226, 238, 255, 0.6); color: rgba(25, 103, 210, 0.6); }

/* Card 4 & 5 Blank Gradient elements */
.blank-gradient-visual {
  width: 100%;
  height: 100%;
  padding: 0;
}

.gradient-inner-box {
  background: #E8F2FF; /* Symmetrical soft light blue placeholder fill box */
  width: 100%;
  height: 220px;
  border-top-left-radius: 32px;
  border-top-right-radius: 32px;
}

/* Site Footer */
.site-footer {
  width: 90vw; /* Stretch container wider than the 80% parent bounds to exactly 90% of physical viewport width */
  margin-left: calc((90vw - 80%) / -2 - var(--page-padding)); /* Mathematically center-align the 90vw child inside the 80% fluid parent wrapper */
  margin-right: calc((90vw - 80%) / -2 - var(--page-padding));
  height: 280px; /* Fixed height of 280px */
  background-color: #E9F0FE;
  border-radius: 47px;
  padding: 0 54px; /* Vertical centering takes care of top/bottom spacing */
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  gap: 40px;
  position: relative; /* Anchor point for scattered background shapes */
  overflow: hidden; /* Crop background shapes at capsule border margins */
  z-index: 1; /* Establishes absolute isolated stacking context to force negative z-index background watermarks inside the container bounds */
  isolation: isolate; /* Modern standard property for full cross-browser stacking context compliance */
}

/* Footer Background Decorative Watermarks (Sleek Dark Silhouette Style - 44% Opacity) */
.site-footer .deco-shape path,
.site-footer .deco-shape circle {
  fill: #000000 !important; /* Force override brand color fills */
}

.site-footer .deco-shape {
  opacity: 0.44 !important; /* Force exact 44% opacity watermark depth */
  mix-blend-mode: overlay; /* Apply Figma's exact Overlay blend mode algorithm */
}

/* Force inner SVG path opacities to be 100% solid, stopping inline attribute multipliers and letting the parent's 44% rule take absolute visual effect */
.site-footer .deco-shape path {
  opacity: 1 !important;
  fill-opacity: 1 !important;
}

.footer-shape-1 {
  width: 130px;
  height: 130px;
  left: -40px;
  top: -30px;
}

.footer-shape-2 {
  width: 32px;
  height: 36px;
  left: 42%;
  bottom: 20px;
}

.footer-shape-3 {
  width: 150px;
  height: 150px;
  right: -50px;
  top: -40px;
}

.footer-shape-4 {
  width: 44px;
  height: 44px;
  left: 210px;
  bottom: -12px;
}

.footer-shape-5 {
  width: 24px;
  height: 28px;
  right: 180px;
  top: 15px;
}

.footer-shape-6 {
  width: 100px;
  height: 100px;
  right: -30px;
  bottom: -40px;
}

.footer-shape-7 {
  width: 38px;
  height: 38px; /* Circle shape */
  left: 320px;
  top: 80px;
}

.footer-shape-8 {
  width: 110px;
  height: 110px;
  right: 140px;
  bottom: 60px;
}

.footer-shape-9 {
  width: 36px;
  height: 40px;
  left: 110px;
  top: 15px;
}

.footer-shape-10 {
  width: 70px;
  height: 70px;
  right: 280px;
  bottom: 30px;
}





.footer-left {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  flex: 1; /* Stretch to occupy max available space */
}

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

.footer-logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  transition: var(--transition-smooth);
}

.footer-logo-img:hover {
  transform: scale(1.08);
}

.footer-brand-text {
  font-size: 36px;
  line-height: 1.15;
  letter-spacing: -0.04em;
  color: var(--text-color);
}

.footer-brand-text .brand-bold {
  font-weight: 700;
}

.footer-brand-text .brand-medium {
  font-weight: 500;
}

.footer-tagline {
  font-size: 16px;
  font-weight: 400; /* Regular */
  color: var(--text-secondary);
  line-height: 1.45;
  letter-spacing: -0.015em;
  max-width: 580px; /* Expand limits so tagline text can breathe */
}

.footer-tagline strong {
  font-weight: 700;
  color: var(--text-color);
}

.footer-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex: 0 0 auto; /* Lock container width tightly around dynamic buttons */
}

.footer-right .cta-container {
  flex-direction: column; /* Vertically stacked CTAs */
  align-items: flex-end;
  gap: 12px;
  width: auto;
}

/* Sticky Navigation Header */
#sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 64px;
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-100%);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.45s ease;
  opacity: 0;
  pointer-events: none;
}

#sticky-header.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.sticky-header-content {
  width: 100%;
  max-width: 1040px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px;
}

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

.sticky-logo-img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.sticky-brand-text {
  font-size: 20px;
  letter-spacing: -0.03em;
  color: var(--text-color);
}

.sticky-brand-text .brand-bold {
  font-weight: 700;
}

.sticky-brand-text .brand-medium {
  font-weight: 500;
}

.compact-cta {
  padding: 6px 16px !important;
  font-size: 13px !important;
}

.sticky-ctas {
  flex-direction: row !important;
  justify-content: flex-end !important;
  gap: 8px !important;
  width: auto !important;
}

/* Premium Load-in animations */
.animate-fade-in {
  opacity: 0;
  animation: slideUpFade 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.anim-delay-1 { animation-delay: 0.1s; }
.anim-delay-2 { animation-delay: 0.2s; }
.anim-delay-3 { animation-delay: 0.3s; }
.anim-delay-4 { animation-delay: 0.45s; }

@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll Reveal Animation System */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

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

/* Ambient Floating Background Animations */
@keyframes floatAmbient-1 {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(10px, -20px) rotate(4deg) scale(1.02);
  }
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
}

@keyframes floatAmbient-2 {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(-15px, 15px) rotate(-6deg) scale(0.98);
  }
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
}

@keyframes floatAmbient-3 {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(12px, 12px) rotate(5deg) scale(1.01);
  }
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
}

/* Assign staggered floating animations to backdrop shapes */
.shape-1, .shape-4, .shape-7, .shape-10, .footer-shape-1, .footer-shape-4, .footer-shape-7, .footer-shape-10 {
  animation: floatAmbient-1 22s ease-in-out infinite;
}

.shape-2, .shape-5, .shape-8, .shape-11, .footer-shape-2, .footer-shape-5, .footer-shape-8 {
  animation: floatAmbient-2 26s ease-in-out infinite;
}

.shape-3, .shape-6, .shape-9, .shape-12, .footer-shape-3, .footer-shape-6, .footer-shape-9 {
  animation: floatAmbient-3 30s ease-in-out infinite;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  #main-content {
    gap: 120px;
  }
  .hero-section {
    gap: 24px;
  }
  .deco-shape {
    display: none; /* Hide background clutter on mobile for maximum readability */
  }
  .main-header {
    font-size: 44px;
    letter-spacing: -0.03em;
  }
  .description-text {
    font-size: 24px;
  }

  /* Sticky Navigation Header compact collapse on mobile */
  .sticky-ctas {
    gap: 4px !important;
  }
  .sticky-ctas .compact-cta {
    padding: 6px 10px !important;
  }
  .sticky-ctas .compact-cta .btn-text {
    display: none !important;
  }

  /* Widescreen Video overlay and height scaling */
  .accelerator-control-card {
    min-height: unset !important;
    border-radius: 20px !important;
  }

  /* Discovery Features Zigzag Showcase mobile stack */
  .highlight-showcase-section {
    flex-direction: column !important;
    gap: 32px !important;
    text-align: center !important;
    align-items: center !important;
    min-height: unset !important;
  }
  .showcase-visual-side {
    order: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .showcase-text-side {
    order: 2 !important;
    width: 100% !important;
    max-width: 100% !important;
    text-align: center !important;
    align-items: center !important;
    gap: 12px !important;
  }
  .showcase-title {
    font-size: 28px !important;
    text-align: center !important;
  }
  .showcase-desc {
    font-size: 16px !important;
    text-align: center !important;
  }
  .showcase-gradient-bezel {
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    max-width: 100% !important;
    padding: 24px !important;
    border-radius: 32px !important;
  }

  /* Asymmetric features grid mobile stack */
  .features-asymmetric-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .features-asymmetric-grid .feature-demo-card {
    grid-column: span 1 !important;
    min-height: unset !important;
    padding: 0 !important;
  }
  .features-asymmetric-grid .card-bottom-caption {
    padding: 20px 24px 24px 24px !important;
  }
  .blank-gradient-visual .gradient-inner-box {
    height: 150px !important;
  }

  .site-footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: auto; /* Expand height dynamically on stack */
    gap: 36px;
    padding: 54px 32px;
    border-radius: 36px;
  }
  .footer-left {
    align-items: center;
    text-align: center;
  }
  .footer-brand {
    flex-direction: column;
    gap: 12px;
  }
  .footer-brand-text {
    font-size: 28px;
    letter-spacing: -0.03em;
  }
  .footer-right {
    max-width: 100%;
    width: 100%;
    justify-content: center;
    flex: 1;
  }
  .footer-right .cta-container {
    flex-direction: column; /* Stacked CTAs */
    align-items: center;
    justify-content: center;
    gap: 12px;
  }
}
@media (max-width: 480px) {
  :root {
    --page-padding: 16px; /* Dynamically narrow horizontal margin pads on mobile */
  }
  #main-content {
    gap: 80px;
    padding: 32px var(--page-padding) 48px var(--page-padding); /* Lift bottom capsule block on mobile displays */
  }
  .hero-section {
    gap: 20px;
  }
  .main-header {
    font-size: 34px;
    letter-spacing: -0.02em;
  }
  .description-text {
    font-size: 20px;
  }

  .showcase-gradient-bezel {
    padding: 16px !important;
    border-radius: 24px !important;
  }
  .highlight-model-card {
    padding: 16px !important;
    border-radius: 16px !important;
    gap: 8px !important;
  }
  .highlight-model-title {
    font-size: 20px !important;
  }
  .demo-btn {
    padding: 8px 16px !important;
    font-size: 12px !important;
  }

  /* Phone mockups in carousel */
  .phone-mockup-img {
    width: 160px !important;
  }

  /* Full width Hero & Footer CTAs on mobile */
  .cta-container {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    width: 100% !important;
  }
  .cta-container .cta-btn {
    width: 100% !important;
    justify-content: center !important;
  }

  .site-footer {
    padding: 44px 20px;
    border-radius: 28px;
    gap: 28px;
  }
  .footer-logo-img {
    width: 28px;
    height: 28px;
  }
  .footer-brand-text {
    font-size: 22px;
    letter-spacing: -0.02em;
  }
  .footer-tagline {
    font-size: 14px;
    line-height: 1.4;
  }
  .footer-right {
    width: 100%;
  }
  .footer-right .cta-container {
    width: 100%;
    gap: 10px;
  }
  .footer-right .cta-btn {
    width: 100%; /* Full bleed thumb tap size */
    justify-content: center;
  }
  .sticky-brand-text {
    font-size: 4vw;
    line-height: 1.1;
    margin-right: 2vw;
  }
}

@media (max-width: 360px) {
  .sticky-brand-text {
    display: none;
  }
}
