:root {
  --white: #ffffff;
  --bg: #f8f9fa;
  --text: #5f6368;
  --text-heading: rgb(32, 33, 36);
  --text-secondary: #5f6368;
  --border: #dadce0;
  --blue: #1a73e8;
  --blue-hover: #1557b0;
  --blue-light: #e8f0fe;
  --green: #1e8e3e;
  --green-light: #e6f4ea;
  --red: #d93025;
  --red-light: #fce8e6;
  --yellow: #e37400;
  --yellow-light: #fef7e0;
  --radius: 8px;
  --shadow: 0 1px 2px 0 rgba(60,64,67,0.3), 0 1px 3px 1px rgba(60,64,67,0.15);
  --shadow-hover: 0 1px 3px 0 rgba(60,64,67,0.3), 0 4px 8px 3px rgba(60,64,67,0.15);
  --font: "Inter", "Roboto", -apple-system, sans-serif;
  --font-body: "Roboto", -apple-system, sans-serif;
  --carousel-border: #1a1a1a;
  --lightbox-bg: rgba(0,0,0,0.9);
}

/* Dark mode variables */
[data-theme="dark"] {
  --white: #1a1a1a;
  --bg: #121212;
  --text: #9aa0a6;
  --text-heading: #e8eaed;
  --text-secondary: #9aa0a6;
  --border: #3c4043;
  --blue: #8ab4f8;
  --blue-hover: #aecbfa;
  --blue-light: rgba(138, 180, 248, 0.15);
  --green: #81c995;
  --green-light: rgba(129, 201, 149, 0.15);
  --red: #f28b82;
  --red-light: rgba(242, 139, 130, 0.15);
  --yellow: #ffb347;
  --yellow-light: rgba(255, 179, 71, 0.18);
  --shadow: 0 1px 2px 0 rgba(0,0,0,0.5), 0 1px 3px 1px rgba(0,0,0,0.3);
  --shadow-hover: 0 1px 3px 0 rgba(0,0,0,0.5), 0 4px 8px 3px rgba(0,0,0,0.35);
  --carousel-border: #3c4043;
  --lightbox-bg: rgba(0,0,0,0.95);
}

/* System preference detection (default behavior) */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --white: #1a1a1a;
    --bg: #121212;
    --text: #9aa0a6;
    --text-heading: #e8eaed;
    --text-secondary: #9aa0a6;
    --border: #3c4043;
    --blue: #8ab4f8;
    --blue-hover: #aecbfa;
    --blue-light: rgba(138, 180, 248, 0.15);
    --green: #81c995;
    --green-light: rgba(129, 201, 149, 0.15);
    --red: #f28b82;
    --red-light: rgba(242, 139, 130, 0.15);
    --yellow: #ffb347;
    --yellow-light: rgba(255, 179, 71, 0.18);
    --shadow: 0 1px 2px 0 rgba(0,0,0,0.5), 0 1px 3px 1px rgba(0,0,0,0.3);
    --shadow-hover: 0 1px 3px 0 rgba(0,0,0,0.5), 0 4px 8px 3px rgba(0,0,0,0.35);
    --carousel-border: #3c4043;
    --lightbox-bg: rgba(0,0,0,0.95);
  }
  :root:not([data-theme="light"]) .lang-picker {
    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='%239aa0a6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  }
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 13px;
  background: var(--white);
  color: var(--text-heading);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

/* Release notice banner (time-limited; hide via data-expires + JS) */
.release-notice-banner {
  background: var(--blue-light);
  color: var(--blue);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.release-notice-banner .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.release-notice-banner-text {
  font-size: 0.875rem;
  font-weight: 500;
}
.release-notice-banner-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--blue);
  text-decoration: underline;
}
.release-notice-banner-link:hover {
  color: var(--blue-hover);
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font);
  font-weight: 500;
  font-size: 1.125rem;
  color: var(--text-heading);
  text-decoration: none;
}
.logo img { height: 32px; width: 32px; border-radius: 8px; }
.nav { display: flex; align-items: center; gap: 8px; }
.nav a { 
  color: var(--text-secondary); 
  text-decoration: none; 
  font-size: 0.875rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 4px;
  transition: background 0.2s;
}
.nav a:hover { background: var(--bg); }
.nav-cta {
  white-space: nowrap;
  background: var(--blue) !important;
  color: var(--white) !important;
  border-radius: var(--radius);
}
.nav-cta:hover { background: var(--blue-hover) !important; }

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  background: none;
  cursor: pointer;
  padding: 10px;
  border-radius: 8px;
  transition: background 0.2s;
}
.mobile-menu-btn:hover { background: var(--bg); }
.mobile-menu-btn svg { width: 24px; height: 24px; color: var(--text-heading); }
.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
  box-shadow: 0 4px 12px rgba(60,64,67,0.15);
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block;
  padding: 14px 0;
  color: var(--text-heading);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--blue); }
.mobile-nav .nav-cta {
  display: block;
  text-align: center;
  margin-top: 16px;
  padding: 14px 24px;
  border-radius: var(--radius);
}

/* Hero - Google-style clean design */
.hero {
  padding: 80px 0 40px;
  background: var(--white);
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-content { max-width: 540px; }
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--blue);
  margin-bottom: 16px;
  font-weight: 500;
}
.hero-kicker svg {
  width: 18px;
  height: 18px;
}
.hero h1 {
  font-family: var(--font);
  font-size: 3rem;
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--text-heading);
  letter-spacing: -0.02em;
}

/* About page hero – single column, narrower title so line wraps sooner */
.page-about .hero .container {
  grid-template-columns: 1fr;
  max-width: 36em;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.page-about .hero h1 {
  max-width: 11em;
  margin-left: auto;
  margin-right: auto;
  white-space: pre-line;
}

.hero p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.7;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}
.hero-trust {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: var(--text-secondary);
}
.hero-trust svg {
  width: 16px;
  height: 16px;
  color: var(--green);
}
.btn {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-weight: 500;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}
.btn-primary {
  background: var(--blue);
  color: var(--white);
}
.btn-primary:hover { background: var(--blue-hover); box-shadow: var(--shadow); }
.btn-secondary {
  background: var(--white);
  color: var(--blue);
  border: 1px solid var(--border);
}
.btn-secondary:hover { background: var(--blue-light); border-color: var(--blue-light); }
.btn svg { width: 18px; height: 18px; }

/* Phone Preview - Google style */
.hero-visual {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 20px;
}
.phone-preview {
  width: 200px;
  flex-shrink: 0;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(60,64,67,0.15), 0 1px 3px rgba(60,64,67,0.1);
  background: var(--white);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.phone-preview:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(60,64,67,0.2), 0 2px 6px rgba(60,64,67,0.12);
}
.phone-preview:nth-child(2) {
  transform: translateY(-8px);
}
.phone-preview:nth-child(2):hover {
  transform: translateY(-12px);
}
.phone-preview img {
  width: 100%;
  height: auto;
  display: block;
}

/* Value Props Row - Google Workspace style */
.value-props {
  padding: 48px 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.value-props-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.value-prop {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.value-prop-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.value-prop-icon svg {
  width: 20px;
  height: 20px;
}
.value-prop-icon.blue { background: var(--blue-light); color: var(--blue); }
.value-prop-icon.green { background: var(--green-light); color: var(--green); }
.value-prop-icon.red { background: var(--red-light); color: var(--red); }
.value-prop h3 {
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 500;
  margin-bottom: 4px;
  color: var(--text-heading);
}
.value-prop p {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Stats */
.stats {
  padding: 56px 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: flex;
  justify-content: center;
  gap: 80px;
}
.stat { text-align: center; }
.stat-value {
  font-family: var(--font);
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--text-heading);
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-top: 8px;
}

/* Section */
.section {
  padding: 80px 0;
}
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}
.section-title {
  font-family: var(--font);
  font-size: 2.25rem;
  font-weight: 400;
  margin-bottom: 16px;
  color: var(--text-heading);
  letter-spacing: -0.02em;
}
.section-desc {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  padding: 28px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--white);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.feature-card:hover { 
  box-shadow: var(--shadow-hover); 
  border-color: transparent;
}
.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--blue-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--blue);
}
.feature-icon svg { width: 22px; height: 22px; }
.feature-card h3 {
  font-family: var(--font);
  font-size: 1.0625rem;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--text-heading);
}
.feature-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Screenshots Carousel */
.screenshots {
  background: var(--bg);
}
.screenshots .section-header {
  margin-bottom: 48px;
}
.carousel-container {
  max-width: 320px;
  margin: 0 auto;
}
.carousel {
  border-radius: 44px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(60,64,67,0.18), 0 2px 8px rgba(60,64,67,0.1);
  background: var(--white);
  border: 8px solid var(--carousel-border);
}
.carousel-track {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.carousel-slide {
  flex: 0 0 100%;
  min-width: 100%;
  cursor: pointer;
}
.carousel-slide img {
  width: 100%;
  height: auto;
  display: block;
}
.carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 32px;
}
.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  color: var(--text-secondary);
}
.carousel-btn:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-light);
  box-shadow: var(--shadow);
}
.carousel-btn svg { width: 20px; height: 20px; }
.carousel-dots {
  display: flex;
  gap: 10px;
}
.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.2s;
}
.carousel-dot:hover {
  background: #9aa0a6;
}
.carousel-dot.active {
  background: var(--blue);
}

/* Signup Form */
.signup-form {
  display: flex;
  gap: 12px;
  max-width: 440px;
  margin: 0 auto;
}
.signup-form input {
  flex: 1;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-family: var(--font-body);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.signup-form input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-light);
}
.signup-form button {
  padding: 14px 24px;
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-family: var(--font);
  font-weight: 500;
  font-size: 0.9375rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, box-shadow 0.2s;
}
.signup-form button:hover { 
  background: var(--blue-hover); 
  box-shadow: var(--shadow);
}
.signup-form button:disabled { opacity: 0.6; cursor: not-allowed; }
.signup-note {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin-top: 16px;
}
.signup-success {
  color: var(--green);
  font-size: 0.875rem;
  margin-top: 16px;
}

/* Pricing */
.pricing-card {
  max-width: 400px;
  margin: 0 auto;
  padding: 40px 32px;
  border: 1px solid var(--border);
  border-radius: 12px;
  text-align: center;
  background: var(--white);
  transition: border-color 0.2s;
}
.pricing-card:hover {
  border-color: #bdc1c6;
}
.pricing-badge {
  display: inline-block;
  background: var(--green-light);
  color: var(--green);
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}
.pricing-amount {
  font-family: var(--font);
  font-size: 3rem;
  font-weight: 400;
  color: var(--text-heading);
  letter-spacing: -0.02em;
  line-height: 1;
}
.pricing-period {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-top: 4px;
}
.pricing-desc {
  margin: 16px 0 24px;
  font-size: 0.875rem;
  color: var(--text-secondary);
}
.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 24px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 0.9375rem;
  color: var(--text-heading);
}
.pricing-features svg { 
  width: 20px; 
  height: 20px; 
  color: var(--green);
  flex-shrink: 0;
}
.pricing-cta {
  width: 100%;
  padding: 14px 24px;
  font-size: 0.9375rem;
}

/* FAQ */
.faq { background: var(--bg); }
.faq-grid { max-width: 700px; margin: 0 auto; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 10px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.faq-item:hover {
  box-shadow: var(--shadow);
  border-color: transparent;
}
.faq-question {
  width: 100%;
  text-align: left;
  padding: 18px 20px;
  background: none;
  border: none;
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--text-heading);
  transition: color 0.2s;
}
.faq-question:hover { color: var(--blue); }
.faq-question svg {
  width: 20px;
  height: 20px;
  color: var(--text-secondary);
  transition: transform 0.2s;
  flex-shrink: 0;
}
.faq-item.open .faq-question svg { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-item.open .faq-answer { max-height: 400px; }
.faq-answer-inner {
  padding: 0 20px 18px;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
}
.faq-answer-inner a { color: var(--blue); transition: color 0.2s; }
.faq-answer-inner a:hover { text-decoration: underline; }

/* CTA */
.cta-section {
  padding: 96px 0;
  text-align: center;
  background: linear-gradient(180deg, var(--white) 0%, var(--bg) 100%);
}
.cta-section h2 {
  font-family: var(--font);
  font-size: 2.25rem;
  font-weight: 400;
  margin-bottom: 16px;
  color: var(--text-heading);
  letter-spacing: -0.02em;
}
.cta-section p {
  color: var(--text-secondary);
  margin-bottom: 32px;
  font-size: 1.0625rem;
}
.cta-section .signup-form {
  max-width: 440px;
}

/* Footer */
.footer {
  background: var(--bg);
  padding: 56px 0 32px;
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 1fr 1.7fr;
  gap: 56px;
  margin-bottom: 56px;
}
.lang-picker {
  width: 100%;
  max-width: 180px;
  padding: 10px 40px 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-family: var(--font-body);
  background-color: var(--white);
  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='%235f6368' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  color: var(--text-heading);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  transition: border-color 0.2s;
}
.footer-bottom .lang-picker {
  max-width: 140px;
  padding: 6px 32px 6px 10px;
  font-size: 0.8125rem;
  background-position: right 8px center;
  background-size: 14px;
  border-color: var(--border);
  color: var(--text-secondary);
}
.footer-bottom .lang-picker:hover,
.footer-bottom .lang-picker:focus {
  border-color: var(--blue);
  color: var(--text-heading);
}
.lang-picker:hover,
.lang-picker:focus {
  outline: none;
  border-color: var(--blue);
}
.lang-picker option {
  background: var(--white);
  color: var(--text-heading);
  padding: 10px 12px;
}
[data-theme="dark"] .lang-picker {
  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='%239aa0a6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}
.footer-brand p {
  margin-top: 16px;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
}
.social-share {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}
.social-label {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  font-weight: 500;
  white-space: nowrap;
}
.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  cursor: pointer;
}
.social-icon:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.social-icon svg {
  width: 18px;
  height: 18px;
}
.social-main {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}
.social-main:hover {
  background: var(--blue-hover);
  border-color: var(--blue-hover);
  color: var(--white);
}
.footer h4 {
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-heading);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--blue); }
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.875rem;
  color: var(--text-secondary);
}
.footer-bottom-right {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 12px;
}
.footer-bottom-right .lang-picker {
  flex-shrink: 0;
}
.footer-legal {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0;
}
.footer-legal a {
  color: var(--text-secondary);
  text-decoration: none;
  margin-left: 20px;
  transition: color 0.2s;
  white-space: nowrap;
}
.footer-legal a:first-child { margin-left: 0; }
.footer-legal a:hover { color: var(--blue); }

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-form input,
.contact-form textarea {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-family: var(--font-body);
  background: var(--white);
  resize: vertical;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-light);
}
.contact-form button {
  padding: 12px 18px;
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-family: var(--font);
  font-weight: 500;
  font-size: 0.875rem;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
}
.contact-form button:hover { 
  background: var(--blue-hover); 
  box-shadow: var(--shadow);
}
.contact-form button:disabled { opacity: 0.6; cursor: not-allowed; }
.contact-note {
  font-size: 0.8125rem;
  margin-top: 10px;
}
.contact-note.success { color: var(--green); }
.contact-note.error { color: var(--red); }

/* Theme Toggle - Subtle, positioned near logo */
.theme-toggle {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 2px;
  background: transparent;
  border: none;
  border-radius: 6px;
  margin-left: auto;
  margin-right: 16px;
  opacity: 0.6;
  transition: opacity 0.2s;
}
.theme-toggle:hover {
  opacity: 1;
}
.theme-toggle-mobile {
  display: none;
}
.theme-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  border-radius: 4px;
  cursor: pointer;
  color: var(--text-secondary);
  transition: all 0.2s;
}
.theme-btn:hover {
  background: var(--bg);
  color: var(--text-heading);
}
.theme-btn.active {
  color: var(--blue);
}
.theme-btn svg {
  width: 16px;
  height: 16px;
}
@media (max-width: 768px) {
  .theme-toggle {
    display: none;
  }
  .theme-toggle-mobile {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 2px;
    background: transparent;
    border: none;
    border-radius: 6px;
    margin-right: 8px;
    opacity: 0.6;
  }
  .theme-toggle-mobile:hover {
    opacity: 1;
  }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: var(--lightbox-bg);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  cursor: pointer;
  padding: 24px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.lightbox.show { display: flex; }
.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
@media (max-width: 640px) {
  .lightbox { padding: 16px; }
  .lightbox img { border-radius: 16px; }
}

/* Desktop narrow / large tablet – stack hero earlier to avoid squishing */
@media (max-width: 1000px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; gap: 48px; }
  .hero-content { max-width: 560px; margin: 0 auto; }
  .hero-ctas { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero h1 { font-size: 2.5rem; }
}

/* Large Tablet (900px) */
@media (max-width: 900px) {
  .hero .container { gap: 40px; }
  .hero-visual { gap: 10px; padding: 16px; }
  .phone-preview { width: 160px; }
  .value-props-grid { grid-template-columns: 1fr; gap: 24px; }
  .value-prop { justify-content: flex-start; }
  .features-grid { grid-template-columns: repeat(2, 1fr) !important; }
  #how-to-use .features-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

/* Tablet (768px) */
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .hero h1 { font-size: 2.25rem; }
  .stats-grid { gap: 40px; flex-wrap: wrap; }
  .features-grid { grid-template-columns: 1fr !important; }
  #how-to-use .features-grid { grid-template-columns: 1fr !important; }
  .mobile-menu-btn { display: flex; align-items: center; justify-content: center; }
  .nav { display: none; }
  .header { position: relative; }
}

/* Mobile (640px) */
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .hero { padding: 40px 0 32px; }
  .hero h1 { font-size: 1.75rem; line-height: 1.2; }
  .hero p { font-size: 0.9375rem; margin-bottom: 24px; line-height: 1.6; }
  .hero-kicker { font-size: 0.8125rem; }
  .hero-ctas { flex-direction: column; gap: 12px; }
  .btn { width: 100%; justify-content: center; padding: 14px 20px; min-height: 48px; }
  .hero-visual { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 12px; padding: 10px; }
  .phone-preview { width: 140px; }
  .phone-preview:nth-child(2) { transform: none; }
  .phone-preview:nth-child(2):hover { transform: translateY(-4px); }
  .phone-preview:nth-child(3) { display: none; }
  .value-props { padding: 32px 0; }
  .value-prop { flex-direction: column; text-align: left; gap: 12px; }
  .value-prop-icon { margin: 0; }
  .value-prop h3 { font-size: 1rem; }
  .stats { padding: 32px 0; }
  .stats-grid { flex-direction: column; gap: 20px; }
  .stat-value { font-size: 1.75rem; }
  .stat-label { font-size: 0.8125rem; }
  .section { padding: 40px 0; }
  .section-header { margin-bottom: 28px; }
  .section-title { font-size: 1.375rem; }
  .section-desc { font-size: 0.875rem; }
  .feature-card { padding: 20px; }
  .feature-icon { width: 40px; height: 40px; margin-bottom: 16px; }
  .feature-icon svg { width: 20px; height: 20px; }
  .feature-card h3 { font-size: 1rem; }
  .feature-card p { font-size: 0.8125rem; }
  .carousel-container { max-width: 240px; }
  .carousel { border-width: 5px; border-radius: 28px; }
  .carousel-nav { gap: 12px; margin-top: 20px; }
  .carousel-btn { width: 44px; height: 44px; }
  .carousel-dot { width: 8px; height: 8px; }
  .signup-form { flex-direction: column; gap: 12px; }
  .signup-form input { width: 100%; padding: 14px 16px; min-height: 48px; }
  .signup-form button { width: 100%; padding: 14px 20px; min-height: 48px; }
  .pricing-card { padding: 28px 20px; }
  .pricing-amount { font-size: 2.25rem; }
  .pricing-features li { padding: 8px 0; font-size: 0.875rem; }
  .faq-question { padding: 16px; font-size: 0.875rem; min-height: 48px; }
  .faq-answer-inner { padding: 0 16px 16px; font-size: 0.875rem; }
  .cta-section { padding: 48px 0; }
  .cta-section h2 { font-size: 1.5rem; }
  .cta-section p { font-size: 0.9375rem; }
  .footer { padding: 40px 0 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; margin-bottom: 32px; }
  .footer h4 { margin-bottom: 16px; }
  .footer-links li { margin-bottom: 10px; }
  .footer-links a { font-size: 0.875rem; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; padding-top: 24px; }
  .footer-bottom-right { justify-content: center; }
  .footer-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
  .footer-legal a { margin: 0 8px; }
  .contact-form input,
  .contact-form textarea { padding: 14px; min-height: 48px; }
  .contact-form button { min-height: 48px; }
  .lightbox { padding: 12px; }
  .lightbox img { border-radius: 12px; }
}

/* Small Mobile (480px) */
@media (max-width: 480px) {
  .container { padding: 0 12px; }
  .logo span { font-size: 1rem; }
  .hero h1 { font-size: 1.5rem; }
  .hero p { font-size: 0.875rem; }
  .phone-preview { width: 120px; border-radius: 24px; }
  .section-title { font-size: 1.25rem; }
  .pricing-card { padding: 24px 16px; }
  .pricing-amount { font-size: 2rem; }
}

/* Ensure touch targets are at least 44px */
@media (max-width: 768px) {
  .nav a, .footer-links a, .faq-question {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .social-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
  }
  .social-icon svg {
    width: 18px;
    height: 18px;
  }
  .social-share {
    flex-wrap: wrap;
  }
}
