@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Noto+Sans+Devanagari:wght@400;500;600;700&display=swap');

:root {
  --bg-primary: #f8fafc;
  --bg-secondary: #eef4fb;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.95);
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --accent-primary: #0052cc;
  --accent-electric: #0066ff;
  --accent-hover: #1d4ed8;
  --accent-glow: rgba(0, 102, 255, 0.14);
  --whatsapp: #25d366;
  --whatsapp-dark: #128c7e;
  --border-subtle: #dbe4f0;
  --border-accent: #60a5fa;
  --success: #059669;
  --success-bg: #d1fae5;
  --warning: #d97706;
  --warning-bg: #fef3c7;
  --info: #0284c7;
  --info-bg: #e0f2fe;
  --danger: #dc2626;
  --danger-bg: #fee2e2;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-xl: 28px;
  --shadow-card: 0 10px 30px -6px rgba(15, 23, 42, 0.08), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
  --shadow-glow: 0 12px 32px rgba(0, 102, 255, 0.14);
  --container-max: 1220px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', 'Noto Sans Devanagari', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-primary);
  background-image:
    radial-gradient(circle at 12% 10%, rgba(0, 102, 255, 0.07) 0%, transparent 40%),
    radial-gradient(circle at 88% 20%, rgba(14, 165, 233, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 50% 85%, rgba(0, 102, 255, 0.05) 0%, transparent 50%);
  color: var(--text-primary);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

a {
  color: var(--accent-electric);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-primary);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Announcement Top Banner */
.announcement-bar {
  background: linear-gradient(90deg, #0052cc 0%, #0066ff 50%, #0284c7 100%);
  color: #ffffff;
  padding: 0.6rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  display: none;
  position: relative;
  z-index: 1001;
}

.announcement-bar.active {
  display: block;
}

.announcement-bar a {
  color: #ffffff;
  font-weight: 700;
  text-decoration: underline;
  margin-left: 0.5rem;
}

/* Header & Navigation (Light UI) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
  gap: 1rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.brand-logo:hover {
  color: var(--accent-primary);
}

.brand-logo-img {
  height: 56px;
  width: auto;
  border-radius: 10px;
  object-fit: contain;
  border: 1px solid #cbd5e1;
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.12);
  background: #ffffff;
  padding: 2px 6px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-electric) 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.05rem;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 102, 255, 0.28);
}

.brand-text {
  color: #0f172a;
  font-weight: 800;
}

.brand-text span {
  background: linear-gradient(90deg, #0052cc 0%, #00a3ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.94rem;
  font-weight: 600;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-primary);
  background: #eff6ff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  background: #f1f5f9;
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  padding: 0.2rem;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  cursor: pointer;
  transition: var(--transition);
}

.lang-btn.active {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-electric));
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 102, 255, 0.25);
}

.mobile-menu-toggle {
  display: none;
  background: #f1f5f9;
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.78rem 1.45rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  line-height: 1.2;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-primary) 0%, #0077ff 100%);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(0, 102, 255, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 102, 255, 0.35);
  color: #ffffff;
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.28);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.4);
  color: #ffffff;
}

.btn-outline {
  background: #ffffff;
  color: var(--text-primary);
  border-color: #cbd5e1;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.btn-outline:hover {
  background: #eff6ff;
  border-color: var(--accent-electric);
  color: var(--accent-primary);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.52rem 1rem;
  font-size: 0.85rem;
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 4.25rem 0 4rem;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f1f6fd 100%);
  border-bottom: 1px solid var(--border-subtle);
}

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

.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.38rem 0.95rem;
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  border-radius: 999px;
  color: #0369a1;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  margin-bottom: 1.15rem;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0284c7;
  box-shadow: 0 0 8px rgba(2, 132, 199, 0.5);
}

.hero-title {
  font-size: clamp(2.35rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
  color: #0f172a;
}

.hero-title .text-gradient {
  background: linear-gradient(90deg, #0f172a 0%, #0052cc 55%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 620px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2.25rem;
}

.hero-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Hero Visual Showcase (Light Mode) */
.hero-showcase {
  background: #ffffff;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-card), var(--shadow-glow);
  position: relative;
}

.hero-logo-banner {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 1.15rem;
  border: 1px solid #dbeafe;
  background: #ffffff;
  padding: 0.5rem;
  box-shadow: 0 4px 16px rgba(0, 102, 255, 0.08);
}

.hero-logo-banner img {
  width: 100%;
  max-height: 210px;
  object-fit: contain;
  margin: 0 auto;
}

.showcase-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.85rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.window-dots span:nth-child(1) { background: #ef4444; }
.window-dots span:nth-child(2) { background: #f59e0b; }
.window-dots span:nth-child(3) { background: #10b981; }

.showcase-item-box {
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1.05rem;
}

/* Inner Page Brand Badge */
.page-brand-strip {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 0.45rem 0.9rem;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

.page-brand-strip img {
  height: 38px;
  width: auto;
  object-fit: contain;
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.section-header.centered {
  text-align: center;
  align-items: center;
}

.section-title {
  font-size: clamp(1.75rem, 3.2vw, 2.45rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.section-desc {
  color: var(--text-secondary);
  max-width: 680px;
  font-size: 1.04rem;
}

/* Cards & Grids */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.85rem;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -8px rgba(0, 102, 255, 0.14);
}

.card-featured {
  border: 2px solid #93c5fd;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.product-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.product-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--accent-primary);
  flex-shrink: 0;
  overflow: hidden;
}

.product-icon-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Screenshots & Video Gallery (Light UI) */
.media-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.35rem;
  margin-top: 1.25rem;
}

.media-item-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}

.media-item-card:hover {
  border-color: var(--accent-electric);
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(0, 102, 255, 0.14);
}

.media-thumb-wrap {
  position: relative;
  width: 100%;
  height: 210px;
  background: #f1f5f9;
  overflow: hidden;
  cursor: pointer;
  border-bottom: 1px solid var(--border-subtle);
}

.media-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #ffffff;
  padding: 0.35rem;
  transition: transform 0.35s ease;
}

.media-thumb-wrap:hover img {
  transform: scale(1.04);
}

.media-thumb-wrap video,
.media-thumb-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #0f172a;
}

.media-caption {
  padding: 0.9rem 1.1rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  background: #ffffff;
}

.media-caption strong {
  color: var(--text-primary);
  font-size: 0.95rem;
}

.media-caption span {
  color: var(--accent-primary);
  font-weight: 600;
  font-size: 0.78rem;
}

/* Lightbox Modal for Screenshots */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox-overlay.open {
  display: flex;
}

.lightbox-overlay img {
  max-width: 92vw;
  max-height: 82vh;
  border-radius: var(--radius-md);
  border: 3px solid #ffffff;
  background: #ffffff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #0f172a;
  font-size: 1.35rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

/* 2-Hour Fast-Track App/Website Builder Banner (Light UI) */
.fast-track-box {
  background: linear-gradient(135deg, #ffffff 0%, #eff6ff 100%);
  border: 2px solid #93c5fd;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.fast-track-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.25rem;
  align-items: center;
}

.guarantee-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #d1fae5;
  border: 1px solid #6ee7b7;
  color: #047857;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.42rem 1rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 998;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(18, 140, 126, 0.4);
  border: 2px solid #ffffff;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.02);
  color: #ffffff;
  box-shadow: 0 14px 34px rgba(18, 140, 126, 0.55);
}

.whatsapp-float-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 8px #ffffff;
}

.whatsapp-float-sub {
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.22);
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
}

/* Status Badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
}

.status-available, .status-released, .status-published {
  background: var(--success-bg);
  color: #047857;
  border: 1px solid #6ee7b7;
}

.status-in_development, .status-in-development, .status-testing, .status-planning {
  background: var(--warning-bg);
  color: #b45309;
  border: 1px solid #fcd34d;
}

.status-draft, .status-on_hold, .status-deprecated {
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #cbd5e1;
}

.status-coming-soon {
  background: var(--info-bg);
  color: #0369a1;
  border: 1px solid #7dd3fc;
}

.card-title {
  font-size: 1.38rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.card-text {
  color: var(--text-secondary);
  font-size: 0.96rem;
  margin-bottom: 1.25rem;
}

.feature-list {
  list-style: none;
  margin: 1rem 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.feature-check {
  color: var(--accent-primary);
  font-weight: 800;
  flex-shrink: 0;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 1.15rem;
  border-top: 1px solid var(--border-subtle);
}

/* Page Hero Banner (Inner pages) */
.page-hero {
  padding: 3.5rem 0 2.75rem;
  border-bottom: 1px solid var(--border-subtle);
  background: linear-gradient(180deg, #ffffff 0%, #eff6ff 100%);
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.page-hero p {
  color: var(--text-secondary);
  font-size: 1.08rem;
  max-width: 740px;
}

/* Forms (Light UI) */
.form-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-card);
}

.form-group {
  margin-bottom: 1.15rem;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.42rem;
  color: var(--text-primary);
}

.form-control {
  width: 100%;
  padding: 0.78rem 1rem;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-electric);
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.14);
}

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

.form-hint {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.alert-box {
  padding: 0.95rem 1.15rem;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  margin-bottom: 1.25rem;
  display: none;
}

.alert-box.show {
  display: block;
}

.alert-success {
  background: var(--success-bg);
  color: #065f46;
  border: 1px solid #6ee7b7;
}

.alert-error {
  background: var(--danger-bg);
  color: #991b1b;
  border: 1px solid #fca5a5;
}

.alert-info {
  background: var(--info-bg);
  color: #075985;
  border: 1px solid #7dd3fc;
}

/* Metadata & Spec Table */
.meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.meta-item {
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 1rem;
}

.meta-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.meta-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* Legal & Prose Content */
.prose-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
}

.prose-card h2 {
  font-size: 1.35rem;
  margin: 1.75rem 0 0.75rem;
  color: var(--text-primary);
}

.prose-card h2:first-child {
  margin-top: 0;
}

.prose-card p, .prose-card ul {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.prose-card ul {
  padding-left: 1.35rem;
}

.prose-card li {
  margin-bottom: 0.45rem;
}

/* Loading & Empty States */
.state-box {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: #ffffff;
  border: 1px dashed #cbd5e1;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
}

/* Footer (Light UI) */
.site-footer {
  margin-top: auto;
  background: #ffffff;
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-heading {
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 500;
}

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

.footer-bottom {
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.86rem;
}

/* Responsive Breakpoints */

/* Mobile drawer helpers (hidden on desktop) */
.mobile-nav-head,
.mobile-nav-foot,
.nav-overlay,
.mobile-menu-close {
  display: none;
}

.hamburger-line {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--text-primary);
  transition: transform 0.3s ease, opacity 0.2s ease;
}

.mobile-menu-toggle {
  flex-direction: column;
  gap: 4px;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}

.mobile-menu-toggle.is-active .hamburger-line:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.mobile-menu-toggle.is-active .hamburger-line:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.is-active .hamburger-line:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

html.menu-open,
body.menu-open {
  overflow: hidden;
}

.header-wa-btn {
  padding: 0.42rem 0.85rem;
  font-size: 0.8rem;
}

.brand-logo { min-width: 0; }
.brand-text { white-space: nowrap; }

/* Prevent long words / URLs from causing horizontal scroll */
h1, h2, h3, p, li, a, span, strong {
  overflow-wrap: break-word;
}

/* Smooth tap behaviour on touch devices */
a, button, .btn {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

@media (hover: none) {
  .card:hover,
  .media-item-card:hover,
  .btn-primary:hover,
  .btn-whatsapp:hover,
  .btn-outline:hover,
  .whatsapp-float:hover {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* Compact desktop / small laptops */
@media (max-width: 1200px) {
  .nav-links a {
    padding: 0.5rem 0.6rem;
    font-size: 0.9rem;
  }
  .brand-logo-img { height: 48px; }
}

/* Tablets & below: hamburger + slide-in drawer */
@media (max-width: 1024px) {
  .site-header {
    /* backdrop-filter breaks position:fixed children, so use solid bg */
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: #ffffff;
  }

  .header-inner { height: 72px; }

  .mobile-menu-toggle { display: inline-flex; }

  .primary-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(340px, 86vw);
    height: 100vh;
    height: 100dvh;
    background: #ffffff;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    box-shadow: -18px 0 40px rgba(15, 23, 42, 0.18);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.35s;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  .primary-nav.open {
    transform: translateX(0);
    visibility: visible;
  }

  .mobile-nav-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.9rem 1.1rem;
    border-bottom: 1px solid var(--border-subtle);
    position: sticky;
    top: 0;
    background: #ffffff;
    z-index: 1;
  }

  .mobile-nav-head .brand-logo-img { height: 40px; }
  .mobile-nav-head .brand-logo { font-size: 1.15rem; }

  .mobile-menu-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 1px solid var(--border-subtle);
    background: #f1f5f9;
    color: var(--text-primary);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    transition: var(--transition);
  }

  .mobile-menu-close:hover,
  .mobile-menu-close:focus-visible {
    background: #fee2e2;
    border-color: #fca5a5;
    color: var(--danger);
  }

  .nav-links {
    display: flex;
    position: static;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 1rem;
    background: transparent;
    box-shadow: none;
    border: 0;
  }

  .nav-links a {
    display: block;
    padding: 0.85rem 1rem;
    font-size: 1rem;
    border-radius: var(--radius-sm);
  }

  .primary-nav.open .nav-links li {
    animation: navItemIn 0.35s ease both;
  }
  .primary-nav.open .nav-links li:nth-child(2) { animation-delay: 0.04s; }
  .primary-nav.open .nav-links li:nth-child(3) { animation-delay: 0.08s; }
  .primary-nav.open .nav-links li:nth-child(4) { animation-delay: 0.12s; }
  .primary-nav.open .nav-links li:nth-child(5) { animation-delay: 0.16s; }
  .primary-nav.open .nav-links li:nth-child(6) { animation-delay: 0.20s; }
  .primary-nav.open .nav-links li:nth-child(7) { animation-delay: 0.24s; }

  .mobile-nav-foot {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding: 1rem;
    margin-top: auto;
    border-top: 1px solid var(--border-subtle);
  }

  .mobile-nav-foot .btn { width: 100%; }

  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s;
  }

  .nav-overlay.open {
    opacity: 1;
    visibility: visible;
  }

  .hero-grid,
  .fast-track-grid,
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .hero-grid { gap: 2.25rem; }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .fast-track-box {
    padding: 1.65rem;
  }
}

@keyframes navItemIn {
  from { opacity: 0; transform: translateX(16px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Tablet 2-column grids look better between 640–1024 */
@media (min-width: 641px) and (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

/* Phones */
@media (max-width: 768px) {
  .container { padding: 0 1.1rem; }
  .header-inner { height: 64px; gap: 0.5rem; }
  .brand-logo { gap: 0.5rem; font-size: 1.15rem; }
  .brand-logo-img { height: 40px; padding: 2px 4px; }
  .header-actions { gap: 0.45rem; }
  .header-wa-btn { display: none; }

  .hero-section { padding: 2.5rem 0 2.25rem; }
  .hero-subtitle { font-size: 1.02rem; margin-bottom: 1.5rem; }
  .hero-actions { flex-direction: column; align-items: stretch; margin-bottom: 1.75rem; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .hero-trust-strip { flex-direction: column; gap: 0.75rem; }
  .hero-showcase { padding: 1.1rem; }

  .section { padding: 3rem 0; }
  .section-header { margin-bottom: 1.75rem; }
  .section-desc { font-size: 0.98rem; }

  .card { padding: 1.35rem; }
  .card-title { font-size: 1.2rem; }
  .product-card-top { flex-wrap: wrap; }
  .card-actions .btn { flex: 1 1 calc(50% - 0.75rem); }

  .media-gallery-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
  .media-thumb-wrap { height: 190px; }

  .fast-track-box { padding: 1.25rem; }
  .form-card { padding: 1.35rem; }
  .prose-card { padding: 1.5rem; }
  .page-hero { padding: 2.25rem 0 2rem; }
  .page-hero p { font-size: 1rem; }

  .form-control { font-size: 16px; } /* prevents iOS zoom on focus */

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.75rem; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .site-footer { padding: 2.75rem 0 5.5rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .lightbox-overlay { padding: 1rem; }
  .lightbox-close { top: 0.75rem; right: 0.75rem; width: 40px; height: 40px; }

  /* Compact floating WhatsApp button */
  .whatsapp-float {
    bottom: 16px;
    right: 16px;
    padding: 0.7rem 1rem;
    font-size: 0.82rem;
  }
  .whatsapp-float-sub { display: none; }
}

/* Small phones */
@media (max-width: 480px) {
  .container { padding: 0 0.9rem; }
  .brand-logo { font-size: 1.05rem; }
  .brand-logo-img { height: 36px; }
  .lang-btn { padding: 0.28rem 0.55rem; font-size: 0.75rem; }
  .mobile-menu-toggle { width: 40px; height: 40px; }

  .hero-title { font-size: clamp(1.9rem, 9vw, 2.35rem); }
  .section-title { font-size: clamp(1.45rem, 6.5vw, 1.75rem); }
  .eyebrow-badge { font-size: 0.75rem; padding: 0.32rem 0.75rem; }

  .card-actions .btn { flex: 1 1 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .meta-grid { grid-template-columns: 1fr; }
  .status-badge { font-size: 0.7rem; }

  /* Floating WhatsApp becomes a round icon */
  .whatsapp-float {
    padding: 0;
    width: 54px;
    height: 54px;
    justify-content: center;
    font-size: 0;
    gap: 0;
  }
  .whatsapp-float-dot { display: none; }
  .whatsapp-float::before {
    content: "💬";
    font-size: 1.5rem;
  }
}

/* Very small phones (≤360px, e.g. Galaxy Fold / older devices) */
@media (max-width: 360px) {
  .brand-text { display: none; }
  .header-actions { gap: 0.35rem; }
  .btn { padding: 0.7rem 1.1rem; font-size: 0.9rem; }
  .card { padding: 1.1rem; }
}

/* -----------------------------------------------------------
   Cookie & Privacy Consent Banner
   ----------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  width: min(92%, 760px);
  background: rgba(15, 23, 42, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #f8fafc;
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.35rem;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.08);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
  opacity: 0;
  pointer-events: none;
}

.cookie-banner.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.cookie-banner-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.98rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.cookie-banner-text {
  font-size: 0.86rem;
  line-height: 1.5;
  color: #cbd5e1;
  margin: 0;
}

.cookie-banner-text a {
  color: #60a5fa;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.cookie-btn-primary {
  background: var(--primary);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.45rem 1rem;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.cookie-btn-primary:hover {
  background: var(--primary-hover);
}

.cookie-btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #f1f5f9;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.9rem;
  font-size: 0.84rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease;
}

.cookie-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
}

/* -----------------------------------------------------------
   Form Privacy Notices & Consent Controls
   ----------------------------------------------------------- */
.form-privacy-notice {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--text-secondary);
  background: rgba(37, 99, 235, 0.05);
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.95rem;
  margin-bottom: 0.85rem;
}

.form-privacy-notice strong {
  color: var(--text-primary);
}

.form-privacy-notice .security-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.form-consent-group {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 1.15rem;
}

.form-consent-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 0.2rem;
  flex-shrink: 0;
  accent-color: var(--primary);
  cursor: pointer;
}

.form-consent-group label {
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--text-primary);
  cursor: pointer;
}

.form-consent-group label a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

