/* ==========================================================================
   Nova Jet Email - Global Stylesheet & Design System
   Canadian Privacy-First High-Speed Email Service
   ========================================================================== */

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

:root {
  /* Color Palette */
  --bg-main: #0b0f19;
  --bg-surface: #111827;
  --bg-card: rgba(17, 24, 39, 0.75);
  --bg-card-hover: rgba(31, 41, 55, 0.85);
  --bg-input: rgba(15, 23, 42, 0.8);

  /* Primary & Accent Yellow Gradients */
  --primary-yellow: #ffe600;
  --primary-gold: #ffd700;
  --primary-amber: #f59e0b;
  --primary-cyan: #ffe600; /* Main accent yellow alias */
  --primary-blue: #f59e0b;
  --primary-indigo: #d97706;
  --primary-gradient: linear-gradient(135deg, #ffe600 0%, #ffb700 50%, #f59e0b 100%);
  --primary-glow: rgba(255, 215, 0, 0.35);

  /* Canadian Identity Accent */
  --ca-red: #ff3b30;
  --ca-red-glow: rgba(255, 59, 48, 0.3);
  --ca-red-gradient: linear-gradient(135deg, #ff453a 0%, #d70015 100%);

  /* Text Colors */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-inverse: #0f172a;

  /* Borders & Shadows */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-active: rgba(255, 215, 0, 0.45);
  --glass-border: 1px solid rgba(255, 255, 255, 0.12);
  --shadow-lg: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 30px rgba(255, 215, 0, 0.25);

  /* Radius & Transitions */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Light Theme Variables */
body.light-theme {
  --bg-main: #f4f7fc;
  --bg-surface: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-card-hover: #ffffff;
  --bg-input: #f1f5f9;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --border-subtle: rgba(0, 0, 0, 0.08);
  --glass-border: 1px solid rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 40px -15px rgba(0, 0, 0, 0.08);
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Inter', sans-serif;
  color: var(--text-primary);
  background-color: var(--bg-main);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

/* Background Animated Gradient Mesh */
.bg-mesh {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  background: 
    radial-gradient(circle at 15% 20%, rgba(255, 230, 0, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 85% 75%, rgba(245, 158, 11, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(255, 59, 48, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

/* Jet Particle Overlay */
.bg-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  background-image: linear-gradient(var(--border-subtle) 1px, transparent 1px),
                    linear-gradient(90deg, var(--border-subtle) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.4;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, black 20%, transparent 80%);
  pointer-events: none;
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.text-gradient {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-ca {
  background: var(--ca-red-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Reusable Glass Card */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

.glass-card:hover {
  border-color: var(--border-active);
  box-shadow: var(--shadow-glow);
}

/* Navigation Bar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.25rem 2rem;
  background: rgba(11, 15, 25, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: var(--glass-border);
  transition: all var(--transition-fast);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo Component - Dynamic & Editable Text */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.45rem;
  color: var(--text-primary);
  letter-spacing: -0.03em;
  cursor: pointer;
}

.brand-icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0b0f19;
  box-shadow: 0 0 20px rgba(255, 230, 0, 0.45);
  transition: transform var(--transition-normal);
}

.brand-logo:hover .brand-icon-wrapper {
  transform: rotate(-10deg) scale(1.08);
}

.brand-icon-wrapper svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.logo-text-holder {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.ca-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem 0.55rem;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  background: rgba(255, 59, 48, 0.15);
  border: 1px solid rgba(255, 59, 48, 0.3);
  color: var(--ca-red);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.ca-flag-svg {
  width: 14px;
  height: 14px;
}

/* Nav Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-cyan);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Buttons System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary-gradient);
  color: #090d16;
  box-shadow: 0 4px 20px rgba(255, 230, 0, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 230, 0, 0.55);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  border: var(--glass-border);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.btn-outline-ca {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(255, 59, 48, 0.4);
}

.btn-outline-ca:hover {
  background: rgba(255, 59, 48, 0.15);
  border-color: var(--ca-red);
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 1rem 2.2rem;
  font-size: 1.1rem;
  border-radius: var(--radius-md);
}

/* Theme Toggle Button */
.theme-toggle-btn {
  background: rgba(255, 255, 255, 0.05);
  border: var(--glass-border);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.theme-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Hero Section */
.hero-section {
  padding: 10rem 2rem 5rem;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(255, 230, 0, 0.12);
  border: 1px solid rgba(255, 230, 0, 0.3);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-cyan);
  margin-bottom: 1.5rem;
}

.hero-pill-icon {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-cyan);
  box-shadow: 0 0 10px var(--primary-cyan);
  animation: pulse-dot 2s infinite;
}

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

.hero-title {
  font-size: 3.75rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 540px;
}

/* Handle Checker Widget */
.handle-checker-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-md);
  padding: 0.5rem 0.5rem 0.5rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-glow);
  max-width: 520px;
  margin-bottom: 1rem;
}

.handle-input-wrap {
  display: flex;
  align-items: center;
  flex: 1;
}

.handle-input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-size: 1.05rem;
  font-weight: 500;
  width: 100%;
}

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

.domain-suffix {
  color: var(--primary-cyan);
  font-weight: 700;
  font-size: 1rem;
  margin-left: 0.2rem;
}

/* Feature Badges under Hero */
.hero-trust-badges {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  margin-top: 2rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.trust-item svg {
  color: var(--primary-cyan);
}

/* Hero Visual Box / Mockup */
.hero-visual-container {
  position: relative;
}

.hero-mockup-window {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: var(--glass-border);
  background: rgba(15, 23, 42, 0.9);
  box-shadow: var(--shadow-lg), 0 0 50px rgba(255, 230, 0, 0.18);
  transform: perspective(1000px) rotateY(-4deg) rotateX(2deg);
  transition: transform var(--transition-normal);
}

.hero-mockup-window:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.mockup-header {
  background: rgba(30, 41, 59, 0.6);
  padding: 0.8rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: var(--glass-border);
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

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

.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.mockup-title {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.mockup-body {
  padding: 1.5rem;
}

.mockup-email-card {
  background: rgba(30, 41, 59, 0.5);
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.mockup-email-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.6rem;
}

.mockup-sender {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.sender-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #0f172a;
}

.sender-info strong {
  display: block;
  font-size: 0.9rem;
}

.sender-info span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.badge-encrypted {
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  background: rgba(255, 230, 0, 0.15);
  color: var(--primary-cyan);
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.mockup-email-subject {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.mockup-email-preview {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Floating Badges on Hero Visual */
.floating-badge {
  position: absolute;
  background: rgba(17, 24, 39, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid var(--primary-cyan);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 10;
  animation: float 4s ease-in-out infinite;
}

.badge-top-right {
  top: -20px;
  right: -20px;
}

.badge-bottom-left {
  bottom: -20px;
  left: -20px;
  animation-delay: 2s;
}

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

/* Section Header */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 4rem;
}

.section-tag {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary-cyan);
  margin-bottom: 0.75rem;
  display: block;
}

.section-title {
  font-size: 2.75rem;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

/* Features Grid */
.features-section {
  padding: 6rem 2rem;
  max-width: 1280px;
  margin: 0 auto;
}

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

.feature-card {
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.feature-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(255, 230, 0, 0.12);
  border: 1px solid rgba(255, 230, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-cyan);
  margin-bottom: 1.5rem;
}

.feature-card:hover .feature-icon-box {
  background: var(--primary-gradient);
  color: #090d16;
}

.feature-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.85rem;
}

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

/* Canadian Sovereignty Showcase Section */
.canada-sovereignty-section {
  padding: 6rem 2rem;
  background: linear-gradient(180deg, transparent 0%, rgba(255, 59, 48, 0.03) 50%, transparent 100%);
}

.canada-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.ca-map-visual {
  background: var(--bg-surface);
  border: 1px solid rgba(255, 59, 48, 0.2);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.ca-datacenter-nodes {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.node-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.03);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.node-city {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.node-ping {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-cyan);
}

/* Live Webmail Sandbox Preview Section */
.webmail-preview-section {
  padding: 6rem 2rem;
  max-width: 1380px;
  margin: 0 auto;
}

.webmail-app-frame {
  background: #0d121f;
  border-radius: var(--radius-lg);
  border: var(--glass-border);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
  display: grid;
  grid-template-columns: 240px 340px 1fr;
  min-height: 640px;
  overflow: hidden;
}

/* Webmail Sidebar */
.webmail-sidebar {
  background: rgba(15, 23, 42, 0.95);
  border-right: var(--glass-border);
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
}

.compose-btn-wrap {
  margin-bottom: 1.5rem;
}

.nav-folder-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.nav-folder-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.nav-folder-item:hover, .nav-folder-item.active {
  background: rgba(255, 230, 0, 0.15);
  color: var(--primary-cyan);
}

.folder-icon-text {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.folder-count {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
}

.nav-folder-item.active .folder-count {
  background: var(--primary-cyan);
  color: #0b0f19;
}

/* Webmail Email List */
.webmail-list-pane {
  border-right: var(--glass-border);
  background: rgba(17, 24, 39, 0.6);
  display: flex;
  flex-direction: column;
}

.list-pane-header {
  padding: 1.2rem;
  border-bottom: var(--glass-border);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.webmail-search-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
}

.webmail-search-box input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-size: 0.85rem;
  width: 100%;
}

.email-items-container {
  overflow-y: auto;
  flex: 1;
}

.email-list-item {
  padding: 1rem 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: background var(--transition-fast);
}

.email-list-item:hover, .email-list-item.selected {
  background: rgba(30, 41, 59, 0.8);
}

.email-list-item.unread {
  border-left: 3px solid var(--primary-cyan);
}

.email-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.3rem;
}

.email-item-sender {
  font-size: 0.9rem;
  font-weight: 600;
}

.email-item-date {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.email-item-subject {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.email-item-snippet {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Webmail Detail View */
.webmail-detail-pane {
  background: rgba(11, 15, 25, 0.8);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.detail-header {
  padding: 1.5rem;
  border-bottom: var(--glass-border);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.detail-subject-title {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}

.detail-sender-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.detail-body-content {
  padding: 2rem 1.5rem;
  flex: 1;
  overflow-y: auto;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.detail-body-content p {
  margin-bottom: 1rem;
}

/* Pricing Section */
.pricing-section {
  padding: 6rem 2rem;
  max-width: 1280px;
  margin: 0 auto;
}

.pricing-billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.toggle-switch {
  width: 56px;
  height: 30px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  padding: 3px;
  cursor: pointer;
  position: relative;
}

.toggle-circle {
  width: 24px;
  height: 24px;
  background: var(--primary-cyan);
  border-radius: 50%;
  transition: transform var(--transition-fast);
}

.toggle-switch.active .toggle-circle {
  transform: translateX(26px);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.pricing-card {
  padding: 2.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card.featured {
  border-color: var(--primary-cyan);
  box-shadow: var(--shadow-glow);
}

.featured-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-gradient);
  color: #0b0f19;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.25rem 1rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.plan-name {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.plan-price {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  font-family: 'Outfit', sans-serif;
}

.plan-price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.plan-features {
  list-style: none;
  margin-bottom: 2.5rem;
  flex: 1;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.plan-features svg {
  color: var(--primary-cyan);
  flex-shrink: 0;
}

/* Modals System (Create Email & Login) */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(5, 8, 15, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  padding: 1.5rem;
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal-window {
  background: #0f172a;
  border: var(--glass-border);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 520px;
  padding: 2.5rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
  position: relative;
  transform: translateY(20px) scale(0.95);
  transition: transform var(--transition-normal);
}

.modal-backdrop.open .modal-window {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: var(--text-secondary);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--text-primary);
}

.modal-header {
  text-align: center;
  margin-bottom: 2rem;
}

.modal-header h2 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.modal-header p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Wizard Steps Indicator */
.wizard-steps-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  position: relative;
}

.wizard-steps-bar::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 1;
}

.step-node {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #1e293b;
  border: 2px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  z-index: 2;
  transition: all var(--transition-fast);
}

.step-node.active {
  background: var(--primary-cyan);
  border-color: var(--primary-cyan);
  color: #0b0f19;
  box-shadow: 0 0 15px var(--primary-cyan);
}

.step-node.completed {
  background: #10b981;
  border-color: #10b981;
  color: #ffffff;
}

/* Form Controls */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.1rem;
  background: var(--bg-input);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.form-control:focus {
  border-color: var(--primary-cyan);
  box-shadow: 0 0 0 3px rgba(255, 230, 0, 0.2);
}

.email-suffix-select {
  background: rgba(30, 41, 59, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--primary-cyan);
  font-weight: 600;
  border-radius: var(--radius-md);
  padding: 0 1rem;
  outline: none;
  cursor: pointer;
}

.input-with-select {
  display: flex;
  gap: 0.5rem;
}

.strength-meter-bar {
  height: 4px;
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  margin-top: 0.5rem;
  overflow: hidden;
}

.strength-meter-fill {
  height: 100%;
  width: 0%;
  background: #ef4444;
  transition: width 0.3s ease, background-color 0.3s ease;
}

/* Footer Section */
.site-footer {
  border-top: var(--glass-border);
  padding: 4rem 2rem 2rem;
  background: rgba(7, 10, 18, 0.95);
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

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

.footer-heading {
  font-size: 1rem;
  margin-bottom: 1.2rem;
}

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

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast {
  background: #1e293b;
  border: 1px solid var(--primary-cyan);
  color: var(--text-primary);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: slideInRight 0.3s ease;
}

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

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-section {
    grid-template-columns: 1fr;
    padding-top: 8rem;
    text-align: center;
  }
  .hero-subtitle, .handle-checker-box {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-trust-badges {
    justify-content: center;
  }
  .canada-container {
    grid-template-columns: 1fr;
  }
  .webmail-app-frame {
    grid-template-columns: 1fr;
  }
  .webmail-sidebar, .webmail-list-pane {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav-menu { display: none; }
  .footer-container { grid-template-columns: 1fr 1fr; }
  .hero-title { font-size: 2.75rem; }
}
