/* ==========================================================================
   MAYSARA MODERN DESIGN SYSTEM - 2026
   Brand Seed: #7C3AED (Violet/Purple)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* Light Theme Palette */
  --primary: #7C3AED;
  --primary-light: #9333EA;
  --primary-dark: #6D28D9;
  --primary-glow: rgba(124, 58, 237, 0.15);
  
  --bg-main: #FAFAFD;
  --bg-card: #FFFFFF;
  --bg-card-subtle: #F4F4F8;
  --bg-surface: rgba(255, 255, 255, 0.88);
  
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #94A3B8;
  
  --border-color: #E2E8F0;
  --border-light: rgba(226, 232, 240, 0.8);
  
  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;
  --info: #0284C7;

  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px rgba(124, 58, 237, 0.08), 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 40px rgba(124, 58, 237, 0.12), 0 4px 12px rgba(15, 23, 42, 0.05);
  --shadow-glow: 0 0 30px rgba(124, 58, 237, 0.35);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  
  --transition: all 0.24s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

[data-theme="dark"] {
  --bg-main: #0B0B14;
  --bg-card: #131322;
  --bg-card-subtle: #1C1B2E;
  --bg-surface: rgba(19, 19, 34, 0.88);

  --text-primary: #F8FAFC;
  --text-secondary: #CBD5E1;
  --text-muted: #64748B;

  --border-color: #27273F;
  --border-light: rgba(255, 255, 255, 0.08);

  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(124, 58, 237, 0.15);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 35px rgba(124, 58, 237, 0.25);
  --shadow-glow: 0 0 40px rgba(147, 51, 234, 0.45);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.65;
  transition: background-color 0.3s ease, color 0.3s ease;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(circle, var(--primary-glow) 0%, rgba(124, 58, 237, 0) 70%);
  z-index: -1;
  pointer-events: none;
  filter: blur(60px);
}

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

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

button, input, select, textarea {
  font-family: inherit;
}

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

/* ==========================================================================
   NAVBAR & HEADER (REFINED & ORGANIZED)
   ========================================================================== */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-surface);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 20px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  flex-shrink: 0;
}

.brand-logo img {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.nav-menu-wrapper {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 6px;
  white-space: nowrap;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 14px;
  border-radius: 10px;
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
  border: none;
  background: transparent;
}

.nav-link:hover {
  color: var(--primary);
  background: var(--bg-card-subtle);
}

.nav-link.active {
  color: var(--primary);
  background: var(--primary-glow);
  font-weight: 600;
}

/* Elegant Dropdown for Legal */
.nav-item.dropdown {
  position: relative;
}

.dropdown-toggle {
  cursor: pointer;
  font-family: inherit;
}

.dropdown-arrow {
  font-size: 10px;
  transition: transform 0.25s ease;
  color: var(--text-muted);
}

.nav-item.dropdown:hover .dropdown-arrow,
.nav-item.dropdown.open .dropdown-arrow {
  transform: rotate(180deg);
  color: var(--primary);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 290px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12), 0 0 20px var(--primary-glow);
  padding: 8px;
  display: none;
  flex-direction: column;
  gap: 4px;
  z-index: 1050;
  backdrop-filter: blur(20px);
}

/* Invisible Hover Bridge - prevents menu from closing when mouse moves across gap */
.dropdown-menu::before {
  content: "";
  position: absolute;
  top: -14px;
  left: -8px;
  right: -8px;
  height: 16px;
  background: transparent;
  pointer-events: auto;
}

.nav-item.dropdown:hover .dropdown-menu,
.nav-item.dropdown.open .dropdown-menu {
  display: flex;
  animation: navDrop 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes navDrop {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  transition: var(--transition);
}

.dropdown-item:hover {
  background: var(--bg-card-subtle);
  transform: translateX(3px);
}

.dropdown-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--primary-glow);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

.dropdown-text strong {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.25;
}

.dropdown-text small {
  display: block;
  font-size: 11.5px;
  color: var(--text-muted);
  margin-top: 2px;
}

.dropdown-divider {
  height: 1px;
  background: var(--border-color);
  margin: 4px 6px;
}

.dropdown-danger:hover {
  background: rgba(239, 68, 68, 0.08);
}

.danger-icon {
  background: rgba(239, 68, 68, 0.12);
  color: var(--danger);
}

/* Nav Actions (Right side) */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  white-space: nowrap;
}

.btn-icon {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.btn-icon:hover {
  background: var(--border-color);
  transform: translateY(-2px);
}

.lang-selector {
  display: flex;
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 2px;
}

.lang-btn {
  background: transparent;
  border: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 5px 9px;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
}

.lang-btn.active {
  background: var(--primary);
  color: #FFFFFF;
  box-shadow: 0 2px 6px rgba(124, 58, 237, 0.4);
}

.btn-nav-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #FFFFFF;
  font-weight: 600;
  font-size: 14px;
  padding: 9px 18px;
  border-radius: 99px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35);
  transition: var(--transition);
  white-space: nowrap;
}

.btn-nav-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(124, 58, 237, 0.5);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  color: var(--text-primary);
  cursor: pointer;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
  padding: 70px 0 60px;
  position: relative;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-color);
  padding: 8px 16px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 52px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, #C084FC 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
}

.btn-secondary {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-secondary:hover {
  background: var(--bg-card-subtle);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 30px;
  border-top: 1px solid var(--border-light);
}

.stat-item h3 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}

.stat-item p {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
}

/* Hero Media / Phone Showcase */
.hero-media {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone-mockup-wrapper {
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 25px 40px rgba(0, 0, 0, 0.22));
}

.phone-frame {
  width: 320px;
  border-radius: 44px;
  overflow: hidden;
  border: 10px solid #1E1B2E;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.6);
  background: #000;
}

.phone-frame img {
  width: 100%;
  height: auto;
  display: block;
}

/* Floating Badges */
.floating-card {
  position: absolute;
  background: var(--bg-surface);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3;
  animation: float 4s ease-in-out infinite;
}

.floating-card.card-left {
  top: 15%;
  left: -30px;
}

.floating-card.card-right {
  bottom: 20%;
  right: -20px;
  animation-delay: 2s;
}

.card-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 18px;
}

.card-text strong {
  display: block;
  font-size: 14px;
  color: var(--text-primary);
}

.card-text span {
  font-size: 11px;
  color: var(--text-muted);
}

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

/* ==========================================================================
   FEATURES SECTION
   ========================================================================== */

.section {
  padding: 90px 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-glow);
}

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

.feature-icon-box {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: var(--primary-glow);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 22px;
}

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

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

/* ==========================================================================
   APP DOWNLOAD & BADGES
   ========================================================================== */

.download-banner {
  background: linear-gradient(135deg, #1E1B4B 0%, #2E1065 100%);
  border-radius: var(--radius-xl);
  padding: 60px 48px;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-top: 40px;
}

.download-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(147, 51, 234, 0.4) 0%, transparent 70%);
  border-radius: 50%;
}

.download-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.download-content h2 {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 16px;
}

.download-content p {
  font-size: 17px;
  color: #E2E8F0;
  margin-bottom: 32px;
}

.store-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: var(--transition);
  text-decoration: none;
}

.store-btn:hover {
  background: #FFFFFF;
  color: #0F172A;
  transform: translateY(-2px);
}

.hero-store-btn {
  padding: 10px 20px;
  border-radius: var(--radius-md);
}

.store-icon {
  font-size: 26px;
}

.store-text small {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.8;
}

.store-text strong {
  display: block;
  font-size: 15px;
}

/* ==========================================================================
   LEGAL DOCUMENT READER (C2)
   ========================================================================== */

.legal-page {
  padding: 40px 0 80px;
}

.doc-tab-btn {
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #FFFFFF;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 22px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(124, 58, 237, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.45);
}

.legal-header-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-sm);
}

.legal-title-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.doc-main-title {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 8px;
}

.doc-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.edition-tag {
  background: var(--primary-glow);
  color: var(--primary);
  font-weight: 700;
  font-size: 13px;
  padding: 4px 12px;
  border-radius: 6px;
}

.date-tag {
  font-size: 14px;
  color: var(--text-muted);
}

.doc-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-tool {
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
  text-decoration: none;
}

.btn-tool:hover {
  background: var(--primary);
  color: #FFF;
  border-color: var(--primary);
}

.legal-search-wrapper {
  position: relative;
  width: 100%;
}

.legal-search-input {
  width: 100%;
  padding: 14px 18px 14px 44px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: var(--bg-card-subtle);
  color: var(--text-primary);
  font-size: 15px;
  transition: var(--transition);
}

.legal-search-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.search-icon-pos {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 18px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
  align-items: flex-start;
}

.legal-sidebar {
  position: sticky;
  top: 100px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}

.toc-heading {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
  letter-spacing: 0.5px;
}

.toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toc-item a {
  display: block;
  font-size: 13px;
  color: var(--text-secondary);
  padding: 6px 10px;
  border-radius: 6px;
  transition: var(--transition);
}

.toc-item a:hover {
  background: var(--primary-glow);
  color: var(--primary);
}

.legal-body {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.legal-section-block {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
}

.legal-section-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.legal-section-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--primary);
}

.legal-section-text {
  font-size: 15px;
  color: var(--text-primary);
  white-space: pre-line;
  line-height: 1.75;
}

mark.highlight {
  background: #FDE047;
  color: #000;
  padding: 2px 4px;
  border-radius: 3px;
}

/* ==========================================================================
   DELETE ACCOUNT PORTAL (C3)
   ========================================================================== */

.delete-account-page {
  padding: 40px 0 80px;
}

.portal-box {
  max-width: 680px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-lg);
}

.portal-header {
  text-align: center;
  margin-bottom: 32px;
}

.portal-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.12);
  color: var(--danger);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 16px;
}

.portal-header h2 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
}

.portal-header p {
  font-size: 15px;
  color: var(--text-secondary);
}

.alert-box {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 28px;
}

.alert-title {
  font-weight: 700;
  font-size: 14px;
  color: var(--warning);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.alert-text {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.stepper-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
  position: relative;
}

.stepper-nav::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--border-color);
  z-index: 1;
}

.step-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  position: relative;
  z-index: 2;
  transition: var(--transition);
}

.step-circle.active {
  border-color: var(--primary);
  background: var(--primary);
  color: #FFF;
  box-shadow: 0 0 12px var(--primary-glow);
}

.step-circle.done {
  border-color: var(--success);
  background: var(--success);
  color: #FFF;
}

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

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: var(--bg-card-subtle);
  color: var(--text-primary);
  font-size: 15px;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.otp-boxes {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin: 24px 0;
}

.otp-input {
  width: 48px;
  height: 56px;
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background: var(--bg-card-subtle);
  color: var(--text-primary);
}

.otp-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.btn-danger {
  background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
  color: #FFF;
  font-weight: 600;
  padding: 14px;
  width: 100%;
  border-radius: var(--radius-md);
  border: none;
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-danger:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(239, 68, 68, 0.4);
}

.success-receipt {
  background: var(--bg-card-subtle);
  border: 1px dashed var(--success);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  margin: 24px 0;
}

.ticket-number {
  font-family: monospace;
  font-size: 22px;
  font-weight: 700;
  color: var(--success);
  margin-bottom: 8px;
}

/* ==========================================================================
   CONTACT SECTION (C8)
   ========================================================================== */

.contact-page {
  padding: 40px 0 80px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.sla-cards-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.sla-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
}

.sla-card:hover {
  border-color: var(--primary);
  transform: translateX(4px);
}

.sla-badge {
  font-size: 24px;
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background: var(--primary-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.sla-info strong {
  display: block;
  font-size: 15px;
  color: var(--text-primary);
}

.sla-info span {
  font-size: 13px;
  color: var(--text-muted);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border-light);
  padding: 60px 0 30px;
  margin-top: 60px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 14px;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}

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

.footer-links a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--text-muted);
}

.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
}

.toast {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  box-shadow: var(--shadow-lg);
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

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

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

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

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

  .legal-sidebar {
    position: static;
    max-height: none;
  }

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

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .nav-menu-wrapper {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    width: 100%;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    padding: 20px;
    box-shadow: var(--shadow-lg);
  }

  .nav-menu-wrapper.open {
    display: block;
  }

  .nav-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: 1px solid var(--border-color);
    margin-top: 8px;
    display: flex;
  }

  .mobile-toggle {
    display: block;
  }

  .hero-title {
    font-size: 36px;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }
}



/* ==========================================================================
   PREMIUM CUSTOM LANGUAGE SELECT BAR
   ========================================================================== */

.custom-lang-select {
  position: relative;
  display: inline-block;
}

.lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 8px 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  transition: var(--transition);
  font-family: inherit;
  outline: none;
}

.lang-trigger:hover {
  border-color: var(--primary);
  background: var(--bg-card-subtle);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px var(--primary-glow);
}

.custom-lang-select.open .lang-trigger {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.lang-flag {
  font-size: 17px;
  line-height: 1;
  display: inline-block;
}

.lang-current-label {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.2px;
}

.lang-chevron {
  font-size: 10px;
  color: var(--text-muted);
  transition: transform 0.25s ease;
  margin-left: 2px;
}

.custom-lang-select.open .lang-chevron {
  transform: rotate(180deg);
  color: var(--primary);
}

.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 220px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 6px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.16), 0 0 25px var(--primary-glow);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 1100;
  display: none;
  flex-direction: column;
  gap: 4px;
}

.custom-lang-select.open .lang-dropdown-menu {
  display: flex;
  animation: langDrop 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes langDrop {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
}

.lang-option:hover {
  background: var(--bg-card-subtle);
  transform: translateX(2px);
}

.lang-option.active {
  background: var(--primary-glow);
}

.lang-opt-meta {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.lang-opt-meta strong {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.25;
}

.lang-opt-meta small {
  font-size: 11px;
  color: var(--text-muted);
}

.lang-option.active .lang-opt-meta strong {
  color: var(--primary);
}

.check-icon {
  display: none;
  color: var(--primary);
  font-size: 13px;
}

.lang-option.active .check-icon {
  display: block;
}

/* Flag Images in Language Select */
.flag-icon-img {
  width: 22px;
  height: 15px;
  border-radius: 3px;
  object-fit: cover;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  flex-shrink: 0;
  display: inline-block;
}

/* Super Intuitive iOS-Style Theme Switcher */
.theme-toggle-switch {
  width: 60px;
  height: 34px;
  border-radius: 99px;
  background: var(--bg-card-subtle);
  border: 1px solid var(--border-color);
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 7px;
  cursor: pointer;
  position: relative;
  transition: var(--transition);
  outline: none;
  flex-shrink: 0;
}

.theme-toggle-switch:hover {
  border-color: var(--primary);
  box-shadow: 0 0 10px var(--primary-glow);
}

.switch-icon {
  font-size: 13px;
  z-index: 2;
  transition: var(--transition);
  pointer-events: none;
}

.switch-sun {
  color: #F59E0B;
}

.switch-moon {
  color: #94A3B8;
}

.switch-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.26s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.26s ease;
  z-index: 1;
}

[data-theme="dark"] .switch-thumb {
  transform: translateX(26px);
  background: #1E1B4B;
  border: 1px solid var(--primary-light);
  box-shadow: 0 0 8px var(--primary-glow);
}

[data-theme="dark"] .switch-sun {
  color: #64748B;
  opacity: 0.5;
}

[data-theme="dark"] .switch-moon {
  color: #C084FC;
  opacity: 1;
}

/* ==========================================================================
   FORMATTED PHONE INPUT & IN-APP DELETION REASONS (EXACT APP MATCH)
   ========================================================================== */

/* Phone Input Box */
.phone-input-box {
  display: flex;
  align-items: center;
  background: var(--bg-card-subtle);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 4px 6px 4px 14px;
  transition: var(--transition);
}

.phone-input-box:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
  background: var(--bg-card);
}

.phone-flag-prefix {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-right: 12px;
  border-right: 1.5px solid var(--border-color);
  user-select: none;
}

.phone-prefix-code {
  font-weight: 700;
  font-size: 15.5px;
  color: var(--text-primary);
  letter-spacing: 0.5px;
}

.phone-input-field {
  flex: 1;
  border: none;
  background: transparent;
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 600;
  padding: 10px 14px;
  letter-spacing: 1.2px;
  outline: none;
  font-family: inherit;
}

.phone-input-field::placeholder {
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: 0.5px;
}

.phone-input-hint {
  font-size: 12.5px;
  color: var(--text-muted);
  margin-top: 6px;
  margin-left: 2px;
}

/* In-App Reason Card (Exact Mobile Modal Design) */
.inapp-reason-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 24px;
  margin-top: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.reason-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.reason-ring-badge {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.12) 0%, rgba(167, 139, 250, 0.2) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.1);
}

.reason-header-text {
  flex: 1;
}

.reason-main-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
  letter-spacing: -0.2px;
}

.reason-sub-title {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.45;
}

.reason-divider {
  height: 1px;
  background: var(--border-color);
  margin: 18px 0 14px;
}

/* Radio Group List */
.reason-radio-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.reason-radio-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 14px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  border: 1.5px solid transparent;
}

.reason-radio-item:hover {
  background: rgba(124, 58, 237, 0.05);
}

.reason-radio-item.active {
  background: rgba(124, 58, 237, 0.08);
  border-color: rgba(124, 58, 237, 0.25);
}

.reason-radio-item input[type="radio"] {
  display: none;
}

/* Custom Circle Radio Indicator */
.radio-circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #CBD5E1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
  position: relative;
}

.reason-radio-item:hover .radio-circle {
  border-color: var(--primary);
}

.reason-radio-item.active .radio-circle {
  border-color: var(--primary);
}

.reason-radio-item.active .radio-circle::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
  display: block;
}

.radio-label-text {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.4;
}

.reason-radio-item.active .radio-label-text {
  font-weight: 600;
  color: var(--text-primary);
}

.other-reason-wrapper {
  margin-top: 12px;
  animation: fadeIn 0.25s ease;
}

/* Step 2 Dual Actions (Exact App Match: Cancel + Red Delete) */
.step-2-actions {
  display: flex;
  gap: 14px;
  margin-top: 24px;
}

.btn-action-cancel {
  flex: 1;
  padding: 13px 20px;
  border-radius: 12px;
  background: var(--bg-card-subtle);
  border: 1.5px solid var(--border-color);
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.btn-action-cancel:hover {
  background: var(--border-color);
}

.btn-action-delete {
  flex: 1.2;
  padding: 13px 24px;
  border-radius: 12px;
  background: #DC2626;
  border: none;
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.35);
  font-family: inherit;
}

.btn-action-delete:hover {
  background: #B91C1C;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(220, 38, 38, 0.45);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Confirmation Modal Overlay */
.del-confirm-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: modalFadeIn 0.25s ease;
}

.del-confirm-modal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  max-width: 480px;
  width: 100%;
  padding: 34px 30px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  animation: modalScaleUp 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.del-confirm-icon-box {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(220, 38, 38, 0.12);
  color: #DC2626;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.del-confirm-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.del-confirm-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 26px;
}

.del-confirm-btn-group {
  display: flex;
  gap: 12px;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalScaleUp {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}
