/* ============================================
   Fintra - AI-Native Financial OS for SMBs
   Finance-oriented color scheme
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

:root {
  /* Finance palette */
  --primary: #0A2540;
  --primary-light: #1A3A5C;
  --secondary: #00C48C;
  --secondary-light: #33D4A4;
  --accent: #635BFF;
  --accent-light: #8B85FF;
  --gold: #FFB800;
  --gold-light: #FFCB3D;

  /* Backgrounds */
  --bg: #F6F9FC;
  --bg-card: #FFFFFF;
  --bg-dark: #0A2540;

  /* Text */
  --text: #425466;
  --text-dark: #0A2540;
  --text-light: #8898AA;
  --text-on-dark: #C1D0E0;

  /* Fonts */
  --font-heading: 'Sora', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  /* Spacing */
  --nav-height: 80px;

  /* Effects */
  --shadow-sm: 0 1px 3px rgba(10, 37, 64, 0.08);
  --shadow-md: 0 4px 16px rgba(10, 37, 64, 0.1);
  --shadow-lg: 0 12px 40px rgba(10, 37, 64, 0.12);
  --shadow-xl: 0 20px 60px rgba(10, 37, 64, 0.15);

  --gradient-1: linear-gradient(135deg, var(--secondary), var(--accent));
  --gradient-2: linear-gradient(135deg, var(--primary), var(--accent));
  --gradient-3: linear-gradient(135deg, var(--gold), var(--secondary));

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 24px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.75rem); letter-spacing: -0.01em; }

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s;
}

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

/* ============================================
   Navbar
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  overflow: visible;
  background: rgba(246, 249, 252, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(10, 37, 64, 0.06);
  z-index: 1000;
  transition: background 0.3s, box-shadow 0.3s;
}

.navbar.scrolled {
  background: rgba(246, 249, 252, 0.97);
  box-shadow: var(--shadow-md);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary);
}

.nav-logo svg {
  width: 36px;
  height: 36px;
}

.nav-logo .logo-dot {
  color: var(--secondary);
}

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

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: width 0.3s;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

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

.nav-links a.active {
  color: var(--primary);
  font-weight: 600;
}

.nav-cta {
  background: var(--primary) !important;
  color: #fff !important;
  padding: 0.6rem 1.4rem;
  border-radius: 8px;
  font-weight: 600 !important;
  transition: background 0.3s, transform 0.2s !important;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
  background: var(--primary-light) !important;
  transform: translateY(-1px);
}

/* Mobile toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ============================================
   3D Canvas
   ============================================ */
#three-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ============================================
   Page Content
   ============================================ */
.page-content {
  position: relative;
  z-index: 1;
  padding-top: var(--nav-height);
}

.section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 6rem 2rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

/* Frosted glass backdrop for readability over 3D background */
.section .container {
  position: relative;
  background: rgba(246, 249, 252, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-xl);
  padding: 3rem;
  border: 1px solid rgba(10, 37, 64, 0.04);
  box-shadow: 0 8px 32px rgba(10, 37, 64, 0.03);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--secondary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 196, 140, 0.3);
}

.btn-primary:hover {
  background: var(--secondary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 196, 140, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid rgba(10, 37, 64, 0.15);
}

.btn-secondary:hover {
  border-color: var(--primary);
  background: rgba(10, 37, 64, 0.03);
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(99, 91, 255, 0.3);
}

.btn-accent:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 640px;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(0, 196, 140, 0.08);
  border: 1px solid rgba(0, 196, 140, 0.2);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--secondary);
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s ease-out;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--secondary);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.hero h1 {
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s ease-out 0.1s both;
}

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

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

.hero p {
  font-size: 1.15rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 2rem;
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s ease-out 0.3s both;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 3.5rem;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-stat .number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}

.hero-stat .number .accent {
  color: var(--secondary);
}

.hero-stat .label {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 0.2rem;
}

/* Hero illustration */
.hero-illustration {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.dashboard-mockup {
  position: relative;
  width: 480px;
  height: 340px;
}

.dashboard-card {
  position: absolute;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.5rem;
  border: 1px solid rgba(10, 37, 64, 0.06);
}

.dashboard-main {
  width: 360px;
  height: 240px;
  top: 40px;
  left: 20px;
  z-index: 1;
  animation: floatSlow 6s ease-in-out infinite;
}

.dashboard-main .card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.dashboard-main .card-title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
}

.dashboard-main .card-badge {
  font-size: 0.7rem;
  padding: 0.2rem 0.6rem;
  background: rgba(0, 196, 140, 0.1);
  color: var(--secondary);
  border-radius: 100px;
  font-weight: 600;
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 120px;
  padding-top: 1rem;
}

.chart-bar {
  flex: 1;
  border-radius: 6px 6px 2px 2px;
  animation: growUp 1s ease-out both;
}

.chart-bar:nth-child(1) { height: 45%; background: rgba(10, 37, 64, 0.12); animation-delay: 0.1s; }
.chart-bar:nth-child(2) { height: 65%; background: rgba(99, 91, 255, 0.2); animation-delay: 0.2s; }
.chart-bar:nth-child(3) { height: 55%; background: rgba(10, 37, 64, 0.12); animation-delay: 0.3s; }
.chart-bar:nth-child(4) { height: 80%; background: rgba(0, 196, 140, 0.25); animation-delay: 0.4s; }
.chart-bar:nth-child(5) { height: 70%; background: rgba(99, 91, 255, 0.2); animation-delay: 0.5s; }
.chart-bar:nth-child(6) { height: 90%; background: var(--secondary); animation-delay: 0.6s; }
.chart-bar:nth-child(7) { height: 75%; background: rgba(0, 196, 140, 0.25); animation-delay: 0.7s; }

.chart-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5rem;
}

.chart-labels span {
  font-size: 0.6rem;
  color: var(--text-light);
}

.dashboard-float-1 {
  width: 180px;
  top: 0;
  right: 0;
  z-index: 2;
  animation: floatSlow 5s ease-in-out 1s infinite;
}

.dashboard-float-1 .float-icon {
  width: 32px;
  height: 32px;
  background: rgba(0, 196, 140, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.dashboard-float-1 .float-amount {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
}

.dashboard-float-1 .float-label {
  font-size: 0.75rem;
  color: var(--text-light);
}

.dashboard-float-1 .float-change {
  font-size: 0.75rem;
  color: var(--secondary);
  font-weight: 600;
  margin-top: 0.3rem;
}

.dashboard-float-2 {
  width: 200px;
  bottom: 0;
  right: 30px;
  z-index: 2;
  animation: floatSlow 7s ease-in-out 0.5s infinite;
}

.ai-insight {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

.ai-insight .ai-icon {
  width: 28px;
  height: 28px;
  background: var(--gradient-2);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ai-insight .ai-text {
  font-size: 0.75rem;
  color: var(--text);
  line-height: 1.5;
}

.ai-insight .ai-tag {
  font-size: 0.65rem;
  color: var(--accent);
  font-weight: 600;
  margin-top: 0.3rem;
}

/* ============================================
   Section Headers
   ============================================ */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--secondary);
  margin-bottom: 1rem;
}

.section-label svg {
  width: 16px;
  height: 16px;
}

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

.section-header p {
  font-size: 1.1rem;
  color: var(--text);
  margin-top: 1rem;
  line-height: 1.8;
}

/* ============================================
   Cards
   ============================================ */
.card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid rgba(10, 37, 64, 0.06);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.card-icon.green { background: rgba(0, 196, 140, 0.1); color: var(--secondary); }
.card-icon.blue { background: rgba(10, 37, 64, 0.08); color: var(--primary); }
.card-icon.purple { background: rgba(99, 91, 255, 0.1); color: var(--accent); }
.card-icon.gold { background: rgba(255, 184, 0, 0.1); color: var(--gold); }

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.card p {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.7;
}

/* Grid layouts */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ============================================
   Problem Page - Pain Points
   ============================================ */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.pain-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border-left: 4px solid var(--secondary);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s, box-shadow 0.3s;
}

.pain-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.pain-card .pain-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(10, 37, 64, 0.06);
  line-height: 1;
  margin-bottom: 0.5rem;
}

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

.pain-card p {
  font-size: 0.9rem;
  color: var(--text);
}

/* Tool sprawl visualization */
.tool-sprawl {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin: 2rem 0;
}

.tool-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  background: var(--bg-card);
  border: 1px solid rgba(10, 37, 64, 0.1);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.tool-tag .plus {
  color: var(--text-light);
  font-size: 1.2rem;
  margin: 0 0.3rem;
}

/* ============================================
   Solution Page
   ============================================ */
.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid rgba(10, 37, 64, 0.06);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-1);
  opacity: 0;
  transition: opacity 0.3s;
}

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

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

/* ============================================
   Differentiator Page
   ============================================ */
.positioning-map {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  border: 2px solid rgba(10, 37, 64, 0.12);
  box-shadow: var(--shadow-lg);
  margin: 2rem 0;
  position: relative;
}

.map-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 2px;
  height: 420px;
  position: relative;
  background: rgba(10, 37, 64, 0.2);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid rgba(10, 37, 64, 0.15);
}

.map-quadrant {
  background: #F0F4F8;
  padding: 1.5rem;
  position: relative;
}

.map-quadrant.highlight {
  background: #E6FFF5;
  box-shadow: inset 0 0 0 2px rgba(0, 196, 140, 0.3);
}

.map-quadrant-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dark);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(10, 37, 64, 0.1);
}

.map-competitor {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.8rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  margin: 0.25rem;
}

.map-competitor.fintra {
  background: var(--secondary);
  color: #fff;
  padding: 0.6rem 1.5rem;
  font-size: 0.95rem;
  box-shadow: 0 4px 16px rgba(0, 196, 140, 0.35);
  border: 2px solid rgba(0, 196, 140, 0.5);
}

.map-competitor.other {
  background: rgba(10, 37, 64, 0.12);
  color: var(--primary);
  font-weight: 700;
  border: 1px solid rgba(10, 37, 64, 0.15);
}

.map-axes {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
}

.map-axis-label {
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.map-axis-label svg {
  width: 14px;
  height: 14px;
}

/* Comparison Matrix */
.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin: 2rem 0;
}

.comparison-table thead th {
  background: var(--primary);
  color: #fff;
  padding: 1rem;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.03em;
}

.comparison-table thead th:first-child {
  text-align: left;
}

.comparison-table thead th.fintra-col {
  background: var(--secondary);
}

.comparison-table tbody td {
  padding: 0.85rem 1rem;
  font-size: 0.85rem;
  text-align: center;
  border-bottom: 1px solid rgba(10, 37, 64, 0.06);
  background: var(--bg-card);
}

.comparison-table tbody td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--primary);
}

.comparison-table tbody td.fintra-col {
  background: rgba(0, 196, 140, 0.04);
}

.comparison-table .check {
  color: var(--secondary);
  font-size: 1.1rem;
}

.comparison-table .partial {
  color: var(--gold);
  font-size: 1.1rem;
}

.comparison-table .cross {
  color: #E63946;
  font-size: 1.1rem;
}

.comparison-table tbody tr:hover td {
  background: rgba(10, 37, 64, 0.02);
}

.comparison-table tbody tr:hover td.fintra-col {
  background: rgba(0, 196, 140, 0.08);
}

/* Differentiator cards */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.diff-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid rgba(10, 37, 64, 0.06);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.diff-card .diff-vs {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.diff-card .vs-badge {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.diff-card .competitor-name {
  font-size: 0.85rem;
  padding: 0.3rem 0.8rem;
  background: rgba(10, 37, 64, 0.06);
  border-radius: 100px;
  font-weight: 600;
  color: var(--text);
}

.diff-card .diff-points {
  list-style: none;
}

.diff-card .diff-points li {
  padding: 0.4rem 0;
  font-size: 0.88rem;
  color: var(--text);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.diff-card .diff-points li svg {
  flex-shrink: 0;
  margin-top: 3px;
}

/* ============================================
   Market Page
   ============================================ */
.tam-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  margin: 3rem 0;
}

.tam-circle {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.tam-ring {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 3px solid;
  margin-bottom: 1rem;
}

.tam-ring.tam { border-color: var(--primary); background: rgba(10, 37, 64, 0.04); }
.tam-ring.sam { border-color: var(--accent); background: rgba(99, 91, 255, 0.04); width: 150px; height: 150px; }
.tam-ring.som { border-color: var(--secondary); background: rgba(0, 196, 140, 0.04); width: 120px; height: 120px; }

.tam-ring .tam-value {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
}

.tam-ring .tam-label-inner {
  font-size: 0.7rem;
  color: var(--text-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tam-circle .tam-desc {
  font-size: 0.85rem;
  color: var(--text);
  max-width: 160px;
}

/* Vertical cards */
.vertical-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.vertical-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid rgba(10, 37, 64, 0.06);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.vertical-card .priority-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.25rem 0.7rem;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.priority-badge.high { background: rgba(0, 196, 140, 0.1); color: var(--secondary); }
.priority-badge.medium { background: rgba(255, 184, 0, 0.1); color: var(--gold); }
.priority-badge.low { background: rgba(10, 37, 64, 0.06); color: var(--text-light); }

/* ============================================
   Pricing Page
   ============================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
  align-items: start;
}

.pricing-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  border: 1px solid rgba(10, 37, 64, 0.06);
  box-shadow: var(--shadow-sm);
  text-align: center;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.pricing-card.featured {
  border: 2px solid var(--secondary);
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
}

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

.pricing-card .popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--secondary);
  color: #fff;
  padding: 0.3rem 1.2rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.pricing-card .tier-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.pricing-card .tier-price {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  margin: 1rem 0 0.25rem;
}

.pricing-card .tier-price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-light);
}

.pricing-card .tier-desc {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.pricing-card .tier-features {
  list-style: none;
  text-align: left;
  margin-bottom: 2rem;
}

.pricing-card .tier-features li {
  padding: 0.5rem 0;
  font-size: 0.88rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border-bottom: 1px solid rgba(10, 37, 64, 0.04);
}

.pricing-card .tier-features li svg {
  flex-shrink: 0;
  color: var(--secondary);
}

/* ============================================
   Contact / Forms
   ============================================ */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.form-section {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  border: 1px solid rgba(10, 37, 64, 0.06);
  box-shadow: var(--shadow-md);
}

.form-section h3 {
  margin-bottom: 0.5rem;
}

.form-section .form-desc {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid rgba(10, 37, 64, 0.12);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--bg);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(0, 196, 140, 0.1);
}

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

.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
}

.form-success.show {
  display: block;
}

.form-success svg {
  color: var(--secondary);
  margin-bottom: 1rem;
}

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

/* ============================================
   Stats Bar
   ============================================ */
.stat-card {
  text-align: center;
  padding: 1.5rem;
}

.stat-card .stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
}

.stat-card .stat-number .accent {
  color: var(--secondary);
}

.stat-card .stat-label {
  font-size: 0.85rem;
  color: var(--text);
  margin-top: 0.3rem;
}

.stat-card .stat-source {
  font-size: 0.7rem;
  color: var(--text-light);
  margin-top: 0.2rem;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--bg-dark);
  padding: 4rem 2rem 2rem;
  position: relative;
  z-index: 1;
  color: var(--text-on-dark);
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .footer-logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 1rem;
  display: inline-block;
}

.footer-brand .footer-logo .logo-dot {
  color: var(--secondary);
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-on-dark);
  max-width: 300px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  margin-bottom: 1.25rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.6rem;
}

.footer-col ul li a {
  font-size: 0.88rem;
  color: var(--text-on-dark);
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: var(--secondary);
}

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

/* ============================================
   Scroll Reveal
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

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

@keyframes growUp {
  from { height: 0; }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .pricing-card.featured { transform: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .tam-visual { flex-direction: column; gap: 2rem; }
  .map-grid { height: auto; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-toggle { display: flex; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(246, 249, 252, 0.98);
    backdrop-filter: blur(20px);
    padding: 1.5rem 2rem;
    gap: 0.5rem;
    box-shadow: var(--shadow-lg);
  }

  .nav-links.open li a {
    padding: 0.75rem 0;
    display: block;
  }

  .section {
    padding: 4rem 1rem;
    min-height: auto;
  }

  .section .container {
    padding: 2rem 1.5rem;
  }

  .hero-grid {
    grid-template-columns: 1fr !important;
  }

  .hero-illustration {
    display: none;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  .grid-2, .grid-3, .solution-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }

  .comparison-table { font-size: 0.75rem; }
  .comparison-table thead th,
  .comparison-table tbody td { padding: 0.5rem 0.4rem; }
}

@media (max-width: 480px) {
  .section .container { padding: 1.5rem 1rem; }
  .dashboard-mockup { transform: scale(0.7); }
  .diff-grid { grid-template-columns: 1fr; }
}
