/* Tech Innoverz — static homepage */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black: #000;
  --white: #fff;
  --gray-100: #f3f4f6;
  --max-w: 80rem;
  --radius-sm: 0.75rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-xl: 3rem;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

body {
  font-family: var(--font);
  background: var(--black);
  color: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
ul { list-style: none; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1rem;
}

@media (min-width: 640px) { .container { padding-inline: 1.5rem; } }
@media (min-width: 1024px) { .container { padding-inline: 2rem; } }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: none;
  cursor: pointer;
  font-weight: 500;
  transition: transform 0.3s, background 0.3s, color 0.3s, border-color 0.3s;
  border-radius: 9999px;
}

.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-primary {
  background: var(--white);
  color: var(--black);
  padding: 1.25rem 2.5rem;
  box-shadow: 0 20px 40px rgba(255, 255, 255, 0.2);
}

.btn-primary:hover:not(:disabled) { transform: scale(1.05); background: var(--gray-100); }

.btn-outline-light {
  background: var(--white);
  color: var(--black);
  border: 2px solid rgba(255, 255, 255, 0.3);
  padding: 1.25rem 2.5rem;
}

.btn-outline-light:hover { background: transparent; color: var(--white); transform: scale(1.05); }

.btn-outline-dark {
  background: var(--white);
  color: var(--black);
  border: 2px solid rgba(0, 0, 0, 0.3);
  padding: 1.25rem 2.5rem;
}

.btn-outline-dark:hover { background: var(--black); color: var(--white); transform: scale(1.05); }

.btn-dark {
  background: var(--black);
  color: var(--white);
  padding: 1rem 2rem;
  width: 100%;
}

.btn-dark:hover:not(:disabled) { background: #1f2937; transform: scale(1.02); }

/* Badge / section label */
.section-label {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
}

.section-label--dark {
  border-color: rgba(0, 0, 0, 0.2);
  background: rgba(0, 0, 0, 0.05);
  color: rgba(0, 0, 0, 0.9);
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.section-desc {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.5);
  max-width: 48rem;
  margin-inline: auto;
  line-height: 1.625;
}

.section-desc--dark { color: rgba(0, 0, 0, 0.5); }

.section-header { text-align: center; margin-bottom: 5rem; }

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.navbar.scrolled {
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}

.logo img { height: 3.5rem; width: auto; }

.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

.nav-desktop a {
  padding: 0.5rem 1rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s;
  position: relative;
}

.nav-desktop a:hover { color: var(--white); }

.nav-cta { display: none; }

.nav-toggle {
  display: flex;
  background: none;
  border: none;
  color: var(--white);
  padding: 0.5rem;
  cursor: pointer;
}

.nav-mobile {
  display: none;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1rem 1.5rem;
}

.nav-mobile.open { display: block; }

.nav-mobile a {
  display: block;
  padding: 0.75rem 0;
  color: rgba(255, 255, 255, 0.7);
}

.nav-mobile a:hover { color: var(--white); }

.nav-mobile .btn { width: 100%; margin-top: 1rem; }

@media (min-width: 768px) {
  .nav-desktop, .nav-cta { display: flex; }
  .nav-toggle, .nav-mobile { display: none !important; }
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--black);
  padding-top: 5rem;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 4rem 4rem;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  filter: blur(64px);
  animation: pulse 4s ease-in-out infinite;
}

.hero__orb--1 { top: 0; left: 25%; width: 600px; height: 600px; }
.hero__orb--2 { bottom: 0; right: 25%; width: 600px; height: 600px; animation-delay: 1s; }

.hero__content { position: relative; z-index: 10; text-align: center; padding-block: 2rem; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  margin-bottom: 2rem;
}

.hero h1 {
  font-size: clamp(2.75rem, 8vw, 6rem);
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  max-width: 64rem;
  margin-inline: auto;
}

.hero h1 em { font-style: italic; }

.hero__highlight {
  position: relative;
  display: inline-block;
}

.hero__highlight::after {
  content: "";
  position: absolute;
  bottom: 0.25rem;
  left: 0;
  width: 100%;
  height: 0.75rem;
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(-1deg);
  z-index: -1;
}

.hero__sub {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.6);
  max-width: 48rem;
  margin: 0 auto 3rem;
  line-height: 1.625;
}

.hero__actions {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
}

@media (min-width: 640px) {
  .hero__actions { flex-direction: row; }
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  margin-top: 6rem;
  max-width: 64rem;
  margin-inline: auto;
}

@media (min-width: 768px) {
  .hero__stats { grid-template-columns: repeat(4, 1fr); }
}

.stat__num {
  font-size: clamp(2.5rem, 4vw, 3.75rem);
  letter-spacing: -0.025em;
  margin-bottom: 0.75rem;
}

.stat__label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero__fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 8rem;
  background: linear-gradient(to top, var(--black), transparent);
}

/* Sections common */
.section { padding: 8rem 0; position: relative; overflow: hidden; }
.section--dark { background: var(--black); }
.section--light { background: var(--white); color: var(--black); }

.grid-bg-light {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 4rem 4rem;
  pointer-events: none;
}

.grid-bg-dark {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 4rem 4rem;
  pointer-events: none;
}

.blur-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
  pointer-events: none;
}

/* About */
.about__quote {
  margin-top: 3rem;
  max-width: 56rem;
  margin-inline: auto;
  padding: 2rem;
  border-radius: var(--radius-md);
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  font-size: clamp(1.25rem, 3vw, 1.875rem);
  font-style: italic;
  text-align: center;
  line-height: 1.5;
}

.about__grid {
  display: grid;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .about__grid { grid-template-columns: 1fr 1fr; }
}

.card-dark {
  display: flex;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  transition: border-color 0.3s, transform 0.3s;
  margin-bottom: 1.5rem;
}

.card-dark:hover {
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateX(8px);
}

.card-dark__icon {
  flex-shrink: 0;
  width: 4rem;
  height: 4rem;
  background: var(--white);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
}

.card-dark h3 { font-size: 1.5rem; margin-bottom: 0.75rem; letter-spacing: -0.025em; }
.card-dark p { color: rgba(255, 255, 255, 0.5); line-height: 1.625; }

.about__img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.about__img-wrap img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  filter: grayscale(100%);
}

.about__img-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.2), transparent, rgba(0, 0, 0, 0.4));
  z-index: 1;
  pointer-events: none;
}

/* Services */
.services-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  position: relative;
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: var(--white);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 0, 0, 0.3);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.service-card__num {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  color: rgba(0, 0, 0, 0.2);
}

.service-card__icon {
  width: 4rem;
  height: 4rem;
  background: var(--black);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.service-card h3 { font-size: 1.5rem; margin-bottom: 1rem; letter-spacing: -0.025em; }
.service-card p { color: rgba(0, 0, 0, 0.5); margin-bottom: 1.5rem; line-height: 1.625; }

.service-card__link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(0, 0, 0, 0.7);
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
}

.service-card:hover .service-card__link {
  opacity: 1;
  transform: translateX(8px);
}

/* Why choose us */
.features-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features-grid { grid-template-columns: repeat(4, 1fr); } }

.feature-card { text-align: center; }
.feature-card__icon {
  width: 6rem;
  height: 6rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  margin-bottom: 2rem;
  box-shadow: 0 25px 50px -12px rgba(255, 255, 255, 0.2);
  transition: transform 0.3s;
}

.feature-card:hover .feature-card__icon { transform: scale(1.1); }
.feature-card h3 { font-size: 1.25rem; margin-bottom: 1rem; }
.feature-card p { color: rgba(255, 255, 255, 0.5); line-height: 1.625; }

/* Projects */
.projects-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) { .projects-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .projects-grid { grid-template-columns: repeat(3, 1fr); } }

.project-card {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: var(--white);
  overflow: hidden;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.project-card:hover {
  transform: translateY(-12px);
  border-color: rgba(0, 0, 0, 0.3);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.project-card__img {
  position: relative;
  height: 16rem;
  overflow: hidden;
}

.project-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: transform 0.7s, filter 0.7s;
}

.project-card:hover .project-card__img img {
  transform: scale(1.1);
  filter: grayscale(0);
}

.project-card__badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--black);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.project-card__body { padding: 2rem; }
.project-card__cat {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(0, 0, 0, 0.5);
  margin-bottom: 0.75rem;
}

.project-card h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.project-card p { color: rgba(0, 0, 0, 0.5); margin-bottom: 1.5rem; line-height: 1.625; }

.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }

.tag {
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: rgba(0, 0, 0, 0.6);
}

.projects-cta { text-align: center; }

/* Testimonials */
.testimonials-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) { .testimonials-grid { grid-template-columns: repeat(2, 1fr); } }

.testimonial-card {
  position: relative;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  transition: border-color 0.3s;
}

.testimonial-card:hover { border-color: rgba(255, 255, 255, 0.3); }

.testimonial-card__quote-icon {
  position: absolute;
  top: 2.5rem;
  right: 2.5rem;
  width: 4rem;
  height: 4rem;
  color: rgba(255, 255, 255, 0.1);
}

.stars { display: flex; gap: 0.25rem; margin-bottom: 1.5rem; color: var(--white); }

.testimonial-card blockquote {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.625;
  margin-bottom: 2rem;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-card__author img {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  border: 2px solid var(--white);
}

.testimonial-card__author .role { color: rgba(255, 255, 255, 0.4); font-size: 0.875rem; }

/* CTA / Contact form */
.cta-card {
  border: 2px solid rgba(0, 0, 0, 0.2);
  border-radius: 3rem;
  padding: 4rem 2rem;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  text-align: center;
}

@media (min-width: 768px) { .cta-card { padding: 5rem; } }

.cta-card__icon {
  width: 5rem;
  height: 5rem;
  background: var(--black);
  border-radius: var(--radius-lg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.cta-card h2 { font-size: clamp(2.5rem, 5vw, 3.75rem); color: var(--black); margin-bottom: 1rem; letter-spacing: -0.025em; }
.cta-card > p { color: rgba(0, 0, 0, 0.5); font-size: 1.125rem; max-width: 42rem; margin: 0 auto 1.25rem; line-height: 1.625; }

/* Form */
.lead-form { max-width: 48rem; margin: 0 auto; text-align: left; }

.form-error {
  padding: 1rem;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--radius-sm);
  color: #991b1b;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.form-success { text-align: center; padding: 3rem 0; }
.form-success__icon {
  width: 5rem;
  height: 5rem;
  background: var(--black);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.form-success h3 { font-size: 1.875rem; color: var(--black); margin-bottom: 0.75rem; }
.form-success p { color: rgba(0, 0, 0, 0.6); font-size: 1.125rem; margin-bottom: 0.5rem; }
.form-success__hint { font-size: 0.95rem !important; color: rgba(0, 0, 0, 0.45) !important; margin-top: 0.75rem !important; }

.form-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.lead-form .form-group {
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) { .form-grid { grid-template-columns: 1fr 1fr; } }

.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(0, 0, 0, 0.7);
  margin-bottom: 0.75rem;
}

.form-group input,
.form-group select {
  width: 100%;
  height: 3.5rem;
  padding: 0 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 0, 0, 0.2);
  background: var(--white);
  color: var(--black);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--black);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.phone-row {
  display: flex;
  gap: 0.5rem;
}

.phone-row input { flex: 1; }

/* Country picker */
.country-picker {
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.country-select {
  width: 13rem;
  height: 3.5rem;
  padding: 0 2.5rem 0 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 0, 0, 0.2);
  background: var(--white);
  color: var(--black);
  font-size: 0.8rem;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.country-select:focus {
  outline: none;
  border-color: var(--black);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

/* Down arrow icon */
.country-picker::after {
  content: '';
  position: absolute;
  right: 0.6rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid rgba(0, 0, 0, 0.4);
  pointer-events: none;
}

/* Dial code badge shown beside the select */
.country-dial-display {
  display: none;
}

.service-options {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

@media (min-width: 768px) { .service-options { grid-template-columns: 1fr 1fr; } }

.service-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 0, 0, 0.2);
  background: var(--white);
  cursor: pointer;
  text-align: left;
  transition: all 0.2s;
  width: 100%;
}

.service-option.selected {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.service-option input { display: none; }

.cta-contact {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.cta-contact p {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(0, 0, 0, 0.4);
  margin-bottom: 1rem;
}

.cta-contact__links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  color: rgba(0, 0, 0, 0.6);
}

@media (min-width: 640px) {
  .cta-contact__links { flex-direction: row; justify-content: center; gap: 2rem; }
}

.cta-contact__links a:hover { color: var(--black); }

/* Footer */
.footer {
  background: var(--black);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4rem 0 2rem;
}

.footer__banner {
  text-align: center;
  padding-bottom: 4rem;
  margin-bottom: 4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__banner h2 { font-size: clamp(1.875rem, 3vw, 2.25rem); margin-bottom: 1rem; }
.footer__banner p { color: rgba(255, 255, 255, 0.5); max-width: 42rem; margin: 0 auto 2rem; }

.footer__grid {
  display: grid;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: repeat(4, 1fr); } }

.footer__brand-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1;
}

.footer h3 { font-size: 1.125rem; margin-bottom: 1.5rem; }
.footer p, .footer li { color: rgba(255, 255, 255, 0.4); line-height: 1.625; }
.footer ul li { margin-bottom: 0.75rem; }
.footer a:hover { color: var(--white); }

.footer__contact li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.footer__bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .footer__bottom { flex-direction: row; }
}

.social-links { display: flex; gap: 1rem; }

.social-links a {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.social-links a:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--black);
}

/* Floating button */
.floating-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 40;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.8);
  transition: opacity 0.3s, transform 0.3s;
}

.floating-widget.visible {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.floating-menu {
  position: absolute;
  bottom: 5rem;
  right: 0;
  width: 18rem;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: none;
}

.floating-menu.open { display: block; }

.floating-menu button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border: none;
  background: none;
  cursor: pointer;
  text-align: left;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  color: var(--black);
}

.floating-menu button:hover { background: rgba(0, 0, 0, 0.05); }

.floating-menu button:last-child { border-bottom: none; }

.floating-menu__icon {
  width: 2.75rem;
  height: 2.75rem;
  background: var(--black);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}

.floating-menu__label { font-weight: 500; }
.floating-menu__desc { font-size: 0.875rem; color: rgba(0, 0, 0, 0.5); }

.floating-btn {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s, background 0.3s;
  position: relative;
}

.floating-btn:hover { transform: scale(1.1); }
.floating-btn--light { background: var(--white); color: var(--black); }
.floating-btn--dark { background: var(--black); color: var(--white); }

.floating-btn__ping {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
  opacity: 0.2;
}

.floating-btn--light .floating-btn__ping { background: var(--white); }
.floating-btn--dark .floating-btn__ping { background: var(--black); }

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  overflow-y: auto;
}

.modal-overlay.open { display: flex; }

.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 42rem;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  color: var(--black);
}

.modal__header {
  background: var(--black);
  color: var(--white);
  padding: 1.5rem 2rem;
  position: relative;
}

.modal__header h2 { font-size: 1.875rem; }
.modal__header p { color: rgba(255, 255, 255, 0.6); margin-top: 0.5rem; }

.modal__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal__close:hover { background: rgba(255, 255, 255, 0.2); }

.modal__body { padding: 2rem; }

/* Icons inline sizing */
.icon { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }
.icon-lg { width: 2rem; height: 2rem; }
.icon-xl { width: 3rem; height: 3rem; }

/* About metrics panel */
.about__metrics {
  display: flex;
  align-items: stretch;
}

.about__metrics-inner {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.about__metric {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 0.3s, background 0.3s;
}

.about__metric:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.07);
}

.about__metric-num {
  display: block;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 0.5rem;
  line-height: 1.1;
}

.about__metric-label {
  display: block;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  line-height: 1.4;
}

/* Process steps */
.process-steps {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .process-steps { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .process-steps { grid-template-columns: repeat(4, 1fr); }
}

.process-step {
  position: relative;
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: var(--white);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.process-step:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 0, 0, 0.25);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.12);
}

.process-step__num {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.06);
  letter-spacing: -0.05em;
  line-height: 1;
  pointer-events: none;
}

.process-step__icon {
  width: 3.5rem;
  height: 3.5rem;
  background: var(--black);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.process-step h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
  color: var(--black);
}

.process-step p {
  color: rgba(0, 0, 0, 0.5);
  line-height: 1.625;
  font-size: 0.95rem;
}

/* Tech stack section orbs */
.tech-stack__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.tech-stack__orb--1 {
  top: 10%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: rgba(255, 255, 255, 0.04);
}

.tech-stack__orb--2 {
  bottom: 10%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.03);
}

/* Tech stack count badge */
.tech-stack__count {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.3);
  font-weight: 500;
}

/* Tech stack grid */
.tech-stack-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .tech-stack-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .tech-stack-grid { grid-template-columns: repeat(3, 1fr); }
}

.tech-category {
  position: relative;
  padding: 1.75rem 2rem 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  transition: border-color 0.35s, background 0.35s, transform 0.35s;
  overflow: hidden;
}

/* Top shimmer line */
.tech-category::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.18),
    transparent
  );
}

.tech-category:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-5px);
}

.tech-category__label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 1.25rem;
  font-weight: 700;
}

/* Short line before label */
.tech-category__label::before {
  content: '';
  display: inline-block;
  width: 1.25rem;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
  flex-shrink: 0;
}

.tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tech-pill {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.82rem;
  transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
  cursor: default;
  white-space: nowrap;
}

.tech-pill:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.2);
}

/* Trust row (contact section) */
.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.75rem;
  margin-bottom: 1.75rem;
}

.trust-item {
  font-size: 0.875rem;
  color: rgba(0, 0, 0, 0.5);
  font-weight: 500;
}

/* Projects tagline */
.projects-tagline {
  text-align: center;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.95rem;
  max-width: 42rem;
  margin: 0 auto 2rem;
  line-height: 1.625;
  font-style: italic;
}

.projects-tagline--light {
  color: rgba(0, 0, 0, 0.4);
}

/* Animations */
@keyframes pulse {
  50% { opacity: 0.6; }
}

@keyframes ping {
  75%, 100% { transform: scale(2); opacity: 0; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.spinner {
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Legal pages (Privacy Policy, Terms & Conditions) */
.legal-page .navbar {
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-main {
  padding: 7rem 0 4rem;
  min-height: 60vh;
}

.legal-content {
  max-width: 48rem;
  margin-inline: auto;
}

.legal-content h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: -0.025em;
  margin-bottom: 0.5rem;
}

.legal-content .legal-updated {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.9rem;
  margin-bottom: 2.5rem;
}

.legal-content h2 {
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
  color: var(--white);
}

.legal-content p,
.legal-content li {
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.legal-content ul,
.legal-content ol {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.legal-content ul { list-style: disc; }
.legal-content ol { list-style: decimal; }

.legal-content li { margin-bottom: 0.5rem; }

.legal-content a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-content a:hover { color: rgba(255, 255, 255, 0.85); }

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

.legal-nav a { color: rgba(255, 255, 255, 0.6); text-decoration: none; }
.legal-nav a:hover { color: var(--white); }

.footer__legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  justify-content: center;
  margin-top: 0.75rem;
}

.footer__legal-links a {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.875rem;
}

.footer__legal-links a:hover { color: var(--white); }
