/* =============================================
   InvesNov – Futuristic Fintech CSS
   ============================================= */

:root {
  --bg: #08001a;
  --bg2: #100028;
  --bg3: #0d0020;
  --blue: #3d5a80;
  --blue-light: #4e78a8;
  --cyan: #00b4d8;
  --cyan-glow: rgba(0, 180, 216, 0.3);
  --text: #e0e8ff;
  --muted: #8899bb;
  --white: #ffffff;
  --radius: 6px;
  --radius-lg: 12px;
  --gradient: linear-gradient(135deg, #3d5a80, #00b4d8);
  --gradient-dark: linear-gradient(135deg, #08001a, #100028);
  --glow: 0 0 20px rgba(0, 180, 216, 0.4);
  --glow-sm: 0 0 10px rgba(0, 180, 216, 0.25);
  --shadow: 0 8px 32px rgba(0, 0, 20, 0.6);
  --border: 1px solid rgba(0, 180, 216, 0.15);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1.2;
  font-weight: 700;
}

a { color: var(--cyan); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--white); }

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

ul { list-style: none; }

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

.text-cyan { color: var(--cyan); }
.text-muted { color: var(--muted); }
.text-center { text-align: center; }

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

.section {
  padding: 100px 0;
}

.section-sm {
  padding: 60px 0;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: var(--glow-sm);
}
.btn-primary:hover {
  box-shadow: var(--glow);
  transform: translateY(-2px);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--cyan);
  border: 1px solid var(--cyan);
}
.btn-outline:hover {
  background: var(--cyan-glow);
  box-shadow: var(--glow-sm);
  transform: translateY(-2px);
  color: var(--cyan);
}

.btn-lg {
  padding: 18px 42px;
  font-size: 1.1rem;
}

/* ---- Navigation ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(8, 0, 26, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: var(--border);
  padding: 12px 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
}
.nav-logo span { color: var(--cyan); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

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

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

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

.nav-cta { margin-left: 12px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: var(--transition);
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8,0,26,0.85) 0%, rgba(16,0,40,0.7) 50%, rgba(8,0,26,0.85) 100%);
}

.hero-geo {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-geo::before {
  content: '';
  position: absolute;
  top: 20%;
  right: 10%;
  width: 400px;
  height: 400px;
  border: 1px solid rgba(0, 180, 216, 0.1);
  border-radius: 50%;
  animation: pulse-ring 4s ease infinite;
}

.hero-geo::after {
  content: '';
  position: absolute;
  top: 15%;
  right: 7%;
  width: 600px;
  height: 600px;
  border: 1px solid rgba(61, 90, 128, 0.08);
  border-radius: 50%;
  animation: pulse-ring 4s ease infinite 1s;
}

@keyframes pulse-ring {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.05); opacity: 1; }
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(0, 180, 216, 0.1);
  border: 1px solid rgba(0, 180, 216, 0.3);
  border-radius: 100px;
  font-size: 0.85rem;
  color: var(--cyan);
  margin-bottom: 24px;
  font-weight: 500;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  animation: blink 2s ease infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--muted);
  margin-bottom: 40px;
  max-width: 560px;
  line-height: 1.7;
}

.hero-subtitle .typing {
  color: var(--cyan);
  border-right: 2px solid var(--cyan);
  animation: typing-cursor 0.7s step-end infinite;
}

@keyframes typing-cursor {
  0%, 100% { border-color: var(--cyan); }
  50% { border-color: transparent; }
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.8rem;
  animation: bounce 2s ease infinite;
}

.hero-scroll svg {
  width: 20px;
  height: 20px;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ---- Section Headers ---- */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--white);
  margin-bottom: 16px;
}

.section-header p {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---- Cards ---- */
.card {
  background: var(--bg2);
  border: var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

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

.card:hover {
  border-color: rgba(0, 180, 216, 0.35);
  transform: translateY(-4px);
  box-shadow: var(--glow-sm), var(--shadow);
}

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

.card-icon {
  width: 56px;
  height: 56px;
  background: rgba(0, 180, 216, 0.1);
  border: 1px solid rgba(0, 180, 216, 0.2);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 24px;
}

.card h3 {
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 12px;
}

.card p {
  color: var(--muted);
  line-height: 1.7;
}

/* ---- Grid Layouts ---- */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ---- Stats ---- */
.stats-section {
  background: var(--bg2);
  border-top: var(--border);
  border-bottom: var(--border);
  padding: 80px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;
}

.stat-item {
  padding: 24px;
  border-right: var(--border);
}

.stat-item:last-child { border-right: none; }

.stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--cyan);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---- Steps / How It Works ---- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 16%;
  right: 16%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  z-index: 0;
}

.step-item {
  text-align: center;
  padding: 40px 32px;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 72px;
  height: 72px;
  background: var(--bg);
  border: 2px solid var(--cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--cyan);
  margin: 0 auto 24px;
  box-shadow: var(--glow-sm);
}

.step-item h3 {
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 12px;
}

.step-item p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ---- App Section ---- */
.app-section {
  background: var(--bg2);
}

.app-flex {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.app-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), var(--glow-sm);
}

.app-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.app-content h2 {
  font-size: 2.2rem;
  color: var(--white);
  margin-bottom: 20px;
}

.app-content p {
  color: var(--muted);
  margin-bottom: 32px;
  line-height: 1.7;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 0.95rem;
}

.feature-list li::before {
  content: '✦';
  color: var(--cyan);
  font-size: 0.7rem;
  flex-shrink: 0;
}

/* ---- Testimonials ---- */
.testimonial-card {
  background: var(--bg2);
  border: var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 5rem;
  color: rgba(0, 180, 216, 0.1);
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1;
}

.testimonial-text {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: var(--white);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.author-info strong {
  display: block;
  color: var(--white);
  font-size: 0.95rem;
}

.author-info span {
  color: var(--muted);
  font-size: 0.85rem;
}

.stars {
  color: var(--cyan);
  font-size: 0.85rem;
  margin-top: 4px;
}

/* ---- Page Hero ---- */
.page-hero {
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center top, rgba(0, 180, 216, 0.08) 0%, transparent 70%);
}

.page-hero-content { position: relative; z-index: 1; }

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--white);
  margin-bottom: 20px;
}

.page-hero p {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ---- Two-column layout ---- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }

.col-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), var(--glow-sm);
}

.col-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.col-content h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--white);
  margin-bottom: 20px;
}

.col-content p {
  color: var(--muted);
  margin-bottom: 24px;
  line-height: 1.7;
}

/* ---- Tech Stack ---- */
.tech-stack {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.tech-item {
  background: var(--bg2);
  border: var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  transition: var(--transition);
}

.tech-item:hover {
  border-color: rgba(0, 180, 216, 0.35);
  box-shadow: var(--glow-sm);
}

.tech-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.tech-item h4 {
  font-size: 0.95rem;
  color: var(--white);
  margin-bottom: 6px;
}

.tech-item p {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ---- Pricing ---- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: var(--bg2);
  border: var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  position: relative;
  transition: var(--transition);
}

.pricing-card.featured {
  border-color: rgba(0, 180, 216, 0.5);
  background: linear-gradient(135deg, rgba(16,0,40,1) 0%, rgba(20,5,50,1) 100%);
  box-shadow: var(--glow-sm), var(--shadow);
}

.pricing-card.featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.pricing-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--gradient);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 100px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pricing-tier {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.pricing-card h3 {
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 8px;
}

.pricing-desc {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.pricing-price {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: var(--border);
}

.price-amount {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.price-amount sup {
  font-size: 1.2rem;
  vertical-align: top;
  margin-top: 8px;
  color: var(--cyan);
}

.price-period {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 4px;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text);
}

.check {
  width: 20px;
  height: 20px;
  background: rgba(0, 180, 216, 0.1);
  border: 1px solid rgba(0, 180, 216, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  font-size: 0.6rem;
  flex-shrink: 0;
}

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

/* ---- Comparison Table ---- */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: var(--border);
}

.comparison-table th {
  background: rgba(0, 180, 216, 0.08);
  padding: 20px 24px;
  text-align: left;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: var(--border);
}

.comparison-table td {
  padding: 18px 24px;
  border-bottom: var(--border);
  color: var(--text);
  font-size: 0.95rem;
}

.comparison-table tr:last-child td { border-bottom: none; }

.comparison-table tr:hover td {
  background: rgba(0, 180, 216, 0.04);
}

.check-yes { color: var(--cyan); }
.check-no { color: var(--muted); opacity: 0.5; }

/* ---- FAQ ---- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg2);
  border: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.open {
  border-color: rgba(0, 180, 216, 0.35);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  gap: 16px;
}

.faq-icon {
  width: 28px;
  height: 28px;
  background: rgba(0, 180, 216, 0.1);
  border: 1px solid rgba(0, 180, 216, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  font-size: 1rem;
  flex-shrink: 0;
  transition: var(--transition);
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-item.open .faq-answer { max-height: 300px; }

.faq-answer p {
  padding: 0 24px 22px;
  color: var(--muted);
  line-height: 1.7;
}

/* ---- Case Studies ---- */
.case-card {
  background: var(--bg2);
  border: var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.case-card:hover {
  border-color: rgba(0, 180, 216, 0.35);
  transform: translateY(-4px);
  box-shadow: var(--glow-sm), var(--shadow);
}

.case-header {
  padding: 32px 32px 0;
}

.case-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(0, 180, 216, 0.1);
  color: var(--cyan);
  border: 1px solid rgba(0, 180, 216, 0.25);
  margin-bottom: 16px;
}

.case-header h3 {
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 12px;
}

.case-header p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.case-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: var(--border);
  margin-top: 24px;
}

.metric {
  padding: 20px 24px;
  border-right: var(--border);
  text-align: center;
}

.metric:last-child { border-right: none; }

.metric-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--cyan);
  display: block;
}

.metric-value.positive { color: #00d68f; }

.metric-label {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 4px;
}

/* ---- SVG Charts ---- */
.chart-container {
  background: var(--bg2);
  border: var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.chart-container h3 {
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 24px;
}

/* ---- Contact ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  font-family: 'Space Grotesk', sans-serif;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg2);
  border: 1px solid rgba(61, 90, 128, 0.4);
  border-radius: var(--radius);
  padding: 14px 18px;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: var(--transition);
  appearance: none;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.12);
}

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

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238899bb' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
  cursor: pointer;
}

.form-group select option { background: var(--bg2); }

.form-error {
  font-size: 0.8rem;
  color: #ff6b6b;
  display: none;
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  border-color: #ff6b6b;
}

.form-group.has-error .form-error { display: block; }

/* ---- B2B / Info Cards ---- */
.info-card {
  background: var(--bg2);
  border: var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 16px;
}

.info-card h3 {
  font-size: 1.15rem;
  color: var(--white);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.info-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.info-card a {
  color: var(--cyan);
  font-weight: 500;
}

/* ---- Chat Mockup ---- */
.chat-mockup {
  background: var(--bg2);
  border: var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.chat-header {
  padding: 16px 20px;
  background: rgba(0, 180, 216, 0.06);
  border-bottom: var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-status-dot {
  width: 8px;
  height: 8px;
  background: #00d68f;
  border-radius: 50%;
  animation: blink 2s ease infinite;
}

.chat-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-msg {
  max-width: 75%;
  padding: 10px 14px;
  border-radius: var(--radius);
  font-size: 0.9rem;
}

.chat-msg.bot {
  background: rgba(61, 90, 128, 0.3);
  color: var(--text);
  border-radius: 0 var(--radius) var(--radius) var(--radius);
}

.chat-msg.user {
  background: rgba(0, 180, 216, 0.15);
  color: var(--text);
  align-self: flex-end;
  border-radius: var(--radius) 0 var(--radius) var(--radius);
}

/* ---- Geometric Divider ---- */
.geo-divider {
  position: relative;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  margin: 0;
  opacity: 0.3;
}

/* ---- Footer ---- */
.footer {
  background: var(--bg3);
  border-top: var(--border);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand .nav-logo {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 1.4rem;
}

.footer-brand p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 38px;
  height: 38px;
  background: rgba(61, 90, 128, 0.2);
  border: 1px solid rgba(61, 90, 128, 0.3);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: var(--transition);
  font-size: 0.9rem;
}

.social-link:hover {
  background: rgba(0, 180, 216, 0.15);
  border-color: rgba(0, 180, 216, 0.4);
  color: var(--cyan);
}

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: var(--muted);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-col a:hover { color: var(--cyan); }

.footer-bottom {
  padding-top: 40px;
  border-top: var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: var(--muted);
  font-size: 0.85rem;
}

/* ---- Scroll Animations ---- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---- Back to Top ---- */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: var(--gradient);
  border: none;
  border-radius: var(--radius);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  z-index: 999;
  box-shadow: var(--glow-sm);
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: all;
}

.back-to-top:hover {
  box-shadow: var(--glow);
  transform: translateY(-2px);
}

/* ---- Blockquote / highlight ---- */
.highlight-box {
  background: rgba(0, 180, 216, 0.06);
  border-left: 3px solid var(--cyan);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  margin: 24px 0;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ---- Tag pills ---- */
.tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(61, 90, 128, 0.2);
  border: 1px solid rgba(61, 90, 128, 0.4);
  border-radius: 100px;
  font-size: 0.8rem;
  color: var(--muted);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .tech-stack { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-right: var(--border); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .section { padding: 70px 0; }
  .nav-links { display: none; flex-direction: column; gap: 0; }
  .nav-links.open {
    display: flex;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(8, 0, 26, 0.98);
    backdrop-filter: blur(20px);
    padding: 16px 0 24px;
    border-bottom: var(--border);
    z-index: 999;
  }
  .nav-links.open a { padding: 14px 24px; }
  .nav-links.open .nav-cta { padding: 8px 24px; }
  .hamburger { display: flex; }
  .hero h1 { font-size: 2.2rem; }
  .hero-subtitle { font-size: 1rem; }
  .grid-2, .grid-3, .two-col, .app-flex, .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .two-col.reverse { direction: ltr; }
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid::before { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .case-metrics { grid-template-columns: repeat(3, 1fr); }
  .comparison-table { font-size: 0.85rem; }
  .comparison-table th, .comparison-table td { padding: 12px 14px; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: var(--border); }
  .stat-item:last-child { border-bottom: none; }
  .case-metrics { grid-template-columns: 1fr; }
  .metric { border-right: none; border-bottom: var(--border); }
  .metric:last-child { border-bottom: none; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .tech-stack { grid-template-columns: repeat(2, 1fr); }
}
