/* ============================================
   Ace Health - Main Stylesheet
   Theme: White + Medical Blue
   ============================================ */

:root {
  --primary: #0077B6;
  --primary-dark: #005f8f;
  --primary-light: #90E0EF;
  --primary-lighter: #CAF0F8;
  --accent: #00B4D8;
  --white: #FFFFFF;
  --off-white: #F8FBFD;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --success: #10B981;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 25px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 40px -5px rgba(0, 0, 0, 0.1);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --transition: 0.3s ease;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   Typography
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--gray-900);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p {
  color: var(--gray-600);
  line-height: 1.7;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  background: var(--primary-lighter);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-title {
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-500);
  max-width: 640px;
  margin: 0 auto 48px;
}

.text-center {
  text-align: center;
}

/* ============================================
   Buttons
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  font-family: inherit;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
}

.btn-white:hover {
  background: var(--off-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-sm {
  padding: 10px 24px;
  font-size: 0.9rem;
}

.btn-icon {
  width: 20px;
  height: 20px;
}

/* ============================================
   Header / Navigation
   ============================================ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  transition: all var(--transition);
}

.header.scrolled {
  box-shadow: var(--shadow);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--white);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--gray-600);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: all var(--transition);
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
  padding: 140px 0 100px;
  background: linear-gradient(160deg, var(--white) 0%, var(--primary-lighter) 50%, var(--white) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 119, 182, 0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.05) 0%, transparent 70%);
  border-radius: 50%;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 560px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--primary-light);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.hero-badge svg {
  width: 16px;
  height: 16px;
}

.hero h1 {
  margin-bottom: 20px;
}

.hero h1 span {
  color: var(--primary);
}

.hero-desc {
  font-size: 1.15rem;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 40px;
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
}

.hero-stat-label {
  font-size: 0.85rem;
  color: var(--gray-500);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-phone-mockup {
  position: relative;
  width: 280px;
  height: 560px;
}

.phone-frame {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, var(--primary), var(--accent));
  border-radius: 40px;
  padding: 12px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0, 0, 0, 0.05);
  position: relative;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--white);
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.phone-screen-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.phone-screen-icon svg {
  width: 36px;
  height: 36px;
  fill: var(--white);
}

.phone-screen-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.phone-screen-subtitle {
  font-size: 0.8rem;
  color: var(--gray-400);
  text-align: center;
}

.phone-chat-bubbles {
  width: 100%;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chat-bubble {
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 0.75rem;
  max-width: 85%;
  line-height: 1.4;
}

.chat-bubble.sent {
  background: var(--primary);
  color: var(--white);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chat-bubble.received {
  background: var(--gray-100);
  color: var(--gray-700);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.chat-bubble.ai {
  background: linear-gradient(135deg, var(--primary-lighter), #e0f7ff);
  color: var(--primary-dark);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  border: 1px solid var(--primary-light);
}

.floating-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius);
  padding: 14px 18px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-700);
  animation: float 3s ease-in-out infinite;
  z-index: 2;
}

.floating-card svg {
  width: 20px;
  height: 20px;
}

.floating-card.card-1 {
  top: 60px;
  right: -20px;
  animation-delay: 0s;
}

.floating-card.card-2 {
  bottom: 100px;
  left: -30px;
  animation-delay: 1.5s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ============================================
   Features Section
   ============================================ */

.features {
  padding: 100px 0;
  background: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: all var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--primary-lighter);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--primary);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3 {
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.95rem;
}

/* ============================================
   Apps Section
   ============================================ */

.apps-section {
  padding: 100px 0;
  background: var(--off-white);
}

.app-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 80px;
}

.app-row:last-child {
  margin-bottom: 0;
}

.app-row.reverse {
  direction: rtl;
}

.app-row.reverse > * {
  direction: ltr;
}

.app-info {
  max-width: 480px;
}

.app-name-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  background: var(--primary-lighter);
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.app-info h2 {
  margin-bottom: 16px;
}

.app-info > p {
  margin-bottom: 28px;
}

.app-features-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.app-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.app-feature-check {
  width: 24px;
  height: 24px;
  min-width: 24px;
  background: var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.app-feature-check svg {
  width: 14px;
  height: 14px;
  stroke: var(--white);
  fill: none;
  stroke-width: 3;
}

.app-feature-item span {
  font-size: 0.95rem;
  color: var(--gray-700);
}

.app-visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.app-mockup {
  width: 260px;
  height: 520px;
  background: linear-gradient(145deg, var(--primary), var(--accent));
  border-radius: 36px;
  padding: 10px;
  box-shadow: var(--shadow-lg);
}

.app-mockup-screen {
  width: 100%;
  height: 100%;
  background: var(--white);
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.mockup-header {
  padding: 20px 16px 12px;
  background: var(--primary);
  color: var(--white);
}

.mockup-header-title {
  font-size: 0.95rem;
  font-weight: 700;
}

.mockup-header-sub {
  font-size: 0.7rem;
  opacity: 0.8;
}

.mockup-body {
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mockup-list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: var(--gray-50);
  border-radius: var(--radius-sm);
}

.mockup-avatar {
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: var(--primary-lighter);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mockup-avatar svg {
  width: 18px;
  height: 18px;
  stroke: var(--primary);
  fill: none;
  stroke-width: 2;
}

.mockup-item-text {
  flex: 1;
}

.mockup-item-name {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-800);
}

.mockup-item-msg {
  font-size: 0.65rem;
  color: var(--gray-400);
}

.mockup-item-time {
  font-size: 0.6rem;
  color: var(--gray-400);
}

.mockup-bottom-bar {
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-top: 1px solid var(--gray-200);
}

.mockup-input {
  flex: 1;
  height: 32px;
  background: var(--gray-100);
  border-radius: 16px;
}

.mockup-send-btn {
  width: 32px;
  height: 32px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mockup-send-btn svg {
  width: 14px;
  height: 14px;
  fill: var(--white);
}

/* ============================================
   Use Cases Section
   ============================================ */

.use-cases {
  padding: 100px 0;
  background: var(--white);
}

.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.use-case-card {
  background: linear-gradient(145deg, var(--off-white), var(--white));
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 36px;
  transition: all var(--transition);
}

.use-case-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}

.use-case-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-lighter);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.use-case-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--primary);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.use-case-card h3 {
  margin-bottom: 10px;
}

.use-case-card p {
  font-size: 0.95rem;
}

/* ============================================
   Security Section
   ============================================ */

.security {
  padding: 100px 0;
  background: linear-gradient(160deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.security::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
  border-radius: 50%;
}

.security .container {
  position: relative;
  z-index: 1;
}

.security .section-label {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

.security .section-title {
  color: var(--white);
}

.security .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.security-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition);
  backdrop-filter: blur(4px);
}

.security-card:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-4px);
}

.security-card-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.security-card-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--white);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.security-card h4 {
  color: var(--white);
  margin-bottom: 8px;
}

.security-card p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   How It Works Section
   ============================================ */

.how-it-works {
  padding: 100px 0;
  background: var(--off-white);
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

.steps-container::before {
  content: '';
  position: absolute;
  top: 44px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: var(--primary-light);
}

.step-card {
  text-align: center;
  position: relative;
}

.step-number {
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}

.step-card h4 {
  margin-bottom: 8px;
}

.step-card p {
  font-size: 0.9rem;
}

/* ============================================
   Download Section
   ============================================ */

.download {
  padding: 100px 0;
  background: var(--white);
}

.download .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.download-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  width: 100%;
  max-width: 900px;
}

.download-card {
  background: linear-gradient(145deg, var(--off-white), var(--white));
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 48px 36px;
  text-align: center;
  transition: all var(--transition);
}

.download-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
  transform: translateY(-4px);
}

.download-card-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  background: var(--primary-lighter);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.download-card-icon svg {
  width: 36px;
  height: 36px;
  stroke: var(--primary);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.download-card h3 {
  margin-bottom: 8px;
}

.download-card p {
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.store-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gray-900);
  color: var(--white);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all var(--transition);
  min-width: 200px;
  justify-content: center;
}

.store-btn:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

.store-btn svg {
  width: 24px;
  height: 24px;
  fill: var(--white);
}

.store-btn-text {
  text-align: left;
}

.store-btn-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 400;
  opacity: 0.8;
}

.store-btn-store {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
}

/* ============================================
   Contact Section
   ============================================ */

.contact {
  padding: 100px 0;
  background: var(--off-white);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2 {
  margin-bottom: 16px;
}

.contact-info > p {
  margin-bottom: 32px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--primary-lighter);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-item-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--primary);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-item-text h4 {
  margin-bottom: 4px;
  font-size: 1rem;
}

.contact-item-text p {
  font-size: 0.9rem;
}

.contact-item-text a {
  color: var(--primary);
  font-weight: 500;
}

.contact-item-text a:hover {
  text-decoration: underline;
}

.contact-form-wrapper {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-700);
}

.form-group input,
.form-group textarea {
  padding: 12px 16px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--gray-800);
  transition: border-color var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ============================================
   Footer
   ============================================ */

.footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--gray-400);
  max-width: 300px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 0.9rem;
  color: var(--gray-400);
}

.footer-col a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--gray-500);
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.footer-socials a:hover {
  background: var(--primary);
}

.footer-socials svg {
  width: 16px;
  height: 16px;
  fill: var(--gray-400);
}

.footer-socials a:hover svg {
  fill: var(--white);
}

/* ============================================
   Content Pages (Privacy, Delete Account)
   ============================================ */

.page-hero {
  padding: 140px 0 60px;
  background: linear-gradient(160deg, var(--white) 0%, var(--primary-lighter) 100%);
  text-align: center;
}

.page-hero h1 {
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 1.1rem;
}

.content-section {
  padding: 60px 0 100px;
}

.content-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.content-wrapper h2 {
  font-size: 1.5rem;
  margin-top: 40px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary-lighter);
}

.content-wrapper h3 {
  font-size: 1.15rem;
  margin-top: 24px;
  margin-bottom: 10px;
  color: var(--primary-dark);
}

.content-wrapper p {
  margin-bottom: 14px;
}

.content-wrapper ul,
.content-wrapper ol {
  margin-bottom: 14px;
  padding-left: 24px;
}

.content-wrapper ul {
  list-style: disc;
}

.content-wrapper ol {
  list-style: decimal;
}

.content-wrapper li {
  font-size: 0.95rem;
  color: var(--gray-600);
  margin-bottom: 6px;
  line-height: 1.6;
}

.content-wrapper a {
  color: var(--primary);
  font-weight: 500;
}

.content-wrapper a:hover {
  text-decoration: underline;
}

.content-wrapper .info-box {
  background: var(--primary-lighter);
  border-left: 4px solid var(--primary);
  padding: 20px 24px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 24px 0;
}

.content-wrapper .info-box p {
  margin-bottom: 0;
  color: var(--primary-dark);
  font-weight: 500;
}

.content-wrapper .warning-box {
  background: #FEF3C7;
  border-left: 4px solid #F59E0B;
  padding: 20px 24px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 24px 0;
}

.content-wrapper .warning-box p {
  margin-bottom: 0;
  color: #92400E;
}

.steps-list {
  counter-reset: steps;
}

.steps-list li {
  counter-increment: steps;
  list-style: none;
  padding-left: 40px;
  position: relative;
  margin-bottom: 14px;
}

.steps-list li::before {
  content: counter(steps);
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}

/* ============================================
   Animations
   ============================================ */

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-desc {
    max-width: 100%;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    display: none;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .app-row {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .app-row.reverse {
    direction: ltr;
  }

  .app-info {
    max-width: 100%;
    text-align: center;
  }

  .app-features-list {
    align-items: center;
  }

  .security-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-container::before {
    display: none;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    box-shadow: var(--shadow-md);
    border-top: 1px solid var(--gray-200);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .nav-cta.open {
    display: flex;
    position: absolute;
    top: calc(72px + var(--nav-height, 200px));
  }

  .mobile-toggle {
    display: flex;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .use-cases-grid {
    grid-template-columns: 1fr;
  }

  .security-grid {
    grid-template-columns: 1fr;
  }

  .steps-container {
    grid-template-columns: 1fr;
  }

  .download-cards {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero {
    padding: 120px 0 60px;
  }

  .features,
  .apps-section,
  .use-cases,
  .security,
  .how-it-works,
  .download,
  .contact {
    padding: 60px 0;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
}
