/* ========================================
   NOVACODE — Dijital Ajans
   Mavi Güven Paleti — Yeniden Tasarım
   ======================================== */

/* ---- Tokens ---- */
:root {
  --bg-base: #040a18;
  --bg-raised: #081428;
  --bg-card: #0c1a32;
  --bg-card-hover: #102040;
  --bg-surface: #0f1f3d;

  --blue-900: #1e3a8a;
  --blue-800: #1e40af;
  --blue-700: #1d4ed8;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --blue-400: #60a5fa;
  --blue-300: #93bbfd;

  --sky-500: #0ea5e9;
  --cyan-500: #06b6d4;

  --amber-500: #f59e0b;
  --amber-400: #fbbf24;
  --amber-600: #d97706;

  --text-heading: #e8edf5;
  --text-body: #8899b4;
  --text-muted: #566a88;

  --border: rgba(37, 99, 235, 0.12);
  --border-light: rgba(37, 99, 235, 0.08);

  --font: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --section-py: clamp(5rem, 10vw, 8rem);
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur: 0.3s;

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;
}

/* ---- Reset ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg-base);
  color: var(--text-body);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }

/* ---- Container ---- */
.container { max-width: 1140px; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2rem); }

/* ---- Utilities ---- */
.text-blue { color: var(--blue-400); }

/* ---- Section Intro ---- */
.section-intro { margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.section-intro--center { text-align: center; }
.section-intro--center .section-subtitle { max-width: 480px; margin: 0 auto; }

.section-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--blue-400);
  margin-bottom: 12px;
}

.section-intro h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-body);
  margin-top: 12px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--r-md);
  transition: all var(--dur) var(--ease-out);
  white-space: nowrap;
}

.btn-accent {
  background: var(--amber-500);
  color: #0a0a0a;
  box-shadow: 0 2px 16px rgba(245, 158, 11, 0.25);
}
.btn-accent:hover {
  background: var(--amber-400);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(245, 158, 11, 0.35);
}

.btn-ghost {
  color: var(--text-heading);
  border: 1px solid rgba(255,255,255,0.12);
  background: transparent;
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.2);
}

.btn-lg { padding: 16px 32px; font-size: 0.95rem; }
.btn-full { width: 100%; justify-content: center; }

/* ---- Reveal ---- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   NAVBAR
   ========================================= */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 18px 0;
  transition: all var(--dur) var(--ease);
}
.navbar.scrolled {
  padding: 12px 0;
  background: rgba(4, 10, 24, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; }

.nav-logo { display: flex; align-items: center; gap: 10px; z-index: 1001; }
.logo-icon {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  background: var(--blue-600);
  border-radius: var(--r-sm);
  color: #fff;
}
.logo-text { font-size: 1.2rem; font-weight: 700; color: var(--text-heading); letter-spacing: -0.01em; }
.logo-accent { color: var(--blue-400); }

.nav-links { display: flex; gap: 28px; }
.nav-links a {
  font-size: 0.88rem; font-weight: 500;
  color: var(--text-body);
  transition: color var(--dur);
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute;
  bottom: -4px; left: 0; width: 0; height: 2px;
  background: var(--blue-500);
  transition: width var(--dur) var(--ease-out);
}
.nav-links a:hover { color: var(--text-heading); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  padding: 9px 20px; font-size: 0.82rem; font-weight: 600;
  background: var(--blue-600); color: #fff;
  border-radius: var(--r-sm);
  transition: all var(--dur) var(--ease-out);
}
.nav-cta:hover { background: var(--blue-500); transform: translateY(-1px); }

.hamburger { display: none; flex-direction: column; gap: 5px; z-index: 1001; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text-heading); border-radius: 2px; transition: all var(--dur); transform-origin: center; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* =========================================
   HERO
   ========================================= */
.hero {
  position: relative;
  padding: clamp(7rem, 14vw, 10rem) 0 clamp(4rem, 8vw, 6rem);
  overflow: hidden;
}

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

.hero-glow {
  position: absolute; border-radius: 50%;
  filter: blur(100px); opacity: 0.18;
}
.hero-glow-1 {
  width: 600px; height: 600px;
  background: var(--blue-600);
  top: -20%; right: 5%;
  animation: glowDrift 14s ease-in-out infinite;
}
.hero-glow-2 {
  width: 400px; height: 400px;
  background: var(--sky-500);
  bottom: -10%; left: 10%;
  animation: glowDrift 14s ease-in-out infinite reverse;
}

@keyframes glowDrift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -20px); }
}

.hero-line {
  position: absolute;
  width: 1px;
  height: 120%;
  top: -10%;
  background: linear-gradient(180deg, transparent, var(--border), transparent);
  opacity: 0.5;
}
.hero-line-1 { left: 20%; }
.hero-line-2 { left: 50%; }
.hero-line-3 { left: 80%; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative; z-index: 1;
}

.hero-content { max-width: 520px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.82rem; font-weight: 500;
  color: var(--blue-300);
  padding: 7px 16px;
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 100px;
  background: rgba(59, 130, 246, 0.06);
  margin-bottom: 1.5rem;
}
.badge-pulse {
  width: 8px; height: 8px;
  background: var(--blue-400);
  border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; } 50% { opacity: 0.3; }
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}
.hero-highlight {
  color: var(--blue-400);
}

.hero-subtitle {
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 440px;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 2.5rem; }

.hero-trust { display: flex; align-items: center; gap: 14px; }
.trust-avatars { display: flex; }
.trust-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; font-weight: 700; color: #fff;
  border: 2px solid var(--bg-base);
  margin-left: -8px;
}
.trust-avatar:first-child { margin-left: 0; }
.trust-info strong { display: block; font-size: 0.85rem; color: var(--text-heading); font-weight: 700; }
.trust-info span { font-size: 0.78rem; color: var(--text-muted); }

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

.visual-comp { position: relative; width: 380px; height: 380px; }

.v-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid var(--border);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.v-ring-1 { width: 220px; height: 220px; border-color: rgba(37, 99, 235, 0.15); }
.v-ring-2 { width: 300px; height: 300px; border-color: rgba(37, 99, 235, 0.1); }
.v-ring-3 { width: 380px; height: 380px; border-color: rgba(37, 99, 235, 0.06); }



.v-card {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 14px 18px;
  display: flex; align-items: center; gap: 12px;
  color: var(--text-heading);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  white-space: nowrap;
}
.v-card svg { color: var(--blue-400); flex-shrink: 0; }
.v-card span { font-size: 0.75rem; color: var(--text-muted); }
.v-card strong { font-size: 1rem; font-weight: 700; color: var(--blue-300); }

.v-card-1 {
  top: 15%; right: -10%;
  flex-direction: row;
  gap: 10px;
  animation-delay: 0s;
}
.v-card-1 span, .v-card-1 strong { display: block; }
.v-card-1 > div { display: flex; flex-direction: column; }

.v-card-2 {
  bottom: 20%; left: -5%;
  animation-delay: -1.7s;
}

.v-card-3 {
  top: 55%; right: 5%;
  animation-delay: -3.3s;
}

/* Wrap text inside v-cards properly */
.v-card-1, .v-card-2, .v-card-3 {
  flex-wrap: nowrap;
}
.v-card > span + strong,
.v-card > strong {
  margin-left: auto;
}



/* =========================================
   SERVICES
   ========================================= */
.services { padding: var(--section-py) 0; }

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

.service-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  transition: all var(--dur) var(--ease-out);
  overflow: hidden;
}

.card-accent {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-600), var(--blue-400));
  opacity: 0;
  transition: opacity var(--dur);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.2);
  background: var(--bg-card-hover);
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
}
.service-card:hover .card-accent { opacity: 1; }

.card-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(37, 99, 235, 0.08);
  border-radius: var(--r-sm);
  color: var(--blue-400);
  margin-bottom: 18px;
  transition: all var(--dur);
}
.service-card:hover .card-icon {
  background: rgba(37, 99, 235, 0.14);
}

.service-card h3 {
  font-size: 1.05rem; font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 8px;
}
.service-card p {
  font-size: 0.87rem; line-height: 1.7;
  margin-bottom: 16px;
}

.card-link {
  font-size: 0.82rem; font-weight: 600;
  color: var(--blue-400);
  transition: color var(--dur);
}
.card-link:hover { color: var(--blue-300); }

/* =========================================
   STATS
   ========================================= */
.stats {
  padding: clamp(2rem, 4vw, 3rem) 0;
}

.stats-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 36px 48px;
  background: var(--bg-raised);
  border: 1px solid var(--border-light);
  border-radius: var(--r-xl);
}

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

.stat-number {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1;
}
.stat-plus {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--blue-400);
}
.stat-label {
  display: block; font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 6px; font-weight: 500;
}

.stat-divider {
  width: 1px; height: 48px;
  background: var(--border);
  flex-shrink: 0;
}

/* =========================================
   PORTFOLIO
   ========================================= */
.portfolio { padding: var(--section-py) 0; }

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

.portfolio-item {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  transition: all var(--dur) var(--ease-out);
}
.portfolio-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
  border-color: rgba(37, 99, 235, 0.2);
}

.portfolio-item--wide {
  grid-column: span 2;
}

.portfolio-preview {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--grad-from), var(--grad-to));
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.portfolio-item--wide .portfolio-preview { aspect-ratio: 21 / 9; }
.portfolio-item--tall .portfolio-preview { aspect-ratio: 3 / 4; }

.portfolio-mockup {
  width: 80%; max-width: 340px;
  background: rgba(0,0,0,0.25);
  border-radius: 6px;
  overflow: hidden;
  transition: transform var(--dur) var(--ease-out);
}
.portfolio-image {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
  transition: transform var(--dur) var(--ease-out);
}
.portfolio-mobile-mockup {
  height: 90%;
  width: auto;
  border-radius: 12px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4), 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform var(--dur) var(--ease-out);
}

/* App Store Badge & Icons */
.portfolio-preview--app {
  flex-direction: column;
  gap: 16px;
}
.app-icon {
  width: 100px;
  height: 100px;
  border-radius: 22.5%; /* standard iOS curvature */
  box-shadow: 0 12px 24px rgba(0,0,0,0.3);
  transition: transform var(--dur) var(--ease-out);
}
.app-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,0,0,0.85);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.15);
  transition: transform var(--dur) var(--ease-out);
}

/* Browser Mockup */
.browser-mockup {
  width: 90%;
  max-height: 85%;
  aspect-ratio: 16 / 9;
  display: flex;
  flex-direction: column;
  background: rgba(10, 10, 10, 0.8);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform var(--dur) var(--ease-out);
}
.browser-content {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
  display: block;
}

.portfolio-item:hover .portfolio-mockup,
.portfolio-item:hover .portfolio-image,
.portfolio-item:hover .portfolio-mobile-mockup,
.portfolio-item:hover .browser-mockup,
.portfolio-item:hover .app-icon { transform: scale(1.03) translateY(-4px); }
.portfolio-item:hover .app-store-badge { transform: translateY(-2px); }

.mockup-bar {
  display: flex; gap: 4px; padding: 7px 10px;
  background: rgba(0,0,0,0.3);
}
.mockup-bar span {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,0.2);
}

.mockup-body { padding: 8px; }
.mockup-nav-line { height: 5px; width: 55%; background: rgba(255,255,255,0.1); border-radius: 3px; margin-bottom: 8px; }
.mockup-hero-block { height: 24px; background: rgba(255,255,255,0.07); border-radius: 4px; margin-bottom: 8px; }
.mockup-cols { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 5px; }
.mockup-cols div { height: 16px; background: rgba(255,255,255,0.05); border-radius: 3px; }

.portfolio-meta { padding: 18px 22px; }
.portfolio-cat {
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--blue-400);
  text-transform: uppercase;
}
.portfolio-meta h3 { font-size: 1rem; font-weight: 700; color: var(--text-heading); margin: 4px 0 2px; }
.portfolio-meta p { font-size: 0.82rem; }

/* =========================================
   PROCESS
   ========================================= */
.process {
  padding: var(--section-py) 0;
  background: var(--bg-raised);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}

.process-step {
  text-align: center;
  padding: 28px 16px;
  position: relative;
}

.step-num {
  font-size: 2rem; font-weight: 800;
  color: rgba(37, 99, 235, 0.15);
  line-height: 1;
  margin-bottom: 14px;
  transition: color var(--dur);
}
.process-step:hover .step-num { color: rgba(37, 99, 235, 0.3); }

.step-line {
  width: 32px; height: 3px;
  background: var(--blue-600);
  border-radius: 2px;
  margin: 0 auto 16px;
}

.process-step h3 {
  font-size: 0.98rem; font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 8px;
}
.process-step p { font-size: 0.84rem; line-height: 1.7; }

/* =========================================
   TESTIMONIALS
   ========================================= */
.testimonials { padding: var(--section-py) 0; }

.testimonials-carousel {
  max-width: 640px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  transition: transform 0.5s var(--ease-out);
}

.testimonial-card {
  min-width: 100%;
  padding: 36px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
}

.quote-mark {
  font-size: 4rem; font-weight: 900;
  color: var(--blue-600);
  line-height: 0.8;
  margin-bottom: 8px;
  opacity: 0.5;
}

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

.testimonial-footer { display: flex; align-items: center; gap: 14px; }

.t-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700; color: #fff;
  flex-shrink: 0;
}
.testimonial-footer strong { display: block; font-size: 0.9rem; color: var(--text-heading); font-weight: 600; }
.testimonial-footer span { font-size: 0.78rem; color: var(--text-muted); }

.carousel-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 24px; }

.carousel-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-body);
  transition: all var(--dur);
}
.carousel-btn:hover { background: rgba(255,255,255,0.05); color: var(--text-heading); }

.carousel-dots { display: flex; gap: 6px; }
.dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,0.12);
  transition: all var(--dur); cursor: pointer;
}
.dot.active { background: var(--blue-500); width: 20px; border-radius: 4px; }

/* =========================================
   CTA BAND
   ========================================= */
.cta-band {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-700) 100%);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 50%, rgba(59,130,246,0.2), transparent 60%);
}

.cta-band-content {
  text-align: center;
  position: relative; z-index: 1;
}
.cta-band-content h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.cta-band-content p {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  max-width: 480px;
  margin: 0 auto 28px;
}

/* =========================================
   CONTACT
   ========================================= */
.contact { padding: var(--section-py) 0; }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.contact-left h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800; color: var(--text-heading);
  line-height: 1.15; letter-spacing: -0.025em;
  margin-bottom: 12px;
}
.contact-desc { font-size: 0.92rem; margin-bottom: 28px; max-width: 380px; }

.contact-cards { display: flex; flex-direction: column; gap: 12px; }

.contact-card {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--r-md);
  transition: all var(--dur);
}
.contact-card:hover { background: var(--bg-card-hover); transform: translateX(4px); }

.cc-icon {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(37, 99, 235, 0.08);
  border-radius: var(--r-sm);
  color: var(--blue-400);
  flex-shrink: 0;
}
.cc-icon--green { background: rgba(37, 211, 102, 0.1); color: #25d366; }

.contact-card span { font-size: 0.75rem; color: var(--text-muted); display: block; }
.contact-card a, .contact-card strong { font-size: 0.88rem; color: var(--text-heading); font-weight: 600; transition: color var(--dur); }
.contact-card a:hover { color: var(--blue-400); }

/* Contact Form */
.contact-form {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--r-lg);
}
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block; font-size: 0.82rem; font-weight: 600;
  color: var(--text-body); margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--bg-base);
  font-size: 0.88rem;
  transition: all var(--dur);
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23566a88' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px;
}
.form-group select option { background: var(--bg-card); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* Form success */
.form-success { text-align: center; padding: 48px 20px; }
.form-success-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: rgba(34,197,94,0.1); color: #22c55e;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; font-size: 1.8rem;
}
.form-success h3 { font-size: 1.2rem; font-weight: 700; color: var(--text-heading); margin-bottom: 6px; }
.form-success p { font-size: 0.88rem; }

/* =========================================
   WHATSAPP FLOAT
   ========================================= */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 900;
  width: 52px; height: 52px;
  background: #25d366; color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
  transition: all var(--dur) var(--ease-out);
  opacity: 0; transform: scale(0);
}
.wa-float.visible { opacity: 1; transform: scale(1); }
.wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45); }

/* =========================================
   FOOTER
   ========================================= */
.footer {
  padding: 48px 0 0;
  background: var(--bg-raised);
  border-top: 1px solid var(--border-light);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
}

.footer-brand p { font-size: 0.86rem; margin-top: 14px; max-width: 260px; line-height: 1.7; }

.footer-socials { display: flex; gap: 10px; margin-top: 16px; }
.footer-socials a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: all var(--dur);
}
.footer-socials a:hover { color: var(--blue-400); border-color: var(--blue-600); background: rgba(37,99,235,0.06); }

.footer-col h4 { font-size: 0.85rem; font-weight: 700; color: var(--text-heading); margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col li, .footer-col a { font-size: 0.84rem; transition: color var(--dur); }
.footer-col a:hover { color: var(--blue-400); }

.footer-bottom {
  border-top: 1px solid var(--border-light);
  padding: 18px 0;
  text-align: center;
}
.footer-bottom p { font-size: 0.78rem; color: var(--text-muted); }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { display: none; }
  .hero-content { max-width: 560px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .portfolio-item--wide { grid-column: span 1; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .nav-links.active {
    display: flex; flex-direction: column;
    position: fixed; inset: 0;
    background: rgba(4, 10, 24, 0.97);
    backdrop-filter: blur(16px);
    align-items: center; justify-content: center;
    gap: 24px; z-index: 1000;
  }
  .nav-links.active a { font-size: 1.2rem; color: var(--text-heading); }

  .hero { padding-top: 6rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }

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

  .stats-bar {
    flex-direction: column; gap: 24px;
    padding: 28px;
  }
  .stat-divider { width: 40px; height: 1px; }

  .portfolio-grid { grid-template-columns: 1fr; }

  .process-steps { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px 18px; }

  .footer-top { grid-template-columns: 1fr; }
}

/* ---- Reduced Motion ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}


