/* ===================================
   GLOBAL STYLES
   =================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* ManagerMate App Color Palette */
  --primary: #6f7f4e;           /* Sage Green - Headers, CTAs, brand elements */
  --primary-dark: #243529;       /* Gradients, dark accents */
  --secondary-light: #f4f1ec;    /* Backgrounds, cards */
  --accent: #52D68C;             /* Teal - Highlights, success states */
  --premium: #EF6F6C;            /* Coral - Premium badges, special CTAs */
  --foreground: #1f2a25;         /* Body text */
  --muted: #4a5a4f;              /* Secondary text */
  --border: #9caf9b;             /* Card borders, dividers */

  /* Legacy aliases for compatibility */
  --ink: var(--foreground);
  --ink-muted: var(--muted);
  --ink-soft: var(--muted);
  --sand: var(--secondary-light);
  --mist: #eef4f0;
  --olive: var(--primary);
  --sage: var(--border);
  --clay: #e7ddd1;
  --coral: var(--premium);
  --deep: var(--primary-dark);

  /* App Design Tokens */
  --radius-sm: 0.5rem;           /* 8px - buttons, inputs */
  --radius-md: 0.75rem;          /* 12px - small cards */
  --radius-lg: 1.25rem;          /* 20px - large cards */
  --radius-pill: 9999px;         /* Pill-shaped badges */

  /* App Shadows */
  --shadow-card: 0 1px 2px rgba(0,0,0,0.04), 0 4px 8px rgba(0,0,0,0.04), 0 8px 16px rgba(0,0,0,0.02);
  --shadow-elevated: 0 4px 6px rgba(0,0,0,0.05), 0 10px 20px rgba(0,0,0,0.08), 0 20px 40px rgba(0,0,0,0.04);

  /* App Animations */
  --spring-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: var(--ink);
  background: var(--sand);
  padding-top: 4rem;
}

/* Screen reader only utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Skip navigation link */
.skip-nav {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 0 0 0.75rem 0.75rem;
  font-weight: 600;
  font-size: 0.875rem;
  z-index: 200;
  text-decoration: none;
  transition: top 0.2s;
}

.skip-nav:focus {
  top: 0;
}

/* Focus indicators */
:focus-visible {
  outline: 3px solid var(--olive);
  outline-offset: 2px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--olive);
  outline-offset: 2px;
}

h1,
h2,
h3,
h4 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  letter-spacing: -0.02em;
  font-weight: 700;
}

html {
  height: 100%;
  width: 100%;
  scroll-behavior: smooth;
}

/* ===================================
   NAVIGATION
   =================================== */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 64px;
  padding: 0 5%;
  background: rgba(244, 241, 236, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(31, 42, 37, 0.12);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Logo */
.logo-container {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.logo-icon {
  width: 200px;
  height: 70px;
  background-image: url('Logo.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center left;
}

.logo {
  display: none !important; /* Hide text as logo image contains it */
}

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

.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.875rem;
  transition: color 0.3s;
  position: relative;
  padding-bottom: 0.25rem;
}

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

.nav-links a:not(.launch-app-btn)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--coral), var(--olive));
  transition: width 0.3s;
}

.nav-links a:not(.launch-app-btn):hover::after {
  width: 100%;
}

.launch-app-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  background: linear-gradient(135deg, var(--premium), #f2b2a9);
  color: white !important;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease-smooth);
  box-shadow: var(--shadow-card);
  text-decoration: none;
  line-height: 1;
}

.launch-app-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-elevated);
  color: white !important;
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
  position: relative;
  display: flex;
  align-items: stretch;
  padding: 8rem 5% 6rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 20%, rgba(239, 111, 108, 0.18), transparent 55%),
    radial-gradient(circle at 85% 0%, rgba(156, 175, 155, 0.25), transparent 50%),
    linear-gradient(135deg, #f7f3ed 0%, #eef4f0 50%, #f5ede7 100%);
}

.hero .decorative-blue {
  position: absolute;
  top: -3rem;
  right: -6rem;
  width: 22rem;
  height: 22rem;
  background: rgba(239, 111, 108, 0.22);
  border-radius: 40% 60% 60% 40%;
  filter: blur(2.5rem);
}

.hero .decorative-purple {
  position: absolute;
  bottom: -4rem;
  left: -3rem;
  width: 18rem;
  height: 18rem;
  background: rgba(111, 127, 78, 0.18);
  border-radius: 55% 45% 35% 65%;
  filter: blur(2.5rem);
}

.hero-inner {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 3rem;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-content {
  position: relative;
  max-width: 36rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(111, 127, 78, 0.1);
  border: 2px solid var(--border);
  border-radius: var(--radius-pill);
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.2;
  color: var(--ink);
}

.hero h1 span {
  background: linear-gradient(120deg, var(--coral), var(--olive));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.125rem;
  color: var(--ink-soft);
  margin: 0 0 2rem;
  line-height: 1.6;
}

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

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: white;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s var(--ease-smooth);
  border: none;
  font-size: 1rem;
  box-shadow: var(--shadow-card);
}

.cta-button.secondary {
  background: transparent;
  color: var(--foreground);
  border: 2px solid var(--border);
  box-shadow: none;
}

.cta-button.secondary:hover {
  background: rgba(111, 127, 78, 0.1);
  border-color: var(--primary);
  box-shadow: none;
}

.cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: none;
  color: var(--ink);
  font-weight: 600;
  cursor: pointer;
  padding: 0.35rem 0.5rem;
}

.cta-link:hover {
  color: var(--deep);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-elevated);
}

.audience-toggle {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
  align-items: center;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.audience-toggle span {
  font-weight: 600;
}

.audience-pill {
  border: 2px solid var(--border);
  background: white;
  color: var(--foreground);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s var(--ease-smooth);
}

.audience-pill:hover {
  border-color: var(--primary);
  background: rgba(111, 127, 78, 0.05);
}

.audience-pill.active {
  background: rgba(82, 214, 140, 0.15);
  border-color: var(--accent);
  color: #1a7a42;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin: 2rem 0 0;
}

.highlight-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
  border: 2px solid var(--border);
  box-shadow: var(--shadow-card);
}

.highlight-card h3 {
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.highlight-card p {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin: 0;
}

.trust-tagline {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  margin-top: 2rem;
  font-size: 0.875rem;
  color: var(--ink-soft);
  font-weight: 500;
}

.hero-panel {
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 2px solid var(--border);
  box-shadow: var(--shadow-elevated);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  backdrop-filter: blur(8px);
}

.panel-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(82, 214, 140, 0.15);
  color: #1a7a42;
  border-radius: var(--radius-pill);
  padding: 0.35rem 0.9rem;
  font-weight: 600;
  font-size: 0.8rem;
  border: 1px solid rgba(82, 214, 140, 0.3);
}

.hero-panel h2 {
  font-size: 1.5rem;
  margin-top: 0.75rem;
  color: var(--ink);
}

.hero-chat {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.chat-bubble {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  line-height: 1.4;
}

.chat-bubble.manager {
  align-self: flex-start;
  background: var(--mist);
  border: 2px solid var(--border);
}

.chat-bubble.coach {
  align-self: flex-end;
  background: rgba(82, 214, 140, 0.12);
  border: 2px solid rgba(82, 214, 140, 0.3);
}

.hero-panel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px dashed rgba(31, 42, 37, 0.15);
  padding-top: 1rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.hero-panel-footer strong {
  color: var(--ink);
}

/* ===================================
   FEATURES SECTION
   =================================== */
.features-section {
  position: relative;
  overflow: hidden;
  padding: 5rem 5%;
  background:
    radial-gradient(circle at 10% 15%, rgba(239, 111, 108, 0.12), transparent 60%),
    linear-gradient(160deg, #f8f4ee 0%, #eef4f0 100%);
}

.features-section .decorative-purple {
  position: absolute;
  top: 10rem;
  right: 2.5rem;
  width: 24rem;
  height: 24rem;
  background: rgba(111, 127, 78, 0.14);
  border-radius: 45% 55% 40% 60%;
  filter: blur(2.5rem);
}

.features-section .decorative-blue {
  position: absolute;
  bottom: 10rem;
  left: 2.5rem;
  width: 20rem;
  height: 20rem;
  background: rgba(156, 175, 155, 0.16);
  border-radius: 60% 40% 55% 45%;
  filter: blur(2.5rem);
}

.features-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.features-header {
  text-align: center;
  margin-bottom: 4rem;
}

.features-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(111, 127, 78, 0.1);
  border: 2px solid var(--border);
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
}

.features-header h2 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 1rem;
}

.features-header p {
  font-size: 1.125rem;
  color: var(--ink-soft);
  max-width: 48rem;
  margin: 0 auto;
}

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

.feature-card {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  border: 2px solid var(--border);
  cursor: pointer;
  transition: all 0.3s var(--ease-smooth);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

/* Gradient glow effect on hover */
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, var(--coral), var(--olive));
  opacity: 0;
  transition: opacity 0.3s;
}

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

/* Decorative corner gradient */
.feature-card::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 8rem;
  height: 8rem;
  background: linear-gradient(to bottom right, rgba(239, 111, 108, 0.4), rgba(111, 127, 78, 0.4));
  opacity: 0.1;
  border-radius: 0 0 0 100%;
  transform: translate(4rem, -4rem);
  transition: transform 0.3s;
}

.feature-card:hover::after {
  transform: translate(2rem, -2rem);
}

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

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

.feature-card .icon-container {
  width: 4rem;
  height: 4rem;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s var(--spring-bounce);
}

.feature-card:hover .icon-container {
  transform: scale(1.1);
}

.feature-card .icon {
  font-size: 1.75rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--ink);
  transition: color 0.3s;
}

.feature-card:hover h3 {
  color: #2E2F2C;
}

.feature-card p {
  color: var(--ink-soft);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.feature-card .learn-more {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--olive);
  font-size: 0.875rem;
  font-weight: 600;
  transition: gap 0.3s;
}

.feature-card:hover .learn-more {
  gap: 0.5rem;
}

.feature-card .learn-more svg {
  transition: transform 0.3s;
}

.feature-card:hover .learn-more svg {
  transform: translateX(0.25rem);
}

/* Variant colors for different feature cards */
.feature-card.purple::before,
.feature-card.purple::after {
  background: linear-gradient(to bottom right, #2b3a2f, #6f7f4e);
}

.feature-card.purple .icon-container {
  background: linear-gradient(to bottom right, #2b3a2f, #6f7f4e);
  box-shadow: 0 4px 12px rgba(36, 53, 41, 0.3);
}

.feature-card.teal::before,
.feature-card.teal::after {
  background: linear-gradient(to bottom right, #ef6f6c, #f2b2a9);
}

.feature-card.teal .icon-container {
  background: linear-gradient(to bottom right, #ef6f6c, #f2b2a9);
  box-shadow: 0 4px 12px rgba(239, 111, 108, 0.3);
}

.feature-card.orange::before,
.feature-card.orange::after {
  background: linear-gradient(to bottom right, #6f7f4e, #9caf9b);
}

.feature-card.orange .icon-container {
  background: linear-gradient(to bottom right, #6f7f4e, #9caf9b);
  box-shadow: 0 4px 12px rgba(111, 127, 78, 0.3);
}

.feature-card.pink::before,
.feature-card.pink::after {
  background: linear-gradient(to bottom right, #ef6f6c, #f2b2a9);
}

.feature-card.pink .icon-container {
  background: linear-gradient(to bottom right, #ef6f6c, #f2b2a9);
  box-shadow: 0 4px 12px rgba(239, 111, 108, 0.3);
}

.feature-card.indigo::before,
.feature-card.indigo::after {
  background: linear-gradient(to bottom right, #243529, #6f7f4e);
}

.feature-card.indigo .icon-container {
  background: linear-gradient(to bottom right, #243529, #6f7f4e);
  box-shadow: 0 4px 12px rgba(36, 53, 41, 0.3);
}

/* ===================================
   PRICING SECTION
   =================================== */
.pricing-section {
  position: relative;
  overflow: hidden;
  padding: 5rem 5%;
  background:
    radial-gradient(circle at 80% 20%, rgba(111, 127, 78, 0.14), transparent 60%),
    linear-gradient(145deg, #f6f2ec 0%, #eef4f0 100%);
}

.pricing-section .decorative-blue {
  position: absolute;
  top: 5rem;
  right: 5rem;
  width: 24rem;
  height: 24rem;
  background: rgba(156, 175, 155, 0.16);
  border-radius: 55% 45% 60% 40%;
  filter: blur(2.5rem);
}

.pricing-section .decorative-purple {
  position: absolute;
  bottom: 5rem;
  left: 5rem;
  width: 20rem;
  height: 20rem;
  background: rgba(239, 111, 108, 0.16);
  border-radius: 40% 60% 50% 50%;
  filter: blur(2.5rem);
}

.pricing-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.pricing-header {
  text-align: center;
  margin-bottom: 4rem;
}

.pricing-header h2 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 1rem;
}

.pricing-header p {
  font-size: 1.125rem;
  color: var(--ink-soft);
}

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

.pricing-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 2px solid var(--border);
  transition: all 0.3s var(--ease-smooth);
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
}

.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(to right, var(--ink), var(--olive));
  border-radius: 1rem 1rem 0 0;
}

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

.pricing-card.featured {
  border: 2px solid var(--premium);
  box-shadow: var(--shadow-elevated), 0 0 0 2px rgba(82, 214, 140, 0.3);
  transform: scale(1.05);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-8px);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--premium), #f2b2a9);
  color: white;
  padding: 0.375rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  box-shadow: var(--shadow-card);
}

.pricing-card-header {
  margin-bottom: 1.5rem;
  margin-top: 0.5rem;
}

.pricing-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1rem;
}

.pricing-card .price-container {
  margin-bottom: 0.75rem;
}

.pricing-card .price {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(to right, var(--ink), var(--olive));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.pricing-card .period {
  color: var(--ink-soft);
  font-size: 1.125rem;
  font-weight: 500;
  margin-left: 0.25rem;
}

.pricing-card .description {
  color: var(--ink-soft);
  font-size: 0.875rem;
  line-height: 1.5;
}

.pricing-card .features {
  list-style: none;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.pricing-card .features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 0;
  color: var(--ink);
  font-size: 0.875rem;
}

.pricing-card .check-icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: linear-gradient(to bottom right, var(--ink), var(--olive));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.125rem;
}

.pricing-card .pricing-button {
  width: 100%;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s var(--ease-smooth);
  border: none;
  font-size: 0.875rem;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: white;
  box-shadow: var(--shadow-card);
}

.pricing-card.featured .pricing-button {
  box-shadow: 0 8px 18px rgba(239, 111, 108, 0.3);
}

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

/* Variant colors for pricing cards */
.pricing-card.slate::before,
.pricing-card.slate .check-icon,
.pricing-card.slate .price {
  background: linear-gradient(to right, var(--ink), #0f172a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pricing-card.slate .check-icon {
  background: linear-gradient(to bottom right, var(--ink), #0f172a);
  -webkit-text-fill-color: white;
}

.pricing-card.slate .pricing-button {
  background: linear-gradient(to right, var(--ink), #0f172a);
}

.pricing-card.teal::before,
.pricing-card.teal .check-icon,
.pricing-card.teal .price {
  background: linear-gradient(to right, #ef6f6c, #f2b2a9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pricing-card.teal .check-icon {
  background: linear-gradient(to bottom right, #ef6f6c, #f2b2a9);
  -webkit-text-fill-color: white;
}

.pricing-card.teal .pricing-button {
  background: linear-gradient(to right, #ef6f6c, #f2b2a9);
}

/* ===================================
   ABOUT SECTION
   =================================== */
.about-section {
  position: relative;
  overflow: hidden;
  padding: 5rem 5% 0;
  background:
    radial-gradient(circle at 12% 25%, rgba(239, 111, 108, 0.12), transparent 60%),
    linear-gradient(160deg, #f7f2ec 0%, #edf3ee 100%);
}

.about-section .decorative-blue {
  position: absolute;
  top: 5rem;
  right: 2.5rem;
  width: 18rem;
  height: 18rem;
  background: rgba(156, 175, 155, 0.18);
  border-radius: 60% 40% 55% 45%;
  filter: blur(2.5rem);
}

.about-section .decorative-purple {
  position: absolute;
  bottom: 5rem;
  left: 2.5rem;
  width: 24rem;
  height: 24rem;
  background: rgba(239, 111, 108, 0.16);
  border-radius: 45% 55% 60% 40%;
  filter: blur(2.5rem);
}

.about-container {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.about-header {
  text-align: center;
  margin-bottom: 3rem;
}

.about-header h2 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 1rem;
}

.about-header p {
  font-size: 1.125rem;
  color: var(--ink-soft);
  max-width: 48rem;
  margin: 0 auto 3rem;
}

.about-content {
  margin-bottom: 4rem;
}

.problem-box {
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  border: 2px solid var(--border);
  margin-bottom: 4rem;
}

.problem-box h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1rem;
}

.problem-box p {
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.emphasis {
  font-weight: 600;
  color: var(--ink);
}

.solution-box {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: var(--radius-lg);
  padding: 2rem;
  color: white;
  box-shadow: var(--shadow-elevated);
  margin-bottom: 4rem;
}

.solution-box h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.solution-box p {
  line-height: 1.6;
  margin-bottom: 1rem;
  opacity: 0.95;
}

.why-works {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.why-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.why-icon.blue {
  background: linear-gradient(135deg, var(--ink), var(--olive));
  box-shadow: 0 6px 14px rgba(36, 53, 41, 0.3);
}

.why-icon.purple {
  background: linear-gradient(135deg, var(--coral), #f2b2a9);
  box-shadow: 0 6px 14px rgba(239, 111, 108, 0.3);
}

.why-icon.teal {
  background: linear-gradient(135deg, #6f7f4e, #9caf9b);
  box-shadow: 0 6px 14px rgba(111, 127, 78, 0.3);
}

.why-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
  text-align: center;
  margin-bottom: 2rem;
}

.founders-heading {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
  text-align: center;
  margin-bottom: 1rem;
}

.why-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  border: 2px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: all 0.3s var(--ease-smooth);
}

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

.why-card h4 {
  font-weight: 700;
  color: var(--ink);
  margin: 1rem 0 0.5rem;
}

.why-card p {
  font-size: 0.875rem;
  color: var(--ink-soft);
}

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

.founder-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  border: 2px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: all 0.3s var(--ease-smooth);
}

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

.founder-card img {
  width: 192px;
  height: 192px;
  border-radius: 1.5rem;
  object-fit: cover;
  margin: 0 auto 1.5rem;
  border: 4px solid #EEF2EE;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.founder-card h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.founder-card .role-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(31, 42, 37, 0.08);
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}

.founder-card p {
  font-size: 0.875rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

.closing-cta {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  color: white;
  box-shadow: var(--shadow-elevated);
  position: relative;
  overflow: hidden;
}

.closing-cta::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 16rem;
  height: 16rem;
  background: rgba(156,175,155,0.2);
  border-radius: 50%;
  filter: blur(3rem);
}

.closing-cta h3 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
}

.closing-cta p {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  opacity: 0.9;
  position: relative;
}

/* ===================================
   CONTACT SECTION
   =================================== */
.contact-section {
  position: relative;
  overflow: hidden;
  padding: 5rem 5%;
  background:
    radial-gradient(circle at 10% 20%, rgba(156, 175, 155, 0.2), transparent 55%),
    linear-gradient(160deg, #f7f2ec 0%, #edf3ee 100%);
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.contact-header {
  text-align: center;
  margin-bottom: 3rem;
}

.contact-header h2 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 1rem;
}

.contact-header p {
  font-size: 1.125rem;
  color: var(--ink-soft);
  max-width: 40rem;
  margin: 0 auto;
}

.contact-content {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2.5rem;
}

.contact-form {
  background: rgba(255, 255, 255, 0.9);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  border: 2px solid var(--border);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.form-group label {
  font-weight: 600;
  color: var(--ink);
}

.form-group input,
.form-group textarea {
  border-radius: var(--radius-sm);
  border: 2px solid var(--border);
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-family: inherit;
  background: rgba(255, 255, 255, 0.9);
  transition: all 0.3s var(--ease-smooth);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(111, 127, 78, 0.15);
  background: white;
}

.submit-button {
  width: 100%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.25rem;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  border-radius: var(--radius-sm);
  border: none;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s var(--ease-smooth);
  box-shadow: var(--shadow-card);
}

.submit-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-elevated);
}

.submit-button:disabled {
  cursor: not-allowed;
  opacity: 0.7;
  box-shadow: none;
  transform: none;
}

.form-message {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.95rem;
  display: none;
}

.form-message.success {
  display: block;
  background: #ecfdf3;
  color: #166534;
  border: 1px solid #86efac;
}

.form-message.error {
  display: block;
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.contact-info {
  background: rgba(255, 255, 255, 0.9);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 2px solid var(--border);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(31, 42, 37, 0.05);
}

.contact-info-item h4 {
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.25rem;
}

.contact-info-item a {
  color: var(--olive);
  text-decoration: none;
  font-weight: 600;
}

.contact-info-item a:hover {
  text-decoration: underline;
}

/* ===================================
   FOOTER
   =================================== */
footer {
  position: relative;
  overflow: hidden;
  padding: 4rem 5%;
  background: var(--foreground);
  color: #e2e8f0;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

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

.footer-logo-icon {
  width: 280px;
  height: 80px;
  background-image: url('Logo.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  filter: brightness(0) invert(1); /* Make logo white for dark background */
}

.footer-logo h2 {
  display: none; /* Hide text as logo image contains it */
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.footer-email {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #e2e8f0;
  text-decoration: none;
  font-weight: 600;
}

.footer-email:hover {
  color: #fff;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.12);
  transition: transform 0.2s, background 0.2s;
}

.social-icon:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.2);
}

.footer-text {
  color: #cbd5f5;
  font-size: 0.95rem;
}

.footer-tagline {
  color: #94a3b8;
  font-size: 0.9rem;
}

.footer-nav {
  margin-top: 1rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.footer-links a {
  color: #e2e8f0;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-audience-switch {
  font-size: 0.875rem;
  color: #cbd5f5;
}

.footer-audience-switch a {
  color: #e2e8f0;
  text-decoration: none;
  border-bottom: 1px dashed rgba(226, 232, 240, 0.45);
}

.footer-audience-switch a:hover {
  color: #fff;
}

.pricing-note {
  margin-top: 2rem;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.pricing-note a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.testimonials-section,
.faq-section {
  position: relative;
  padding: 6rem 5%;
  background: var(--sand);
}

.testimonials-container,
.faq-container {
  max-width: 1100px;
  margin: 0 auto;
}

.testimonials-grid,
.faq-grid,
.analytics-grid,
.implementation-steps {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 2.5rem;
}

.testimonial-card,
.faq-card,
.analytics-card,
.implementation-card {
  background: rgba(255, 255, 255, 0.9);
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 2px solid var(--border);
  box-shadow: var(--shadow-card);
}

.testimonial-card p {
  color: var(--ink-soft);
  margin-bottom: 1.25rem;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.faq-card h3,
.analytics-card h3,
.implementation-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
}

.analytics-card,
.implementation-card {
  background: rgba(255, 255, 255, 0.9);
}

body.audience-modal-open {
  overflow: hidden;
}

.audience-modal {
  position: fixed;
  inset: 0;
  background: rgba(31, 42, 37, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-smooth);
  z-index: 220;
  padding: 1.5rem;
}

.audience-modal.active {
  opacity: 1;
  pointer-events: all;
}

.audience-modal-content {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 2px solid var(--border);
  max-width: 520px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-elevated);
  animation: modalSlideIn 0.4s var(--spring-bounce);
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.audience-modal-content h2 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.audience-modal-content p {
  color: var(--ink-soft);
  margin-bottom: 2rem;
}

.audience-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.audience-modal-actions .cta-button {
  justify-content: center;
  width: 100%;
}

/* ===================================
   MODALS
   =================================== */
.video-modal,
.feature-modal {
  position: fixed;
  inset: 0;
  background: rgba(31, 42, 37, 0.6);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-smooth);
  z-index: 200;
  padding: 2rem;
}

.video-modal.active,
.feature-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.video-modal-content,
.feature-modal-content {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  border: 2px solid var(--border);
  padding: 2rem;
  width: min(900px, 100%);
  position: relative;
  box-shadow: var(--shadow-elevated);
  animation: modalSlideIn 0.4s var(--spring-bounce);
}

.video-modal-content video {
  width: 100%;
  border-radius: var(--radius-sm);
}

.close-video-modal,
.close-feature-modal {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.5rem;
  height: 2.5rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.9);
  color: var(--foreground);
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s var(--ease-smooth);
}

.close-video-modal:hover,
.close-feature-modal:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.modal-icon-container {
  width: 4rem;
  height: 4rem;
  border-radius: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  background: #e2e8f0;
}

.modal-icon-container.blue {
  background: linear-gradient(135deg, var(--ink), var(--olive));
}

.modal-icon-container.purple {
  background: linear-gradient(135deg, var(--coral), #f2b2a9);
}

.modal-icon-container.teal {
  background: linear-gradient(135deg, #6f7f4e, #9caf9b);
}

.modal-icon-container.orange {
  background: linear-gradient(135deg, #6f7f4e, #9caf9b);
}

.modal-icon-container.pink {
  background: linear-gradient(135deg, var(--coral), #f2b2a9);
}

.modal-icon-container.indigo {
  background: linear-gradient(135deg, #243529, #6f7f4e);
}

/* ===================================
   SCROLL ANIMATIONS
   =================================== */
.animate-on-scroll,
.animate-scale,
.animate-left,
.animate-right {
  opacity: 0;
  transition: opacity 0.5s var(--ease-smooth), transform 0.5s var(--spring-bounce);
}

.animate-on-scroll {
  transform: translateY(20px);
}

.animate-scale {
  transform: scale(0.95);
}

.animate-left {
  transform: translateX(-20px);
}

.animate-right {
  transform: translateX(20px);
}

.animated {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .animate-on-scroll,
  .animate-scale,
  .animate-left,
  .animate-right,
  .animated {
    transition: none;
    transform: none;
    opacity: 1;
  }

  .feature-card,
  .pricing-card,
  .why-card,
  .founder-card,
  .cta-button,
  .launch-app-btn {
    transition: none;
  }
}

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-panel {
    width: 100%;
  }

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

  .contact-form,
  .contact-info {
    padding: 2rem;
  }
}

@media (max-width: 720px) {
  .hero {
    padding: 7rem 5% 4rem;
  }

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

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-panel-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-section {
    padding: 4rem 5%;
  }

  .footer-content {
    gap: 1rem;
  }

  .footer-links {
    flex-direction: column;
    align-items: center;
  }

  .video-modal-content,
  .feature-modal-content {
    padding: 1.5rem;
  }
}
