/* ===========================
   Tidl Landing Page - Styles
   Theme: Dark Peach (matches app)
   =========================== */

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

:root {
  --color-bg: #1a1a2e;
  --color-surface: #232342;
  --color-surface-elevated: #2a2a4a;
  --color-surface-hover: #32325a;

  --color-text: #f0f0f5;
  --color-text-secondary: #a0a0b5;
  --color-text-muted: #6a6a80;

  --color-accent: #e8a882;
  --color-accent-hover: #d4956b;
  --color-accent-subtle: rgba(232, 168, 130, 0.15);

  --color-success: #7ecdb8;
  --color-border: rgba(160, 160, 181, 0.1);
  --color-border-strong: rgba(160, 160, 181, 0.2);

  --font-heading: 'Quicksand', sans-serif;
  --font-body: 'Nunito', sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;

  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-elevated: 0 4px 20px rgba(0, 0, 0, 0.15);
  --shadow-glow: 0 0 40px rgba(232, 168, 130, 0.15);
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 0;
  scroll-behavior: auto;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-accent-hover);
}

img, svg {
  max-width: 100%;
  height: auto;
}

/* --- Utilities --- */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}


.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--color-text-secondary);
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #e8a882, #d4956b);
  color: #fff;
  box-shadow: 0 4px 16px rgba(232, 168, 130, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(232, 168, 130, 0.4);
  color: #fff;
}

.btn-secondary {
  background: var(--color-surface-elevated);
  color: var(--color-text);
  border: 1px solid var(--color-border-strong);
}

.btn-secondary:hover {
  background: var(--color-surface-hover);
  transform: translateY(-2px);
  color: var(--color-text);
}

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

.btn-outline:hover {
  background: var(--color-surface-elevated);
  transform: translateY(-2px);
  color: var(--color-text);
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  background: transparent;
}

.navbar.scrolled {
  background: rgba(26, 26, 46, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
}

.navbar-brand:hover {
  color: var(--color-text);
}

.navbar-brand svg {
  width: 40px;
  height: 40px;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
}

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

.navbar-links a:hover {
  color: var(--color-accent);
}

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

.navbar-cta .btn {
  padding: 6px 16px;
  font-size: 0.82rem;
}

.lang-select-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.lang-select {
  appearance: none;
  background: transparent;
  color: var(--color-text-secondary);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 6px 28px 6px 10px;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.lang-select:hover,
.lang-select:focus {
  color: var(--color-accent);
  border-color: var(--color-accent);
  outline: none;
}

.lang-select option {
  background: var(--color-surface);
  color: var(--color-text);
}

.lang-select-chevron {
  position: absolute;
  right: 8px;
  width: 14px;
  height: 14px;
  color: var(--color-text-secondary);
  pointer-events: none;
}

.lang-select-mobile {
  width: 100%;
}

.lang-select-mobile .lang-select {
  width: 100%;
  font-size: 0.95rem;
  padding: 10px 32px 10px 12px;
}

.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.navbar-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mobile menu */
.navbar-mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(26, 26, 46, 0.98);
  backdrop-filter: blur(16px);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

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

.navbar-mobile a {
  color: var(--color-text);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
}

.navbar-mobile a:hover {
  color: var(--color-accent);
}

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

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232, 168, 130, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(126, 205, 184, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

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

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-accent-subtle);
  color: var(--color-accent);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero h1 .gradient-text {
  background: linear-gradient(135deg, #e8a882, #d4956b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

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

.hero-proof {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.hero-proof-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-proof-item svg {
  width: 18px;
  height: 18px;
  color: var(--color-success);
}

.hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- Phone Carousel --- */
.phone-carousel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.phone-carousel-track {
  position: relative;
  width: 240px;
  height: 490px;
}

.phone-carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(0.95) translateX(30px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}

.phone-carousel-slide.active {
  opacity: 1;
  transform: scale(1) translateX(0);
  pointer-events: auto;
}

.phone-carousel-slide.leaving {
  opacity: 0;
  transform: scale(0.95) translateX(-30px);
}

.phone-carousel-dots {
  display: flex;
  gap: 10px;
  align-items: center;
}

.phone-carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(160, 160, 181, 0.3);
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, transform 0.3s ease;
}

.phone-carousel-dot:hover {
  background: rgba(160, 160, 181, 0.5);
}

.phone-carousel-dot.active {
  background: var(--color-accent);
  transform: scale(1.2);
}

/* --- Phone Frame (shared preview component) --- */
.phone-frame {
  width: 240px;
  height: 490px;
  background: #1a1a2e;
  border-radius: 40px;
  border: 3px solid rgba(160, 160, 181, 0.2);
  box-shadow: var(--shadow-elevated), var(--shadow-glow);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.phone-notch {
  width: 120px;
  height: 28px;
  background: #111128;
  border-radius: 0 0 20px 20px;
  margin: 0 auto;
  flex-shrink: 0;
}

.phone-screen {
  flex: 1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-nav {
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  padding: 8px 12px 20px;
  background: #232342;
  border-top: 1px solid rgba(160, 160, 181, 0.1);
  flex-shrink: 0;
}

.phone-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  color: #6a6a80;
}

.phone-nav-item.active {
  color: #e8a882;
}

.phone-nav-item svg {
  width: 18px;
  height: 18px;
}

.phone-nav-item span {
  font-size: 0.55rem;
  font-weight: 600;
}

.phone-nav-fab {
  width: 44px;
  height: 44px;
  background: #e8a882;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -16px;
  box-shadow: 0 4px 12px rgba(232, 168, 130, 0.3);
}

.phone-nav-fab svg {
  width: 20px;
  height: 20px;
  color: #fff;
}

/* --- Shared preview header --- */
.preview-header {
  padding: 12px 16px 8px;
  flex-shrink: 0;
}

.preview-header-label {
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #e8a882;
}

.preview-header-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: #f0f0f5;
  margin: 0;
}

.preview-header-sub {
  font-size: 0.65rem;
  color: #a0a0b5;
  margin-top: 2px;
  display: block;
}

/* --- Timeline Preview --- */
.preview-timeline {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
}

.preview-header-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 4px 16px 10px;
  flex-shrink: 0;
}

.preview-nav-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: transparent;
  border: none;
  color: #a0a0b5;
  font-size: 1rem;
  cursor: default;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preview-today-btn {
  padding: 4px 14px;
  border-radius: 100px;
  background: #e8a882;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  border: none;
  cursor: default;
}

.preview-calendar-icon {
  width: 16px;
  height: 16px;
  color: #a0a0b5;
}

.preview-grid {
  flex: 1;
  position: relative;
  margin: 0 8px;
  overflow: hidden;
}

.preview-hour {
  position: absolute;
  left: 0;
  right: 0;
  display: flex;
  align-items: flex-start;
}

.preview-hour-label {
  font-size: 0.55rem;
  color: #6a6a80;
  width: 32px;
  text-align: right;
  padding-right: 8px;
  flex-shrink: 0;
  line-height: 1;
}

.preview-hour-line {
  flex: 1;
  height: 1px;
  background: rgba(160, 160, 181, 0.08);
  margin-top: 4px;
}

.preview-now {
  position: absolute;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  z-index: 2;
}

.preview-now-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e8a882;
  margin-left: 28px;
  flex-shrink: 0;
}

.preview-now-line {
  flex: 1;
  height: 2px;
  background: #e8a882;
}

.preview-task {
  position: absolute;
  border-radius: 10px;
  padding: 4px 8px;
  font-size: 0.6rem;
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 4px;
  overflow: hidden;
  z-index: 1;
}

.preview-task-emoji {
  font-size: 0.65rem;
  flex-shrink: 0;
}

.preview-task-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
}

.preview-task-time {
  font-size: 0.5rem;
  opacity: 0.7;
  flex-shrink: 0;
}

.preview-task.coral { background: linear-gradient(135deg, #e8825c, #d4956b); }
.preview-task.teal { background: linear-gradient(135deg, #4db6ac, #26a69a); }
.preview-task.blue { background: linear-gradient(135deg, #5c9ce8, #4a8ad4); }
.preview-task.purple { background: linear-gradient(135deg, #ab47bc, #8e24aa); }
.preview-task.green { background: linear-gradient(135deg, #66bb6a, #4caf50); }

/* --- Braindump Preview --- */
.preview-braindump {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
}

.preview-capture {
  margin: 0 12px 8px;
  padding: 10px;
  background: #232342;
  border-radius: 14px;
  border: 1px solid rgba(160, 160, 181, 0.1);
}

.preview-capture-input {
  padding: 8px 10px;
  background: #232342;
  border: 1px solid rgba(160, 160, 181, 0.15);
  border-radius: 10px;
  margin-bottom: 8px;
}

.preview-capture-placeholder {
  font-size: 0.65rem;
  color: #50506a;
}

.preview-capture-row {
  display: flex;
  align-items: center;
  gap: 4px;
}

.preview-chip {
  padding: 3px 8px;
  border-radius: 100px;
  font-size: 0.55rem;
  font-weight: 600;
  background: #2a2a4a;
  color: #a0a0b5;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.preview-chip.selected {
  background: #e8a882;
  color: #fff;
}

.preview-add-btn {
  margin-left: auto;
  padding: 3px 10px;
  border-radius: 10px;
  background: rgba(160, 160, 181, 0.15);
  color: #50506a;
  font-size: 0.6rem;
  font-weight: 700;
  border: none;
  cursor: default;
}

.preview-section-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 16px;
  font-size: 0.55rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6a6a80;
}

.preview-badge {
  background: #2a2a4a;
  color: #a0a0b5;
  padding: 1px 7px;
  border-radius: 100px;
  font-size: 0.55rem;
  font-weight: 700;
}

.preview-inbox-list {
  flex: 1;
  overflow: hidden;
  padding: 0 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.preview-inbox-card {
  background: #232342;
  border: 1px solid rgba(160, 160, 181, 0.1);
  border-left: 3px solid;
  border-radius: 14px;
  padding: 10px 12px;
}

.preview-inbox-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.preview-inbox-title {
  font-size: 0.7rem;
  font-weight: 600;
  color: #f0f0f5;
}

.preview-inbox-meta {
  font-size: 0.5rem;
  color: #50506a;
  display: flex;
  align-items: center;
  gap: 6px;
}

.preview-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: #2a2a4a;
  color: #6a6a80;
  padding: 1px 6px;
  border-radius: 100px;
  font-size: 0.5rem;
  font-weight: 600;
}

/* --- Focus Preview --- */
.preview-focus {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  padding: 8px 16px;
}

.preview-focus-header {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 4px 0 12px;
}

.preview-focus-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: #a0a0b5;
}

.preview-focus-task {
  width: 100%;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.06);
  border-left: 4px solid;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 600;
  color: #f0f0f5;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.preview-timer-wrap {
  position: relative;
  width: 180px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 8px 0 16px;
}

.preview-timer-svg {
  width: 100%;
  height: 100%;
}

.preview-timer-time {
  position: absolute;
  font-size: 2rem;
  font-weight: 700;
  color: #f0f0f5;
  font-variant-numeric: tabular-nums;
}

.preview-session-dots {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 24px;
}

.preview-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2a2a4a;
}

.preview-dot.filled {
  opacity: 1;
}

.preview-dot.current {
  width: 10px;
  height: 10px;
}

.preview-controls {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: auto;
  padding-bottom: 8px;
}

.preview-control-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.preview-control-btn span {
  font-size: 0.55rem;
  color: #6a6a80;
  font-weight: 600;
}

.preview-control-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #2a2a4a;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f0f0f5;
}

.preview-control-circle svg {
  width: 20px;
  height: 20px;
}

.preview-control-circle.dark {
  background: #232342;
}

.preview-control-circle.done {
  background: linear-gradient(135deg, #7ecdb4, #5ab8a0);
}

/* --- Routines Preview --- */
.preview-routines {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
}

.preview-filters {
  display: flex;
  gap: 4px;
  padding: 0 12px 10px;
  flex-shrink: 0;
}

.preview-routine-list {
  flex: 1;
  overflow: hidden;
  padding: 0 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.preview-routine-card {
  background: #232342;
  border: 1px solid rgba(160, 160, 181, 0.1);
  border-radius: 14px;
  padding: 12px;
}

.preview-routine-card.completed {
  background: rgba(126, 205, 180, 0.08);
}

.preview-routine-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.preview-routine-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.preview-routine-icon svg {
  width: 18px;
  height: 18px;
}

.preview-routine-icon.morning {
  background: rgba(232, 168, 130, 0.12);
  color: #e8a882;
}

.preview-routine-icon.evening {
  background: rgba(92, 156, 232, 0.12);
  color: #5c9ce8;
}

.preview-routine-icon.free {
  background: rgba(171, 71, 188, 0.12);
  color: #ab47bc;
}

.preview-routine-info {
  flex: 1;
  min-width: 0;
}

.preview-routine-info h4 {
  font-size: 0.75rem;
  font-weight: 700;
  color: #f0f0f5;
  margin: 0;
  line-height: 1.3;
}

.preview-routine-streak {
  font-size: 0.55rem;
  font-weight: 600;
  color: #e8a882;
  display: block;
  margin-bottom: 1px;
}

.preview-routine-meta {
  font-size: 0.55rem;
  color: #6a6a80;
  margin-top: 2px;
  display: block;
}

.preview-routine-btn {
  width: 100%;
  padding: 8px;
  border-radius: 10px;
  border: none;
  font-size: 0.65rem;
  font-weight: 700;
  color: #fff;
  cursor: default;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.preview-routine-btn.start {
  background: #e8a882;
}

.preview-routine-btn.done {
  background: #7ecdb4;
}

/* --- Features --- */
.features {
  background: var(--color-surface);
}

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

.feature-card {
  background: var(--color-surface-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 40px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

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

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

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

.feature-icon.peach { background: rgba(232, 168, 130, 0.15); color: #e8a882; }
.feature-icon.teal { background: rgba(126, 205, 184, 0.15); color: #7ecdb8; }
.feature-icon.blue { background: rgba(92, 156, 232, 0.15); color: #5c9ce8; }
.feature-icon.purple { background: rgba(171, 71, 188, 0.15); color: #ab47bc; }

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

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

.feature-tag {
  display: inline-block;
  margin-top: 16px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--color-accent-subtle);
  color: var(--color-accent);
}

/* --- Smart Features --- */
.smart-features {
  position: relative;
}

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

.smart-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s ease;
  text-align: center;
}

.smart-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elevated);
  border-color: var(--color-border-strong);
}

.smart-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.3rem;
  background: var(--color-surface-elevated);
}

.smart-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

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

/* --- Philosophy --- */
.philosophy {
  background: var(--color-surface);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}

.philosophy-item {
  padding: 20px;
}

.philosophy-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
  background: var(--color-accent-subtle);
}

.philosophy-item h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.philosophy-item p {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --- Pricing --- */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 40px;
  position: relative;
  transition: all 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elevated);
}

.pricing-card.featured {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-glow);
  overflow: hidden;
}

.pricing-card.featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #e8a882, #d4956b);
}

.pricing-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  background: linear-gradient(135deg, #e8a882, #d4956b);
  color: #fff;
  margin-bottom: 16px;
}

.pricing-card h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.pricing-card .price {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  margin: 16px 0 4px;
}

.pricing-card .price small {
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text-secondary);
}

.pricing-card .price-note {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
}

.pricing-features li {
  padding: 8px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--color-text-secondary);
}

.pricing-features li svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-features li svg.check {
  color: var(--color-success);
}

.pricing-features li svg.limit {
  color: var(--color-text-muted);
}

.pricing-card .btn {
  width: 100%;
  margin-top: auto;
}

.pricing-comparison {
  text-align: center;
  margin-top: 48px;
  padding: 24px;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}

.pricing-comparison p {
  color: var(--color-text-secondary);
  font-size: 1rem;
}

.pricing-comparison strong {
  color: var(--color-accent);
}

/* --- FAQ --- */
.faq {
  background: var(--color-surface);
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--color-surface-elevated);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq-item.open {
  border-color: var(--color-border-strong);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: none;
  border: none;
  color: var(--color-text);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}

.faq-question:hover {
  color: var(--color-accent);
}

.faq-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--color-text-muted);
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

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

.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--color-text-secondary);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* --- CTA --- */
.cta {
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232, 168, 130, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.cta p {
  color: var(--color-text-secondary);
  font-size: 1.15rem;
  max-width: 500px;
  margin: 0 auto 36px;
}

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

/* --- Footer --- */
.footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: 48px 0 32px;
}

.footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-text);
}

.footer-brand svg {
  width: 32px;
  height: 32px;
}

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

.footer-links a {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

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

.footer-copy {
  width: 100%;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

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

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-description {
    margin: 0 auto 36px;
  }

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

  .hero-proof {
    justify-content: center;
  }

  .hero-visual {
    order: 1;
  }

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

  .phone-carousel-track {
    width: 220px;
    height: 430px;
  }

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

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

  .philosophy-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 64px 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-description {
    font-size: 1.05rem;
  }

  .navbar-links {
    display: none;
  }

  .navbar-cta {
    display: none;
  }

  .navbar-toggle {
    display: flex;
  }

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

  .pricing-cards {
    grid-template-columns: 1fr;
  }

  .phone-frame {
    width: 200px;
    height: 390px;
  }

  .phone-carousel-track {
    width: 200px;
    height: 390px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .feature-card {
    padding: 28px;
  }

  .pricing-card {
    padding: 28px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn {
    width: 100%;
  }
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--color-text-muted);
  border-radius: 10px;
}

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

/* --- Legal Pages --- */
.legal-page {
  padding-top: 120px;
}

.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h1 {
  font-size: 2.5rem;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #e8a882, #d4956b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.legal-updated {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 40px;
}

.legal-toc {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 48px;
}

.legal-toc h2 {
  font-size: 1.2rem;
  margin-bottom: 16px;
  color: var(--color-accent);
}

.legal-toc ol {
  list-style: decimal;
  padding-left: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 32px;
}

.legal-toc li {
  font-size: 0.9rem;
  line-height: 1.5;
}

.legal-toc a {
  color: var(--color-text-secondary);
}

.legal-toc a:hover {
  color: var(--color-accent);
}

.legal-content article {
  margin-bottom: 48px;
  padding-top: 16px;
}

.legal-content article h2 {
  font-size: 1.5rem;
  color: var(--color-text);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
}

.legal-content article h3 {
  font-size: 1.15rem;
  color: var(--color-accent);
  margin-top: 24px;
  margin-bottom: 12px;
}

.legal-content article h4 {
  font-size: 1rem;
  color: var(--color-text);
  margin-bottom: 8px;
}

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

.legal-content article ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

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

.legal-content article ul li strong {
  color: var(--color-text);
}

.legal-content article strong {
  color: var(--color-text);
}

.legal-form-box {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin: 20px 0;
}

.legal-form-box h4 {
  font-size: 1rem;
  margin-bottom: 12px;
}

.legal-form-box p {
  font-size: 0.9rem;
}

.legal-form-box ul {
  list-style: none;
  padding-left: 0;
}

.legal-form-box ul li {
  padding: 4px 0;
  font-size: 0.9rem;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 20px;
  font-size: 0.85rem;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.legal-table thead {
  background: var(--color-surface-elevated);
}

.legal-table th {
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border-strong);
  font-size: 0.85rem;
}

.legal-table td {
  padding: 12px 16px;
  color: var(--color-text-secondary);
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
}

.legal-table tbody tr:hover {
  background: var(--color-surface);
}

@media (max-width: 768px) {
  .legal-content h1 {
    font-size: 2rem;
  }

  .legal-toc ol {
    grid-template-columns: 1fr;
  }

  .legal-table {
    display: block;
    overflow-x: auto;
  }

  .legal-page {
    padding-top: 100px;
  }
}

/* --- Contact Page --- */
.contact-page {
  padding-top: 140px;
  padding-bottom: 80px;
}

.contact-content {
  max-width: 600px;
  margin: 0 auto;
}

.contact-content h1 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 12px;
}

.contact-subtitle {
  color: var(--color-text-secondary);
  font-size: 1.1rem;
  margin-bottom: 40px;
}

.contact-form-wrapper {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 32px;
}

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

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text);
  margin-bottom: 8px;
}

.form-group label .required {
  color: var(--color-accent);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--color-surface-elevated);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-md);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-subtle);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%23a0a0b5' stroke-width='2' stroke-linecap='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
  padding-right: 40px;
}

.form-group select option {
  background: var(--color-surface);
  color: var(--color-text);
}

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

.contact-submit {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}

.contact-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.contact-alert {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  margin-bottom: 20px;
  line-height: 1.5;
}

.contact-alert.hidden {
  display: none;
}

.contact-alert-success {
  background: rgba(126, 205, 184, 0.12);
  border: 1px solid rgba(126, 205, 184, 0.3);
  color: var(--color-success);
}

.contact-alert-error {
  background: rgba(232, 168, 130, 0.12);
  border: 1px solid rgba(232, 168, 130, 0.3);
  color: var(--color-accent);
}

@media (max-width: 768px) {
  .contact-page {
    padding-top: 100px;
  }

  .contact-content h1 {
    font-size: 2rem;
  }

  .contact-form-wrapper {
    padding: 24px 20px;
  }
}

/* --- Customer Auth Page --- */
.section--padded-top {
  padding-top: 120px;
}

.customer-auth {
  max-width: 440px;
  margin: 0 auto;
  text-align: center;
}

.customer-auth-title {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.customer-auth-subtitle {
  color: var(--color-text-secondary);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.customer-alert {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  text-align: left;
}

.customer-alert-error {
  background: rgba(220, 80, 80, 0.12);
  border: 1px solid rgba(220, 80, 80, 0.3);
  color: #f0a0a0;
}

.customer-alert-warning {
  background: rgba(232, 168, 130, 0.12);
  border: 1px solid rgba(232, 168, 130, 0.3);
  color: var(--color-accent);
}

.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  background: #fff;
  color: #333;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid #ddd;
}

.btn-google:hover {
  background: #f8f8f8;
  color: #333;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.customer-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 1.5rem 0;
}

.customer-divider::before,
.customer-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-border-strong);
}

.customer-divider span {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.customer-tabs-header {
  display: flex;
  gap: 0;
  margin-bottom: 1.5rem;
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 4px;
  border: 1px solid var(--color-border);
}

.customer-tab {
  flex: 1;
  padding: 10px 16px;
  border: none;
  background: transparent;
  color: var(--color-text-muted);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
}

.customer-tab.active {
  background: var(--color-surface-elevated);
  color: var(--color-text);
}

.customer-tab:hover:not(.active) {
  color: var(--color-text-secondary);
}

.customer-form {
  text-align: left;
}

.customer-field {
  margin-bottom: 1rem;
}

.customer-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-secondary);
}

.customer-field label .required {
  color: #e85d5d;
}

.customer-field input {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-strong);
  background: var(--color-surface);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.2s ease;
  outline: none;
}

.customer-field input:focus {
  border-color: var(--color-accent);
}

.customer-field input::placeholder {
  color: var(--color-text-muted);
}

.customer-submit {
  width: 100%;
  margin-top: 0.5rem;
}

.customer-forgot-password {
  margin-top: 1.5rem;
}

/* --- Customer Profile Page --- */
.profile-container {
  max-width: 640px;
}

.profile-premium-hero {
  background: linear-gradient(135deg, rgba(232, 168, 130, 0.15) 0%, rgba(232, 168, 130, 0.05) 100%);
  border: 1px solid rgba(232, 168, 130, 0.3);
  border-radius: var(--radius-lg, 16px);
  padding: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

.profile-premium-badge {
  display: inline-block;
  background: var(--color-accent, #e8a882);
  color: #1a1a2e;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 1rem;
}

.profile-premium-hero-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.profile-premium-hero-text {
  color: var(--color-text-secondary);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.profile-card {
  background: var(--color-surface, #1e1e36);
  border: 1px solid var(--color-border, rgba(255,255,255,0.08));
  border-radius: var(--radius-lg, 16px);
  padding: 2rem;
}

.profile-title {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.profile-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border, rgba(255,255,255,0.08));
}

.profile-info-row:last-child {
  border-bottom: none;
}

.profile-info-label {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
}

.profile-info-value {
  font-weight: 600;
  font-size: 0.9rem;
}

.profile-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.profile-badge-premium {
  background: rgba(232, 168, 130, 0.2);
  color: var(--color-accent, #e8a882);
}

.profile-badge-free {
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-text-secondary);
}

.profile-alert {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.profile-alert-success {
  background: rgba(80, 200, 120, 0.12);
  border: 1px solid rgba(80, 200, 120, 0.3);
  color: #6fd88a;
}

.profile-alert-error {
  background: rgba(220, 80, 80, 0.12);
  border: 1px solid rgba(220, 80, 80, 0.3);
  color: #f0a0a0;
}

.profile-card + .profile-card {
  margin-top: 1.5rem;
}

.profile-card-title {
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
}

.profile-card-danger {
  border-color: rgba(220, 80, 80, 0.2);
}

.profile-card-title-danger {
  color: #f0a0a0;
}

.profile-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.profile-btn {
  margin-top: 0.75rem;
  align-self: flex-start;
}

.profile-delete-text {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.profile-delete-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.btn-danger {
  background: rgba(220, 80, 80, 0.15);
  border: 1px solid rgba(220, 80, 80, 0.4);
  color: #f0a0a0;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-danger:hover {
  background: rgba(220, 80, 80, 0.25);
  border-color: rgba(220, 80, 80, 0.6);
}

/* --- Download Page --- */
.download-version {
  text-align: center;
  margin-bottom: 2rem;
  opacity: 0.6;
}

.download-section-title {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 auto 1rem;
}

.download-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto 2.5rem;
}

.download-grid--desktop {
  grid-template-columns: repeat(auto-fit, minmax(220px, 300px));
  justify-content: center;
}

.download-grid--mobile {
  grid-template-columns: repeat(auto-fit, minmax(220px, 300px));
  max-width: 640px;
  justify-content: center;
}

@media (max-width: 768px) {
  .download-grid--desktop,
  .download-grid--mobile {
    grid-template-columns: 1fr;
  }
}

.download-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}

.download-card:hover {
  border-color: rgba(232, 168, 130, 0.3);
  transform: translateY(-2px);
}

.download-card.highlight {
  border-color: rgba(232, 168, 130, 0.5);
  background: rgba(232, 168, 130, 0.05);
}

.download-icon {
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.6);
}

.download-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1.25rem;
}

.download-format {
  font-size: 0.875rem;
  opacity: 0.5;
  margin: 0 0 1.25rem;
}

.download-btn {
  width: 100%;
  justify-content: center;
  gap: 0.5rem;
}

.download-alt-link {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.875rem;
  opacity: 0.6;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.download-alt-link:hover {
  opacity: 1;
}

.download-linux-buttons {
  display: flex;
  gap: 0.5rem;
}

.download-linux-buttons .download-btn {
  flex: 1;
}

.download-empty {
  text-align: center;
  padding: 3rem 0;
}

.download-empty p {
  font-size: 1.125rem;
  opacity: 0.7;
}

.release-notes {
  max-width: 640px;
  margin: 0 auto;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.release-notes h3 {
  margin: 0 0 1rem;
  font-size: 1.125rem;
}

.release-notes p {
  margin: 0;
  opacity: 0.7;
  line-height: 1.6;
}

/* --- Legal extras --- */
.legal-wip-link {
  color: var(--color-text-secondary);
}

.legal-form-box--accent {
  border-left: 3px solid var(--color-accent);
  margin-bottom: 24px;
}

/* --- Success Page --- */
.success-container {
  text-align: center;
  max-width: 600px;
}

.success-emoji {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.success-subtitle {
  margin-bottom: 2rem;
}

/* SweetAlert2 — Tidl theme */
.swal-tidl {
  background: var(--color-surface) !important;
  border: 1px solid var(--color-border-strong);
  border-radius: 16px !important;
  color: var(--color-text) !important;
  font-family: var(--font-body);
}

.swal-tidl-title {
  color: var(--color-text) !important;
  font-family: var(--font-body) !important;
  font-weight: 700 !important;
  font-size: 1.25rem !important;
}

.swal-tidl-text {
  color: var(--color-text-secondary) !important;
  font-family: var(--font-body) !important;
}

.swal-tidl-icon {
  border-color: var(--color-accent) !important;
  color: var(--color-accent) !important;
}

.swal-tidl-confirm {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-hover)) !important;
  color: #1a1a2e !important;
  font-family: var(--font-body);
  font-weight: 600;
  padding: .6rem 1.5rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: .9rem;
  transition: opacity .2s;
}

.swal-tidl-confirm:hover {
  opacity: .85;
}

.swal-tidl-cancel {
  background: transparent !important;
  color: var(--color-text-secondary) !important;
  font-family: var(--font-body);
  font-weight: 600;
  padding: .6rem 1.5rem;
  border: 1px solid var(--color-border-strong) !important;
  border-radius: 8px;
  cursor: pointer;
  font-size: .9rem;
  transition: border-color .2s, color .2s;
}

.swal-tidl-cancel:hover {
  border-color: var(--color-text-secondary) !important;
  color: var(--color-text) !important;
}

.swal2-backdrop-show {
  background: rgba(10, 10, 20, .6) !important;
}
