/* ─── Alfrodin Marketing Website ──────────────────────────────────────────── */
/* Brand: Navy #002E6E · Cyan #00B8DE · Font: Sansation Light                 */

@font-face {
  font-family: 'Sansation';
  src: url('/fonts/Sansation_Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* ─── Reset & Base ───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:    #002E6E;
  --navy-90: #0A3A7A;
  --navy-80: #1A4D8E;
  --cyan:    #00B8DE;
  --cyan-light: #33C9E8;
  --cyan-glow: rgba(0, 184, 222, 0.15);
  --white:   #FFFFFF;
  --gray-50: #F8FAFC;
  --gray-100:#F1F5F9;
  --gray-200:#E2E8F0;
  --gray-400:#94A3B8;
  --gray-600:#475569;
  --gray-800:#1E293B;
  --gray-900:#0F172A;
  --radius:  12px;
  --radius-lg: 20px;
  --shadow:  0 4px 24px rgba(0, 46, 110, 0.08);
  --shadow-lg: 0 12px 48px rgba(0, 46, 110, 0.12);
  /* New design tokens */
  --bg-base:       #F7F9FD;
  --bg-section-a:  #F0F4FA;
  --bg-section-b:  #F7F9FD;
  --bg-hero:       linear-gradient(165deg, #001E4A 0%, #002E6E 40%, #003D82 100%);
  --glass-bg:      rgba(255, 255, 255, 0.65);
  --glass-border:  rgba(255, 255, 255, 0.4);
  --glass-shadow:  0 8px 32px rgba(0, 46, 110, 0.08);
  --orb-navy:      rgba(0, 46, 110, 0.04);
  --orb-cyan:      rgba(0, 184, 222, 0.06);
  --ease:          cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Sansation', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 300;
  color: var(--gray-800);
  line-height: 1.6;
  background: var(--bg-base);
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ─── Decorative Background Orbs ─────────────────────────────────────────── */
.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  animation: orb-float 20s ease-in-out infinite;
}
.bg-orb-1 {
  width: 600px; height: 600px;
  background: var(--orb-cyan);
  top: -200px; right: -100px;
}
.bg-orb-2 {
  width: 500px; height: 500px;
  background: var(--orb-navy);
  bottom: 20%; left: -150px;
  animation-delay: -7s;
}
.bg-orb-3 {
  width: 400px; height: 400px;
  background: rgba(0, 184, 222, 0.03);
  top: 50%; right: 10%;
  animation-delay: -14s;
}
@keyframes orb-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(30px, -40px) scale(1.05); }
  66%      { transform: translate(-20px, 20px) scale(0.95); }
}

/* ─── Typography ─────────────────────────────────────────────────────────── */
h1, h2, h3, h4 { font-weight: 300; color: var(--navy); }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); line-height: 1.15; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
.text-cyan { color: var(--cyan); }

.section-title { text-align: center; margin-bottom: 12px; }
.section-subtitle {
  text-align: center;
  color: var(--gray-600);
  font-size: 1.15rem;
  margin-bottom: 56px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ─── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 300;
  text-decoration: none;
  transition: all 0.25s var(--ease);
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-sm { padding: 8px 20px; font-size: 0.9rem; }
.btn-lg { padding: 16px 36px; font-size: 1.1rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--cyan);
  color: var(--white);
  border-color: var(--cyan);
}
.btn-primary:hover {
  background: #00a5c7;
  border-color: #00a5c7;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 184, 222, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--gray-100);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.25);
}

.btn-glow {
  box-shadow: 0 0 20px rgba(0, 184, 222, 0.4), 0 4px 15px rgba(0, 184, 222, 0.2);
  position: relative;
  overflow: hidden;
}
.btn-glow::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  animation: btn-shimmer 3s ease-in-out infinite;
}
@keyframes btn-shimmer {
  0% { left: -100%; }
  50%, 100% { left: 200%; }
}
.btn-glow:hover {
  box-shadow: 0 0 30px rgba(0, 184, 222, 0.6), 0 8px 30px rgba(0, 184, 222, 0.3);
}

/* ─── Nav ────────────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: all 0.3s var(--ease);
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
  padding: 10px 0;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand { text-decoration: none; }
.nav-logo { height: 90px; transition: all 0.3s var(--ease); }
.nav:not(.scrolled) .nav-logo { filter: brightness(0) invert(1); }
.nav.scrolled .nav-logo { height: 48px; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { color: var(--navy); text-decoration: none; font-size: 0.95rem; transition: color 0.2s; }
.nav-links a:hover { color: var(--cyan); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: 0.3s; }

/* Nav on dark hero (before scroll) */
.nav:not(.scrolled) .nav-links a:not(.btn) { color: rgba(255, 255, 255, 0.8); }
.nav:not(.scrolled) .nav-links a:not(.btn):hover { color: var(--cyan); }
.nav:not(.scrolled) .nav-toggle span { background: var(--white); }
.nav:not(.scrolled) .lang-btn { border-color: rgba(255, 255, 255, 0.25); color: rgba(255, 255, 255, 0.65); }
.nav:not(.scrolled) .lang-btn:hover { border-color: var(--cyan); color: var(--cyan); }
.nav:not(.scrolled) .lang-btn.active { background: var(--cyan); border-color: var(--cyan); color: var(--white); }

/* ─── Language Switcher ─────────────────────────────────────────────────── */
.lang-switcher { display: flex; gap: 4px; align-items: center; }
.lang-btn {
  background: transparent;
  border: 1.5px solid var(--gray-200);
  border-radius: 6px;
  padding: 4px 10px;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--gray-600);
  cursor: pointer;
  transition: all 0.2s var(--ease);
  line-height: 1;
}
.lang-btn:hover { border-color: var(--cyan); color: var(--cyan); }
.lang-btn.active {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--white);
}

/* ─── Hero Wrapper (Dark) ───────────────────────────────────────────────── */
.hero-wrapper {
  background: var(--bg-hero);
  position: relative;
  overflow: hidden;
}
.hero-bg-elements { position: absolute; inset: 0; pointer-events: none; }
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}
.hero-orb-1 {
  width: 500px; height: 500px;
  background: rgba(0, 184, 222, 0.12);
  top: -150px; right: -100px;
  animation: orb-float 15s ease-in-out infinite;
}
.hero-orb-2 {
  width: 400px; height: 400px;
  background: rgba(0, 184, 222, 0.06);
  bottom: -100px; left: 10%;
  animation: orb-float 18s ease-in-out infinite reverse;
}
.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black, transparent);
}

/* ─── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 24px 80px;
  max-width: 1200px;
  margin: 0 auto;
  gap: 60px;
  position: relative;
  z-index: 1;
}
.hero-content { flex: 1; }
.hero-content h1 { color: var(--white); }
.hero-content .text-cyan {
  background: linear-gradient(135deg, var(--cyan), var(--cyan-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.65);
  margin: 24px 0 36px;
  max-width: 520px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
}
.hero-visual::before {
  content: '';
  position: absolute;
  width: 120%;
  height: 120%;
  top: -10%;
  left: -10%;
  background: radial-gradient(ellipse, rgba(0, 184, 222, 0.12), transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
  z-index: -1;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
  z-index: 2;
}
.scroll-indicator-dot {
  width: 4px;
  height: 8px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 2px;
  animation: scroll-pulse 2s ease-in-out infinite;
}
@keyframes scroll-pulse {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50%      { transform: translateY(12px); opacity: 0.3; }
}

/* ─── Outlook Mockup ─────────────────────────────────────────────────────── */
.outlook-mockup {
  width: 100%;
  max-width: 580px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 4px 20px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  transform: perspective(1200px) rotateY(-2deg);
  transition: transform 0.4s var(--ease);
}
.outlook-mockup:hover { transform: perspective(1200px) rotateY(0deg); }

.mockup-dots { display: flex; gap: 6px; }
.mockup-dots span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.2); }
.mockup-dots span:first-child { background: #FF5F57; }
.mockup-dots span:nth-child(2) { background: #FEBC2E; }
.mockup-dots span:nth-child(3) { background: #28C840; }

/* Title bar */
.outlook-titlebar {
  background: #1E1E1E;
  padding: 8px 14px;
  display: flex;
  align-items: center;
}
.outlook-titlebar-center {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: rgba(255,255,255,0.6);
  font-size: 0.72rem;
}

/* Ribbon */
.outlook-ribbon {
  background: #F3F3F3;
  border-bottom: 1px solid #E0E0E0;
  padding: 0 12px;
  display: flex;
  gap: 0;
}
.ribbon-tab {
  padding: 7px 14px;
  font-size: 0.68rem;
  color: #444;
  border-bottom: 2px solid transparent;
  cursor: default;
}
.ribbon-tab.active {
  color: #0078D4;
  border-bottom-color: #0078D4;
}
.ribbon-alfrodin {
  color: var(--cyan) !important;
  font-weight: 600;
}

/* Body */
.outlook-body {
  display: flex;
  background: #FAFAFA;
  min-height: 380px;
}

/* Email list */
.outlook-emails {
  width: 220px;
  background: #FFFFFF;
  border-right: 1px solid #E8E8E8;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.outlook-email-search {
  padding: 8px 10px;
  border-bottom: 1px solid #F0F0F0;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #A0A0A0;
  font-size: 0.62rem;
}
.outlook-email {
  padding: 8px 10px;
  border-bottom: 1px solid #F5F5F5;
  display: flex;
  gap: 8px;
  align-items: flex-start;
  cursor: default;
}
.outlook-email:first-of-type { background: #EBF3FC; }
.outlook-email.unread { position: relative; }
.email-unread-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0078D4;
  flex-shrink: 0;
  margin-top: 5px;
}
.email-content { flex: 1; min-width: 0; overflow: hidden; }
.email-top { display: flex; justify-content: space-between; align-items: baseline; gap: 4px; }
.email-sender { font-size: 0.65rem; font-weight: 600; color: #323130; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.outlook-email.unread .email-sender { color: #0078D4; }
.email-time { font-size: 0.55rem; color: #A0A0A0; flex-shrink: 0; }
.email-subject { font-size: 0.6rem; color: #323130; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: 1px 0; }
.email-preview { font-size: 0.55rem; color: #A0A0A0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Alfrodin Panel */
.alfrodin-panel {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border-left: 2px solid var(--cyan);
  min-width: 0;
}
.alfrodin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-bottom: 1px solid #F0F0F0;
}
.alfrodin-header-left {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}
.alfrodin-panel-icon { width: 18px; height: 18px; }
.alfrodin-view-title {
  font-size: 0.72rem;
  font-weight: 600;
  color: #323130;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.alfrodin-header-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
}

/* Breadcrumb */
.alfrodin-breadcrumb {
  padding: 5px 10px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.55rem;
  color: #605E5C;
  border-bottom: 1px solid #F5F5F5;
  overflow: hidden;
}
.bc-link { color: #0078D4; cursor: default; }
.bc-sep { color: #C8C6C4; }
.bc-current { color: #323130; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Toolbar */
.alfrodin-toolbar {
  padding: 6px 10px;
  display: flex;
  gap: 6px;
  border-bottom: 1px solid #F0F0F0;
}
.alfrodin-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border: 1px solid #E0E0E0;
  border-radius: 4px;
  background: #FFFFFF;
  font-size: 0.58rem;
  color: #323130;
  cursor: default;
  font-family: inherit;
}

/* File list */
.alfrodin-filelist {
  flex: 1;
  overflow: hidden;
  padding: 4px 0;
}
.alfrodin-section-header {
  padding: 4px 10px;
  font-size: 0.52rem;
  font-weight: 600;
  color: #A0A0A0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.alfrodin-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  cursor: default;
  transition: background 0.15s;
}
.alfrodin-row:hover { background: #F5F5F5; }
.alfrodin-folder-icon, .alfrodin-file-type-icon { flex-shrink: 0; }
.alfrodin-file-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.alfrodin-filename {
  font-size: 0.62rem;
  font-weight: 600;
  color: #323130;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.alfrodin-filemeta {
  font-size: 0.5rem;
  color: #A0A0A0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.alfrodin-star { flex-shrink: 0; opacity: 0.5; }
.alfrodin-star.starred { opacity: 1; }

/* Email archive section */
.alfrodin-email-section {
  margin-top: auto;
  border-top: 1px solid #E8E8E8;
  padding: 8px 10px;
  background: #FAFAFA;
}
.alfrodin-email-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.6rem;
  font-weight: 600;
  color: #323130;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.alfrodin-email-attach {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.52rem;
  color: #605E5C;
  margin-bottom: 6px;
}
.alfrodin-archive-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  background: #0078D4;
  color: white;
  border: none;
  border-radius: 4px;
  font-size: 0.58rem;
  font-family: inherit;
  cursor: default;
  width: 100%;
  justify-content: center;
}

/* ─── Sections ──────────────────────────────────────────────────────────── */
.section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}
.features  { background: var(--bg-section-a); }
.pricing   { background: var(--bg-section-b); }
.faq       { background: var(--bg-section-a); }

/* ─── Features — Bento Grid ─────────────────────────────────────────────── */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: 20px;
}
.bento-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 184, 222, 0.06), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}
.bento-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 184, 222, 0.3);
  box-shadow: 0 12px 40px rgba(0, 46, 110, 0.1);
}
.bento-card:hover::before { opacity: 1; }
.bento-card-inner { position: relative; z-index: 1; }
.bento-large { grid-column: span 2; }
.bento-tall  { grid-row: span 2; display: flex; align-items: flex-start; }

.bento-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 184, 222, 0.1), rgba(0, 46, 110, 0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.bento-icon svg { width: 24px; height: 24px; stroke: var(--cyan); fill: none; stroke-width: 1.5; }
.bento-large .bento-icon { width: 56px; height: 56px; }
.bento-large .bento-icon svg { width: 28px; height: 28px; }

.bento-card h3 { font-size: 1.1rem; margin-bottom: 8px; color: var(--navy); }
.bento-card p { font-size: 0.92rem; color: var(--gray-600); line-height: 1.65; }
.bento-large h3 { font-size: 1.25rem; }

/* ─── Trust / Social Proof ──────────────────────────────────────────────── */
.trust {
  padding: 80px 0;
  background: var(--bg-section-b);
}
.trust-label {
  text-align: center;
  color: var(--gray-600);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 40px;
  font-weight: 400;
}
.trust-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.trust-logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0.7;
  transition: opacity 0.3s;
}
.trust-logo-item:hover { opacity: 1; }
.trust-logo-item svg { width: 40px; height: 40px; }
.trust-logo-item span { font-size: 0.82rem; color: var(--gray-600); font-weight: 300; }
.trust-divider {
  width: 1px;
  height: 40px;
  background: var(--gray-200);
}
.trust-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.92rem;
  color: var(--gray-800);
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 20px 24px;
  transition: all 0.3s var(--ease);
}
.trust-badge:hover {
  border-color: rgba(0, 184, 222, 0.25);
  box-shadow: 0 4px 20px rgba(0, 46, 110, 0.06);
}
.trust-badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 184, 222, 0.12), rgba(0, 46, 110, 0.06));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--cyan);
}
.trust-badge-icon svg { width: 22px; height: 22px; stroke: var(--cyan); fill: none; stroke-width: 1.5; }

/* ─── Pricing ────────────────────────────────────────────────────────────── */

/* Billing Toggle */
.billing-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}
.billing-label {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--gray-400);
  transition: color 0.3s;
  cursor: pointer;
}
.billing-label.active { color: var(--navy); font-weight: 400; }
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 28px;
}
.toggle-switch input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--gray-200);
  border-radius: 28px;
  transition: background 0.3s;
}
.toggle-slider::before {
  content: '';
  position: absolute;
  width: 22px;
  height: 22px;
  left: 3px;
  bottom: 3px;
  background: var(--white);
  border-radius: 50%;
  transition: transform 0.3s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.toggle-switch input:checked + .toggle-slider { background: var(--cyan); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(24px); }
.billing-save {
  background: rgba(0, 184, 222, 0.1);
  color: var(--cyan);
  font-size: 0.75rem;
  font-weight: 400;
  padding: 4px 10px;
  border-radius: 100px;
  letter-spacing: 0.5px;
}

/* Billed annually note */
.pricing-billed {
  font-size: 0.8rem;
  color: var(--cyan);
  margin: -4px 0 4px;
  font-weight: 300;
}

/* Single pricing card layout */
/* Three-card pricing layout */
.pricing-cards-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto 40px;
  align-items: stretch;
}
.pricing-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  position: relative;
  transition: all 0.4s var(--ease);
  box-shadow: var(--glass-shadow);
  display: flex;
  flex-direction: column;
}
.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 46, 110, 0.12);
}
.pricing-card-featured {
  border-color: rgba(0, 184, 222, 0.35);
  box-shadow: 0 8px 32px rgba(0, 184, 222, 0.1), var(--glass-shadow);
}
.pricing-card-featured:hover {
  border-color: rgba(0, 184, 222, 0.5);
  box-shadow: 0 20px 60px rgba(0, 184, 222, 0.15);
}
.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--cyan), #009FBD);
  color: var(--white);
  padding: 6px 20px;
  border-radius: 20px;
  font-size: 0.8rem;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 184, 222, 0.3);
}
.pricing-card-header { margin-bottom: 20px; }
.pricing-card-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  border-radius: 14px;
  background: rgba(0, 46, 110, 0.05);
  color: var(--navy);
}
.pricing-card-featured .pricing-card-icon {
  background: linear-gradient(135deg, rgba(0, 184, 222, 0.12), rgba(0, 46, 110, 0.08));
  color: var(--cyan);
}
.pricing-card h3 { font-size: 1.3rem; margin-bottom: 6px; color: var(--navy); }
.pricing-card-desc { font-size: 0.85rem; color: var(--gray-400); }
.pricing-amount { margin-bottom: 4px; }
.pricing-currency { font-size: 1.5rem; vertical-align: top; color: var(--navy); }
.pricing-value { font-size: 3rem; color: var(--navy); }
.pricing-period { font-size: 0.9rem; color: var(--gray-400); }
.pricing-apps-count {
  font-size: 0.8rem;
  color: var(--gray-400);
  margin-bottom: 16px;
}
.pricing-apps-logos {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.pricing-app-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(0, 46, 110, 0.05);
  border: 1px solid rgba(0, 46, 110, 0.08);
  border-radius: 6px;
  font-size: 0.75rem;
  color: var(--navy);
  font-weight: 600;
}
.pricing-features {
  list-style: none;
  text-align: left;
  margin-bottom: 24px;
}
.pricing-features li {
  padding: 5px 0;
  font-size: 0.85rem;
  color: var(--gray-600);
  break-inside: avoid;
}
.pricing-features li::before {
  content: '\2713';
  color: var(--cyan);
  font-weight: bold;
  margin-right: 8px;
}
.pricing-trial-hint {
  font-size: 0.8rem;
  color: var(--gray-400);
  margin-top: 10px;
}
/* "from" prefix on price */
.pricing-from {
  font-size: 0.9rem;
  color: var(--gray-400);
  margin-right: 2px;
}
/* Volume pricing tiers */
.pricing-volume {
  background: rgba(0, 46, 110, 0.03);
  border: 1px solid rgba(0, 46, 110, 0.06);
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 28px;
  text-align: left;
}
.pricing-volume h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-400);
  margin-bottom: 10px;
}
.pricing-tier-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0, 46, 110, 0.06);
  font-size: 0.9rem;
  color: var(--gray-600);
}
.pricing-tier-row:last-child {
  border-bottom: none;
}
.tier-price {
  font-weight: 600;
  color: var(--navy);
}
.tier-price .pricing-value {
  font-size: 1rem;
}
.tier-price .pricing-period {
  font-size: 0.8rem;
}
/* Enterprise card */
.pricing-card-enterprise .pricing-card-icon {
  background: linear-gradient(135deg, rgba(0, 46, 110, 0.1), rgba(0, 46, 110, 0.05));
  color: var(--navy);
}
.pricing-custom {
  font-size: 2rem !important;
  color: var(--navy);
  font-weight: 300;
}
/* Push features list to fill space, CTA button to bottom */
.pricing-card .pricing-features {
  flex: 1;
}
.pricing-card .btn-block {
  margin-top: auto;
}
/* AppSource note */
.pricing-note {
  text-align: center;
  margin-top: 32px;
  color: var(--gray-600);
  font-size: 0.95rem;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}
.pricing-note a { color: var(--cyan); text-decoration: none; }
.pricing-note a:hover { text-decoration: underline; }

/* ─── FAQ ────────────────────────────────────────────────────────────────── */
.faq-grid { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s var(--ease);
}
.faq-item:hover { border-color: rgba(0, 184, 222, 0.2); }
.faq-item[open] {
  border-color: rgba(0, 184, 222, 0.3);
  box-shadow: 0 4px 20px rgba(0, 46, 110, 0.06);
}
.faq-item summary {
  padding: 20px 24px;
  cursor: pointer;
  font-size: 1.05rem;
  color: var(--navy);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '';
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--cyan);
  border-bottom: 2px solid var(--cyan);
  transform: rotate(-45deg);
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
  margin-left: 16px;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
}
.faq-item p {
  padding: 0 24px 20px;
  color: var(--gray-600);
  line-height: 1.7;
  animation: faq-reveal 0.3s ease-out;
}
@keyframes faq-reveal {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── Footer ─────────────────────────────────────────────────────────────── */
.footer-fade {
  height: 60px;
  background: linear-gradient(to bottom, var(--bg-section-a), #E8EEF6);
  position: relative;
  z-index: 1;
}
.footer { background: linear-gradient(180deg, #E8EEF6, #E0E8F2); color: var(--gray-600); padding: 60px 0 0; position: relative; z-index: 1; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-brand { max-width: 250px; }
.footer-logo { height: 56px; margin-bottom: 12px; }
.footer-brand a { display: inline-block; transition: opacity 0.2s; }
.footer-brand a:hover { opacity: 0.8; }
.footer-links { display: flex; gap: 60px; }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col h4 { color: var(--navy); font-size: 0.95rem; margin-bottom: 4px; }
.footer-col a { color: var(--gray-600); text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--cyan); }
.footer-bottom {
  margin-top: 48px;
  padding: 20px 0;
  border-top: 1px solid rgba(0, 46, 110, 0.08);
}
.footer-bottom p { font-size: 0.85rem; text-align: center; }

/* ─── Scroll Reveal Animations ──────────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .pricing-cards-wrap { grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 960px; }
  .pricing-card { padding: 28px 20px; }
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-large { grid-column: span 2; }
  .bento-tall { grid-row: span 1; }
}

@media (max-width: 768px) {
  .pricing-cards-wrap { grid-template-columns: 1fr; max-width: 440px; }
  .hero { flex-direction: column; min-height: auto; padding-top: 100px; text-align: center; }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-visual::before { display: none; }
  .outlook-mockup { max-width: 480px; transform: none; }
  .outlook-mockup:hover { transform: none; }
  .outlook-emails { width: 160px; }
  .outlook-body { min-height: 320px; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-large { grid-column: span 1; }
  .trust-divider { display: none; }
  .trust-badges { grid-template-columns: 1fr; max-width: 400px; }
  .footer-inner { flex-direction: column; align-items: center; text-align: center; }
  .footer-links { flex-direction: column; gap: 32px; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    box-shadow: var(--shadow);
    gap: 16px;
  }
  .nav-links.open { display: flex; }
  .nav-links.open a:not(.btn) { color: var(--navy) !important; }
  .nav-links.open .lang-btn { border-color: var(--gray-200) !important; color: var(--gray-600) !important; }
  .nav-links.open .lang-btn.active { background: var(--cyan) !important; border-color: var(--cyan) !important; color: var(--white) !important; }
  .nav-logo { height: 64px; }
  .nav.scrolled .nav-logo { height: 40px; }
  .nav-toggle { display: block; }
  .lang-switcher { justify-content: center; }
  .scroll-indicator { display: none; }
}

@media (max-width: 520px) {
  .outlook-mockup { max-width: 340px; }
  .outlook-emails { display: none; }
  .alfrodin-panel { border-left: none; }
  .outlook-body { min-height: 360px; }
  .trust-logos { gap: 20px; }
}

/* ─── Reduced Motion ─────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .bg-orb, .hero-orb { animation: none; }
  .scroll-indicator-dot { animation: none; }
  .outlook-mockup { transition: none; }
}

/* ─── Cookie Consent ─────────────────────────────────────────────────────── */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--glass-border);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.08);
  padding: 18px 24px;
  display: flex;
  justify-content: center;
}
.cookie-consent-inner {
  max-width: 1200px;
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
}
.cookie-consent p {
  font-size: 0.88rem;
  color: var(--gray-600);
  flex: 1;
  margin: 0;
  line-height: 1.5;
}
.cookie-consent-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.cookie-link {
  color: var(--cyan);
  font-size: 0.85rem;
  text-decoration: none;
  white-space: nowrap;
}
.cookie-link:hover { text-decoration: underline; }
.cookie-accept { white-space: nowrap; }

@media (max-width: 768px) {
  .cookie-consent-inner { flex-direction: column; text-align: center; gap: 12px; }
  .cookie-consent-actions { justify-content: center; }
}

/* ─── Legal Pages (Impressum, Privacy, Terms) ────────────────────────────── */
.legal-page {
  padding: 140px 24px 80px;
  max-width: 720px;
  margin: 0 auto;
}
.legal-page h1 {
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 8px;
}
.legal-page .legal-subtitle {
  color: var(--gray-400);
  font-size: 0.9rem;
  margin-bottom: 48px;
}
.legal-page h2 {
  font-size: 1.15rem;
  color: var(--navy);
  margin: 36px 0 12px;
}
.legal-page p,
.legal-page address {
  color: var(--gray-600);
  line-height: 1.8;
  font-size: 0.95rem;
  font-style: normal;
  margin-bottom: 12px;
}
.legal-page a {
  color: var(--cyan);
  text-decoration: none;
}
.legal-page a:hover { text-decoration: underline; }
.legal-page .legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
}
.legal-page .legal-table td {
  padding: 8px 16px 8px 0;
  font-size: 0.95rem;
  color: var(--gray-600);
  border-bottom: 1px solid rgba(0, 46, 110, 0.06);
  vertical-align: top;
}
.legal-page .legal-table td:first-child {
  font-weight: 400;
  color: var(--navy);
  white-space: nowrap;
  width: 180px;
}
.legal-page .legal-date {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-200);
  font-size: 0.85rem;
  color: var(--gray-400);
  font-style: italic;
}

/* ─── Activation Pages ───────────────────────────────────────────────────── */
.activation-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 24px;
}
.activation-page h1 { font-size: 2rem; margin-bottom: 16px; }
.activation-page p { color: var(--gray-600); margin-bottom: 32px; max-width: 480px; }
