/* =====================================================
   Forwarding Solution — Landing Page Styles
   Brand: Ocean Teal #14B8A6 | Amber Gold #F59E0B | Dark Slate #0F172A
   ===================================================== */

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

:root {
  --teal:    #14B8A6;
  --teal-d:  #0D9488;
  --teal-l:  #2DD4BF;
  --amber:   #F59E0B;
  --amber-l: #FBBF24;
  --slate-9: #0F172A;
  --slate-8: #1E293B;
  --slate-7: #334155;
  --slate-6: #475569;
  --slate-5: #64748B;
  --slate-4: #94A3B8;
  --slate-3: #CBD5E1;
  --slate-2: #E2E8F0;
  --slate-1: #F1F5F9;
  --slate-0: #F8FAFC;
  --white:   #FFFFFF;
  --blue:    #3B82F6;
  --purple:  #8B5CF6;
  --green:   #22C55E;
  --rose:    #F43F5E;
  --orange:  #F97316;
  --radius:  12px;
  --radius-lg: 20px;
  --shadow:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-lg: 0 10px 40px rgba(0,0,0,.12);
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--slate-8);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

/* ── Buttons ────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all .2s;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--teal);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--teal-d);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(20,184,166,.35);
}
.btn-outline {
  border: 2px solid var(--slate-3);
  color: var(--slate-7);
  background: transparent;
}
.btn-outline:hover {
  border-color: var(--teal);
  color: var(--teal);
}
.btn-lg { padding: 16px 32px; font-size: 1rem; }

/* ── Navigation ─────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.nav.scrolled {
  border-bottom-color: var(--slate-2);
  box-shadow: 0 1px 8px rgba(0,0,0,.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  color: var(--slate-8);
}
.nav-brand strong { color: var(--teal); }
.nav-logo { width: 36px; height: 36px; }
.nav-menu {
  display: flex;
  gap: 8px;
}
.nav-menu a {
  padding: 8px 18px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--slate-6);
  transition: all .15s;
}
.nav-menu a:hover { color: var(--teal); background: var(--slate-1); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--slate-7);
  border-radius: 2px;
  transition: all .2s;
}

/* ── Hero ───────────────────────────────────────── */
.hero {
  position: relative;
  padding: 150px 0 90px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--slate-0) 0%, #ECFDF5 50%, #FFFBEB 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(20,184,166,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20,184,166,.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent);
}
.hero-content {
  position: relative;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(20,184,166,.1);
  border: 1px solid rgba(20,184,166,.2);
  color: var(--teal-d);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--slate-9);
  margin-bottom: 20px;
}
.text-gradient {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-d) 40%, var(--amber) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--slate-5);
  max-width: 640px;
  margin: 0 auto 36px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--teal);
}
.stat-label {
  font-size: 0.82rem;
  color: var(--slate-5);
  font-weight: 500;
}

/* ── Section headers (shared) ───────────────────── */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}
.section-tag {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(20,184,166,.08);
  color: var(--teal-d);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--slate-9);
  margin-bottom: 14px;
}
.section-header p {
  font-size: 1.05rem;
  color: var(--slate-5);
  line-height: 1.7;
}

/* ── Solutions Cards ────────────────────────────── */
.solutions {
  padding: 100px 0;
  background: var(--white);
}
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}
.solution-card {
  display: flex;
  flex-direction: column;
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--slate-2);
  background: var(--white);
  transition: all .25s;
  position: relative;
  overflow: hidden;
}
.solution-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  opacity: 0;
  transition: opacity .25s;
}
.solution-card:hover {
  border-color: var(--slate-3);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.solution-card:hover::before { opacity: 1; }

[data-color="teal"]::before  { background: var(--teal); }
[data-color="amber"]::before { background: var(--amber); }
[data-color="blue"]::before  { background: var(--blue); }
[data-color="purple"]::before{ background: var(--purple); }
[data-color="green"]::before { background: var(--green); }
[data-color="rose"]::before  { background: var(--rose); }
[data-color="orange"]::before{ background: var(--orange); }

[data-color="teal"]  .card-icon { color: var(--teal); background: rgba(20,184,166,.08); }
[data-color="amber"] .card-icon { color: var(--amber); background: rgba(245,158,11,.08); }
[data-color="blue"]  .card-icon { color: var(--blue); background: rgba(59,130,246,.08); }
[data-color="purple"].card-icon { color: var(--purple); background: rgba(139,92,246,.08); }
[data-color="green"] .card-icon { color: var(--green); background: rgba(34,197,94,.08); }
[data-color="rose"]  .card-icon { color: var(--rose); background: rgba(244,63,94,.08); }
[data-color="orange"].card-icon { color: var(--orange); background: rgba(249,115,22,.08); }

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.card-icon svg { width: 28px; height: 28px; }
.card-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(20,184,166,.1);
  color: var(--teal-d);
}
.card-badge-soon {
  background: rgba(100,116,139,.08);
  color: var(--slate-5);
}
.solution-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--slate-9);
  margin-bottom: 2px;
}
.card-full-name {
  font-size: 0.85rem;
  color: var(--slate-5);
  font-weight: 500;
  margin-bottom: 12px;
}
.card-desc {
  font-size: 0.9rem;
  color: var(--slate-6);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 16px;
}
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.card-tags span {
  padding: 4px 10px;
  background: var(--slate-1);
  color: var(--slate-6);
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 500;
}
.card-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--teal);
  transition: gap .2s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.solution-card:hover .card-link { gap: 8px; }

/* ── Why Us ─────────────────────────────────────── */
.why-us {
  padding: 100px 0;
  background: var(--slate-0);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 32px;
}
.feature {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--slate-2);
  transition: all .25s;
}
.feature:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.feature-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  border-radius: 12px;
  background: rgba(20,184,166,.08);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  overflow: hidden;
}
.feature-icon svg { width: 26px; height: 26px; min-width: 26px; min-height: 26px; flex-shrink: 0; }
.feature h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--slate-9);
  margin-bottom: 8px;
}
.feature p {
  font-size: 0.9rem;
  color: var(--slate-5);
  line-height: 1.65;
}

/* ── Integration ────────────────────────────────── */
.integration {
  padding: 100px 0;
  background: var(--white);
}
.integration-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.integration-text .section-tag { margin-bottom: 16px; }
.integration-text h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--slate-9);
  margin-bottom: 16px;
}
.integration-text p {
  font-size: 1rem;
  color: var(--slate-5);
  line-height: 1.7;
  margin-bottom: 28px;
}
.integration-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.integration-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--slate-7);
  font-weight: 500;
}
.integration-list svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

/* Integration Diagram */
.integration-diagram {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  max-width: 400px;
  margin: 0 auto;
}
.diagram-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-d) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(20,184,166,.3);
  z-index: 2;
}
.diagram-center svg {
  width: 36px;
  height: 36px;
  margin-bottom: 2px;
}
.diagram-center span {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--white);
}
.diagram-node {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 72px;
  height: 72px;
  margin: -36px 0 0 -36px;
  transform: rotate(var(--angle)) translateY(-140px) rotate(calc(var(--angle) * -1));
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--slate-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--slate-7);
  box-shadow: var(--shadow);
  transition: all .25s;
  text-align: center;
  padding: 4px;
  line-height: 1.2;
}
.diagram-node:hover {
  border-color: var(--teal);
  box-shadow: 0 6px 20px rgba(20,184,166,.2);
  transform: rotate(var(--angle)) translateY(-140px) rotate(calc(var(--angle) * -1)) scale(1.12);
}
/* Connector ring */
.integration-diagram::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 280px;
  height: 280px;
  margin: -140px 0 0 -140px;
  border-radius: 50%;
  border: 2px dashed var(--slate-2);
  z-index: 0;
}

/* ── Contact ────────────────────────────────────── */
.contact {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--slate-9) 0%, var(--slate-8) 100%);
}
.contact-inner {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}
.contact h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
}
.contact p {
  font-size: 1.05rem;
  color: var(--slate-4);
  margin-bottom: 36px;
  line-height: 1.7;
}
.contact-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

/* ── Footer ─────────────────────────────────────── */
.footer {
  padding: 64px 0 32px;
  background: var(--slate-9);
  border-top: 1px solid var(--slate-7);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand { max-width: 300px; }
.footer-brand .nav-brand { margin-bottom: 14px; }
.footer-brand .nav-brand span { color: var(--slate-3); }
.footer-brand p {
  font-size: 0.9rem;
  color: var(--slate-5);
  line-height: 1.6;
}
.footer-links h5 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slate-4);
  margin-bottom: 16px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.88rem;
  color: var(--slate-5);
  transition: color .15s;
}
.footer-links a:hover { color: var(--teal-l); }
.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--slate-7);
  text-align: center;
}
.footer-bottom p {
  font-size: 0.82rem;
  color: var(--slate-6);
}

/* ── Animations ─────────────────────────────────── */
.solution-card,
.feature {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .5s, transform .5s, border-color .2s, box-shadow .25s;
}
.solution-card.visible,
.feature.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ─────────────────────────────────── */
@media (max-width: 900px) {
  .integration-inner { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 72px;
    left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--slate-2);
    flex-direction: column;
    padding: 16px 24px;
    gap: 4px;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
  }
  .nav-menu.open { display: flex; }
  .nav-toggle { display: flex; }
  .hero { padding: 130px 0 70px; }
  .solutions-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 32px; }
}
