/* ========================================
   AirLink - Professional Email Connectivity
   Color Palette:
   - Primary: #0F4C81 (Deep Navy Blue)
   - Secondary: #00A5A5 (Teal)
   - Accent: #F59E0B (Amber)
   - Dark: #1A1F36
   - Light: #F8FAFC
   ======================================== */

:root {
  --primary: #0F4C81;
  --primary-dark: #0a3559;
  --secondary: #00A5A5;
  --secondary-light: #2DD4BF;
  --accent: #F59E0B;
  --accent-hover: #D97706;
  --dark: #1A1F36;
  --light: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-600: #64748B;
  --gray-700: #475569;
  --white: #FFFFFF;
  --font-main: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Outfit', 'DM Sans', sans-serif;
  --shadow-sm: 0 1px 2px rgba(15, 76, 129, 0.05);
  --shadow: 0 4px 6px -1px rgba(15, 76, 129, 0.08), 0 2px 4px -2px rgba(15, 76, 129, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(15, 76, 129, 0.1), 0 4px 6px -4px rgba(15, 76, 129, 0.08);
  --radius: 12px;
  --radius-lg: 16px;
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

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

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo-link {
  display: flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
}

/* Logo two-color: Air + Link */
.logo-air {
  color: inherit;
}

.logo-link-text {
  color: inherit;
}

/* Logo - Primary (nav): Air = blue, Link = teal */
.logo-link.logo-primary .logo-air {
  color: var(--primary);
}

.logo-link.logo-primary .logo-link-text {
  color: var(--secondary);
}

.logo-link.logo-primary:hover .logo-air {
  color: var(--primary-dark);
}

.logo-link.logo-primary:hover .logo-link-text {
  color: var(--secondary-light);
}

/* Logo - Secondary (footer): Air = teal, Link = white */
.logo-link.logo-secondary .logo-air {
  color: var(--secondary-light);
}

.logo-link.logo-secondary .logo-link-text {
  color: var(--white);
}

.logo-link.logo-secondary:hover .logo-air,
.logo-link.logo-secondary:hover .logo-link-text {
  color: var(--white);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-weight: 500;
  color: var(--gray-700);
}

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

.nav-cta .btn {
  padding: 0.6rem 1.25rem;
  font-size: 0.9rem;
}

.nav-cta-btn {
  font-size: 1rem !important;
  font-weight: 700 !important;
  padding: 0.65rem 1.5rem !important;
  letter-spacing: 0.02em;
  min-width: 140px;
  background: var(--secondary) !important;
  color: var(--white) !important;
  border: 2px solid var(--secondary) !important;
  box-shadow: 0 2px 8px rgba(0, 165, 165, 0.4) !important;
}

.nav-cta-btn:hover {
  background: #008a8a !important;
  border-color: #008a8a !important;
  color: var(--white) !important;
  box-shadow: 0 4px 12px rgba(0, 165, 165, 0.5) !important;
}

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  margin: 5px 0;
  transition: var(--transition);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  box-shadow: 0 2px 8px rgba(15, 76, 129, 0.3);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(15, 76, 129, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: var(--white);
}

.btn-accent:hover {
  transform: translateY(-1px);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 2rem 4rem;
  background: linear-gradient(180deg, var(--light) 0%, var(--white) 60%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 30%, rgba(0, 165, 165, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(15, 76, 129, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  max-width: 700px;
  position: relative;
  z-index: 1;
}

.hero h1 {
  color: var(--dark);
  margin-bottom: 1.25rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.25rem;
  color: var(--gray-600);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Flow Animation Visual */
.hero-visual {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 45%;
  max-width: 500px;
  opacity: 0.7;
}

.flow-lines {
  stroke: var(--secondary);
  stroke-width: 1;
  fill: none;
  stroke-dasharray: 5 5;
  animation: flow 3s linear infinite;
}

@keyframes flow {
  to { stroke-dashoffset: -20; }
}

.cloud-shape {
  fill: rgba(0, 165, 165, 0.1);
}

/* Section Common */
section {
  padding: 5rem 2rem;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  color: var(--dark);
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--gray-600);
  font-size: 1.1rem;
}

/* Core Message Section */
.core-message {
  background: var(--white);
}

.core-message h2 {
  text-align: center;
  margin-bottom: 1rem;
}

.core-message > .container > p {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  color: var(--gray-600);
  font-size: 1.1rem;
}

/* Key Strengths */
.strengths {
  background: var(--gray-100);
}

.strengths-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 2rem auto 0;
}

.strength-card {
  background: var(--white);
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border-left: 4px solid var(--secondary);
  transition: var(--transition);
}

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

.strength-card h4 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.strength-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
}

/* How It Works */
.how-it-works {
  background: var(--white);
}

.steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem 2rem;
  margin: 2rem 0 2.5rem;
}

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

.step-badge {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

.step span {
  font-weight: 600;
  color: var(--dark);
}

.step-arrow {
  color: var(--gray-300);
  font-size: 1.5rem;
}

/* Trust Section */
.trust {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
}

.trust .section-header h2,
.trust .section-header p {
  color: var(--white);
}

.trust .section-header p {
  opacity: 0.9;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.trust-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: var(--radius);
  text-align: center;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-item h4 {
  color: var(--white);
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.trust-item p {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Services Page */
.services-hero {
  padding: 8rem 2rem 4rem;
  background: linear-gradient(180deg, var(--light) 0%, var(--white) 100%);
  text-align: center;
}

.services-hero .container {
  max-width: 700px;
  margin: 0 auto;
}

.services-hero h1 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.services-hero p {
  font-size: 1.15rem;
  color: var(--gray-600);
  margin: 0 auto;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin: 3rem 0;
}

.service-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border-top: 4px solid var(--secondary);
  transition: var(--transition);
}

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

.service-card h3 {
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--gray-600);
}

.service-flow {
  background: var(--gray-100);
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
  margin-top: 3rem;
}

.service-flow .steps {
  justify-content: center;
}

/* About Page */
/* About Page */
.about-hero {
  padding: 8rem 2rem 5rem;
  background: linear-gradient(180deg, var(--light) 0%, var(--white) 100%);
  text-align: center;
}

.about-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: 1rem;
}

.about-hero h1 {
  color: var(--primary);
  margin-bottom: 1.25rem;
}

.about-intro {
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.125rem;
  color: var(--gray-600);
  line-height: 1.7;
}

.about-focus {
  padding: 5rem 2rem;
  background: var(--white);
}

.about-focus .section-header {
  margin-bottom: 3rem;
}

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

.focus-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.focus-card:hover {
  border-color: var(--secondary);
  box-shadow: var(--shadow-lg);
}

.focus-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(15, 76, 129, 0.08), rgba(0, 165, 165, 0.08));
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  color: var(--primary);
}

.focus-icon svg {
  width: 24px;
  height: 24px;
}

.focus-card h3 {
  color: var(--dark);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.focus-card p {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.about-vision {
  padding: 5rem 2rem;
  background: var(--gray-100);
}

.vision-card {
  max-width: 800px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  padding: 3rem;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.vision-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  left: 2rem;
  font-size: 5rem;
  font-family: Georgia, serif;
  opacity: 0.2;
  line-height: 1;
}

.vision-card blockquote {
  margin: 0 0 1rem;
  padding: 0;
  border: none;
}

.vision-card blockquote p {
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.6;
  margin: 0;
  color: var(--white);
}

.vision-label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.9;
}

.about-cta {
  padding: 5rem 2rem;
  text-align: center;
  background: var(--white);
}

.about-cta h2 {
  color: var(--dark);
  margin-bottom: 0.75rem;
}

.about-cta p {
  color: var(--gray-600);
  margin-bottom: 1.5rem;
}

/* Pricing Page */
.pricing-hero {
  padding: 8rem 2rem 4rem;
  background: linear-gradient(180deg, var(--light) 0%, var(--white) 100%);
}

.pricing-hero h1 {
  text-align: center;
}

.pricing-toggle {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin: 2rem 0;
}

.pricing-toggle span {
  font-weight: 500;
  color: var(--gray-600);
}

.pricing-toggle input {
  display: none;
}

.toggle-switch {
  width: 56px;
  height: 28px;
  background: var(--gray-300);
  border-radius: 14px;
  position: relative;
  cursor: pointer;
  transition: var(--transition);
}

.toggle-switch::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 24px;
  background: var(--white);
  border-radius: 50%;
  top: 2px;
  left: 2px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.pricing-toggle input:checked + .toggle-switch {
  background: var(--secondary);
}

.pricing-toggle input:checked + .toggle-switch::after {
  left: 30px;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 2rem auto;
}

.pricing-card {
  background: var(--white);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
}

.pricing-card.featured {
  border-color: var(--secondary);
  box-shadow: 0 0 0 1px var(--secondary);
  position: relative;
}

.pricing-card.featured::before {
  content: 'Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--secondary);
  color: var(--white);
  padding: 0.25rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.pricing-card h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.pricing-card .price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark);
  margin: 1rem 0;
}

.pricing-card .price span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-600);
}

.pricing-card ul {
  list-style: none;
  text-align: left;
  margin: 1.5rem 0;
}

.pricing-card ul li {
  padding: 0.5rem 0;
  color: var(--gray-700);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pricing-card ul li::before {
  content: '✓';
  color: var(--secondary);
  font-weight: bold;
}

.billing-clarity {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  margin-top: 3rem;
}

.billing-clarity p {
  color: var(--gray-700);
  max-width: 600px;
  margin: 0 auto;
}

/* Contact Page */
.contact-hero {
  padding: 8rem 2rem 4rem;
  background: linear-gradient(180deg, var(--light) 0%, var(--white) 100%);
}

.contact-hero h1 {
  text-align: center;
}

.contact-form {
  max-width: 600px;
  margin: 2rem auto;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-family: var(--font-main);
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary);
}

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

.support-note {
  background: var(--gray-100);
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: var(--gray-700);
}

/* Request Account Page */
.request-hero {
  padding: 8rem 2rem 4rem;
  background: linear-gradient(180deg, var(--light) 0%, var(--white) 100%);
}

.request-hero h1 {
  text-align: center;
}

.request-hero > .container > p {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.request-form {
  max-width: 700px;
  margin: 2rem auto;
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.form-step {
  display: none;
  padding: 1rem 0;
}

.form-step.active {
  display: block;
}

.form-step h3 {
  color: var(--primary);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--gray-200);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.form-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-200);
}

.form-progress {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.form-progress span {
  flex: 1;
  height: 4px;
  background: var(--gray-200);
  border-radius: 2px;
  transition: var(--transition);
}

.form-progress span.active {
  background: var(--secondary);
}

.form-progress span.completed {
  background: var(--primary);
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.checkbox-group label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--primary);
}

.checkbox-group a {
  color: var(--secondary);
  text-decoration: underline;
}

.checkbox-group a:hover {
  color: var(--primary);
}

/* Privacy & Terms Pages */
.legal-page {
  padding: 8rem 2rem 4rem;
  min-height: 100vh;
}

.legal-page h1 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.legal-page .last-updated {
  color: var(--gray-600);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

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

.legal-content h2 {
  color: var(--dark);
  margin: 2rem 0 0.75rem;
  font-size: 1.35rem;
}

.legal-content h3 {
  color: var(--gray-700);
  margin: 1.5rem 0 0.5rem;
  font-size: 1.1rem;
}

.legal-content p, .legal-content li {
  color: var(--gray-700);
  margin-bottom: 1rem;
}

.legal-content ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

/* Footer */
.footer {
  background: var(--dark);
  color: var(--white);
  padding: 3rem 2rem 2rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

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

.footer-desc {
  margin-top: 1rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
}

.footer h4 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer a {
  color: rgba(255, 255, 255, 0.8);
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.footer a:hover {
  color: var(--secondary-light);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    padding: 1rem 0;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .hero-visual {
    display: none;
  }

  .hero {
    padding: 7rem 1.5rem 3rem;
  }

  .steps {
    flex-direction: column;
  }

  .step-arrow {
    transform: rotate(90deg);
  }

  .form-actions {
    flex-direction: column;
    gap: 1rem;
  }

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