/* =========================================
   HyperEdge Digital — Main Stylesheet
   Brand: Poppins | #4F46FF→#7C3AED | #0F172A
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

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

:root {
  --grad-start: #4F46FF;
  --grad-end:   #7C3AED;
  --blue:       #2563EB;
  --navy:       #0F172A;
  --slate:      #334155;
  --gray:       #F1F5F9;
  --white:      #FFFFFF;
  --gradient:   linear-gradient(135deg, #4F46FF 0%, #7C3AED 100%);
  --shadow-sm:  0 1px 3px rgba(0,0,0,.08);
  --shadow-md:  0 4px 20px rgba(79,70,255,.15);
  --shadow-lg:  0 10px 40px rgba(79,70,255,.2);
  --radius:     12px;
  --radius-lg:  20px;
  --transition: .3s cubic-bezier(.4,0,.2,1);
}

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

body {
  font-family: 'Poppins', sans-serif;
  color: var(--slate);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- Typography ---- */
.display { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 700; line-height: 1.15; color: var(--navy); }
h1 { font-size: clamp(2rem, 4.5vw, 2.75rem); font-weight: 700; line-height: 1.2; color: var(--navy); }
h2 { font-size: clamp(1.6rem, 3vw, 1.875rem); font-weight: 600; line-height: 1.3; color: var(--navy); }
h3 { font-size: 1.25rem; font-weight: 600; color: var(--navy); }
h4 { font-size: 1rem; font-weight: 600; color: var(--navy); }
.lead { font-size: 1.125rem; font-weight: 300; color: var(--slate); line-height: 1.8; }
p  { color: var(--slate); }
.caption { font-size: .8125rem; font-weight: 500; }

/* ---- Utility ---- */
.container { width: 90%; max-width: 1200px; margin: 0 auto; }
.section   { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.text-center { text-align: center; }
.text-gradient { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.tag { display: inline-block; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: .3rem .8rem; border-radius: 100px; background: rgba(79,70,255,.1); color: var(--grad-start); margin-bottom: 1rem; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.8rem; border-radius: 100px;
  font-family: 'Poppins', sans-serif; font-size: .95rem; font-weight: 600;
  cursor: pointer; border: none; transition: var(--transition);
  white-space: nowrap;
}
.btn-primary { background: var(--gradient); color: var(--white); box-shadow: var(--shadow-md); }
.btn-primary:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.btn-outline { background: transparent; border: 2px solid var(--grad-start); color: var(--grad-start); }
.btn-outline:hover { background: var(--gradient); color: var(--white); border-color: transparent; }
.btn-white  { background: var(--white); color: var(--grad-start); }
.btn-white:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.btn-wa { background: #25D366; color: var(--white); }
.btn-wa:hover { background: #1ebe5d; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(37,211,102,.35); }

/* ---- Navigation ---- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 1rem 0;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(241,245,249,.8);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,.08); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; }

.nav-logo { display: flex; align-items: center; }
.nav-logo-img { height: 72px; width: auto; display: block; }
.nav-logo-img-footer { height: 120px; width: auto; display: block; }

.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { font-size: .9rem; font-weight: 500; color: var(--slate); transition: color var(--transition); position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--grad-start); }
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--gradient); border-radius: 2px;
  transform: scaleX(0); transition: transform var(--transition);
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

/* Dropdown */
.dropdown { position: relative; }
.dropdown-menu {
  position: absolute; top: calc(100% + 1rem); left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--white); border-radius: var(--radius);
  box-shadow: 0 10px 40px rgba(0,0,0,.12);
  padding: .75rem; min-width: 240px;
  opacity: 0; pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  border: 1px solid var(--gray);
}
.dropdown:hover .dropdown-menu {
  opacity: 1; pointer-events: all; transform: translateX(-50%) translateY(0);
}
.dropdown-menu a {
  display: flex; align-items: center; gap: .75rem;
  padding: .65rem 1rem; border-radius: 8px; font-size: .875rem;
  transition: background var(--transition);
}
.dropdown-menu a:hover { background: var(--gray); }
.dropdown-menu a::after { display: none; }
.dropdown-menu .dm-icon {
  width: 32px; height: 32px; border-radius: 8px; background: rgba(79,70,255,.1);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  font-size: .9rem; color: var(--grad-start);
}

.nav-cta { display: flex; align-items: center; gap: 1rem; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: var(--transition); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  position: fixed; inset: 0; z-index: 999; background: var(--white);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 2rem;
  transform: translateX(100%); transition: transform .4s cubic-bezier(.4,0,.2,1);
  padding: 2rem;
  pointer-events: none;
  visibility: hidden;
}
.mobile-nav.open { transform: translateX(0); pointer-events: all; visibility: visible; }
.mobile-nav a { font-size: 1.5rem; font-weight: 600; color: var(--navy); transition: color var(--transition); }
.mobile-nav a:hover { color: var(--grad-start); }
.mobile-nav .mobile-sub { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.mobile-nav .mobile-sub a { font-size: 1.1rem; font-weight: 500; color: var(--slate); }

/* ---- Hero ---- */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: 7rem 0 5rem;
  position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 40%, rgba(79,70,255,.07) 0%, transparent 70%),
              radial-gradient(ellipse 60% 50% at 10% 80%, rgba(124,58,237,.05) 0%, transparent 70%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image: linear-gradient(rgba(79,70,255,.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(79,70,255,.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(79,70,255,.08); border: 1px solid rgba(79,70,255,.2);
  border-radius: 100px; padding: .4rem 1rem; font-size: .8rem; font-weight: 600;
  color: var(--grad-start); margin-bottom: 1.5rem;
}
.hero-badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--grad-start); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(1.5)} }

.hero-title { margin-bottom: 1.5rem; }
.hero-title .line { overflow: hidden; }
.hero-desc { font-size: 1.1rem; color: var(--slate); margin-bottom: 2.5rem; max-width: 500px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3rem; }
.hero-stats { display: flex; gap: 2.5rem; flex-wrap: wrap; }
.hero-stat .num { font-size: 1.75rem; font-weight: 700; color: var(--navy); }
.hero-stat .lbl { font-size: .8rem; color: var(--slate); font-weight: 500; }

/* Hero visual */
.hero-visual { position: relative; }
.hero-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 1.75rem; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(79,70,255,.1);
}
.flow-step {
  display: flex; align-items: center; gap: 1rem; padding: .75rem;
  border-radius: var(--radius); margin-bottom: .5rem; transition: var(--transition);
}
.flow-step:hover { background: var(--gray); }
.flow-icon {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.flow-line {
  width: 2px; height: 24px; margin: 0 19px;
  background: linear-gradient(to bottom, rgba(79,70,255,.3), rgba(124,58,237,.3));
  border-radius: 2px;
}
.flow-step .info { flex: 1; }
.flow-step .info .name { font-size: .875rem; font-weight: 600; color: var(--navy); }
.flow-step .info .sub { font-size: .75rem; color: var(--slate); }
.flow-step .badge-sm {
  font-size: .7rem; font-weight: 600; padding: .2rem .6rem;
  border-radius: 100px; background: rgba(37,211,102,.15); color: #15803d;
}
.badge-blue { background: rgba(37,99,235,.1) !important; color: var(--blue) !important; }
.badge-orange { background: rgba(234,88,12,.1) !important; color: #ea580c !important; }

.float-card {
  position: absolute; background: var(--white); border-radius: var(--radius);
  padding: .9rem 1.1rem; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(79,70,255,.1); display: flex; align-items: center; gap: .75rem;
  animation: float 3s ease-in-out infinite;
}
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
.float-card-1 { top: -20px; right: -20px; animation-delay: 0s; }
.float-card-2 { bottom: -20px; left: -20px; animation-delay: 1.5s; }
.float-card .fc-icon { width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.float-card .fc-info .fc-num { font-size: 1.1rem; font-weight: 700; color: var(--navy); }
.float-card .fc-info .fc-lbl { font-size: .7rem; color: var(--slate); }

/* ---- Cards ---- */
.card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 2rem; border: 1px solid var(--gray);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(79,70,255,.2); }
.card-icon {
  width: 52px; height: 52px; border-radius: var(--radius); background: rgba(79,70,255,.08);
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: 1.25rem;
}

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

/* ---- Section Header ---- */
.section-header { text-align: center; max-width: 640px; margin: 0 auto 3.5rem; }
.section-header p { color: var(--slate); margin-top: .75rem; }

/* ---- Feature row ---- */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; margin-bottom: 6rem; }
.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }
.feature-list { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; }
.feature-item { display: flex; align-items: flex-start; gap: .75rem; }
.feature-item .fi-icon { width: 22px; height: 22px; border-radius: 50%; background: rgba(79,70,255,.1); display: flex; align-items: center; justify-content: center; font-size: .7rem; color: var(--grad-start); flex-shrink: 0; margin-top: 2px; }

/* ---- Flow diagrams ---- */
.flow-diagram {
  background: var(--gray); border-radius: var(--radius-lg); padding: 2rem;
  position: relative; overflow: hidden;
}
.flow-diagram::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(79,70,255,.06) 0%, transparent 60%);
}
.flow-nodes { display: flex; flex-direction: column; gap: 0; position: relative; z-index: 1; }
.flow-node {
  background: var(--white); border-radius: var(--radius); padding: 1rem 1.25rem;
  border: 1px solid rgba(79,70,255,.12); margin-bottom: .25rem;
  display: flex; align-items: center; gap: 1rem;
  transition: var(--transition);
  animation: slideIn .5s ease forwards;
  opacity: 0;
}
.flow-node:nth-child(1) { animation-delay: .1s; }
.flow-node:nth-child(2) { animation-delay: .25s; }
.flow-node:nth-child(3) { animation-delay: .4s; }
.flow-node:nth-child(4) { animation-delay: .55s; }
.flow-node:nth-child(5) { animation-delay: .7s; }
@keyframes slideIn { from{opacity:0;transform:translateX(-16px)} to{opacity:1;transform:translateX(0)} }
.flow-node:hover { border-color: var(--grad-start); box-shadow: var(--shadow-sm); }
.flow-arrow { text-align: center; color: var(--grad-start); font-size: .8rem; line-height: 1; padding: .1rem 0; }
.fn-icon { width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.fn-body .fn-title { font-size: .875rem; font-weight: 600; color: var(--navy); }
.fn-body .fn-sub   { font-size: .75rem; color: var(--slate); }

/* ---- Stats bar ---- */
.stats-bar {
  background: var(--gradient); border-radius: var(--radius-lg); padding: 3rem;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center;
  position: relative; overflow: hidden;
}
.stats-bar::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.stat-item { position: relative; z-index: 1; }
.stat-item .num { font-size: 2.5rem; font-weight: 700; color: var(--white); }
.stat-item .lbl { font-size: .875rem; color: rgba(255,255,255,.8); margin-top: .25rem; }

/* ---- Testimonials ---- */
.testimonial-card {
  background: var(--gray); border-radius: var(--radius-lg); padding: 2rem;
  position: relative; overflow: hidden;
}
.testimonial-card::before {
  content: '"'; position: absolute; top: -1rem; left: 1rem;
  font-size: 8rem; line-height: 1; font-weight: 700; color: rgba(79,70,255,.08);
  font-family: Georgia, serif;
}
.testimonial-card .quote { position: relative; z-index: 1; font-style: italic; margin-bottom: 1.25rem; }
.testimonial-card .author { display: flex; align-items: center; gap: .75rem; }
.testimonial-card .author .avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--gradient); display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: white; font-size: .9rem;
}
.testimonial-card .author .name { font-weight: 600; font-size: .9rem; color: var(--navy); }
.testimonial-card .author .role { font-size: .8rem; color: var(--slate); }

/* ---- CTA Section ---- */
.cta-section {
  background: var(--gradient); border-radius: var(--radius-lg); padding: 5rem 3rem;
  text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(255,255,255,.08) 0%, transparent 60%),
              radial-gradient(circle at 70% 50%, rgba(255,255,255,.06) 0%, transparent 60%);
}
.cta-section h2, .cta-section p, .cta-section .lead { color: var(--white); position: relative; z-index: 1; }
.cta-section p { opacity: .85; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; margin-top: 2rem; }

/* ---- Footer ---- */
.footer { background: var(--navy); color: rgba(255,255,255,.7); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand p { margin-top: 1rem; font-size: .875rem; line-height: 1.7; }
.footer h4 { color: var(--white); margin-bottom: 1.25rem; font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; }
.footer-links { display: flex; flex-direction: column; gap: .6rem; }
.footer-links a { font-size: .875rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--white); }
.footer-contact p { font-size: .875rem; display: flex; align-items: flex-start; gap: .5rem; margin-bottom: .6rem; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 2rem; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { font-size: .8rem; }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { font-size: .8rem; transition: color var(--transition); }
.footer-legal a:hover { color: var(--white); }

/* Social icons */
.social-links { display: flex; gap: .75rem; margin-top: 1.25rem; }
.social-links a {
  width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center; font-size: .9rem;
  transition: var(--transition); color: rgba(255,255,255,.7);
}
.social-links a:hover { background: var(--gradient); color: var(--white); transform: translateY(-2px); }

/* ---- WhatsApp Float ---- */
.wa-float {
  position: fixed;
  bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
  right: 1.5rem;
  z-index: 1100;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; box-shadow: 0 4px 24px rgba(37,211,102,.55);
  transition: var(--transition); cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.wa-float:hover, .wa-float:active { transform: scale(1.1); box-shadow: 0 8px 30px rgba(37,211,102,.7); }
.wa-float .wa-pulse {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid #25D366; animation: waPulse 2s ease-out infinite;
}
@keyframes waPulse { 0%{transform:scale(1);opacity:1} 100%{transform:scale(1.8);opacity:0} }

/* ---- Page Banner ---- */
.page-banner {
  padding: 9rem 0 5rem; background: var(--gray);
  position: relative; overflow: hidden;
}
.page-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(79,70,255,.06) 0%, transparent 70%);
}
.page-banner .container { position: relative; z-index: 1; }

/* ---- Services page ---- */
.service-tabs { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center; margin-bottom: 3rem; }
.service-tab {
  padding: .6rem 1.4rem; border-radius: 100px; font-size: .875rem; font-weight: 600;
  cursor: pointer; border: 2px solid var(--gray); background: var(--white); color: var(--slate);
  transition: var(--transition);
}
.service-tab.active, .service-tab:hover { background: var(--gradient); color: var(--white); border-color: transparent; }

.service-panel { display: none; }
.service-panel.active { display: block; }

.service-hero-card {
  background: var(--gray); border-radius: var(--radius-lg); padding: 3rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
  margin-bottom: 3rem;
}
.sub-service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 1.5rem; }
.sub-service-card {
  background: var(--white); border: 1px solid var(--gray); border-radius: var(--radius-lg); padding: 1.75rem;
  transition: var(--transition);
}
.sub-service-card:hover { border-color: rgba(79,70,255,.25); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.sub-service-card .ss-icon {
  width: 48px; height: 48px; border-radius: var(--radius); background: rgba(79,70,255,.08);
  display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: 1rem;
}

/* ---- About page ---- */
.team-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.value-card {
  text-align: center; padding: 2.5rem 1.5rem; border-radius: var(--radius-lg);
  background: var(--gray); transition: var(--transition);
}
.value-card:hover { background: var(--gradient); }
.value-card:hover h3, .value-card:hover p { color: var(--white); }
.value-card .vc-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.value-card h3 { color: var(--navy); transition: var(--transition); }
.value-card p { font-size: .875rem; margin-top: .5rem; transition: var(--transition); }

.tech-stack { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.tech-badge {
  display: flex; align-items: center; gap: .5rem; padding: .5rem 1rem;
  border: 1px solid var(--gray); border-radius: 100px; font-size: .8rem; font-weight: 500;
  background: var(--white); color: var(--slate); transition: var(--transition);
}
.tech-badge:hover { border-color: var(--grad-start); color: var(--grad-start); background: rgba(79,70,255,.04); }
.tech-badge .tb-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gradient); }

/* ---- Connect page ---- */
.connect-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 3rem;
  text-align: center; border: 1px solid var(--gray);
  transition: var(--transition);
}
.connect-card:hover { border-color: rgba(79,70,255,.25); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.connect-card .cc-icon { font-size: 3rem; margin-bottom: 1.5rem; }
.connect-card h3 { margin-bottom: .75rem; }
.connect-card p { font-size: .9rem; margin-bottom: 1.75rem; color: var(--slate); }

/* ---- Legal pages ---- */
.legal-content { max-width: 800px; margin: 0 auto; }
.legal-content h2 { margin: 2.5rem 0 1rem; }
.legal-content h3 { margin: 1.5rem 0 .5rem; }
.legal-content p, .legal-content li { margin-bottom: .75rem; line-height: 1.8; }
.legal-content ul { padding-left: 1.5rem; list-style: disc; }

/* ---- Why choose ---- */
.why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.why-card {
  padding: 2rem; border-radius: var(--radius-lg); background: var(--navy); color: white;
  position: relative; overflow: hidden;
}
.why-card::before {
  content: ''; position: absolute; top: -30px; right: -30px;
  width: 100px; height: 100px; border-radius: 50%;
  background: rgba(255,255,255,.04);
}
.why-card .wc-num { font-size: 3rem; font-weight: 700; color: rgba(255,255,255,.08); line-height: 1; margin-bottom: .5rem; }
.why-card h3 { color: white; margin-bottom: .5rem; }
.why-card p { color: rgba(255,255,255,.7); font-size: .875rem; }

/* ---- Process steps ---- */
.process-steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; position: relative; }
.process-steps::before {
  content: ''; position: absolute; top: 28px; left: 12.5%; right: 12.5%; height: 2px;
  background: linear-gradient(to right, var(--grad-start), var(--grad-end));
  z-index: 0;
}
.process-step { text-align: center; padding: 0 1rem; position: relative; z-index: 1; }
.ps-num {
  width: 56px; height: 56px; border-radius: 50%; background: var(--gradient); color: white;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.1rem;
  margin: 0 auto 1.25rem;
}
.process-step h4 { margin-bottom: .5rem; }
.process-step p { font-size: .85rem; }

/* ---- Animations ---- */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-in { opacity: 0; transition: opacity .6s ease; }
.fade-in.visible { opacity: 1; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .stats-bar { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: repeat(2,1fr); }
  .process-steps { grid-template-columns: repeat(2,1fr); gap: 2rem; }
  .process-steps::before { display: none; }
}

@media (max-width: 768px) {
  .section { padding: 3.5rem 0; }
  .hero-content { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { display: none; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .grid-3.keep-2 { grid-template-columns: repeat(2,1fr); }
  .feature-row { grid-template-columns: 1fr; gap: 2rem; }
  .feature-row.reverse { direction: ltr; }
  .service-hero-card { grid-template-columns: 1fr; gap: 2rem; }
  .team-values { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: repeat(2,1fr); padding: 2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero-stats { gap: 1.5rem; }
}

@media (max-width: 480px) {
  .grid-3.keep-2 { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .cta-actions { flex-direction: column; align-items: center; }
}
