/* ==========================================================================
   DunCrux - Official Website Stylesheet
   Modern Glassmorphism & Elevation-Focused Design
   ========================================================================== */

:root {
  /* Yosemite National Park Granite Palette */
  --color-bg: #141618;
  --color-bg-gradient: linear-gradient(180deg, #121416 0%, #181b1e 28%, #202428 65%, #141618 100%);
  --color-text: #f2f5f7;
  --color-text-muted: #9da6ad;
  --color-text-dim: #6b757d;
  
  /* DunCrux Mountain Crux Teal (sampled from official logo crest rgb(47, 124, 140)) */
  --color-primary: #2f7c8c;
  --color-primary-light: #4ea8ba;
  --color-primary-hover: #256673;
  
  /* Yosemite Granite Accents */
  --color-accent: #d97d54; /* Alpenglow copper / task priority tag */
  --color-accent-glow: rgba(217, 125, 84, 0.25);
  --color-success: #5fa383; /* Yosemite pine & lichen green */
  --color-border-glow: rgba(78, 168, 186, 0.3);
  
  /* Yosemite Granite Glassmorphic Surfaces */
  --glass-bg: rgba(38, 43, 48, 0.52);
  --glass-bg-hover: rgba(48, 54, 60, 0.68);
  --glass-border: rgba(200, 214, 224, 0.11);
  --glass-shadow: 0 16px 40px 0 rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.05);
  --glass-backdrop: blur(16px);
  
  --max-width: 1200px;
  --header-height: 80px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--color-bg);
  background-image: var(--color-bg-gradient);
  background-attachment: fixed;
  color: var(--color-text);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
  position: relative;
}

/* Background Ambient Orbs */
.bg-ambient {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.22;
}

.orb-1 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(78, 168, 186, 0.16) 0%, transparent 70%);
  top: -100px;
  right: -50px;
}

.orb-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(46, 54, 60, 0.45) 0%, transparent 70%);
  top: 40%;
  left: -200px;
}

.orb-3 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(217, 125, 84, 0.12) 0%, transparent 70%);
  bottom: 10%;
  right: -100px;
  opacity: 0.15;
}

/* Typography & Core Elements */
h1, h2, h3, h4, h5, h6 {
  color: var(--color-text);
  font-weight: 700;
  line-height: 1.15;
}

p {
  color: var(--color-text-muted);
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

/* Glassmorphism System */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-backdrop);
  -webkit-backdrop-filter: var(--glass-backdrop);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow);
  transition: var(--transition);
}

.glass-card:hover {
  border-color: rgba(200, 214, 224, 0.22);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-primary);
  background: linear-gradient(135deg, #3a8a9a 0%, #256673 100%);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(37, 102, 115, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(78, 168, 186, 0.45);
}

.btn-glass {
  background: rgba(45, 52, 58, 0.6);
  border: 1px solid rgba(200, 214, 224, 0.16);
  color: var(--color-text);
  backdrop-filter: blur(8px);
}

.btn-glass:hover {
  background: rgba(56, 64, 71, 0.75);
  border-color: rgba(200, 214, 224, 0.28);
  transform: translateY(-2px);
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  height: var(--header-height);
  display: flex;
  align-items: center;
  z-index: 100;
  background: rgba(18, 21, 24, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(200, 214, 224, 0.08);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo-wrapper {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 9px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

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

.nav-link:hover {
  color: var(--color-primary-light);
}

/* Hero Section */
.hero {
  padding: 5rem 0 6rem;
  position: relative;
}

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

.hero-text {
  max-width: 600px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(45, 52, 58, 0.65);
  border: 1px solid rgba(78, 168, 186, 0.3);
  color: var(--color-primary-light);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.75rem;
}

.hero-tag-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary-light);
  box-shadow: 0 0 10px var(--color-primary-light);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.hero-brand {
  font-size: 3.2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: 1.5rem;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.hero-logo-img {
  width: 72px;
  height: 72px;
  border-radius: 17px;
  object-fit: contain;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.hero-logo-img:hover {
  transform: scale(1.05);
}

.hero-title {
  font-size: 2.85rem;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
  line-height: 1.15;
  color: var(--color-text);
}

/* DunCrux Granite & Alpenglow Highlighter Stroke for highlight-pill */
.highlight-pill {
  color: #f8fafce6 !important;
  padding: 0 0.1em 0.15em;
  border-radius: 0;
  transform: none;
  display: inline-block;
  position: relative;
  z-index: 0;
  isolation: isolate;
  font-weight: 700;
}

.highlight-pill:before, .highlight-pill:after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}

.highlight-pill:before {
  left: 0.02em;
  right: -0.03em;
  bottom: 0.045em;
  height: 0.22em;
  background: linear-gradient(90deg, rgba(47, 124, 140, 0.65), rgba(217, 125, 84, 0.65));
  clip-path: polygon(0% 48%, 7% 30%, 14% 40%, 23% 28%, 33% 43%, 42% 33%, 51% 45%, 61% 29%, 70% 40%, 79% 31%, 88% 43%, 100% 36%, 100% 82%, 92% 92%, 84% 76%, 75% 90%, 66% 74%, 56% 88%, 47% 73%, 37% 86%, 27% 72%, 18% 84%, 8% 70%, 0% 78%);
  transform: rotate(-2.2deg);
  filter: blur(0.03em);
  opacity: 0.75;
}

.highlight-pill:after {
  left: 0.07em;
  right: -0.05em;
  bottom: 0.005em;
  height: 0.26em;
  background: linear-gradient(90deg, #2f7c8ceb, #d97d54eb), repeating-linear-gradient(91deg, rgba(255, 255, 255, 0.1) 0 0.12em, transparent 0.12em 0.22em, rgba(25, 29, 33, 0.2) 0.22em 0.28em);
  clip-path: polygon(0% 44%, 5% 24%, 11% 37%, 19% 22%, 28% 39%, 36% 27%, 45% 41%, 54% 25%, 63% 38%, 72% 26%, 81% 40%, 90% 29%, 100% 35%, 100% 86%, 94% 96%, 86% 75%, 77% 92%, 68% 74%, 58% 90%, 48% 72%, 38% 87%, 28% 70%, 18% 84%, 9% 69%, 0% 76%);
  transform: rotate(-2.1deg) skew(-8deg);
  box-shadow: 0 0.03em rgba(255, 255, 255, 0.05);
  opacity: 0.96;
}

.text-gradient {
  background: linear-gradient(135deg, #ffffff 30%, var(--color-primary-light) 75%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.store-badge {
  display: inline-block;
  transition: var(--transition);
}

.store-badge img {
  height: 48px;
  width: auto;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.store-badge:hover {
  transform: translateY(-3px);
  filter: brightness(1.1);
}


/* Hero Showcase & Phone Frame */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

/* Hero Video Showcase (Standalone 3D iPhone) */
.hero-video-showcase {
  position: relative;
  max-width: 410px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.65)) drop-shadow(0 0 35px rgba(47, 124, 140, 0.25));
  transition: transform 0.4s ease, filter 0.4s ease;
}

.hero-video-showcase:hover {
  transform: translateY(-6px);
  filter: drop-shadow(0 32px 64px rgba(0, 0, 0, 0.75)) drop-shadow(0 0 45px rgba(47, 124, 140, 0.35));
}

.hero-video-showcase::before {
  content: '';
  position: absolute;
  width: 60%;
  height: 70%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(47, 124, 140, 0.35) 0%, rgba(200, 110, 80, 0.15) 50%, transparent 75%);
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
}

.hero-standalone-video {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  display: block;
  /* Hardware-accelerated clip path cuts off all outer black borders seamlessly during playback */
  clip-path: inset(5.6% 11.9% 5.8% 11.8% round 14% / 7.8%);
  -webkit-clip-path: inset(5.6% 11.9% 5.8% 11.8% round 14% / 7.8%);
}

.phone-showcase {
  position: relative;
  max-width: 340px;
  margin: 0 auto;
}

.phone-frame {
  position: relative;
  border-radius: 46px;
  padding: 10px;
  background: linear-gradient(145deg, rgba(200, 214, 224, 0.18) 0%, rgba(46, 53, 59, 0.5) 60%, rgba(22, 25, 28, 0.9) 100%);
  border: 1px solid rgba(200, 214, 224, 0.18);
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.75),
              0 0 50px -10px rgba(47, 124, 140, 0.22);
  overflow: hidden;
  transition: transform 0.4s ease;
}

.phone-frame:hover {
  transform: translateY(-4px);
}

.phone-screen {
  border-radius: 36px;
  overflow: hidden;
  position: relative;
  background: #181b1d;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  mask-image: radial-gradient(white, black);
  transform: translateZ(0);
}

.hero-phone-img,
.hero-phone-video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Live Animated Phone App Mockup */
.phone-app-mockup {
  height: 640px;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #434140 0%, #3d4347 45%, #353b3f 100%);
  position: relative;
  user-select: none;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Status Bar */
.mockup-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 18px 4px;
  z-index: 20;
}

.mockup-time {
  font-size: 0.8rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.mockup-dynamic-island {
  width: 82px;
  height: 22px;
  background: #000000;
  border-radius: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

.mockup-status-icons {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #cbd5e1;
  font-size: 0.72rem;
  font-weight: 600;
}

/* Header Bar */
.mockup-header-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
}

.mockup-square-btn {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(45, 51, 56, 0.8);
  border: 1px solid rgba(200, 214, 224, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9da6ad;
  cursor: pointer;
  transition: var(--transition);
}

.mockup-square-btn:hover {
  background: rgba(58, 65, 72, 0.9);
  color: #ffffff;
}

.mockup-search-box {
  flex: 1;
  height: 34px;
  border-radius: 10px;
  background: rgba(45, 51, 56, 0.8);
  border: 1px solid rgba(200, 214, 224, 0.1);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  color: #8b959d;
  font-size: 0.78rem;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-success);
  box-shadow: 0 0 8px var(--color-success);
  flex-shrink: 0;
  animation: pulse 1.5s infinite;
}

/* Flat Task Stream */
.mockup-task-stream {
  flex: 1;
  padding: 2px 14px 6px;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
  position: relative;
}

/* Flat Task Item (no bubble card background, horizontal dividing lines) */
.mockup-task-card {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0;
  padding: 8px 4px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  position: relative;
  will-change: transform;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.mockup-task-card:last-child {
  border-bottom: none;
}

.mockup-task-card:hover {
  background: rgba(255, 255, 255, 0.035);
  border-radius: 6px;
}

.mockup-task-card.ascending {
  background: rgba(47, 124, 140, 0.16) !important;
  border-bottom-color: rgba(78, 168, 186, 0.35) !important;
  border-radius: 6px;
  z-index: 10;
}

.mockup-checkbox {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 1.5px solid rgba(165, 172, 178, 0.5);
  margin-top: 2px;
  flex-shrink: 0;
  transition: var(--transition);
}

.mockup-task-card:hover .mockup-checkbox {
  border-color: #d97d54;
}

.mockup-task-body {
  flex: 1;
  min-width: 0;
}

.mockup-task-title {
  font-size: 0.76rem;
  font-weight: 500;
  color: #eceff2;
  line-height: 1.34;
  margin-bottom: 3px;
}

.kw-copper,
.kw-coral {
  color: #d97d54;
  font-weight: 600;
}

.mockup-task-tags {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.67rem;
  line-height: 1;
  margin-bottom: 4px;
}

.tag-copper {
  color: #d97d54;
  font-weight: 500;
}

.tag-muted {
  color: #7f8892;
  font-weight: 400;
}

.mockup-task-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.66rem;
  color: #8c959e;
  line-height: 1;
}

.meta-tags {
  color: #d97d54;
  font-weight: 500;
  display: inline-flex;
  gap: 4px;
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #8c959e;
}

.meta-icon {
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  color: #8c959e;
}

/* Floating Elevation Popup that pops up inside moving task */
.elevation-popup-badge {
  position: absolute;
  top: 7px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, rgba(47, 124, 140, 0.95), rgba(78, 168, 186, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 12px rgba(47, 124, 140, 0.6), 0 0 10px rgba(78, 168, 186, 0.4);
  color: #ffffff;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  z-index: 25;
  pointer-events: none;
  animation: popup-elevation 2.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.elevation-popup-badge.coral {
  background: linear-gradient(135deg, rgba(217, 125, 84, 0.95), rgba(240, 148, 108, 0.95));
  box-shadow: 0 4px 12px rgba(217, 125, 84, 0.6), 0 0 10px rgba(217, 125, 84, 0.4);
}

@keyframes popup-elevation {
  0% {
    opacity: 0;
    transform: translateY(4px) scale(0.85);
  }
  15% {
    opacity: 1;
    transform: translateY(0px) scale(1.05);
  }
  30% {
    transform: translateY(-2px) scale(1);
  }
  75% {
    opacity: 1;
    transform: translateY(-2px) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-5px) scale(0.95);
  }
}

/* Bottom Add Bar */
.mockup-bottom-bar {
  padding: 8px 14px 14px;
}

.mockup-input-pill {
  height: 36px;
  border-radius: var(--radius-full);
  background: rgba(45, 51, 56, 0.8);
  border: 1px solid rgba(200, 214, 224, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6px 0 12px;
  color: #8b959d;
  font-size: 0.76rem;
}

.mockup-send-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(78, 168, 186, 0.25);
  border: 1px solid rgba(78, 168, 186, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: bold;
}

/* Interactive Trigger Hint below phone */
.mockup-interactive-hint {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.reorder-trigger-btn {
  background: rgba(42, 48, 54, 0.7);
  border: 1px solid rgba(78, 168, 186, 0.3);
  color: var(--color-text);
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  backdrop-filter: blur(8px);
  transition: var(--transition);
}

.reorder-trigger-btn:hover {
  background: rgba(47, 124, 140, 0.25);
  border-color: var(--color-primary-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(47, 124, 140, 0.3);
}

.pulse-icon {
  color: var(--color-primary-light);
}



/* Section Header */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section-header h2 {
  font-size: 2.6rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--color-text-muted);
}

/* Features Section */
.features {
  padding: 6rem 0;
  position: relative;
}

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

.feature-card {
  padding: 2.25rem 2rem;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.6);
  border-color: rgba(78, 168, 186, 0.35);
}

.feature-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(47, 124, 140, 0.2) 0%, rgba(40, 46, 52, 0.8) 100%);
  border: 1px solid rgba(78, 168, 186, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.feature-card:hover .feature-icon-wrapper {
  background: linear-gradient(135deg, rgba(47, 124, 140, 0.35) 0%, rgba(40, 46, 52, 0.95) 100%);
  transform: scale(1.08);
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: var(--color-text);
}

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

.feature-card a {
  color: var(--color-primary-light);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
  transition: var(--transition);
}

.feature-card a:hover {
  color: var(--color-text);
}

.feature-note {
  display: block;
  font-size: 0.82rem;
  color: var(--color-text-dim);
  line-height: 1.5;
  margin-top: 0.85rem;
  font-style: italic;
}

/* Gallery Section */
.gallery {
  padding: 6rem 0;
  position: relative;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.gallery-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: var(--transition);
}

.gallery-item .phone-frame {
  width: 100%;
  max-width: 290px;
  border-radius: 40px;
  padding: 9px;
  background: rgba(40, 46, 52, 0.5);
  border: 1px solid rgba(200, 214, 224, 0.1);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}

.gallery-item:hover .phone-frame {
  transform: translateY(-8px);
  border-color: rgba(78, 168, 186, 0.4);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.65), 0 0 30px rgba(47, 124, 140, 0.2);
}

.gallery-item .phone-screen {
  border-radius: 32px;
}

.gallery-caption {
  margin-top: 1.25rem;
  text-align: center;
}

.gallery-caption h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.25rem;
}

.gallery-caption p {
  font-size: 0.85rem;
  color: var(--color-text-dim);
}

/* Call to Action (CTA) Banner */
.cta-section {
  padding: 6rem 0;
}

.cta-card {
  padding: 4.5rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(42, 48, 54, 0.8) 0%, rgba(28, 32, 36, 0.92) 100%);
  border: 1px solid rgba(200, 214, 224, 0.14);
}

.cta-card h2 {
  font-size: 3rem;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.cta-card p {
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* Footer */
.site-footer {
  padding: 4rem 0 2.5rem;
  background: rgba(18, 20, 23, 0.85);
  border-top: 1px solid rgba(200, 214, 224, 0.08);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.4rem;
  font-weight: 700;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a, .footer-links button {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: color 0.2s ease;
}

.footer-links a:hover, .footer-links button:hover {
  color: var(--color-primary-light);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.88rem;
  color: var(--color-text-dim);
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(14, 16, 18, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox-modal.active {
  display: flex;
  opacity: 1;
}

.lightbox-container {
  position: relative;
  max-width: 450px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-height: 80vh;
  border-radius: 36px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(200, 214, 224, 0.15);
}

.lightbox-caption {
  margin-top: 1rem;
  font-size: 1rem;
  color: var(--color-text);
  font-weight: 600;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: -45px;
  right: 0;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: var(--transition);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.1);
}

/* Privacy Modal */
.privacy-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(14, 16, 18, 0.88);
  backdrop-filter: blur(16px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.privacy-modal.active {
  display: flex;
}

.privacy-card {
  max-width: 780px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 2.75rem 2.5rem 2.5rem;
  position: relative;
  background: #1a1d21;
  border: 1px solid rgba(200, 214, 224, 0.14);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
  scroll-behavior: smooth;
}

.privacy-card::-webkit-scrollbar {
  width: 8px;
}

.privacy-card::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-full);
}

.privacy-card::-webkit-scrollbar-thumb {
  background: rgba(200, 214, 224, 0.2);
  border-radius: var(--radius-full);
}

.privacy-card::-webkit-scrollbar-thumb:hover {
  background: rgba(200, 214, 224, 0.35);
}

.privacy-card h2 {
  font-size: 1.9rem;
  margin-bottom: 0.5rem;
  color: var(--color-text);
  padding-right: 2rem;
}

.privacy-card .privacy-date {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: 1.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(200, 214, 224, 0.1);
}

.privacy-card h3 {
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
  color: var(--color-primary-light);
  border-top: 1px solid rgba(200, 214, 224, 0.08);
  padding-top: 1.25rem;
}

.privacy-card h4 {
  font-size: 1.05rem;
  margin: 1.25rem 0 0.5rem;
  color: var(--color-text);
  font-weight: 600;
}

.privacy-card p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}

.privacy-card p strong,
.privacy-card li strong {
  color: var(--color-text);
  font-weight: 600;
}

.privacy-card ul {
  margin: 0.5rem 0 1.25rem 1.4rem;
  list-style-type: disc;
}

.privacy-card li {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--color-text-muted);
}

.privacy-card a {
  color: var(--color-primary-light);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: var(--transition);
}

.privacy-card a:hover {
  color: var(--color-text);
}

.privacy-card code {
  background: rgba(255, 255, 255, 0.08);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.88em;
  color: var(--color-primary-light);
}

.privacy-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: var(--color-text);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition);
}

.privacy-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

/* Standalone Privacy Policy Page */
.privacy-page-main {
  padding: calc(var(--header-height) + 2rem) 0 4rem;
  min-height: calc(100vh - 160px);
}

.privacy-page-wrapper {
  max-width: 820px;
  margin: 0 auto;
}

.privacy-page-wrapper .privacy-card {
  max-height: none;
  overflow: visible;
  padding: 3rem 2.5rem;
}

@media (max-width: 600px) {
  .privacy-modal {
    padding: 1rem;
  }
  .privacy-card {
    padding: 2rem 1.25rem 1.5rem;
    max-height: 90vh;
  }
  .privacy-card h2 {
    font-size: 1.5rem;
  }
  .privacy-card h3 {
    font-size: 1.15rem;
  }
  .privacy-close {
    top: 1rem;
    right: 1rem;
  }
  .privacy-page-wrapper .privacy-card {
    padding: 2rem 1.25rem;
    max-height: none;
    overflow: visible;
  }
}

/* Mobile Responsiveness */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  
  .hero-text {
    max-width: 100%;
    margin: 0 auto;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
  
  .hero-brand {
    justify-content: center;
  }

  .hero-buttons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero-brand {
    font-size: 2.5rem;
  }

  .hero-logo-img {
    width: 58px;
    height: 58px;
    border-radius: 14px;
  }
  
  .hero-title {
    font-size: 2.3rem;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .cta-card h2 {
    font-size: 2.2rem;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }
}
