/* ================================================================
   rakuda Mail - globals.css (Redesigned)
   AI-powered email generation platform
   ================================================================ */

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

:root {
  /* Core palette */
  --navy: #1E3A5F;
  --navy-deep: #142842;
  --accent: #3B82F6;
  --accent-light: #60A5FA;
  --accent-hover: #2563EB;
  --accent-subtle: rgba(59, 130, 246, 0.06);
  --accent-glow: rgba(59, 130, 246, 0.12);

  /* Warm accent for contrast */
  --warm: #F59E0B;
  --warm-subtle: rgba(245, 158, 11, 0.08);

  /* Semantic */
  --success: #059669;
  --success-subtle: rgba(5, 150, 105, 0.08);
  --danger: #DC2626;
  --danger-subtle: rgba(220, 38, 38, 0.06);

  /* Text */
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-tertiary: #94A3B8;
  --text-on-dark: #F1F5F9;
  --text-on-dark-muted: #94A3B8;

  /* Backgrounds */
  --bg-white: #FFFFFF;
  --bg-off: #FAFAFA;
  --bg-warm: #FBF9F6;
  --bg-cool: #F1F5F9;
  --bg-dark: #0B0D11;
  --bg-dark-elevated: #141720;
  --bg-dark-card: rgba(255, 255, 255, 0.03);

  /* Borders */
  --border: #E5E7EB;
  --border-light: #F3F4F6;
  --border-dark: rgba(255, 255, 255, 0.08);

  /* Gradients */
  --gradient-dark: linear-gradient(168deg, #0B0D11 0%, #111827 100%);
  --gradient-hero: linear-gradient(168deg, #0B0D11 0%, #0F1729 55%, #131B2E 100%);
  --gradient-cta: linear-gradient(168deg, #0F1729 0%, #0B0D11 100%);
  --gradient-accent: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
  --gradient-card-shine: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, transparent 50%);

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px -2px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 12px 24px -4px rgba(0, 0, 0, 0.1), 0 4px 8px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 40px -8px rgba(0, 0, 0, 0.12), 0 8px 16px -8px rgba(0, 0, 0, 0.06);
  --shadow-card-hover: 0 20px 40px -12px rgba(0, 0, 0, 0.15), 0 4px 8px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 48px rgba(59, 130, 246, 0.15);
  --shadow-glow-strong: 0 0 64px rgba(59, 130, 246, 0.25);

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --radius-2xl: 24px;

  /* Container */
  --container: 1140px;

  /* Transitions */
  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 150ms var(--ease-out);
  --transition-base: 280ms var(--ease-out);
  --transition-slow: 450ms var(--ease-out);
}

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

body {
  font-family:
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    "Noto Sans JP",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  color: var(--text-primary);
  background: var(--bg-white);
  line-height: 1.8;
  font-size: 15px;
  overflow-x: hidden;
  letter-spacing: 0.02em;
}

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

@media (min-width: 768px) {
  .container {
    padding: 0 32px;
  }
}

.br-desktop {
  display: none;
}

@media (min-width: 768px) {
  .br-desktop {
    display: inline;
  }
}

/* --- Scroll Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-smooth), transform 0.8s var(--ease-smooth);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s var(--ease-smooth), transform 0.8s var(--ease-smooth);
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s var(--ease-smooth), transform 0.8s var(--ease-smooth);
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-scale {
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.8s var(--ease-smooth), transform 0.8s var(--ease-smooth);
}

.fade-in-scale.visible {
  opacity: 1;
  transform: scale(1);
}

.stagger-1 { transition-delay: 0.06s; }
.stagger-2 { transition-delay: 0.14s; }
.stagger-3 { transition-delay: 0.22s; }
.stagger-4 { transition-delay: 0.30s; }
.stagger-5 { transition-delay: 0.38s; }
.stagger-6 { transition-delay: 0.46s; }

/* ================================================================
   HEADER (hub-unified style)
   ================================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: all 0.3s;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header.scrolled {
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.header .header-logo {
  color: #111827;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.125rem;
  z-index: 10;
  text-decoration: none;
}

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

.header .header-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: #4b5563;
  transition: color 0.15s ease;
  position: relative;
  text-decoration: none;
}

.header .header-nav a:hover { color: #111827; }

.header .header-nav a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #3B82F6;
  border-radius: 1px;
  transition: width 0.28s ease;
}

.header .header-nav a:hover::after { width: 100%; }

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-header-login {
  color: #4b5563;
  font-size: 0.813rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease;
  font-family: inherit;
}

.btn-header-login:hover {
  color: #111827;
}

.btn-header-contact {
  background: #111827;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  font-size: 0.813rem;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
  font-family: inherit;
  border: 1px solid #111827;
}

.btn-header-contact:hover {
  background: #1F2937;
  border-color: #1F2937;
  transform: translateY(-1px);
}

.btn-header-cta {
  background: #3B82F6;
  color: #fff;
  font-weight: 700;
  border: none;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  font-size: 0.813rem;
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
  font-family: inherit;
}

.btn-header-cta:hover {
  background: #2563EB;
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.35);
  transform: translateY(-2px);
}

.btn-header-cta:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.header .mobile-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border: none;
  background: none;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  z-index: 10;
}

.header .mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: #374151;
  border-radius: 1px;
  transition: all 0.28s ease;
}

@media (max-width: 767px) {
  .header .header-nav { display: none; }
  .header-cta-group { display: none; }
  .header .mobile-menu-btn { display: flex; }
}

/* Mobile menu (hub-style dropdown) */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  padding: 8px 24px 16px;
  background: #fff;
  border-bottom: 1px solid #E5E7EB;
}

.mobile-menu.open {
  display: flex;
}

@media (min-width: 768px) {
  .mobile-menu {
    display: none !important;
  }
}

.mobile-menu a {
  display: block;
  padding: 14px 0;
  font-size: 0.92rem;
  font-weight: 500;
  color: #374151;
  text-decoration: none;
  border-bottom: 1px solid #F3F4F6;
}

.mobile-menu-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.mobile-menu-buttons a {
  display: block;
  text-align: center;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
}

.btn-mobile-login {
  background: #F9FAFB;
  color: #374151;
  border: 1px solid #E5E7EB !important;
}

.btn-mobile-contact {
  background: transparent;
  color: #3B82F6;
  border: 1px solid #3B82F6 !important;
}

.btn-mobile-cta {
  background: #3B82F6;
  color: white;
}

/* Button system */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
  white-space: nowrap;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.813rem;
}

.btn-dark {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
}

.btn-dark:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.btn-cta-call {
  background: #3B82F6;
  color: #fff;
  font-weight: 700;
  border: none;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.35), 0 1px 3px rgba(59, 130, 246, 0.2);
}

.btn-cta-call:hover {
  background: #2563EB;
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.35);
  transform: translateY(-2px);
}

.btn-cta-call:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.mobile-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border: none;
  background: none;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  z-index: 10;
}

.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
  transition: all var(--transition-base);
}

.header.scrolled .mobile-menu-btn span { background: var(--text-primary); }

/* Mobile menu button animation for open state */
.mobile-menu-btn.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background: #0F172A;
}

.mobile-menu-btn.open span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background: #0F172A;
}

/* Responsive: hide nav & cta-group on mobile */
@media (max-width: 767px) {
  .header-nav { display: none; }
  .header-cta-group { display: none; }
  .mobile-menu-btn { display: flex; }

  /* Mobile menu overlay */
  .header-nav.mobile-open {
    display: flex !important;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    z-index: 999;
  }

  .header-nav.mobile-open a {
    font-size: 20px;
    font-weight: 600;
    color: #0F172A;
  }

  .header-nav.mobile-open a:hover {
    color: #3B82F6;
  }

  .header-nav.mobile-open a::after {
    display: none;
  }
}

/* ================================================================
   HERO
   ================================================================ */
.hero {
  background: var(--gradient-hero);
  padding: 130px 0 80px;
  position: relative;
  overflow: hidden;
  min-height: 92vh;
  display: flex;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse 700px 500px at 15% 40%, rgba(59, 130, 246, 0.07) 0%, transparent 100%),
    radial-gradient(ellipse 500px 400px at 85% 20%, rgba(124, 58, 237, 0.04) 0%, transparent 100%);
  pointer-events: none;
}

/* Subtle noise texture */
.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  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.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.015'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.4;
}

.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
}

@media (min-width: 768px) {
  .hero-inner {
    padding: 0 32px;
  }
}

@media (min-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr 1.15fr;
    gap: 56px;
  }
}

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

@media (min-width: 960px) {
  .hero-content {
    text-align: left;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px 5px 8px;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 100px;
  font-size: 12px;
  color: var(--accent-light);
  font-weight: 500;
  margin-bottom: 24px;
  letter-spacing: 0.03em;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: #34D399;
  border-radius: 50%;
  animation: pulse-dot 2.5s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.4);
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero h1 {
  font-size: clamp(30px, 5vw, 54px);
  font-weight: 800;
  color: white;
  line-height: 1.3;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero h1 .accent-text {
  background: linear-gradient(135deg, #60A5FA 0%, #818CF8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(14px, 1.8vw, 16px);
  color: var(--text-on-dark-muted);
  line-height: 1.85;
  margin-bottom: 32px;
  max-width: 440px;
  letter-spacing: 0.01em;
}

@media (min-width: 960px) {
  .hero-subtitle {
    margin-left: 0;
  }
}

@media (max-width: 959px) {
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

@media (min-width: 960px) {
  .hero-actions {
    justify-content: flex-start;
  }
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  background: var(--gradient-accent);
  color: white;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
  font-family: inherit;
  letter-spacing: 0.01em;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
}

.btn-primary.btn-glow {
  animation: btn-glow-pulse 3s ease-in-out infinite;
}

@keyframes btn-glow-pulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3); }
  50% { box-shadow: 0 4px 24px rgba(59, 130, 246, 0.45); }
}

.btn-primary.btn-large {
  padding: 16px 32px;
  font-size: 15px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  background: transparent;
  color: var(--text-on-dark);
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-md);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  cursor: pointer;
  transition: background var(--transition-fast), border-color var(--transition-fast);
  font-family: inherit;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.22);
}

.hero-stats {
  display: flex;
  gap: 0;
  margin-top: 40px;
  justify-content: center;
  align-items: center;
}

@media (min-width: 960px) {
  .hero-stats {
    justify-content: flex-start;
  }
}

.hero-stat {
  text-align: center;
  padding: 0 20px;
}

@media (min-width: 960px) {
  .hero-stat {
    text-align: left;
  }
}

.hero-stat:first-child {
  padding-left: 0;
}

.hero-stat-divider {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.1);
}

.hero-stat-number {
  font-size: 26px;
  font-weight: 800;
  color: white;
  letter-spacing: -0.03em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.hero-stat-label {
  font-size: 11px;
  color: var(--text-on-dark-muted);
  margin-top: 4px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Hero Mockup */
.hero-mockup {
  position: relative;
}

.hero-mockup-window {
  background: var(--bg-dark-elevated);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.mockup-titlebar {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mockup-dots {
  display: flex;
  gap: 7px;
  width: 60px;
}

.mockup-dots-spacer {
  width: 60px;
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.mockup-dot.red { background: #FF5F57; }
.mockup-dot.yellow { background: #FEBC2E; }
.mockup-dot.green { background: #28C840; }

.mockup-url {
  flex: 1;
  text-align: center;
  font-size: 11px;
  color: var(--text-on-dark-muted);
  font-family: "SF Mono", "Fira Code", monospace;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.03);
  padding: 3px 12px;
  border-radius: 6px;
}

.mockup-lock {
  font-size: 9px;
}

.mockup-body {
  display: flex;
  min-height: 320px;
}

.mockup-sidebar {
  width: 120px;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  padding: 12px 8px;
  display: none;
}

@media (min-width: 640px) {
  .mockup-sidebar {
    display: block;
  }
}

.mockup-sidebar-item {
  padding: 7px 10px;
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.4);
  border-radius: 6px;
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.mockup-sidebar-item.active {
  background: rgba(59, 130, 246, 0.12);
  color: var(--accent-light);
  font-weight: 600;
}

.mockup-sidebar-dot {
  width: 5px;
  height: 5px;
  background: var(--accent-light);
  border-radius: 50%;
}

.mockup-sidebar-badge {
  margin-left: auto;
  background: var(--accent);
  color: white;
  font-size: 9px;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mockup-main {
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Before email card */
.mockup-email-before {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 14px;
  position: relative;
}

.mockup-email-label-tag {
  display: inline-block;
  font-size: 9px;
  font-weight: 600;
  color: var(--text-on-dark-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  padding: 2px 8px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 4px;
}

.mockup-email-label-tag.ai {
  color: var(--accent-light);
  background: rgba(59, 130, 246, 0.1);
}

.mockup-email-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.mockup-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: white;
  font-weight: 600;
  flex-shrink: 0;
}

.mockup-sender-info {
  flex: 1;
  min-width: 0;
}

.mockup-sender {
  font-size: 12px;
  color: var(--text-on-dark);
  font-weight: 600;
}

.mockup-subject {
  font-size: 10px;
  color: var(--text-on-dark-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mockup-time {
  font-size: 10px;
  color: var(--text-on-dark-muted);
  flex-shrink: 0;
}

.mockup-email-body {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.7;
}

/* AI Process indicator */
.mockup-ai-process {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 0;
}

.mockup-ai-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.3), transparent);
}

.mockup-ai-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: var(--accent-light);
  font-weight: 600;
  white-space: nowrap;
  padding: 3px 10px;
  background: rgba(59, 130, 246, 0.08);
  border-radius: 100px;
  border: 1px solid rgba(59, 130, 246, 0.15);
}

.mockup-ai-pulse {
  width: 5px;
  height: 5px;
  background: var(--accent-light);
  border-radius: 50%;
  animation: pulse-dot 1.5s ease-in-out infinite;
}

/* After email card (AI Generated) */
.mockup-email-after {
  background: rgba(59, 130, 246, 0.04);
  border: 1px solid rgba(59, 130, 246, 0.12);
  border-radius: var(--radius-md);
  padding: 14px;
  position: relative;
}

.mockup-tone-selector {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}

.mockup-tone-chip {
  font-size: 9px;
  padding: 3px 8px;
  border-radius: 100px;
  color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.mockup-tone-chip.active {
  color: var(--accent-light);
  background: rgba(59, 130, 246, 0.12);
  border-color: rgba(59, 130, 246, 0.2);
  font-weight: 600;
}

.mockup-generated-text {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.8;
}

.mockup-generated-text .highlight {
  color: var(--accent-light);
  font-weight: 500;
}

.mockup-cursor {
  display: inline-block;
  width: 2px;
  height: 13px;
  background: var(--accent-light);
  animation: blink 1.1s step-end infinite;
  vertical-align: middle;
  margin-left: 2px;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.mockup-actions-bar {
  display: flex;
  gap: 6px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.mockup-action-btn {
  font-size: 10px;
  padding: 4px 12px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.mockup-action-btn.primary {
  color: white;
  background: var(--accent);
  border-color: var(--accent);
  font-weight: 600;
}

/* Floating badges */
.hero-float-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 9px 14px;
  font-size: 11px;
  color: var(--text-on-dark);
  display: none;
  align-items: center;
  gap: 7px;
  animation: float-gentle 5s ease-in-out infinite;
  font-weight: 500;
}

@media (min-width: 960px) {
  .hero-float-badge {
    display: flex;
  }
}

.hero-float-badge.top-right {
  top: -8px;
  right: -12px;
  animation-delay: 0s;
}

.hero-float-badge.bottom-left {
  bottom: 24px;
  left: -20px;
  animation-delay: 2.5s;
}

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

/* ================================================================
   SOCIAL PROOF STRIP
   ================================================================ */
.social-proof {
  padding: 36px 0 40px;
  background: var(--bg-off);
  border-bottom: 1px solid var(--border-light);
}

.social-proof-label {
  text-align: center;
  font-size: 12px;
  color: var(--text-tertiary);
  letter-spacing: 0.04em;
  margin-bottom: 20px;
  text-transform: uppercase;
  font-weight: 500;
}

.social-proof-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

@media (min-width: 768px) {
  .social-proof-logos {
    gap: 48px;
  }
}

.social-proof-logo {
  opacity: 0.3;
  transition: opacity var(--transition-base);
}

.social-proof-logo:hover {
  opacity: 0.5;
}

.social-proof-logo-text {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .social-proof-logo-text {
    font-size: 18px;
  }
}

/* ================================================================
   SECTION: BEFORE / AFTER
   ================================================================ */
.section-before-after {
  padding: 104px 0 88px;
  background: var(--bg-white);
  position: relative;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
}

.section-label-line {
  width: 20px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

.section-heading {
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.35;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}

.heading-accent {
  color: var(--accent);
}

.section-description {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 540px;
}

.ba-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 48px;
  position: relative;
}

@media (min-width: 768px) {
  .ba-grid {
    grid-template-columns: 1fr 56px 1fr;
    gap: 0;
    align-items: stretch;
  }
}

.ba-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.ba-card:hover {
  transform: translateY(-3px);
}

.ba-card.before {
  background: var(--bg-off);
  border: 1px solid var(--border);
}

.ba-card.before:hover {
  box-shadow: var(--shadow-md);
}

.ba-card.after {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.03) 0%, rgba(124, 58, 237, 0.02) 100%);
  border: 1px solid rgba(59, 130, 246, 0.15);
  box-shadow: var(--shadow-md);
}

.ba-card.after:hover {
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.ba-card-label {
  padding: 16px 24px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ba-card-label.before {
  color: var(--text-tertiary);
  background: rgba(0, 0, 0, 0.02);
  border-bottom: 1px solid var(--border-light);
}

.ba-card-label.after {
  color: var(--accent);
  background: rgba(59, 130, 246, 0.04);
  border-bottom: 1px solid rgba(59, 130, 246, 0.08);
}

.ba-label-icon {
  font-size: 16px;
}

.ba-card-body {
  padding: 20px 24px 24px;
}

.ba-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
}

.ba-step:last-of-type {
  border-bottom: none;
}

.ba-step-time {
  flex-shrink: 0;
  width: 52px;
  padding: 3px 0;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-tertiary);
  background: rgba(0, 0, 0, 0.03);
  border-radius: 6px;
  font-variant-numeric: tabular-nums;
}

.ba-step-time.fast {
  color: var(--success);
  background: var(--success-subtle);
}

.ba-step-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.6;
  padding-top: 2px;
}

.ba-total {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.ba-total-time {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.ba-total-time.bad {
  color: var(--danger);
}

.ba-total-time.good {
  color: var(--success);
}

.ba-total-note {
  font-size: 12px;
  color: var(--text-tertiary);
  font-weight: 500;
}

.ba-card.before .ba-total {
  background: var(--danger-subtle);
}

.ba-card.after .ba-total {
  background: var(--success-subtle);
}

/* Arrow between BA cards */
.ba-arrow {
  display: none;
  align-items: center;
  justify-content: center;
}

@media (min-width: 768px) {
  .ba-arrow {
    display: flex;
  }
}

.ba-arrow-mobile {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 0;
}

@media (min-width: 768px) {
  .ba-arrow-mobile {
    display: none;
  }
}

.ba-arrow-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.35);
  flex-shrink: 0;
}

.ba-bottom-cta {
  text-align: center;
  margin-top: 40px;
}

.ba-savings {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.ba-savings strong {
  color: var(--accent);
  font-weight: 800;
}

/* ================================================================
   SECTION: FEATURES
   ================================================================ */
.section-features {
  padding: 112px 0 96px;
  background: var(--bg-off);
  position: relative;
}

.section-features::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.section-center {
  text-align: center;
  margin-bottom: 52px;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
}

.feature-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px 24px;
  transition: box-shadow var(--transition-base), transform var(--transition-base), border-color var(--transition-base);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-card-shine);
  opacity: 0;
  transition: opacity var(--transition-base);
  pointer-events: none;
}

.feature-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-5px);
  border-color: transparent;
}

.feature-card:hover::before {
  opacity: 1;
}

/* Varied accent borders per card - asymmetric */
.feature-card:nth-child(1) { border-top: 3px solid var(--accent); }
.feature-card:nth-child(2) { border-top: 3px solid #818CF8; }
.feature-card:nth-child(3) { border-left: 3px solid #34D399; }
.feature-card:nth-child(4) { border-top: 3px solid #F59E0B; }
.feature-card:nth-child(5) { border-left: 3px solid #EC4899; }
.feature-card:nth-child(6) { border-top: 3px solid var(--navy); }

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}

.feature-icon.blue { background: rgba(59, 130, 246, 0.08); }
.feature-icon.purple { background: rgba(129, 140, 248, 0.08); }
.feature-icon.green { background: rgba(52, 211, 153, 0.08); }
.feature-icon.amber { background: rgba(245, 158, 11, 0.08); }
.feature-icon.pink { background: rgba(236, 72, 153, 0.08); }
.feature-icon.navy { background: rgba(30, 58, 95, 0.08); }

.feature-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.feature-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 16px;
}

.feature-stat {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--border-light);
}

.feature-stat-number {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.feature-stat-label {
  font-size: 11px;
  color: var(--text-tertiary);
  letter-spacing: 0.03em;
}

/* ================================================================
   SECTION: HOW IT WORKS
   ================================================================ */
.section-how {
  padding: 88px 0 104px;
  background: var(--bg-white);
  position: relative;
}

.how-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 48px;
  align-items: start;
}

@media (min-width: 768px) {
  .how-steps {
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 0;
  }
}

.how-connector {
  display: none;
}

@media (min-width: 768px) {
  .how-connector {
    display: flex;
    align-items: flex-start;
    padding-top: 36px;
    width: 40px;
  }
}

.how-step {
  position: relative;
  text-align: center;
}

.how-step-number-wrap {
  margin: 0 auto 20px;
  position: relative;
  width: 64px;
  height: 64px;
}

.how-step-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  position: relative;
  z-index: 1;
}

.how-step:nth-child(1) .how-step-number {
  background: rgba(59, 130, 246, 0.08);
  color: var(--accent);
  border: 2px solid rgba(59, 130, 246, 0.18);
}

.how-step:nth-child(3) .how-step-number {
  background: rgba(30, 58, 95, 0.06);
  color: var(--navy);
  border: 2px solid rgba(30, 58, 95, 0.12);
}

.how-step:nth-child(5) .how-step-number {
  background: rgba(52, 211, 153, 0.08);
  color: #059669;
  border: 2px solid rgba(52, 211, 153, 0.18);
}

.how-step-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.how-step-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 260px;
  margin: 0 auto;
}

/* ================================================================
   SECTION: TONE ADJUSTMENT
   ================================================================ */
.section-tone {
  padding: 104px 0 120px;
  background: var(--bg-warm);
  position: relative;
}

.section-tone::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.tone-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 48px;
}

@media (min-width: 960px) {
  .tone-layout {
    grid-template-columns: 260px 1fr;
    gap: 32px;
    align-items: start;
  }
}

.tone-tabs {
  display: flex;
  flex-direction: row;
  gap: 8px;
  flex-wrap: wrap;
}

@media (min-width: 960px) {
  .tone-tabs {
    flex-direction: column;
    position: sticky;
    top: 84px;
  }
}

.tone-tab {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg-white);
  cursor: pointer;
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  flex: 1;
  min-width: 110px;
  font-family: inherit;
}

@media (min-width: 960px) {
  .tone-tab {
    flex: none;
    min-width: auto;
  }
}

.tone-tab:hover {
  border-color: var(--accent);
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}

.tone-tab.active {
  background: var(--tone-active-color, var(--navy));
  border-color: var(--tone-active-color, var(--navy));
  color: white;
  box-shadow: var(--shadow-md);
}

.tone-tab-emoji {
  font-size: 18px;
  flex-shrink: 0;
}

.tone-tab-content {
  display: flex;
  flex-direction: column;
  gap: 1px;
  text-align: left;
}

.tone-tab-label {
  font-weight: 600;
  font-size: 13.5px;
}

.tone-tab-tag {
  font-size: 10.5px;
  opacity: 0.7;
  font-weight: 400;
  display: none;
}

@media (min-width: 960px) {
  .tone-tab-tag {
    display: block;
  }
}

.tone-preview {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  min-height: 320px;
}

.tone-preview-header {
  padding: 14px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-off);
}

.tone-preview-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tone-preview-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.tone-preview-tag {
  font-size: 10px;
  padding: 3px 10px;
  border-radius: 100px;
  font-weight: 600;
  background: var(--accent-subtle);
  color: var(--tone-color, var(--accent));
  letter-spacing: 0.02em;
}

.tone-preview-body {
  padding: 24px;
  transition: opacity 0.2s var(--ease-out);
}

.tone-preview-body.transitioning {
  opacity: 0.3;
}

.tone-preview-subject {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-light);
}

.tone-preview-text {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.9;
  white-space: pre-wrap;
}

/* ================================================================
   SECTION: PRICING
   ================================================================ */
.section-pricing {
  padding: 96px 0 112px;
  background: var(--bg-white);
  position: relative;
  overflow: hidden;
}

.section-pricing::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

/* Pricing toggle */
.pricing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.pricing-toggle-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-tertiary);
  transition: color var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 6px;
}

.pricing-toggle-label.active {
  color: var(--text-primary);
  font-weight: 600;
}

.pricing-toggle-save {
  font-size: 10px;
  padding: 2px 8px;
  background: var(--success-subtle);
  color: var(--success);
  border-radius: 100px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.pricing-toggle-switch {
  width: 44px;
  height: 24px;
  border-radius: 12px;
  background: var(--border);
  border: none;
  cursor: pointer;
  position: relative;
  transition: background var(--transition-fast);
  padding: 0;
}

.pricing-toggle-switch.on {
  background: var(--accent);
}

.pricing-toggle-knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: white;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base);
}

.pricing-toggle-switch.on .pricing-toggle-knob {
  transform: translateX(20px);
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 48px;
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    align-items: start;
  }
}

@media (min-width: 1080px) {
  .pricing-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }
  .pricing-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
  }
  .pricing-grid.cols-2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
  }
  .pricing-grid.pricing-grid-2col {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (min-width: 768px) and (max-width: 1079px) {
  .pricing-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

.pricing-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--bg-white);
  position: relative;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.pricing-card:hover {
  box-shadow: var(--shadow-lg);
}

.pricing-card-inner {
  padding: 32px 24px;
}

.pricing-card.popular {
  border: 2px solid var(--accent);
  box-shadow: var(--shadow-xl), var(--shadow-glow);
}

@media (min-width: 768px) {
  .pricing-card.popular {
    transform: scale(1.03);
    z-index: 1;
  }
  .pricing-card.popular:hover {
    transform: scale(1.03) translateY(-4px);
    box-shadow: var(--shadow-xl), var(--shadow-glow-strong);
  }
}

.pricing-card.team {
  background: var(--bg-dark);
  border-color: rgba(255, 255, 255, 0.08);
}

.pricing-card.team .pricing-name,
.pricing-card.team .pricing-amount {
  color: white;
}

.pricing-card.team .pricing-tagline,
.pricing-card.team .pricing-note,
.pricing-card.team .pricing-period {
  color: var(--text-on-dark-muted);
}

.pricing-card.team .pricing-currency {
  color: var(--text-on-dark-muted);
}

.pricing-card.team .pricing-feature {
  color: rgba(255, 255, 255, 0.65);
}

.pricing-card.team .pricing-divider {
  background: rgba(255, 255, 255, 0.08);
}

.pricing-card.enterprise {
  background: var(--bg-dark);
  border-color: rgba(255, 255, 255, 0.08);
}

.pricing-card.enterprise .pricing-name,
.pricing-card.enterprise .pricing-amount {
  color: white;
}

.pricing-card.enterprise .pricing-tagline,
.pricing-card.enterprise .pricing-note,
.pricing-card.enterprise .pricing-period {
  color: var(--text-on-dark-muted);
}

.pricing-card.enterprise .pricing-currency {
  color: var(--text-on-dark-muted);
}

.pricing-card.enterprise .pricing-feature {
  color: rgba(255, 255, 255, 0.65);
}

.pricing-card.enterprise .pricing-divider {
  background: rgba(255, 255, 255, 0.08);
}

.pricing-popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-accent);
  color: white;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 16px;
  border-radius: 100px;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.pricing-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.pricing-tagline {
  font-size: 13px;
  color: var(--text-tertiary);
  margin-bottom: 24px;
  line-height: 1.5;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 6px;
}

.pricing-currency {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-secondary);
}

.pricing-amount {
  font-size: 38px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.pricing-period {
  font-size: 13px;
  color: var(--text-tertiary);
  font-weight: 400;
  margin-left: 2px;
}

.pricing-note {
  font-size: 12px;
  color: var(--text-tertiary);
  margin-bottom: 24px;
}

.pricing-divider {
  height: 1px;
  background: var(--border-light);
  margin: 20px 0;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
}

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.pricing-check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  margin-top: 1px;
}

.pricing-check.blue {
  background: rgba(59, 130, 246, 0.08);
  color: var(--accent);
}

.pricing-check.accent {
  background: rgba(59, 130, 246, 0.12);
  color: var(--accent);
}

.pricing-check.green {
  background: rgba(52, 211, 153, 0.1);
  color: #059669;
}

.pricing-btn {
  display: block;
  width: 100%;
  padding: 12px;
  text-align: center;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-fast);
  cursor: pointer;
  border: none;
  font-family: inherit;
  letter-spacing: 0.01em;
}

.pricing-btn.outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-primary);
}

.pricing-btn.outline:hover {
  border-color: var(--text-primary);
  background: var(--bg-off);
}

.pricing-btn.filled {
  background: var(--gradient-accent);
  color: white;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

.pricing-btn.filled:hover {
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.35);
  transform: translateY(-1px);
}

.pricing-btn.dark {
  background: rgba(255, 255, 255, 0.08);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.pricing-btn.dark:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-1px);
}

/* ================================================================
   SECTION: FAQ
   ================================================================ */
.section-faq {
  padding: 88px 0 104px;
  background: var(--bg-off);
  position: relative;
}

.section-faq::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.faq-list {
  max-width: 680px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition-base), border-color var(--transition-base);
}

.faq-item:hover {
  box-shadow: var(--shadow-sm);
}

.faq-item.open {
  box-shadow: var(--shadow-md);
  border-color: rgba(59, 130, 246, 0.2);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-primary);
  text-align: left;
  line-height: 1.5;
  gap: 16px;
  font-family: inherit;
}

.faq-chevron {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-off);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--text-tertiary);
  transition: transform var(--transition-base), background var(--transition-base), color var(--transition-base);
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  background: rgba(59, 130, 246, 0.08);
  color: var(--accent);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out);
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

.faq-answer-inner {
  padding: 0 22px 18px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.85;
}

/* ================================================================
   SECTION: CTA BANNER
   ================================================================ */
.section-cta {
  padding: 80px 0 88px;
  background: var(--gradient-cta);
  position: relative;
  overflow: hidden;
}

.section-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse 600px 400px at 30% 50%, rgba(59, 130, 246, 0.1) 0%, transparent 100%),
    radial-gradient(ellipse 500px 300px at 70% 50%, rgba(124, 58, 237, 0.06) 0%, transparent 100%);
  pointer-events: none;
}

.cta-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-eyecatch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.12);
  color: var(--accent-light);
  margin-bottom: 24px;
}

.cta-heading {
  font-size: clamp(22px, 3.2vw, 34px);
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.cta-desc {
  font-size: 15px;
  color: var(--text-on-dark-muted);
  margin-bottom: 32px;
  line-height: 1.8;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-trust-signals {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.cta-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-on-dark-muted);
  font-weight: 500;
}

.cta-trust-item svg {
  color: #34D399;
}

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
  background: #08090C;
  padding: 56px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

@media (min-width: 768px) {
  .footer-inner {
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 40px;
  }
}

.footer-brand {
  max-width: 260px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  text-decoration: none;
}

.footer-logo-icon {
  width: 28px;
  height: 28px;
  background: var(--gradient-accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: white;
  font-weight: 700;
}

.footer-logo-text {
  font-size: 15px;
  font-weight: 700;
  color: white;
}

.footer-logo-text span {
  color: var(--accent-light);
}

.footer-brand-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.8;
}

.footer-col-title {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
}

.footer-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: rgba(255, 255, 255, 0.85);
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-copyright {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.25);
}

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

.footer-bottom-links a {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.25);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-bottom-links a:hover {
  color: rgba(255, 255, 255, 0.6);
}

/* ================================================================
   RESPONSIVE ADJUSTMENTS
   ================================================================ */
@media (max-width: 767px) {
  .hero {
    padding: 110px 0 64px;
    min-height: auto;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero-stats {
    gap: 0;
  }

  .hero-stat {
    padding: 0 14px;
  }

  .hero-stat-number {
    font-size: 22px;
  }

  .pricing-card.popular {
    transform: none;
  }

  .pricing-card.popular:hover {
    transform: translateY(-4px);
  }

  .tone-tabs {
    flex-direction: row;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    flex-wrap: nowrap;
  }

  .tone-tab {
    flex: 0 0 auto;
    min-width: auto;
    white-space: nowrap;
    padding: 10px 14px;
    font-size: 13px;
  }

  .section-before-after {
    padding: 72px 0 64px;
  }

  .section-features {
    padding: 72px 0 64px;
  }

  .section-how {
    padding: 64px 0 72px;
  }

  .section-tone {
    padding: 72px 0 80px;
  }

  .section-pricing {
    padding: 64px 0 72px;
  }

  .section-faq {
    padding: 64px 0 72px;
  }
}

/* ================================================================
   SELECTION STYLES
   ================================================================ */
::selection {
  background: rgba(59, 130, 246, 0.15);
  color: inherit;
}

/* ================================================================
   FOCUS STYLES (Accessibility)
   ================================================================ */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ================================================================
   SCROLLBAR
   ================================================================ */
::-webkit-scrollbar {
  width: 7px;
}

::-webkit-scrollbar-track {
  background: var(--bg-off);
}

::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-tertiary);
}

/* ================================================================
   REDUCED MOTION
   ================================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .fade-in,
  .fade-in-left,
  .fade-in-right,
  .fade-in-scale {
    opacity: 1;
    transform: none;
  }
}

/* ================================================================
   SUB-PAGE HEADER
   ================================================================ */
.sub-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 60px;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
}

.sub-header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  display: flex;
  align-items: center;
}

@media (min-width: 768px) {
  .sub-header-inner {
    padding: 0 32px;
  }
}

.sub-header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
}

.sub-header-logo-icon {
  width: 32px;
  height: 32px;
  background: var(--gradient-accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: white;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.sub-header-logo-text {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.sub-header-logo-name {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.sub-header-logo-name span {
  color: var(--accent);
}

.sub-header-logo-tagline {
  font-size: 10px;
  color: var(--text-tertiary);
  letter-spacing: 0.04em;
  line-height: 1.2;
}

/* ================================================================
   LEGAL PAGE (Terms, Privacy, Tokushoho)
   ================================================================ */
.legal-page {
  padding: 60px 0 80px;
  background: var(--bg-off);
  min-height: calc(100vh - 60px);
}

.legal-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 768px) {
  .legal-content {
    padding: 0 32px;
  }
}

.legal-title {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.025em;
  line-height: 1.3;
  margin-bottom: 8px;
}

.legal-updated {
  font-size: 13px;
  color: var(--text-tertiary);
  margin-bottom: 32px;
}

.legal-intro {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.legal-section {
  margin-bottom: 36px;
}

.legal-section h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent-subtle);
}

.legal-section p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 12px;
}

.legal-section ul,
.legal-section ol {
  padding-left: 24px;
  margin-bottom: 12px;
}

.legal-section li {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 8px;
}

.legal-section li ul {
  margin-top: 8px;
}

.legal-section a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.legal-section a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

/* Legal Table (Tokushoho) */
.legal-table-wrapper {
  overflow-x: auto;
  margin-top: 32px;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.legal-table th,
.legal-table td {
  padding: 16px 20px;
  font-size: 14px;
  line-height: 1.7;
  border-bottom: 1px solid var(--border-light);
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  background: var(--bg-cool);
  color: var(--text-primary);
  font-weight: 600;
  white-space: nowrap;
  width: 180px;
  min-width: 140px;
}

.legal-table td {
  color: var(--text-secondary);
}

.legal-table td a {
  color: var(--accent);
  text-decoration: none;
}

.legal-table td a:hover {
  text-decoration: underline;
}

.legal-table tr:last-child th,
.legal-table tr:last-child td {
  border-bottom: none;
}

.legal-inline-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.legal-inline-list li {
  margin-bottom: 4px;
  font-size: 14px;
  color: var(--text-secondary);
}

/* ================================================================
   SECURITY PAGE
   ================================================================ */
.security-page .legal-intro {
  margin-bottom: 48px;
}

.security-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: 48px;
}

@media (min-width: 640px) {
  .security-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .security-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

.security-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.security-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.security-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}

.security-card-icon.blue { background: rgba(59, 130, 246, 0.08); }
.security-card-icon.green { background: rgba(52, 211, 153, 0.08); }
.security-card-icon.purple { background: rgba(129, 140, 248, 0.08); }
.security-card-icon.amber { background: rgba(245, 158, 11, 0.08); }
.security-card-icon.pink { background: rgba(236, 72, 153, 0.08); }
.security-card-icon.navy { background: rgba(30, 58, 95, 0.08); }

.security-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.security-card p {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.75;
}

.security-bottom-section {
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.security-bottom-section h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.security-bottom-section p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 8px;
}

.security-bottom-section a {
  color: var(--accent);
  text-decoration: none;
}

.security-bottom-section a:hover {
  text-decoration: underline;
}

/* ================================================================
   BOOK CALL PAGE
   ================================================================ */
.book-call-page {
  padding: 48px 0 80px;
  background: var(--bg-off);
  min-height: calc(100vh - 60px);
}

.book-call-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  max-width: 1040px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .book-call-layout {
    grid-template-columns: 1.4fr 1fr;
    gap: 48px;
  }
}

.book-call-title {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.025em;
  margin-bottom: 10px;
}

.book-call-subtitle {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 32px;
}

/* Form */
.book-call-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

.form-required {
  color: var(--danger);
  font-weight: 700;
}

.form-input,
.form-textarea {
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text-primary);
  background: var(--bg-white);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  font-family: inherit;
  line-height: 1.5;
  width: 100%;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.08);
}

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

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

.form-submit-btn {
  padding: 14px 32px;
  background: var(--gradient-accent);
  color: white;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
  font-family: inherit;
  letter-spacing: 0.01em;
  margin-top: 8px;
}

.form-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
}

/* Info Section */
.book-call-info-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.book-call-info-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}

.book-call-info-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.book-call-info-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.book-call-info-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.book-call-info-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--accent-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.book-call-info-list strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.book-call-info-list p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

.book-call-contact-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.book-call-contact-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.book-call-contact-card p {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 6px;
}

.book-call-contact-card a {
  color: var(--accent);
  text-decoration: none;
}

.book-call-contact-card a:hover {
  text-decoration: underline;
}

/* Thank You */
.book-call-thankyou {
  text-align: center;
  max-width: 520px;
  margin: 80px auto;
  padding: 0 20px;
}

.book-call-thankyou-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--success-subtle);
  color: var(--success);
  font-size: 28px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

.book-call-thankyou h1 {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.book-call-thankyou p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 32px;
}

.book-call-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--text-primary);
  color: white;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.book-call-back-btn:hover {
  background: var(--navy-deep);
  transform: translateY(-1px);
}

/* ================================================================
   RAKUDA FOOTER
   ================================================================ */
.rakuda-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(6, 10, 18, 0.6);
  padding: 16px 24px;
  transition: background var(--transition-base), border-color var(--transition-base);
}

.rakuda-footer-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.rakuda-footer-left,
.rakuda-footer-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rakuda-footer-copy {
  font-size: 11px;
  color: #4b5563;
}

.rakuda-footer-link {
  font-size: 11px;
  color: #4b5563;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.rakuda-footer-link:hover {
  color: #9ca3af;
}

/* ---- Footer light mode ---- */
.lp-light .rakuda-footer {
  background: #f9fafb;
  border-top-color: #e5e7eb;
}

.lp-light .rakuda-footer-copy,
.lp-light .rakuda-footer-link {
  color: #6b7280;
}

.lp-light .rakuda-footer-link:hover {
  color: #374151;
}

/* ================================================================
   THEME TOGGLE BUTTON
   ================================================================ */
.theme-toggle-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  color: rgba(255, 255, 255, 0.8);
  transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
  flex-shrink: 0;
}

.theme-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.lp-light .theme-toggle-btn {
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.10);
  color: #475569;
}

.lp-light .theme-toggle-btn:hover {
  background: rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.18);
  color: #111827;
}

/* ================================================================
   LIGHT MODE OVERRIDES
   Activated by .lp-light on the wrapper div
   ================================================================ */

/* ---- Sections backgrounds ---- */
.lp-light .hero {
  background: linear-gradient(165deg, #eef4ff 0%, #f0f6ff 50%, #f5f9ff 100%);
}

.lp-light .hero::before {
  background:
    radial-gradient(ellipse 700px 500px at 15% 40%, rgba(59, 130, 246, 0.08) 0%, transparent 100%),
    radial-gradient(ellipse 500px 400px at 85% 20%, rgba(124, 58, 237, 0.04) 0%, transparent 100%);
}

.lp-light .hero h1 {
  color: #111827;
}

.lp-light .hero-subtitle {
  color: #4b5563;
}

.lp-light .hero-badge {
  background: rgba(59, 130, 246, 0.08);
  border-color: rgba(59, 130, 246, 0.20);
  color: #2563eb;
}

.lp-light .hero-stat-number {
  color: #111827;
}

.lp-light .hero-stat-label {
  color: #6b7280;
}

.lp-light .hero-stat-divider {
  background: #e5e7eb;
}

.lp-light .hero-float-badge {
  background: rgba(255, 255, 255, 0.95);
  border-color: #e5e7eb;
  color: #374151;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* ---- Header (now always light, no lp-light overrides needed) ---- */

/* ---- Sections ---- */
.lp-light .section-before-after {
  background: #fafafa;
}

.lp-light .section-features {
  background: #f3f4f6;
}

.lp-light .section-how {
  background: #f8fafc;
}

.lp-light .section-tone {
  background: #ffffff;
}

.lp-light .section-pricing {
  background: #fafafa;
}

.lp-light .section-faq {
  background: #ffffff;
}

.lp-light .section-cta {
  background: linear-gradient(165deg, #1E3A5F 0%, #1a3456 100%);
}

/* ---- Section labels & headings ---- */
.lp-light .section-label {
  color: #2563eb;
}

.lp-light .section-label-line {
  background: #2563eb;
}

.lp-light .section-heading {
  color: #111827;
}

.lp-light .heading-accent {
  color: #2563eb;
}

.lp-light .section-description {
  color: #6b7280;
}

/* ---- Cards ---- */
.lp-light .feature-card {
  background: #ffffff;
  border-color: #e5e7eb;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
}

.lp-light .feature-card:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.10);
  border-color: #d1d5db;
}

.lp-light .feature-title {
  color: #111827;
}

.lp-light .feature-desc {
  color: #6b7280;
}

.lp-light .feature-stat-number {
  color: #2563eb;
}

.lp-light .feature-stat-label {
  color: #6b7280;
}

/* ---- BA section ---- */
.lp-light .ba-card {
  background: #ffffff;
  border-color: #e5e7eb;
}

.lp-light .ba-step-time {
  color: #374151;
  background: #f3f4f6;
}

.lp-light .ba-step-time.fast {
  color: #059669;
  background: #ecfdf5;
}

.lp-light .ba-step-desc {
  color: #6b7280;
}

.lp-light .ba-total-note {
  color: #9ca3af;
}

.lp-light .ba-savings {
  color: #374151;
}

.lp-light .ba-savings strong {
  color: #2563eb;
}

/* ---- How section steps ---- */
.lp-light .how-step-number {
  background: #2563eb;
  color: #fff;
}

.lp-light .how-step-title {
  color: #111827;
}

.lp-light .how-step-desc {
  color: #6b7280;
}

/* ---- Tone section ---- */
.lp-light .tone-tab {
  background: #f9fafb;
  border-color: #e5e7eb;
  color: #374151;
}

.lp-light .tone-tab:hover {
  background: #f3f4f6;
  border-color: #d1d5db;
}

.lp-light .tone-tab.active {
  background: #fff;
  border-color: var(--tone-active-color, #2563eb);
  color: #111827;
}

.lp-light .tone-tab-tag {
  color: #6b7280;
}

.lp-light .tone-preview {
  background: #ffffff;
  border-color: #e5e7eb;
}

.lp-light .tone-preview-header {
  background: #f9fafb;
  border-bottom-color: #e5e7eb;
}

.lp-light .tone-preview-label {
  color: #6b7280;
}

.lp-light .tone-preview-subject {
  color: #111827;
}

.lp-light .tone-preview-text {
  color: #374151;
}

/* ---- Pricing ---- */
.lp-light .pricing-card {
  background: #ffffff;
  border-color: #e5e7eb;
}

.lp-light .pricing-card.popular {
  border-color: #2563eb;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.12);
}

.lp-light .pricing-popular-badge {
  background: #2563eb;
  color: #fff;
}

.lp-light .pricing-name {
  color: #111827;
}

.lp-light .pricing-tagline {
  color: #6b7280;
}

.lp-light .pricing-amount {
  color: #111827;
}

.lp-light .pricing-currency,
.lp-light .pricing-period {
  color: #374151;
}

.lp-light .pricing-note {
  color: #6b7280;
}

.lp-light .pricing-feature {
  color: #374151;
}

.lp-light .pricing-divider {
  background: #e5e7eb;
}

.lp-light .pricing-btn.outline {
  background: transparent;
  color: #374151;
  border-color: #d1d5db;
}

.lp-light .pricing-btn.outline:hover {
  background: #f9fafb;
  border-color: #9ca3af;
}

.lp-light .pricing-toggle-label {
  color: #6b7280;
}

.lp-light .pricing-toggle-label.active {
  color: #111827;
}

.lp-light .pricing-toggle-save {
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
}

/* ---- FAQ ---- */
.lp-light .faq-item {
  background: #ffffff;
  border-color: #e5e7eb;
}

.lp-light .faq-item:hover {
  border-color: #d1d5db;
}

.lp-light .faq-question {
  color: #111827;
}

.lp-light .faq-chevron {
  color: #6b7280;
}

.lp-light .faq-answer-inner {
  color: #6b7280;
}

/* ---- Mockup ---- */
.lp-light .hero-mockup-window {
  background: #ffffff;
  border-color: #e5e7eb;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.10);
}

.lp-light .mockup-titlebar {
  background: #f3f4f6;
  border-bottom-color: #e5e7eb;
}

.lp-light .mockup-url {
  color: #6b7280;
  background: #ffffff;
  border-color: #e5e7eb;
}

.lp-light .mockup-body {
  background: #ffffff;
}

.lp-light .mockup-sidebar {
  background: #f9fafb;
  border-right-color: #e5e7eb;
}

.lp-light .mockup-sidebar-item {
  color: #6b7280;
}

.lp-light .mockup-sidebar-item.active {
  background: #eff6ff;
  color: #2563eb;
}

.lp-light .mockup-email-before {
  background: #ffffff;
  border-bottom-color: #e5e7eb;
}

.lp-light .mockup-email-label-tag {
  background: #f3f4f6;
  color: #6b7280;
}

.lp-light .mockup-email-label-tag.ai {
  background: rgba(37, 99, 235, 0.08);
  color: #2563eb;
}

.lp-light .mockup-sender {
  color: #111827;
}

.lp-light .mockup-subject {
  color: #374151;
}

.lp-light .mockup-email-body {
  color: #6b7280;
}

.lp-light .mockup-time {
  color: #6b7280;
}

.lp-light .mockup-email-after {
  background: #f8faff;
}

.lp-light .mockup-generated-text {
  color: #374151;
}

.lp-light .mockup-ai-chip {
  background: #fff;
  border-color: #e5e7eb;
  color: #374151;
}

.lp-light .mockup-tone-chip {
  background: #f3f4f6;
  color: #6b7280;
  border-color: #e5e7eb;
}

.lp-light .mockup-tone-chip.active {
  background: #2563eb;
  color: #fff;
  border-color: #2563eb;
}

.lp-light .mockup-action-btn {
  background: #f3f4f6;
  color: #374151;
  border-color: #e5e7eb;
}

.lp-light .mockup-action-btn.primary {
  background: #2563eb;
  color: #fff;
  border-color: #2563eb;
}

/* ---- Footer: handled by .lp-light .rakuda-footer above ---- */

/* ---- CTA button shadow (light mode) ---- */
.lp-light .btn-primary {
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.25);
}

/* ---- Section background transition for theme switch ---- */
.hero,
.section-features,
.section-how,
.section-tone,
.section-pricing,
.section-faq,
.section-cta {
  transition: background 0.35s ease;
}

/* ═══ White-only overrides (2026-04-01) ═══ */
.lp-light .hero-badge { background: rgba(37,99,235,0.08); border-color: rgba(37,99,235,0.15); color: #2563eb; }
.lp-light .hero-badge-dot { background: #2563eb; }
.header-logo svg path { stroke: #111827; fill: none; }
.header-logo svg text { fill: #111827; }
