/* ── RESET & VARIABLES ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #0f172a;
  --bg2: #1e293b;
  --primary: #0ea5e9;
  --primary-dark: #0284c7;
  --text: #f1f5f9;
  --text-muted: #94a3b8;
  --glass-bg: rgba(30, 41, 59, 0.55);
  --glass-border: rgba(148, 163, 184, 0.12);
  --radius: 16px;
  --shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 6px;
}

/* ── UTILS ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.alt-bg {
  background: var(--bg2);
}

.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius);
}

.grad-text {
  background: linear-gradient(135deg, #38bdf8, #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(14, 165, 233, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(14, 165, 233, 0.5);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text);
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1.5px solid rgba(148, 163, 184, 0.4);
  transition: var(--transition);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 15px 36px;
  font-size: 1rem;
}

.btn-sm {
  padding: 8px 18px;
  border-radius: 50px;
  background: var(--primary);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-block;
  transition: var(--transition);
}

.btn-sm:hover {
  background: var(--primary-dark);
}

.btn-block {
  width: 100%;
  justify-content: center;
}

/* ── SECTION HEADERS ── */
.sec-header {
  text-align: center;
  margin-bottom: 64px;
}

.sec-badge {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 50px;
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(14, 165, 233, 0.3);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.sec-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}

.sec-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  letter-spacing: 1px;
}

.logo-img {
  height: 48px;
  width: auto;
  display: block;
  /* Since the logo has a white background, we use multiply to make white transparent */
  /* However, on a dark background, multiply makes it invisible. */
  /* Instead, we use a filter to keep the color but remove the white if possible, 
     or just let it be a clean badge. Actually, many premium sites use a contained badge. */
  border-radius: 4px;
}

.nav-links {
  display: flex;
  gap: 32px;
  margin-left: auto;
}

.nav-link {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s;
  border-radius: 2px;
}

.nav-link:hover {
  color: var(--text);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  margin-left: 8px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 24px 80px;
}

#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(ellipse 70% 70% at 20% 50%, rgba(14, 165, 233, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 80% 30%, rgba(99, 102, 241, 0.06) 0%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
  flex: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  border-radius: 50px;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.25);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 28px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  animation: pulse 1.5s infinite;
  flex-shrink: 0;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1)
  }

  50% {
    opacity: 0.5;
    transform: scale(1.3)
  }
}

.hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero-sub {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 520px;
  margin-bottom: 36px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
}

.stat {
  text-align: center;
  padding: 0 28px;
}

.stat:first-child {
  padding-left: 0;
}

.stat .count {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}

.stat sup {
  font-size: 1.1rem;
  color: var(--primary);
  font-weight: 700;
}

.stat small {
  display: block;
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-top: 2px;
}

.stat-div {
  width: 1px;
  height: 40px;
  background: var(--glass-border);
}

/* ── HERO 3D TERMINAL ── */
.hero-3d-wrapper {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-left: 40px;
  height: 540px;
  min-width: 380px;
}

#professionalCanvas {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 0 60px rgba(14, 165, 233, 0.3));
  cursor: grab;
}

#professionalCanvas:active {
  cursor: grabbing;
}

.hero-float-tag {
  position: absolute;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(14, 165, 233, 0.3);
  backdrop-filter: blur(16px);
  padding: 10px 18px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  white-space: nowrap;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.boy-float-tag i {
  color: var(--primary);
}

.bt1 {
  top: 60px;
  right: 10px;
  animation: heroTag 5s ease-in-out infinite;
}

.bt2 {
  bottom: 80px;
  left: 10px;
  animation: heroTag 7s ease-in-out infinite 1s;
}

@keyframes heroTag {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-10px)
  }
}

/* ── ABOUT ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.1) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.about-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.a-card {
  padding: 28px 24px;
  border-radius: var(--radius);
  text-align: center;
  transition: var(--transition);
  cursor: default;
}

.a-card:hover {
  transform: translateY(-6px);
  border-color: rgba(14, 165, 233, 0.3);
}

.a-card i {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 12px;
  display: block;
}

.a-card span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.about-text .sec-badge {
  margin-bottom: 12px;
}

.about-text .sec-title {
  text-align: left;
  margin-bottom: 20px;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.feat-list {
  margin: 28px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feat {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
}

.feat i {
  color: var(--primary);
  font-size: 1rem;
  flex-shrink: 0;
}

/* ── SERVICES ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.svc-card {
  padding: 36px 28px;
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: default;
  position: relative;
  overflow: hidden;
}

.svc-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.03), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.svc-card:hover {
  transform: translateY(-8px);
  border-color: rgba(14, 165, 233, 0.3);
  box-shadow: 0 20px 60px rgba(14, 165, 233, 0.1);
}

.svc-card:hover::before {
  opacity: 1;
}

.svc-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 24px;
  transition: var(--transition);
}

.svc-card:hover .svc-icon {
  transform: scale(1.1) rotate(5deg);
}

.c1 {
  background: rgba(14, 165, 233, 0.15);
  color: #0ea5e9;
}

.c2 {
  background: rgba(168, 85, 247, 0.15);
  color: #a855f7;
}

.c3 {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
}

.c4 {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
}

.c5 {
  background: rgba(236, 72, 153, 0.15);
  color: #ec4899;
}

.c6 {
  background: rgba(99, 102, 241, 0.15);
  color: #6366f1;
}

.svc-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.svc-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.tags span {
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.2);
  color: var(--primary);
  padding: 3px 11px;
  border-radius: 20px;
  font-size: 0.74rem;
  font-weight: 500;
}

.svc-link {
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}

.svc-link:hover {
  gap: 10px;
}

/* ── PORTFOLIO ── */
.port-filter {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.f-btn {
  padding: 8px 22px;
  border-radius: 50px;
  border: 1.5px solid var(--glass-border);
  background: transparent;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.f-btn.active,
.f-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.port-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.port-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.port-bg {
  position: absolute;
  inset: 0;
  transition: transform 0.5s;
}

.port-card:hover .port-bg {
  transform: scale(1.05);
}

.port-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.15);
  z-index: 1;
  transition: var(--transition);
}

.port-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
  z-index: 2;
}

.port-info span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 4px;
}

.port-info h3 {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
}

.port-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s;
  z-index: 3;
  padding: 24px;
}

.port-overlay-content {
  text-align: center;
}

.port-overlay span {
  font-size: 0.75rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 8px;
}

.port-overlay h3 {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.port-overlay p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 20px;
}

.port-card:hover .port-overlay {
  opacity: 1;
}

.port-card:hover .port-icon {
  opacity: 0;
}

.port-card.hidden {
  display: none;
}

/* ── PROCESS ── */
.process-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

.proc-step {
  flex: 1;
  text-align: center;
  padding: 28px 20px;
  position: relative;
}

.step-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: rgba(14, 165, 233, 0.12);
  line-height: 1;
  margin-bottom: 12px;
}

.step-ico {
  width: 70px;
  height: 70px;
  border-radius: 20px;
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(14, 165, 233, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
  margin: 0 auto 20px;
  transition: var(--transition);
}

.proc-step:hover .step-ico {
  background: var(--primary);
  color: #fff;
  transform: scale(1.1);
}

.proc-step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.proc-step p {
  color: var(--text-muted);
  font-size: 0.88rem;
  max-width: 200px;
  margin: 0 auto;
}

.proc-conn {
  flex: 0 0 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), rgba(14, 165, 233, 0.1));
  margin-top: 60px;
  position: relative;
}

.proc-conn::after {
  content: '▶';
  position: absolute;
  right: -8px;
  top: -9px;
  color: rgba(14, 165, 233, 0.4);
  font-size: 0.9rem;
}

/* ── TESTIMONIALS ── */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.testi-card {
  padding: 36px;
  border-radius: var(--radius);
  transition: var(--transition);
  position: relative;
}

.testi-card::before {
  content: '❝';
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 3rem;
  color: rgba(14, 165, 233, 0.1);
  font-family: serif;
}

.testi-card:hover {
  transform: translateY(-6px);
  border-color: rgba(14, 165, 233, 0.3);
}

.stars {
  color: #f59e0b;
  font-size: 0.85rem;
  margin-bottom: 16px;
  display: flex;
  gap: 3px;
}

.testi-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 24px;
  font-style: italic;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.t-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
  flex-shrink: 0;
}

.testi-author h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 3px;
}

.testi-author span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── PRICING ── */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.price-card {
  padding: 40px 32px;
  border-radius: var(--radius);
  transition: var(--transition);
  position: relative;
}

.price-card:hover {
  transform: translateY(-8px);
  border-color: rgba(14, 165, 233, 0.3);
}

.price-card.popular {
  border-color: var(--primary);
  box-shadow: 0 0 40px rgba(14, 165, 233, 0.15);
}

.pop-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  padding: 5px 18px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.price-head {
  text-align: center;
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--glass-border);
}

.price-head h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.price-val {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}

.price-val sup {
  font-size: 1.2rem;
  vertical-align: top;
  margin-top: 8px;
}

.price-val sub {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-family: 'Inter', sans-serif;
  font-weight: 400;
}

.price-val.custom {
  font-size: 2rem;
}

.price-head p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.price-feats {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 32px;
}

.price-feats li {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 0.88rem;
}

.price-feats li.on i {
  color: #22c55e;
}

.price-feats li.off {
  opacity: 0.45;
}

.price-feats li.off i {
  color: #ef4444;
}

/* ── CONTACT ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  align-items: start;
}

.contact-left {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.c-info-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.c-ico {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(14, 165, 233, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.c-info-item h4 {
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.c-info-item span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.c-social {
  display: flex;
  gap: 12px;
}

.soc-btn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1rem;
  transition: var(--transition);
}

.soc-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-3px);
}

.contact-form-box {
  padding: 40px;
  border-radius: var(--radius);
}

.f-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.f-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.f-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.f-group input,
.f-group select,
.f-group textarea {
  background: rgba(15, 23, 42, 0.6);
  border: 1.5px solid var(--glass-border);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--text);
  font-size: 0.9rem;
  font-family: inherit;
  transition: border-color 0.2s;
  resize: none;
  -webkit-appearance: none;
  appearance: none;

}

.f-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.f-group input::placeholder,
.f-group textarea::placeholder {
  color: #475569;
}

.f-group input:focus,
.f-group select:focus,
.f-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.f-success {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 12px;
  margin-top: 24px;
  animation: fadeIn 0.4s ease-out;
}

.success-inner {
  text-align: center;
}

.success-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 12px;
}

.success-header i {
  font-size: 1.4rem;
  color: #10b981;
}

.success-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #10b981;
  margin: 0;
}

.success-inner p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ── FOOTER ── */
.footer {
  background: var(--bg2);
  border-top: 1px solid var(--glass-border);
  padding: 80px 0 0;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 48px;
  padding-bottom: 64px;
}

.foot-brand .nav-logo {
  margin-bottom: 16px;
  display: inline-flex;
}

.foot-brand p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.foot-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text);
}

.foot-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.foot-col ul li a {
  color: var(--text-muted);
  font-size: 0.88rem;
  transition: color 0.2s;
}

.foot-col ul li a:hover {
  color: var(--primary);
}

.foot-col p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 16px;
}

.news-form {
  display: flex;
  gap: 8px;
}

.news-form input {
  flex: 1;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1.5px solid var(--glass-border);
  background: rgba(15, 23, 42, 0.6);
  color: var(--text);
  font-size: 0.85rem;
}

.news-form input:focus {
  outline: none;
  border-color: var(--primary);
}

.news-form .btn-primary {
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 0.85rem;
  white-space: nowrap;
}

.foot-bottom {
  border-top: 1px solid var(--glass-border);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.foot-bottom p {
  font-size: 0.84rem;
  color: var(--text-muted);
}

.foot-bottom i {
  color: #ef4444;
}

.foot-bottom div {
  display: flex;
  gap: 24px;
}

.foot-bottom div a {
  font-size: 0.84rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.foot-bottom div a:hover {
  color: var(--primary);
}

/* ── SCROLL TOP ── */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 500;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(14, 165, 233, 0.4);
}

.scroll-top.show {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  transform: translateY(-4px);
}

/* ── SCROLL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .port-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .foot-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 140px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-btns {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-mockup {
    padding-left: 0;
    margin-top: 40px;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-text .sec-title {
    text-align: center;
  }

  .testi-grid {
    grid-template-columns: 1fr;
  }

  .price-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .process-row {
    flex-direction: column;
    align-items: center;
  }

  .proc-conn {
    width: 2px;
    height: 30px;
    background: linear-gradient(180deg, var(--primary), rgba(14, 165, 233, 0.1));
    margin: 0;
  }

  .proc-conn::after {
    display: none;
  }
}

@media (max-width: 768px) {

  .nav-links,
  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.97);
    backdrop-filter: blur(20px);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--glass-border);
  }

  .nav-links.open+.nav-cta {
    display: none;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .port-grid {
    grid-template-columns: 1fr;
  }

  .foot-grid {
    grid-template-columns: 1fr;
  }

  .foot-bottom {
    flex-direction: column;
    text-align: center;
  }

  .f-row {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 16px;
  }

  .stat-div {
    display: none;
  }
}