/* ============================================
   UTILWARE SOLUTIONS — Main Stylesheet
   Premium Software Consulting Design
   ============================================ */

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

:root {
  /* Colors */
  --dark-900: #0B1121;
  --dark-800: #131B2E;
  --dark-700: #1E293B;
  --dark-600: #334155;
  --light-100: #F8FAFC;
  --light-200: #E2E8F0;
  --light-300: #CBD5E1;
  --light-400: #94A3B8;
  --accent: #3B82F6;
  --accent-hover: #2563EB;
  --accent-glow: rgba(59, 130, 246, 0.25);
  --accent-subtle: rgba(59, 130, 246, 0.08);
  --green: #10B981;
  --green-subtle: rgba(16, 185, 129, 0.1);
  --gold: #F59E0B;
  --white: #FFFFFF;
  --black: #000000;

  /* Typography */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Spacing */
  --section-py: clamp(80px, 10vw, 120px);
  --container: min(1200px, 90vw);
  --gap: clamp(16px, 2vw, 24px);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --duration: 0.3s;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  color: var(--light-200);
  background: var(--dark-900);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol { list-style: none; }

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ---------- Utilities ---------- */
.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  padding: var(--section-py) 0;
}

.section--light {
  background: var(--light-100);
  color: var(--dark-700);
}

.section--dark {
  background: var(--dark-900);
}

.section--gradient {
  background: linear-gradient(180deg, var(--dark-800) 0%, var(--dark-900) 100%);
}

.text-accent { color: var(--accent); }
.text-green { color: var(--green); }
.text-muted { color: var(--light-400); }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 16px;
}

.kicker::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.section--light .kicker { color: var(--accent); }

.section-header {
  max-width: 640px;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.section-header p {
  margin-top: 16px;
  font-size: 1.125rem;
  color: var(--light-400);
}

.section--light .section-header p {
  color: var(--dark-600);
}

.section-header--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all var(--duration) var(--ease);
  white-space: nowrap;
}

.btn--primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 0 0 0 var(--accent-glow);
}

.btn--primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 8px 32px var(--accent-glow);
  transform: translateY(-2px);
}

.btn--outline {
  border: 1.5px solid var(--light-400);
  color: var(--light-200);
}

.btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.section--light .btn--outline {
  border-color: var(--dark-600);
  color: var(--dark-700);
}

.section--light .btn--outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn--ghost {
  color: var(--accent);
  padding: 14px 0;
}

.btn--ghost:hover {
  gap: 12px;
}

.btn--ghost .arrow {
  transition: transform var(--duration) var(--ease);
}

.btn--ghost:hover .arrow {
  transform: translateX(4px);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

/* ---------- Header / Navigation ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all var(--duration) var(--ease);
}

.header.scrolled {
  padding: 12px 0;
  background: rgba(11, 17, 33, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: var(--container);
  margin: 0 auto;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  z-index: 1001;
}

.header__logo img {
  height: 32px;
  width: 32px;
}

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

/* Footer logo image */
.footer__logo-img {
  display: inline-block;
}

.footer__logo-img img {
  height: 48px;
  width: auto;
}

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

.nav__link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--light-300);
  transition: color var(--duration) var(--ease);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--duration) var(--ease);
}

.nav__link:hover,
.nav__link.active {
  color: var(--white);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

.nav__cta {
  margin-left: 12px;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  z-index: 1001;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--duration) var(--ease);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

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

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

.hero__gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 40%, rgba(59, 130, 246, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 80% 60%, rgba(16, 185, 129, 0.08) 0%, transparent 70%),
    linear-gradient(180deg, var(--dark-900) 0%, rgba(11, 17, 33, 0.95) 100%);
}

.hero__grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 20%, transparent 70%);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero__text {
  max-width: 600px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--accent-subtle);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 50px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 24px;
}

.hero__badge .dot {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  color: var(--white);
  margin-bottom: 24px;
}

.hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, #818CF8 50%, var(--green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: 1.1875rem;
  color: var(--light-400);
  line-height: 1.7;
  max-width: 520px;
}

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Device Phone Mockup — Portrait (tall & narrow, iOS style) */
.device-phone {
  position: relative;
  width: 240px;
  background: #1a1a2e;
  border-radius: 40px;
  padding: 14px 12px;
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.08),
    0 25px 80px rgba(0, 0, 0, 0.6),
    0 0 100px rgba(59, 130, 246, 0.1);
}

.device-phone__notch {
  width: 80px;
  height: 24px;
  background: #1a1a2e;
  border-radius: 0 0 16px 16px;
  margin: -14px auto 8px;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 0 0px #1a1a2e;
}

/* Camera dot inside notch */
.device-phone__notch::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  background: #2a2a40;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: inset 0 0 2px rgba(59, 130, 246, 0.3);
}

.device-phone__screen {
  border-radius: 28px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 9 / 19;
}

.device-phone__screen video,
.device-phone__screen img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* iOS home indicator bar */
.device-phone__home-bar {
  width: 100px;
  height: 4px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  margin: 8px auto 2px;
}

/* Phone in process section (light bg variant) */
.device-phone--process {
  width: 220px;
  background: #1e293b;
  box-shadow:
    0 0 0 2px rgba(0, 0, 0, 0.1),
    0 25px 80px rgba(0, 0, 0, 0.2);
}

/* Floating Tablet Mockup — Landscape (wide & short) */
.device-panel {
  position: absolute;
  right: -60px;
  bottom: -20px;
  width: 280px;
  background: #1a1a2e;
  border-radius: 20px;
  padding: 10px;
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.06),
    0 20px 60px rgba(0, 0, 0, 0.5);
  transform: rotate(3deg);
  z-index: 2;
}

.device-panel__screen {
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 16 / 9;
}

.device-panel__screen video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hero__stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero__stat-value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--white);
}

.hero__stat-label {
  font-size: 0.8125rem;
  color: var(--light-400);
  margin-top: 4px;
}

/* ---------- Trust Bar ---------- */
.trust-bar {
  padding: 48px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(19, 27, 46, 0.5);
}

.trust-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-bar__label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--light-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.trust-bar__icons {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
}

.trust-bar__icon {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--light-300);
  opacity: 0.5;
  transition: opacity var(--duration) var(--ease);
}

.trust-bar__icon:hover {
  opacity: 1;
}

.trust-bar__icon i {
  font-size: 1.5rem;
}

/* ---------- Services / Features ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.service-card {
  position: relative;
  padding: 40px 32px;
  background: var(--dark-800);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  transition: all 0.4s var(--ease);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: block;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--green) 100%);
  opacity: 0;
  transition: opacity var(--duration) var(--ease);
}

.service-card:hover {
  border-color: rgba(59, 130, 246, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

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

.service-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-subtle);
  border-radius: var(--radius);
  margin-bottom: 24px;
  font-size: 1.25rem;
  color: var(--accent);
  transition: all var(--duration) var(--ease);
}

.service-card:hover .service-card__icon {
  background: var(--accent);
  color: var(--white);
}

.service-card h3 {
  color: var(--white);
  margin-bottom: 12px;
}

.service-card p {
  color: var(--light-400);
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* Light variant */
.section--light .service-card {
  background: var(--white);
  border-color: rgba(0, 0, 0, 0.06);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.section--light .service-card:hover {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: rgba(59, 130, 246, 0.15);
}

.section--light .service-card h3 {
  color: var(--dark-700);
}

.section--light .service-card p {
  color: var(--dark-600);
}

/* ---------- Process Section ---------- */
.process-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 60px;
  align-items: start;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.process-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.process-step__number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-subtle);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
}

.process-step h3 {
  color: var(--dark-700);
  margin-bottom: 6px;
}

.process-step p {
  color: var(--dark-600);
  font-size: 0.9375rem;
}

.process-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-visual__line {
  position: absolute;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent) 0%, var(--green) 100%);
  opacity: 0.2;
  border-radius: 2px;
}

/* Legacy phone style removed — now using .device-phone--process */

/* ---------- About Section ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about__image-wrapper {
  position: relative;
}

.about__image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.about__image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.about__image-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 180px;
  height: 180px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--green) 100%);
  border-radius: var(--radius-xl);
  z-index: -1;
  opacity: 0.15;
}

.about__text p {
  font-size: 1.0625rem;
  margin-bottom: 32px;
}

.about__values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}

.about__value {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.about__value-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-subtle);
  border-radius: 10px;
  color: var(--accent);
  font-size: 1.1rem;
}

.about__value h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.about__value p {
  font-size: 0.875rem;
  color: var(--light-400);
  margin-bottom: 0;
}

/* ---------- Services Detail ---------- */
.services-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.service-detail-card {
  padding: 48px 40px;
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-lg);
  transition: all 0.4s var(--ease);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  text-decoration: none;
  color: inherit;
  display: block;
}

.service-detail-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

.service-detail-card__icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-subtle);
  border-radius: 16px;
  margin-bottom: 24px;
  font-size: 1.5rem;
  color: var(--accent);
}

.service-detail-card h3 {
  color: var(--dark-700);
  margin-bottom: 12px;
  font-size: 1.375rem;
}

.service-detail-card p {
  color: var(--dark-600);
  line-height: 1.7;
}

/* ---------- Testimonials ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
}

.testimonial-card {
  padding: 40px;
  background: var(--dark-800);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  transition: all 0.4s var(--ease);
}

.testimonial-card:hover {
  border-color: rgba(59, 130, 246, 0.15);
  transform: translateY(-2px);
}

.testimonial-card__stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
  color: var(--gold);
  font-size: 0.875rem;
}

.testimonial-card__text {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--light-200);
  margin-bottom: 24px;
  font-style: italic;
}

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

.testimonial-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--dark-700);
}

.testimonial-card__name {
  font-weight: 700;
  color: var(--white);
  font-size: 0.9375rem;
}

.testimonial-card__role {
  font-size: 0.8125rem;
  color: var(--light-400);
  display: flex;
  align-items: center;
  gap: 6px;
}

.testimonial-card__role .verified {
  color: var(--green);
}

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

.faq-item {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--duration) var(--ease);
}

.faq-item:hover {
  border-color: rgba(59, 130, 246, 0.15);
}

.faq-item.active {
  border-color: rgba(59, 130, 246, 0.2);
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.06);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  width: 100%;
  text-align: left;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--dark-700);
  cursor: pointer;
  background: transparent;
}

.faq-question:hover {
  color: var(--accent);
}

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent-subtle);
  color: var(--accent);
  font-size: 1rem;
  transition: transform var(--duration) var(--ease);
}

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

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

.faq-answer__inner {
  padding: 0 24px 20px;
  color: var(--dark-600);
  line-height: 1.7;
}

/* ---------- CTA Section ---------- */
.cta-section {
  position: relative;
  padding: var(--section-py) 0;
  overflow: hidden;
}

.cta-section__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent) 0%, #1D4ED8 50%, #7C3AED 100%);
}

.cta-section__pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
}

.cta-section__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 20px;
}

.cta-section p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 36px;
}

.cta-section .btn--primary {
  background: var(--white);
  color: var(--accent);
}

.cta-section .btn--primary:hover {
  background: var(--light-100);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.cta-section .btn--outline {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
}

.cta-section .btn--outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
}

/* ---------- Team Section ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}

.team-member {
  text-align: center;
}

.team-member__photo {
  width: 120px;
  height: 120px;
  margin: 0 auto 16px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(59, 130, 246, 0.2);
  transition: border-color var(--duration) var(--ease);
}

.team-member:hover .team-member__photo {
  border-color: var(--accent);
}

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

.team-member__name {
  font-weight: 700;
  color: var(--white);
  font-size: 1rem;
}

.team-member__role {
  font-size: 0.8125rem;
  color: var(--light-400);
  margin-top: 4px;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--dark-800);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding: 80px 0 48px;
}

.footer__brand p {
  color: var(--light-400);
  font-size: 0.9375rem;
  margin-top: 12px;
  max-width: 280px;
}

.footer__social {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.footer__social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--light-400);
  font-size: 1rem;
  transition: all var(--duration) var(--ease);
}

.footer__social-link:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
}

.footer__col h4 {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
  margin-bottom: 20px;
}

.footer__col a {
  display: block;
  font-size: 0.9375rem;
  color: var(--light-400);
  padding: 6px 0;
  transition: color var(--duration) var(--ease);
}

.footer__col a:hover {
  color: var(--accent);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.8125rem;
  color: var(--light-400);
}

.footer__bottom a {
  color: var(--accent);
  transition: color var(--duration) var(--ease);
}

.footer__bottom a:hover {
  color: var(--accent-hover);
}

/* ---------- Contact Page ---------- */
.contact-hero {
  padding-top: 140px;
  padding-bottom: 60px;
  background: var(--dark-900);
  position: relative;
}

.contact-hero__gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 30% 30%, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
}

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

.contact-form {
  background: var(--white);
  padding: 48px;
  border-radius: var(--radius-xl);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

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

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dark-700);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.9375rem;
  color: var(--dark-700);
  background: var(--light-100);
  transition: all var(--duration) var(--ease);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
  background: var(--white);
}

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

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

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

.contact-info-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px;
  background: var(--dark-800);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
}

.contact-info-card__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-subtle);
  border-radius: var(--radius);
  color: var(--accent);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-info-card h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.contact-info-card p {
  font-size: 0.875rem;
  color: var(--light-400);
}

/* ---------- Legal Pages (Privacy, Terms) ---------- */
.legal-content {
  padding-top: 140px;
  padding-bottom: 80px;
}

.legal-content .container {
  max-width: 800px;
}

.legal-content h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 40px;
}

.legal-content h2 {
  font-size: 1.375rem;
  color: var(--white);
  margin-top: 40px;
  margin-bottom: 16px;
}

.legal-content p,
.legal-content li {
  color: var(--light-400);
  line-height: 1.8;
  margin-bottom: 16px;
}

.legal-content ul {
  padding-left: 24px;
  list-style: disc;
}

.legal-content a {
  color: var(--accent);
  text-decoration: underline;
}

/* ---------- Scroll Animations ---------- */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

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

[data-animate-delay="1"] { transition-delay: 0.1s; }
[data-animate-delay="2"] { transition-delay: 0.2s; }
[data-animate-delay="3"] { transition-delay: 0.3s; }
[data-animate-delay="4"] { transition-delay: 0.4s; }

/* ---------- Form Messages ---------- */
.form-success {
  padding: 16px 20px;
  background: var(--green-subtle);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius);
  color: var(--green);
  font-weight: 500;
  display: none;
}

.form-error {
  padding: 16px 20px;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--radius);
  color: #EF4444;
  font-weight: 500;
  display: none;
}

/* ---------- Skip Link ---------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  padding: 12px 24px;
  background: var(--accent);
  color: var(--white);
  border-radius: var(--radius);
  font-weight: 600;
  z-index: 9999;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 16px;
}

/* ---------- SEO Section ---------- */
.seo-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.seo-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 32px 0;
}

.seo-list__item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.seo-list__item i {
  color: var(--green);
  margin-top: 4px;
  flex-shrink: 0;
}

.seo-list__item p {
  font-size: 0.9375rem;
  margin-bottom: 0;
}

.seo-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.seo-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero__content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__text {
    max-width: 100%;
  }

  .hero__subtitle {
    max-width: 100%;
    margin: 0 auto;
  }

  .hero__visual {
    justify-content: center;
    margin-top: 20px;
  }

  .device-phone {
    width: 200px;
  }

  .device-panel {
    width: 230px;
    right: -30px;
    bottom: -15px;
  }

  .hero__stats {
    justify-content: center;
  }

  .btn-group {
    justify-content: center;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about__image-wrapper {
    order: -1;
    max-width: 480px;
    margin: 0 auto;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .process-visual {
    order: -1;
    margin: 0 auto;
  }

  .seo-features {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .seo-image {
    max-width: 480px;
    margin: 0 auto;
  }

  .footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .hero__visual {
    display: none;
  }

  .hero__content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__text {
    max-width: 100%;
  }

  .hero__subtitle {
    max-width: 100%;
    margin: 0 auto;
  }

  .hero__stats {
    justify-content: center;
  }

  .btn-group {
    justify-content: center;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    flex-direction: column;
    justify-content: center;
    background: var(--dark-800);
    padding: 40px;
    gap: 24px;
    transition: right var(--duration) var(--ease);
    border-left: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav.open {
    right: 0;
  }

  .nav__cta {
    margin-left: 0;
  }

  .menu-toggle {
    display: flex;
  }

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

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

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

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

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

  .contact-form {
    padding: 32px 24px;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .hero__stats {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

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

@media (max-width: 480px) {
  .btn {
    padding: 12px 24px;
    font-size: 0.875rem;
  }

  .service-card {
    padding: 28px 24px;
  }

  .testimonial-card {
    padding: 28px 24px;
  }
}

/* ---------- Back to Top Button ---------- */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  font-size: 1.1rem;
  box-shadow: 0 4px 20px var(--accent-glow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--duration) var(--ease);
  z-index: 999;
  cursor: pointer;
  border: none;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--accent-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px var(--accent-glow);
}

/* ---------- WhatsApp Floating Button ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 92px;
  right: 32px;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  text-decoration: none;
  transition: all var(--duration) var(--ease);
  font-size: 1.6rem;
}

.whatsapp-float:hover {
  background: #1EBE5A;
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5);
}

.whatsapp-float:active {
  transform: translateY(-1px);
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html { scroll-behavior: auto; }

  [data-animate] {
    opacity: 1;
    transform: none;
  }
}
