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

/* --- DESIGN SYSTEM TOKENS --- */
:root {
  --bg-app: #f4f7f5;
  --bg-inner: #f8fafc;
  --surface: #ffffff;
  --text-dark: #1b4332;
  --text-primary: #2d6a4f;
  --text-muted: #718096;
  --text-light: #a0aec0;
  --accent-green: #22c55e;
  --accent-orange: #f77f00;
  --accent-yellow: #ffd166;
  --accent-blue: #3b82f6;
  
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.03);
  --shadow-card: 0 12px 35px rgba(27, 67, 50, 0.04);
  --shadow-hover: 0 20px 45px rgba(27, 67, 50, 0.08);
  --shadow-phone: 0 25px 60px rgba(0, 0, 0, 0.12);
  
  --font-headings: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;
}

/* --- RESET & GLOBAL STYLES --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-app);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 700;
  color: var(--text-dark);
}

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

button, .btn {
  font-family: var(--font-headings);
  font-weight: 600;
  cursor: pointer;
  border: none;
  outline: none;
  transition: var(--transition-smooth);
}

/* --- LAYOUT UTILITIES --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 100px 0;
  position: relative;
}

/* --- GLASSMORPHISM NAVIGATION BAR --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(244, 247, 245, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(45, 106, 79, 0.08);
  transition: var(--transition-smooth);
}

header.scrolled {
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  font-family: var(--font-headings);
}

.logo-dot {
  width: 12px;
  height: 12px;
  background-color: var(--accent-orange);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 10px rgba(247, 127, 0, 0.4);
}

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

nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

nav a:hover, nav a.active {
  color: var(--text-primary);
}

.nav-cta {
  background: var(--text-primary);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(45, 106, 79, 0.2);
}

.nav-cta:hover {
  background: var(--text-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(45, 106, 79, 0.3);
}

.mobile-menu-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--text-primary);
}

/* --- HERO SECTION --- */
.hero {
  padding-top: 160px;
  padding-bottom: 80px;
  background: radial-gradient(circle at 80% 20%, rgba(82, 183, 136, 0.08) 0%, rgba(244, 247, 245, 0) 50%);
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-text h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--text-dark) 40%, var(--text-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-text p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 35px;
  max-width: 540px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #111;
  color: #fff;
  padding: 12px 24px;
  border-radius: 16px;
  transition: var(--transition-smooth);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.store-btn:hover {
  background: #222;
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.store-btn.secondary {
  background: #fff;
  color: var(--text-dark);
  border: 1px solid rgba(45, 106, 79, 0.15);
}

.store-btn.secondary:hover {
  background: var(--bg-inner);
  border-color: var(--text-primary);
}

.store-btn i {
  font-size: 1.8rem;
}

.store-btn .store-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.store-btn .store-text span {
  font-size: 0.75rem;
  opacity: 0.7;
}

.store-btn .store-text strong {
  font-size: 1rem;
}

.hero-badges {
  display: flex;
  gap: 30px;
  border-top: 1px solid rgba(45, 106, 79, 0.08);
  padding-top: 24px;
}

.badge-item {
  display: flex;
  flex-direction: column;
}

.badge-item strong {
  font-size: 1.4rem;
  color: var(--text-primary);
  font-family: var(--font-headings);
}

.badge-item span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --- SMARTPHONE MOCKUP FRAME --- */
.phone-showcase {
  display: flex;
  justify-content: center;
  position: relative;
}

.phone-mockup {
  width: 310px;
  height: 640px;
  background: #000;
  border-radius: 44px;
  padding: 10px;
  box-shadow: var(--shadow-phone);
  position: relative;
  border: 4px solid #222;
}

/* Notch / Dynamic Island */
.phone-mockup::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 25px;
  background: #000;
  border-radius: 15px;
  z-index: 10;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--bg-app);
  border-radius: 36px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* --- FEATURES SECTION --- */
.features {
  background: #fff;
}

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

.section-header h2 {
  font-size: 2.2rem;
  margin-bottom: 16px;
  color: var(--text-dark);
}

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

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

.feature-card {
  background: var(--bg-inner);
  border: 1px solid rgba(45, 106, 79, 0.04);
  border-radius: 28px;
  padding: 40px 32px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(45, 106, 79, 0.15);
}

.feature-icon-wrapper {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 24px;
  transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon-wrapper {
  transform: scale(1.1) rotate(5deg);
}

/* Icon specific styles */
.feature-card.ai .feature-icon-wrapper {
  background: rgba(34, 197, 94, 0.1);
  color: var(--accent-green);
}
.feature-card.tracking .feature-icon-wrapper {
  background: rgba(45, 106, 79, 0.1);
  color: var(--text-primary);
}
.feature-card.fasting .feature-icon-wrapper {
  background: rgba(247, 127, 0, 0.1);
  color: var(--accent-orange);
}
.feature-card.security .feature-icon-wrapper {
  background: rgba(59, 130, 246, 0.1);
  color: var(--accent-blue);
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

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

/* --- INTERACTIVE TOUR SECTION --- */
.tour {
  background: var(--bg-inner);
}

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

.tour-tabs {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tour-tab-btn {
  background: #fff;
  border: 1px solid rgba(45, 106, 79, 0.08);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  text-align: left;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
}

.tour-tab-btn i {
  font-size: 1.5rem;
  margin-top: 3px;
  color: var(--text-light);
  transition: var(--transition-smooth);
}

.tour-tab-btn h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
  color: var(--text-dark);
}

.tour-tab-btn p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.tour-tab-btn.active {
  border-color: var(--text-primary);
  background: var(--text-primary);
  color: #fff;
}

.tour-tab-btn.active h3,
.tour-tab-btn.active p {
  color: #fff;
}

.tour-tab-btn.active i {
  color: var(--accent-yellow);
}

.tour-tab-btn:hover:not(.active) {
  transform: translateX(6px);
  border-color: rgba(45, 106, 79, 0.2);
}

/* --- APP SCREEN IMPLEMENTATIONS (IN PHONE MOCKUP) --- */

/* COMMON INTERNAL APP STYLE */
.app-header {
  padding: 40px 16px 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,0.02);
}

.app-date-badge {
  background: var(--bg-app);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-primary);
}

.app-profile-avatar {
  width: 32px;
  height: 32px;
  background: var(--text-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.85rem;
}

.app-body {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  display: none;
}

.app-body.active {
  display: block;
}

/* SCREEN 1: DASHBOARD */
.app-circle-wrapper {
  display: flex;
  justify-content: center;
  margin: 16px 0;
  position: relative;
}

.app-circle-chart {
  width: 140px;
  height: 140px;
  position: relative;
  transform: rotate(-90deg);
}

.app-circle-chart svg {
  width: 100%;
  height: 100%;
}

.app-circle-bg {
  fill: none;
  stroke: #e2e8f0;
  stroke-width: 12;
}

.app-circle-progress {
  fill: none;
  stroke: var(--text-primary);
  stroke-width: 12;
  stroke-linecap: round;
  stroke-dasharray: 440;
  stroke-dashoffset: 130;
  transition: var(--transition-smooth);
}

.app-circle-info {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.app-circle-info h4 {
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1;
  color: var(--text-dark);
}

.app-circle-info span {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 500;
}

.app-macro-row {
  display: flex;
  justify-content: space-around;
  margin-bottom: 20px;
}

.app-macro-item {
  text-align: center;
  font-size: 0.75rem;
}

.app-macro-label {
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.app-macro-bar-outer {
  width: 56px;
  height: 6px;
  background: #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 4px;
}

.app-macro-bar-inner {
  height: 100%;
  border-radius: 4px;
}

.app-macro-value {
  font-weight: 700;
  color: var(--text-dark);
}

/* Interactive Water Demo Widget inside Dashboard */
.app-water-card {
  background: #fff;
  border-radius: 20px;
  padding: 14px;
  margin-bottom: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.015);
}

.app-water-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 0.8rem;
  font-weight: 700;
}

.app-water-header i {
  color: var(--accent-blue);
}

.app-water-row {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* Water Bottle Visualizer */
.app-water-glass-container {
  width: 22px;
  height: 55px;
  border: 2px solid #e2e8f0;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  background: #fff;
}

.app-water-glass-fill {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, #2563eb, #60a5fa);
  height: 48%; /* Controlled by JS */
  transition: height 0.4s ease-out;
}

.app-water-details {
  flex: 1;
}

.app-water-details-main {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-dark);
}

.app-water-details-main span {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
}

.app-water-interactive-hint {
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.app-water-cups-row {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}

.app-water-cup-icon {
  color: #e2e8f0;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.app-water-cup-icon.active {
  color: var(--accent-blue);
}

/* SCREEN 2: TAGEBUCH (DIARY) */
.app-diary-meals {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.app-meal-card {
  background: #fff;
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.015);
}

.app-meal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(0,0,0,0.03);
  padding-bottom: 6px;
}

.app-meal-title {
  font-weight: 700;
  font-size: 0.9rem;
}

.app-meal-cal {
  font-size: 0.8rem;
  color: var(--text-primary);
  font-weight: 700;
}

.app-food-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.75rem;
}

.app-food-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.app-food-icon {
  width: 28px;
  height: 28px;
  background: var(--bg-app);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.app-food-details {
  display: flex;
  flex-direction: column;
}

.app-food-name {
  font-weight: 600;
}

.app-food-amount {
  color: var(--text-light);
  font-size: 0.65rem;
}

.app-food-kcal {
  font-weight: 700;
  color: var(--text-dark);
}

.app-add-food-btn {
  border: 1px dashed var(--text-primary);
  border-radius: 12px;
  padding: 8px;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-primary);
  font-weight: 600;
  margin-top: 8px;
  background: transparent;
}

/* SCREEN 3: CAMERA / KI SCANNER */
.app-scanner-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

/* Dynamic scanner shutter layout */
.app-scanner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px 20px 24px 20px;
}

.app-scanner-title {
  color: #fff;
  text-align: center;
  font-family: var(--font-headings);
  font-size: 0.95rem;
  font-weight: 600;
}

.app-scanner-box {
  width: 180px;
  height: 180px;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 16px;
  align-self: center;
  position: relative;
  overflow: hidden;
}

/* Corner focus brackets */
.app-scanner-box::before, .app-scanner-box::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: #fff;
  border-style: solid;
  pointer-events: none;
}
.app-scanner-box::before {
  top: -2px;
  left: -2px;
  border-width: 3px 0 0 3px;
}
.app-scanner-box::after {
  bottom: -2px;
  right: -2px;
  border-width: 0 3px 3px 0;
}

/* Moving laser line */
.app-scanner-laser {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent-green);
  box-shadow: 0 0 8px var(--accent-green);
  animation: laserSweep 2s ease-in-out infinite;
}

@keyframes laserSweep {
  0% { top: 0%; }
  50% { top: 100%; }
  100% { top: 0%; }
}

.app-scanner-status {
  text-align: center;
  color: #fff;
  font-size: 0.75rem;
  background: rgba(27, 67, 50, 0.9);
  padding: 6px 12px;
  border-radius: 12px;
  align-self: center;
  animation: pulse 1.5s infinite alternate;
}

@keyframes pulse {
  0% { transform: scale(0.98); opacity: 0.8; }
  100% { transform: scale(1.02); opacity: 1; }
}

.app-scanner-controls {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.app-scanner-btn-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
}

.app-scanner-btn-shutter {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--accent-green);
}

/* SCREEN 4: FASTING TIMER */
.app-fasting-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 24px;
}

.app-fasting-circle {
  width: 170px;
  height: 170px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-fasting-circle svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.app-fasting-circle-bg {
  fill: none;
  stroke: #f3f4f6;
  stroke-width: 10;
}

.app-fasting-circle-progress {
  fill: none;
  stroke: var(--accent-orange);
  stroke-width: 10;
  stroke-linecap: round;
  stroke-dasharray: 500;
  stroke-dashoffset: 160;
}

.app-fasting-circle-content {
  position: absolute;
  text-align: center;
}

.app-fasting-circle-content i {
  color: var(--accent-orange);
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.app-fasting-time {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-dark);
}

.app-fasting-sub {
  font-size: 0.65rem;
  color: var(--text-muted);
}

.app-fasting-info-row {
  display: flex;
  width: 100%;
  gap: 12px;
  margin: 24px 0 16px 0;
}

.app-fasting-card {
  flex: 1;
  background: #fff;
  border-radius: 16px;
  padding: 10px;
  text-align: center;
}

.app-fasting-card span {
  font-size: 0.6rem;
  color: var(--text-muted);
}

.app-fasting-card div {
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--text-dark);
}

.app-fasting-btn {
  background: var(--accent-orange);
  color: #fff;
  border-radius: 20px;
  padding: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  width: 100%;
  text-align: center;
}

/* --- PRIVACY HIGHLIGHT SECTION --- */
.privacy-highlight {
  background: #fff;
  overflow: hidden;
}

.privacy-highlight .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.privacy-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.privacy-item {
  display: flex;
  gap: 16px;
}

.privacy-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(45, 106, 79, 0.06);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.privacy-item-text h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.privacy-item-text p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.privacy-graphics {
  position: relative;
  display: flex;
  justify-content: center;
}

.shield-graphic {
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(82,183,136,0.15) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  color: var(--text-primary);
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

/* --- FOOTER SECTION --- */
footer {
  background: var(--text-dark);
  color: #fff;
  padding: 60px 0 30px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

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

.footer-brand h3 {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.footer-brand p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  max-width: 260px;
}

.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 20px;
  position: relative;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent-orange);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.footer-col a:hover {
  color: var(--accent-yellow);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

/* --- DEDICATED PRIVACY PAGE STYLES --- */
.privacy-page {
  padding-top: 140px;
  background: #fdfdfd;
}

.privacy-page-header {
  border-bottom: 1px solid rgba(0,0,0,0.05);
  padding-bottom: 30px;
  margin-bottom: 40px;
}

.privacy-page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.privacy-page-header p {
  color: var(--text-muted);
}

.privacy-content-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 50px;
}

.privacy-nav {
  position: sticky;
  top: 120px;
  height: fit-content;
}

.privacy-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-left: 2px solid #e2e8f0;
  padding-left: 0;
}

.privacy-nav a {
  display: block;
  padding: 8px 16px;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
  border-radius: 0 8px 8px 0;
  transition: var(--transition-fast);
  margin-left: -2px;
  border-left: 2px solid transparent;
}

.privacy-nav li.active a, .privacy-nav a:hover {
  color: var(--text-primary);
  border-left-color: var(--text-primary);
  font-weight: 600;
}

.privacy-text-blocks {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.privacy-block {
  scroll-margin-top: 120px;
}

.privacy-block h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.privacy-block h3 {
  font-size: 1.1rem;
  margin: 16px 0 8px 0;
}

.privacy-block p, .privacy-block ul {
  font-size: 0.95rem;
  color: #4a5568;
  margin-bottom: 16px;
}

.privacy-block ul {
  padding-left: 20px;
}

.privacy-block li {
  margin-bottom: 8px;
}

.privacy-block strong {
  color: var(--text-dark);
}

.privacy-alert {
  background: rgba(45, 106, 79, 0.05);
  border-left: 4px solid var(--text-primary);
  padding: 16px;
  border-radius: 0 12px 12px 0;
  margin: 20px 0;
}

.privacy-alert p {
  margin-bottom: 0;
  font-size: 0.9rem;
  color: var(--text-dark);
  font-weight: 500;
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1024px) {
  .hero-text h1 {
    font-size: 2.8rem;
  }
  .hero .container {
    gap: 40px;
  }
}

@media (max-width: 868px) {
  header .container {
    height: 70px;
  }
  nav {
    display: none; /* Mobile menu toggling needed */
  }
  .mobile-menu-toggle {
    display: block;
  }
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 20px;
  }
  .hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-badges {
    justify-content: center;
  }
  .tour-wrapper {
    grid-template-columns: 1fr;
  }
  .phone-showcase {
    order: -1;
  }
  .privacy-highlight .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .privacy-graphics {
    order: -1;
  }
  .privacy-content-layout {
    grid-template-columns: 1fr;
  }
  .privacy-nav {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 2.2rem;
  }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
  }
  .store-btn {
    justify-content: center;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
