/* =========================================================
   Echo Trend - styles.css
   Clean, minimal, tech-forward. Black / white / electric blue.
   ========================================================= */

:root {
  --black: #0a0a0a;
  --dark: #111111;
  --white: #ffffff;
  --gray: #6b7280;
  --light: #f9f9f9;
  --border: #e5e7eb;
  --accent: #0066ff;
  --accent-light: #e8f0ff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

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

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

/* ---------- Layout ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}

section {
  padding: 96px 0;
}

.section-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--gray);
  margin-bottom: 16px;
}

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

.section-title {
  font-size: 38px;
  color: var(--black);
  margin-bottom: 48px;
  max-width: 620px;
}

.section-title-light {
  color: var(--white);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  border-radius: 6px;
  padding: 12px 28px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  font-family: inherit;
  text-align: center;
}

.btn-dark {
  background: var(--black);
  color: var(--white);
}
.btn-dark:hover {
  background: var(--accent);
}

.btn-accent {
  background: var(--accent);
  color: var(--white);
}
.btn-accent:hover {
  background: #0052cc;
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}
.btn-outline-light:hover {
  background: var(--white);
  color: var(--black);
}

.btn-outline-dark {
  background: transparent;
  color: var(--black);
  border-color: var(--black);
}
.btn-outline-dark:hover {
  background: var(--black);
  color: var(--white);
}

.btn-block {
  width: 100%;
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 72px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
}

.navbar-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-logo img {
  height: 52px;
  width: auto;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.navbar-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--black);
  transition: color 0.2s ease;
}

.navbar-links a:not(.navbar-cta):hover {
  color: var(--accent);
}

.navbar-cta {
  padding: 10px 22px;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  transition: all 0.2s ease;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--black);
  padding: 168px 0 110px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.9) 0,
    rgba(255, 255, 255, 0.9) 1px,
    transparent 1px,
    transparent 40px
  );
  opacity: 0.04;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
  padding: 7px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.hero-title {
  font-size: 58px;
  color: var(--white);
  max-width: 780px;
  margin-bottom: 24px;
}

.hero-title .accent {
  color: var(--accent);
}

.hero-subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.65);
  max-width: 620px;
  margin-bottom: 36px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero-stats {
  display: flex;
  gap: 64px;
  flex-wrap: wrap;
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 40px;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.hero-stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 8px;
}

.hero-line {
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin-top: 48px;
}

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 36px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0, 102, 255, 0.08);
}

/* ---------- Services ---------- */
.services {
  background: var(--light);
}

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

.service-card {
  border-top-width: 4px;
  border-top-style: solid;
}

.border-top-accent {
  border-top-color: var(--accent);
}
.border-top-black {
  border-top-color: var(--black);
}

.service-icon {
  margin-bottom: 22px;
}

.service-title {
  font-size: 21px;
  margin-bottom: 14px;
  color: var(--black);
}

.service-text {
  font-size: 15px;
  color: var(--gray);
  margin-bottom: 22px;
}

.service-list {
  list-style: none;
}

.service-list li {
  position: relative;
  padding-left: 22px;
  font-size: 14.5px;
  color: var(--black);
  margin-bottom: 10px;
}

.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.list-accent li::before {
  background: var(--accent);
}
.list-black li::before {
  background: var(--black);
}

/* ---------- About ---------- */
.about {
  background: var(--white);
}

.about-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-left .section-title {
  margin-bottom: 28px;
}

.about-text {
  font-size: 16px;
  color: var(--gray);
  margin-bottom: 20px;
}

.about-left .btn {
  margin-top: 12px;
}

.about-right {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.about-stat {
  background: var(--light);
  border-left: 4px solid var(--accent);
  border-radius: 6px;
  padding: 28px;
}

.about-stat-value {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--black);
  line-height: 1;
}

.about-stat-label {
  display: block;
  font-size: 14px;
  color: var(--gray);
  margin-top: 10px;
}

/* ---------- Industries ---------- */
.industries {
  background: var(--black);
}

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

.industry-card {
  background: #1a1a1a;
  border-left: 4px solid var(--accent);
  border-radius: 6px;
  padding: 32px;
  transition: all 0.2s ease;
}

.industry-card:hover {
  border-color: var(--accent);
  border-left-color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent), 0 8px 32px rgba(0, 102, 255, 0.15);
  transform: translateY(-3px);
}

.industry-card h3 {
  font-size: 19px;
  color: var(--white);
  margin-bottom: 12px;
}

.industry-card p {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- Contact ---------- */
.contact {
  background: var(--light);
}

.contact-title {
  margin-bottom: 12px;
}

.contact-subtitle {
  font-size: 16px;
  color: var(--gray);
  margin-bottom: 48px;
}

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

.contact-info-block {
  margin-bottom: 28px;
}

.contact-info-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 6px;
}

.contact-info-block p {
  font-size: 16px;
  color: var(--black);
}

.contact-info-block a:hover {
  color: var(--accent);
}

.contact-badge {
  display: inline-block;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 6px;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 36px;
}

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

.form-group {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 7px;
  color: var(--black);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: inherit;
  font-size: 15px;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--white);
  color: var(--black);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.12);
}

.form-group textarea {
  resize: vertical;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--black);
  border-top: 3px solid var(--accent);
  padding: 72px 0 36px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-logo {
  height: 44px;
  width: auto;
  margin-bottom: 18px;
}

.footer-tagline {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
  max-width: 260px;
}

.footer-col h4 {
  font-size: 15px;
  color: var(--white);
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 12px;
}

.footer-col a {
  transition: color 0.2s ease;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 56px;
  padding-top: 28px;
}

.footer-bottom p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.5);
}

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

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .container {
    padding: 0 24px;
  }

  section {
    padding: 64px 0;
  }

  .hamburger {
    display: flex;
  }

  .navbar-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 12px 24px 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
    transform: translateY(-140%);
    transition: transform 0.25s ease;
  }

  .navbar-links.open {
    transform: translateY(0);
  }

  .navbar-links a {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
  }

  .navbar-cta {
    margin-top: 12px;
    text-align: center;
  }

  .navbar-links a.navbar-cta {
    border-bottom: none;
  }

  .hero {
    padding: 130px 0 80px;
  }

  .hero-title {
    font-size: 38px;
  }

  .hero-stats {
    gap: 36px;
  }

  .section-title {
    font-size: 28px;
  }

  .services-grid,
  .about-inner,
  .about-right,
  .industries-grid,
  .contact-inner,
  .footer-inner,
  .form-row {
    grid-template-columns: 1fr;
  }

  .about-inner,
  .contact-inner {
    gap: 40px;
  }

  .footer-inner {
    gap: 32px;
  }
}
