/* ============================================
   tici — Landing Page Styles
   Aesthetic: Minimal healthcare, Luma-inspired
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Brand */
  --teal: #34A2B5;
  --teal-light: #53BECC;
  --teal-dark: #2B8C9E;
  --teal-subtle: #E8F6F8;
  --teal-glow: rgba(52, 162, 181, 0.12);

  /* Neutrals */
  --bg: #FAFAFA;
  --white: #FFFFFF;
  --gray-50: #F5F5F5;
  --gray-100: #EFEFEF;
  --gray-200: #E5E5E5;
  --gray-300: #D4D4D4;
  --gray-400: #A3A3A3;
  --gray-500: #737373;
  --gray-600: #525252;
  --gray-700: #404040;
  --gray-800: #262626;
  --gray-900: #171717;

  /* Typography */
  --text: #1A1A1A;
  --text-secondary: #6B7280;
  --text-tertiary: #9CA3AF;

  /* Spacing */
  --container: 1120px;
  --section-padding: 120px;
  --nav-height: 72px;

  /* Radius */
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 100px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.08);
  --shadow-xl: 0 16px 48px rgba(0,0,0,0.10);
  --shadow-phone: 0 24px 64px rgba(0,0,0,0.12), 0 8px 24px rgba(0,0,0,0.06);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Urbanist', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

/* --- Grain Overlay --- */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* --- Container --- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}


/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: background 0.3s, box-shadow 0.3s;
}

.nav.scrolled {
  background: rgba(250, 250, 250, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text);
}

.nav-logo span {
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: var(--gray-900);
  color: var(--white) !important;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.85rem;
  transition: transform 0.2s, box-shadow 0.2s;
  -webkit-text-fill-color: white !important;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.nav-cta svg {
  width: 16px;
  height: 16px;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* --- Hero Logo --- */
.hero-logo {
  display: block;
  height: 32px;
  width: auto;
  margin-bottom: 20px;
  object-fit: contain;
}

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  position: relative;
  overflow: hidden;
}

.hero.hero-fullpage {
  min-height: 100vh;
  padding-top: 0;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(0,0,0,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  width: 100%;
}

.hero-content {
  padding: 40px 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--teal-subtle);
  color: var(--teal-dark);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}

.hero-badge svg {
  width: 14px;
  height: 14px;
}

.hero h1 {
  font-family: 'Urbanist', sans-serif;
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--gray-900);
  margin-bottom: 20px;
}

.hero h1 .accent {
  color: var(--gray-500);
  -webkit-text-fill-color: var(--gray-500);
}

.hero-description {
  font-family: 'Urbanist', sans-serif;
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 420px;
  line-height: 1.7;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  background: var(--gray-900);
  color: var(--white);
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-primary svg {
  width: 20px;
  height: 20px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 28px;
  background: var(--white);
  color: var(--text);
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid var(--gray-200);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.btn-secondary:hover {
  transform: translateY(-2px);
  border-color: var(--gray-300);
  box-shadow: var(--shadow-sm);
}

/* --- Phone Mockup --- */
.hero-phone {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.mockup-img {
  width: 100%;
  max-width: 300px;
  height: auto;
  display: block;
}

.phone-frame {
  width: 280px;
  height: 580px;
  background: var(--gray-900);
  border-radius: 44px;
  padding: 12px;
  position: relative;
  box-shadow: var(--shadow-phone);
  transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
  transition: transform 0.4s ease;
}

.phone-frame:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--gray-50);
  border-radius: 34px;
  overflow: hidden;
  position: relative;
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 28px;
  background: var(--gray-900);
  border-radius: 0 0 20px 20px;
  z-index: 2;
}

/* App mockup inside phone */
.phone-app {
  padding: 44px 16px 16px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.phone-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.phone-avatar {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
}

.phone-greeting {
  flex: 1;
  margin-left: 10px;
}

.phone-greeting small {
  font-size: 0.55rem;
  color: var(--gray-400);
  display: block;
}

.phone-greeting strong {
  font-size: 0.75rem;
  color: var(--text);
  font-weight: 600;
}

.phone-add-btn {
  width: 32px;
  height: 32px;
  background: var(--gray-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-add-btn svg {
  width: 14px;
  height: 14px;
  color: var(--gray-600);
}

.phone-section-title {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}

.phone-card {
  background: var(--white);
  border-radius: 16px;
  padding: 12px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.phone-card-icon {
  width: 36px;
  height: 36px;
  background: var(--gray-50);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.phone-card-text {
  flex: 1;
  min-width: 0;
}

.phone-card-text strong {
  font-size: 0.65rem;
  font-weight: 600;
  display: block;
  color: var(--text);
}

.phone-card-text span {
  font-size: 0.55rem;
  color: var(--gray-400);
}

.phone-card-chevron {
  color: var(--gray-300);
  font-size: 0.6rem;
}

.phone-search {
  margin-top: auto;
  background: var(--white);
  border-radius: 100px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.phone-search svg {
  width: 14px;
  height: 14px;
  color: var(--gray-400);
}

.phone-search span {
  font-size: 0.6rem;
  color: var(--gray-400);
}

/* Floating glow behind phone */
.hero-phone::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--teal-glow), transparent 70%);
  border-radius: 50%;
  z-index: -1;
  filter: blur(40px);
}

/* --- Features Section --- */
.features {
  padding: var(--section-padding) 0;
  position: relative;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--gray-900);
  margin-bottom: 16px;
  line-height: 1.15;
}

.section-description {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 56px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--gray-100);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gray-200);
}

.feature-icon {
  width: 52px;
  height: 52px;
  background: var(--teal-subtle);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  color: var(--teal);
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- Privacy Banner --- */
.privacy-banner {
  padding: 80px 0;
}

.privacy-banner-inner {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-100);
  padding: 48px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.privacy-banner-icon {
  width: 64px;
  height: 64px;
  background: var(--teal-subtle);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.privacy-banner-icon svg {
  width: 28px;
  height: 28px;
  color: var(--teal);
}

.privacy-banner-text h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 6px;
  letter-spacing: -0.3px;
}

.privacy-banner-text p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- CTA Section --- */
.cta {
  padding: var(--section-padding) 0;
  text-align: center;
}

.cta-inner {
  background: linear-gradient(135deg, var(--gray-900), #2D2D2D);
  border-radius: var(--radius-xl);
  padding: 80px 48px;
  position: relative;
  overflow: hidden;
}

.cta-inner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(52, 162, 181, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner::after {
  content: '';
  position: absolute;
  bottom: -40%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(83, 190, 204, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -1px;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.cta p {
  font-size: 1.05rem;
  color: var(--gray-400);
  max-width: 440px;
  margin: 0 auto 36px;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: var(--white);
  color: var(--gray-900);
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  z-index: 1;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255,255,255,0.15);
}

.btn-cta svg {
  width: 18px;
  height: 18px;
}

/* --- Footer --- */
.footer {
  padding: 48px 0;
  border-top: 1px solid var(--gray-200);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 32px;
}

.footer-logo {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.footer-logo span {
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: color 0.2s;
}

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

.footer-right {
  font-size: 0.8rem;
  color: var(--text-tertiary);
}

/* --- Bottom Bar --- */
.bottom-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 40px 24px 32px;
}


.bottom-bar-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bottom-bar a {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  transition: color 0.2s;
}

.bottom-bar a:hover {
  color: var(--text-secondary);
}

.bottom-bar-dot {
  width: 3px;
  height: 3px;
  background: var(--gray-300);
  border-radius: 50%;
}

.bottom-bar-copy {
  font-size: 0.7rem;
  color: var(--gray-300);
}

/* ============================================
   Sub-Pages: Shared Styles
   ============================================ */

/* --- Page Header --- */
.page-header {
  padding-top: 72px;
  padding-bottom: 48px;
}

.page-header h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.page-header p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- Content Card (Privacy Policy, etc.) --- */
.content-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-100);
  padding: 48px;
  margin-bottom: 80px;
}

.content-card h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-top: 40px;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

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

.content-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-top: 28px;
  margin-bottom: 8px;
}

.content-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 12px;
}

.content-card ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.content-card li {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 6px;
}

.content-card .last-updated {
  font-size: 0.85rem;
  color: var(--text-tertiary);
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--gray-100);
}

/* --- Language Switch --- */
.page-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: border-color 0.2s;
}

.lang-switch:hover {
  border-color: var(--gray-300);
}

.lang-switch-option {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-tertiary);
  cursor: pointer;
  transition: color 0.2s;
  padding: 2px 4px;
  border-radius: 4px;
}

.lang-switch-option.active {
  color: var(--teal);
}

.lang-switch-option:hover {
  color: var(--text-secondary);
}

.lang-switch-divider {
  font-size: 0.75rem;
  color: var(--gray-300);
  pointer-events: none;
}

/* --- Data Table (Privacy Policy) --- */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 20px;
  font-size: 0.9rem;
}

.data-table th,
.data-table td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--gray-100);
  color: var(--text-secondary);
  line-height: 1.6;
}

.data-table th {
  font-weight: 600;
  color: var(--gray-800);
  font-size: 0.85rem;
  background: var(--gray-50);
}

.data-table tr:last-child td {
  border-bottom: none;
}

@media (max-width: 768px) {
  .data-table {
    font-size: 0.82rem;
  }

  .data-table th,
  .data-table td {
    padding: 10px 12px;
  }

  /* Stack table on very small screens */
  .data-table thead {
    display: none;
  }

  .data-table,
  .data-table tbody,
  .data-table tr,
  .data-table td {
    display: block;
    width: 100%;
  }

  .data-table tr {
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-100);
  }

  .data-table tr:last-child {
    border-bottom: none;
  }

  .data-table td {
    border-bottom: none;
    padding: 4px 0;
  }

  .data-table td:first-child {
    font-weight: 600;
    color: var(--gray-800);
    padding-top: 8px;
  }
}

/* --- Form Card --- */
.form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-100);
  padding: 48px;
  margin-bottom: 80px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  background: var(--gray-50);
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-glow);
  background: var(--white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-tertiary);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23737373' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--gray-900);
  color: var(--white);
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
  margin-top: 8px;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-submit svg {
  width: 18px;
  height: 18px;
}

/* Form success / error */
.form-message {
  padding: 16px 20px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 20px;
  display: none;
}

.form-message.success {
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
  display: block;
}

.form-message.error {
  background: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FECACA;
  display: block;
}

.form-hint {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  margin-top: 24px;
  line-height: 1.6;
}

/* --- Back Link --- */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
  margin-bottom: 8px;
}

.back-link:hover {
  color: var(--text);
}

.back-link svg {
  width: 16px;
  height: 16px;
}

/* ============================================
   Animations
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Hero-specific animations */
.hero-content .reveal {
  transform: translateY(20px);
}

.hero-phone .reveal {
  transform: translateY(30px) scale(0.98);
}

.hero-phone .reveal.visible {
  transform: translateY(0) scale(1);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  :root {
    --section-padding: 80px;
  }

  .hero-inner {
    gap: 40px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .privacy-banner-inner {
    flex-direction: column;
    text-align: center;
    padding: 36px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 64px;
    --nav-height: 64px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(250, 250, 250, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--gray-200);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--nav-height) + 40px);
    padding-bottom: 64px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-content {
    text-align: center;
    padding: 0;
  }

  .hero-logo {
    margin: 0 auto 20px;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
    flex-wrap: wrap;
  }

  .phone-frame {
    width: 240px;
    height: 496px;
    transform: none;
  }

  .phone-frame:hover {
    transform: none;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .cta-inner {
    padding: 56px 28px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .footer-left {
    flex-direction: column;
    gap: 16px;
  }

  .content-card,
  .form-card {
    padding: 28px 20px;
  }

  .page-header {
    padding-top: 48px;
    padding-bottom: 32px;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .phone-frame {
    width: 220px;
    height: 456px;
  }
}
