/* ============================================================
   RUPEE GOALS — Upgraded Design System
   Aesthetic: Dark Fintech · Precise · Sophisticated
   ============================================================ */

:root {
  --bg: #080f0d;
  --surface: #0e1a16;
  --surface-2: #162320;
  --border: #1f3530;
  --text: #e8f0ee;
  --text-muted: #7a9990;
  --accent: #00e5a0;
  --accent-dim: rgba(0, 229, 160, 0.12);
  --accent-mid: rgba(0, 229, 160, 0.4);
  --gold: #f0c040;
  --nav-h: 72px;
  --radius: 16px;
  --radius-sm: 10px;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html { scroll-behavior: smooth; }

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

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; }
h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { color: var(--text-muted); }
a { text-decoration: none; color: inherit; }

.gradient-text {
  background: linear-gradient(135deg, #00e5a0 0%, #00c5d4 50%, #5b8fff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.accent { color: var(--accent); }

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

.section { padding: 100px 0; }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-tag {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-sub { font-size: 1.05rem; margin-top: 12px; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #050f0c;
  font-weight: 600;
}
.btn-primary:hover {
  background: #00ffb3;
  box-shadow: 0 0 30px rgba(0, 229, 160, 0.35);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--accent-mid);
  color: var(--accent);
  background: var(--accent-dim);
}

.btn-sm { padding: 9px 18px; font-size: 0.84rem; }

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: var(--transition);
}

.nav.scrolled {
  background: rgba(8, 15, 13, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px;
  border-radius: 10px;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
}
.nav-logo::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 10px;
  background: radial-gradient(circle at center, rgba(0, 229, 160, 0.15), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: -1;
}
.nav-logo:hover::before { opacity: 1; }
.nav-logo:hover { transform: translateY(-1px); }
.nav-logo img {
  height: 44px;
  width: auto;
  filter: drop-shadow(0 0 12px rgba(0, 229, 160, 0.25)) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
  transition: filter 0.3s ease;
}
.nav-logo:hover img {
  filter: drop-shadow(0 0 18px rgba(0, 229, 160, 0.5)) drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5));
}
.logo-text { font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; }

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

.nav-links a {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
}

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

.nav-links a.nav-cta {
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid rgba(0, 229, 160, 0.2);
}
.nav-links a.nav-cta:hover {
  background: var(--accent);
  color: #050f0c;
  font-weight: 600;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: var(--nav-h);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.35;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,229,160,0.12) 0%, transparent 70%);
  top: -100px; right: -100px;
}
.orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,197,212,0.08) 0%, transparent 70%);
  bottom: 100px; left: -50px;
}
.orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(91,143,255,0.06) 0%, transparent 70%);
  top: 40%; left: 40%;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.8); }
}

.hero-title { margin-bottom: 20px; }

.hero-desc {
  font-size: 1.08rem;
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.7;
}

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

/* Hero Card */
.hero-visual { position: relative; z-index: 1; }

.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.04);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px; right: -1px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), #00c5d4, #5b8fff);
  border-radius: var(--radius) var(--radius) 0 0;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
}

.card-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  animation: dot-pulse 1.5s ease-in-out infinite;
}
.card-dot.green {
  background: #00e5a0;
  animation-delay: 0s;
  box-shadow: 0 0 10px rgba(0, 229, 160, 0.8);
}
.card-dot.green {
  animation-name: green-pulse;
}
.card-dot.yellow {
  background: #f0c040;
  animation-delay: 0.4s;
  box-shadow: 0 0 10px rgba(240, 192, 64, 0.8);
}
.card-dot.yellow {
  animation-name: yellow-pulse;
}
.card-dot.red {
  background: #ff5f57;
  animation-delay: 0.8s;
  box-shadow: 0 0 10px rgba(255, 95, 87, 0.8);
}
.card-dot.red {
  animation-name: red-pulse;
}

@keyframes green-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}
@keyframes yellow-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}
@keyframes red-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}

.badge-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  vertical-align: middle;
  margin: 0 4px;
  animation: badge-dot-pulse 1.8s ease-in-out infinite;
}
.badge-dot:nth-child(2) { animation-delay: 0.3s; }
.badge-dot:nth-child(3) { animation-delay: 0.6s; }
@keyframes badge-dot-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.6); }
}

.card-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-left: 6px;
  letter-spacing: 0.04em;
}

.card-chart {
  margin: -4px 0 20px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--surface-2);
  padding: 12px;
}

.card-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.stat-item { text-align: center; }

.stat-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}
.stat-value.up { color: var(--accent); }

.stat-label {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollAnim 2s infinite;
}

@keyframes scrollAnim {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ── VALUES ── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.value-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.value-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.value-card:hover { border-color: var(--accent-mid); transform: translateY(-4px); }
.value-card:hover::after { transform: scaleX(1); }

.value-icon {
  width: 44px; height: 44px;
  color: var(--accent);
  margin-bottom: 16px;
}

.value-card h3 { color: var(--text); margin-bottom: 8px; }
.value-card p { font-size: 0.9rem; }

/* ── PLATFORM ── */
.platform { background: var(--surface); }

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

.platform-text h2 { margin-bottom: 16px; }
.platform-text p { font-size: 1.05rem; margin-bottom: 24px; }

.feature-list {
  list-style: none;
  margin-bottom: 32px;
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.94rem;
  color: var(--text);
}
.feature-list li:last-child { border-bottom: none; }

.check {
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}

.platform-visual {
  position: relative;
}

.platform-gif {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: block;
}

.platform-card {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.floating {
  animation: float 4s ease-in-out infinite;
}

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

.mini-stat { text-align: center; }

.mini-val {
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text);
}

.mini-val.accent { color: var(--accent); }
.mini-label { font-size: 0.72rem; color: var(--text-muted); display: block; margin-top: 2px; }
.mini-divider { width: 1px; height: 36px; background: var(--border); }

/* ── PRODUCTS PREVIEW ── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  display: block;
  position: relative;
}

.product-card:hover {
  border-color: var(--accent-mid);
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.4);
}

.product-img {
  height: 180px;
  overflow: hidden;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info { padding: 20px 22px 24px; }
.product-info h3 { color: var(--text); margin-bottom: 6px; }
.product-info p { font-size: 0.88rem; margin-bottom: 14px; }

.product-link {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--accent);
}

.product-card.featured {
  border-color: rgba(0, 229, 160, 0.3);
}

.featured-badge {
  position: absolute;
  top: 14px; right: 14px;
  background: var(--accent);
  color: #050f0c;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: 0.06em;
}

/* ── TEAM ── */
.team { background: var(--surface); }

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

.team-text h2 { margin-bottom: 16px; }
.team-text p { font-size: 1.05rem; margin-bottom: 28px; }

.founder-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.founder-card img {
  width: 80px; height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
  flex-shrink: 0;
}

.founder-info strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 2px;
}

.founder-info span {
  display: block;
  font-size: 0.84rem;
  color: var(--accent);
  margin-bottom: 12px;
}

.founder-links { display: flex; align-items: center; gap: 12px; }
.founder-links a { opacity: 0.7; transition: var(--transition); }
.founder-links a:hover { opacity: 1; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding: 140px 0 80px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,229,160,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero-content { max-width: 640px; }
.page-hero p.section-tag { margin-bottom: 12px; }
.page-hero h1 { margin-bottom: 16px; }
.page-hero .lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 520px;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb-sep { opacity: 0.4; }
.breadcrumb .current { color: var(--accent); }

/* ── FOOTER ── */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 64px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 2fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.footer-brand img {
  height: 40px;
  margin-bottom: 14px;
  filter: drop-shadow(0 0 10px rgba(0, 229, 160, 0.2));
}
.footer-brand .logo-text { font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; display: block; margin-bottom: 14px; }
.footer-brand p { font-size: 0.88rem; max-width: 280px; margin-bottom: 16px; }
.footer-links-row { display: flex; gap: 10px; }

.footer-nav h4, .footer-contact h4 {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-nav ul { list-style: none; }
.footer-nav li { margin-bottom: 8px; }
.footer-nav a {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: var(--transition);
}
.footer-nav a:hover { color: var(--accent); }

.footer-contact p {
  font-size: 0.88rem;
  margin-bottom: 6px;
}
.footer-contact a { color: var(--text-muted); transition: var(--transition); }
.footer-contact a:hover { color: var(--accent); }

.newsletter {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}

.footer-input {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-family: var(--font-body);
  outline: none;
  transition: var(--transition);
}
.footer-input:focus { border-color: var(--accent-mid); }
.footer-input::placeholder { color: var(--text-muted); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}
.footer-bottom p { font-size: 0.82rem; }
.footer-tagline { color: var(--accent); font-style: italic; }

/* ── ABOUT PAGE ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.about-text h2 { margin-bottom: 16px; }
.about-text p { margin-bottom: 16px; font-size: 1rem; }

.pillars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 48px;
}

.pillar-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px;
}

.pillar-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 8px;
}

.pillar-item h4 { color: var(--text); font-size: 0.95rem; margin-bottom: 6px; }
.pillar-item p { font-size: 0.84rem; }

/* ── SERVICES PAGE ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
}

.service-card:hover {
  border-color: var(--accent-mid);
  transform: translateY(-4px);
}

.service-icon {
  width: 56px; height: 56px;
  margin-bottom: 20px;
}

.service-card h3 { color: var(--text); margin-bottom: 10px; font-size: 1.3rem; }
.service-card p { margin-bottom: 20px; line-height: 1.7; }

.service-tag {
  display: inline-block;
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid rgba(0,229,160,0.2);
  border-radius: 100px;
  padding: 4px 12px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

/* ── PRODUCTS PAGE ── */
.products-full-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-full-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.product-full-card:hover {
  border-color: var(--accent-mid);
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.35);
}

.product-full-img {
  height: 200px;
  overflow: hidden;
  background: var(--surface-2);
}

.product-full-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-full-body {
  padding: 24px;
}

.product-full-body h3 {
  color: var(--text);
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.product-full-body p { font-size: 0.9rem; margin-bottom: 16px; }

.product-features {
  list-style: none;
  margin-bottom: 20px;
}

.product-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--text-muted);
  padding: 4px 0;
}

.product-features li::before {
  content: '→';
  color: var(--accent);
  flex-shrink: 0;
}

/* ── CONTACT PAGE ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: start;
}

.contact-info h2 { margin-bottom: 16px; }
.contact-info p { font-size: 1.05rem; margin-bottom: 32px; }

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.contact-item:last-child { border-bottom: none; }

.contact-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--accent-dim);
  border: 1px solid rgba(0,229,160,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg { width: 18px; height: 18px; color: var(--accent); }

.contact-detail span { display: block; font-size: 0.78rem; color: var(--text-muted); margin-bottom: 2px; }
.contact-detail a { font-size: 0.94rem; color: var(--text); transition: var(--transition); }
.contact-detail a:hover { color: var(--accent); }

.contact-form-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 12px 16px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  outline: none;
  transition: var(--transition);
}

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

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent-mid);
  box-shadow: 0 0 0 3px rgba(0,229,160,0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }

/* ── REVEAL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* Stagger children */
.values-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.values-grid .reveal:nth-child(3) { transition-delay: 0.2s; }
.values-grid .reveal:nth-child(4) { transition-delay: 0.3s; }
.products-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.products-grid .reveal:nth-child(3) { transition-delay: 0.2s; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .products-full-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }

  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(8, 15, 13, 0.97);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 20px 24px 32px;
    border-bottom: 1px solid var(--border);
    gap: 4px;
  }

  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 16px; width: 100%; }

  .hero .container { grid-template-columns: 1fr; gap: 40px; }
  .hero .hero-visual { display: none; }
  .hero-title { font-size: 2.4rem; }

  .platform-inner,
  .team-inner,
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }

  .platform-card { display: none; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .services-grid,
  .products-grid,
  .products-full-grid { grid-template-columns: 1fr; }

  .values-grid { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   ENHANCED FEATURES — Theme, Animations, Interactions
   ============================================================ */

/* ── THEME TOGGLE ── */
:root[data-theme="light"] {
  --bg: #f9faf8;
  --surface: #eff4f2;
  --surface-2: #e8f0ed;
  --border: #d6e3dd;
  --text: #0f1812;
  --text-muted: #56695f;
}

#themeToggle {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

#themeToggle:hover {
  transform: rotate(20deg) scale(1.1);
}

/* ── ANIMATIONS ── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleUp {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

.reveal, [data-animate] {
  animation: fadeInUp var(--transition) ease forwards;
  animation-delay: var(--reveal-delay, 0s);
}

.reveal.visible, [data-animate].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── BUTTON ENHANCEMENTS ── */
.btn {
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 229, 160, 0.2);
}

.btn:active {
  transform: translateY(0);
}

.btn.btn-pressed {
  transform: scale(0.96);
}

.btn.success {
  background: #1fa86d;
  color: #fff;
}

.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  transform: scale(0);
  animation: ripple 0.6s ease-out;
  pointer-events: none;
}

/* ── FORM INTERACTIONS ── */
input:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
  transition: all var(--transition);
}

.input-focused label {
  color: var(--accent);
  transform: translateY(-4px);
  font-size: 0.85rem;
}

/* ── LAZY LOADING ── */
img[data-src] {
  opacity: 0;
  transition: opacity 0.4s ease;
}

img.loaded {
  opacity: 1;
}

/* ── MICRO INTERACTIONS ── */
button, .btn {
  transition: all var(--transition);
}

button:active, .btn:active {
  transform: scale(0.96);
}

a[href^="#"] {
  transition: color var(--transition);
}

/* ── SMOOTH TRANSITIONS FOR ALL ELEMENTS ── */
body * {
  transition: background-color var(--transition), color var(--transition), border-color var(--transition);
}

/* Ensure theme transition is smooth when switching */
html {
  transition: background-color 0.3s ease, color 0.3s ease;
}
