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

:root {
  --primary: #ffffff;
  --secondary: #f5f5f5;
  --accent: #1a1a1a;
  --accent2: #555555;
  --text: #111111;
  --text-muted: #666666;
  --glass-bg: rgba(245, 245, 245, 0.8);
  --glass-border: rgba(0, 0, 0, 0.1);
  --glow: rgba(0, 0, 0, 0.08);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--primary);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Animated Background ===== */
.bg-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(0, 0, 0, 0.07) 1px, transparent 0);
  background-size: 40px 40px;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(40px, 40px); }
}

/* Ambient glow blobs */
.glow-blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
}

.glow-blob--1 {
  width: 600px;
  height: 600px;
  background: #d4d4d4;
  top: -200px;
  right: -200px;
  animation: blobFloat 15s ease-in-out infinite alternate;
}

.glow-blob--2 {
  width: 500px;
  height: 500px;
  background: #e0e0e0;
  bottom: -150px;
  left: -150px;
  animation: blobFloat 18s ease-in-out infinite alternate-reverse;
}

@keyframes blobFloat {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(60px, -40px) scale(1.15); }
}

/* ===== Navigation ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  padding: 12px 0;
  border-bottom: 1px solid var(--glass-border);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 60px;
  width: auto;
  transition: height 0.3s ease;
}

.navbar.scrolled .nav-logo img {
  height: 48px;
}

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #111111;
  transition: width 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  padding: 8px 20px !important;
  border-radius: 8px;
  background: #111111 !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  transition: transform 0.3s, box-shadow 0.3s !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--glow);
}

.nav-funnel {
  padding: 8px 20px !important;
  border-radius: 8px;
  border: none !important;
  background: #16a34a !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.4);
  animation: pulse-nav 2.2s ease-in-out infinite;
  transition: background 0.3s, transform 0.2s !important;
}

.nav-funnel::after {
  display: none !important;
}

.nav-funnel:hover {
  background: #15803d !important;
  transform: translateY(-2px) !important;
}

@keyframes pulse-nav {
  0%, 100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.35); }
  50%       { box-shadow: 0 0 0 8px rgba(22, 163, 74, 0); }
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #111111;
  transition: all 0.3s;
  border-radius: 2px;
}

.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);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}

.btn-primary {
  background: #111111;
  color: #ffffff;
  box-shadow: 0 4px 20px var(--glow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  background: #333333;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  border-color: #111111;
  background: rgba(0, 0, 0, 0.03);
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 60px;
  z-index: 1;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 72px;
  width: 100%;
}

.hero-content {
  flex: 1;
  min-width: 0;
}

/* Hero Image */
.hero-image {
  flex: 0 0 460px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(0, 0, 0, 0.06);
}

.hero-image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
}

/* ===== Word Carousel ===== */
.word-carousel {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  height: 1.1em;
}

.word-track {
  display: flex;
  flex-direction: column;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.word-track span {
  display: block;
  line-height: 1.1;
  white-space: nowrap;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 100px;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid var(--glass-border);
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  font-weight: 500;
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
  animation: pulse-green 2s ease-in-out infinite;
}

@keyframes pulse-green {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); transform: scale(1); }
  50% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); transform: scale(1.1); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero h1 .gradient-text {
  color: #111111;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 560px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}


/* ===== Glass Cards ===== */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 32px;
  backdrop-filter: blur(20px);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.08), transparent);
}

.glass-card:hover {
  border-color: rgba(0, 0, 0, 0.15);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08), 0 0 40px rgba(0, 0, 0, 0.03);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.glass-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.glass-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ===== Sections ===== */
section {
  position: relative;
  z-index: 1;
  padding: 100px 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #888888;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: #888888;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 60px;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

/* Stats Section */
.stats-section {
  background: var(--secondary);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.stats-header {
  text-align: center;
  margin-bottom: 48px;
}

.stats-header .section-label {
  display: flex;
  justify-content: center;
}

.stats-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-top: 8px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.stat-card {
  background: #ffffff;
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 36px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(0,0,0,0.12), transparent);
  transition: opacity 0.3s;
  opacity: 0;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.09);
}

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

.stat-icon {
  font-size: 2rem;
  margin-bottom: 20px;
  display: block;
}

.stat-number {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  color: #111111;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
  line-height: 1;
}

.stat-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.stat-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.testimonial-card {
  padding: 32px;
}

.testimonial-card .stars {
  color: #fbbf24;
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.testimonial-card blockquote {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #111111;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.testimonial-author-info strong {
  display: block;
  font-size: 0.95rem;
}

.testimonial-author-info span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ===== Use Cases Section ===== */
.usecases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.usecase-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 32px;
}

.usecase-industry {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  padding: 5px 14px;
  width: fit-content;
}

.usecase-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
  min-height: 3rem;
}

.usecase-situation {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
  flex: 1;
}

.usecase-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.03);
  border-radius: 12px;
  border: 1px solid var(--glass-border);
}

.usecase-metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}

.usecase-metric strong {
  font-size: 1.3rem;
  font-weight: 800;
  color: #111111;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.usecase-metric span {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.3;
  min-height: 2.6em;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.usecase-solution {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  padding: 14px 16px;
  background: rgba(0, 0, 0, 0.02);
  border-left: 3px solid #111111;
  border-radius: 0 8px 8px 0;
}

.usecase-solution strong {
  color: var(--text);
}

/* CTA Section */
.cta-section {
  text-align: center;
}

.cta-box {
  background: #f5f5f5;
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 64px 56px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 56px;
  text-align: left;
}

.cta-content {
  flex: 1;
}

.cta-image {
  flex: 0 0 300px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

.cta-image img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.02) 0%, transparent 60%);
  animation: rotateBg 20s linear infinite;
}

@keyframes rotateBg {
  100% { transform: rotate(360deg); }
}

.cta-box > * {
  position: relative;
  z-index: 1;
}

.cta-box h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-box p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 500px;
}

/* ===== Services Page ===== */
.page-header {
  padding-top: 140px;
  padding-bottom: 60px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.page-header h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.page-header p {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
}

.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px 0;
  border-bottom: 1px solid var(--glass-border);
}

.service-detail:last-child {
  border-bottom: none;
}

.service-detail.reverse {
  direction: rtl;
}

.service-detail.reverse > * {
  direction: ltr;
}

.service-detail-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 24px;
}

.service-detail h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.service-detail p {
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.7;
}

.service-benefits {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-benefits li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.service-benefits li::before {
  content: '✓';
  color: #111111;
  font-weight: 700;
  flex-shrink: 0;
}

.service-visual {
  border-radius: 20px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  overflow: hidden;
}

/* ===== About Page ===== */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-story-text h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.about-story-text p {
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.8;
}

.about-visual {
  border-radius: 20px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  position: relative;
  overflow: hidden;
}

.about-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.01));
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  margin-top: 60px;
}

.team-card {
  text-align: center;
  padding: 48px 32px;
}

.team-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #111111;
  color: #ffffff;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
}

.team-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.team-card .role {
  color: #888888;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.team-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 60px;
}

.value-card {
  text-align: center;
  padding: 40px 24px;
}

.value-card .card-icon {
  margin: 0 auto 20px;
}

/* ===== Contact Page ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

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

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s;
  backdrop-filter: blur(10px);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #111111;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.06);
}

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

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

.contact-info-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
}

.contact-info-card .card-icon {
  flex-shrink: 0;
  margin-bottom: 0;
}

.contact-info-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-info-card p {
  font-size: 0.9rem;
}

.form-success {
  display: none;
  text-align: center;
  padding: 40px;
}

.form-success.show {
  display: block;
}

.form-success .checkmark {
  font-size: 3rem;
  margin-bottom: 16px;
}

/* ===== Footer Funnel CTA ===== */
.footer-funnel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #111111;
  border-radius: 16px;
  padding: 28px 36px;
  margin-bottom: 48px;
}

.footer-funnel-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-funnel-text strong {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
}

.footer-funnel-text span {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-funnel .btn-primary {
  background: #ffffff;
  color: #111111;
  white-space: nowrap;
  flex-shrink: 0;
}

.footer-funnel .btn-primary:hover {
  background: #f0f0f0;
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.15);
}

/* ===== Footer ===== */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--glass-border);
  padding: 60px 0 30px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .nav-logo img {
  height: 36px;
}

.footer-brand p {
  color: var(--text-muted);
  margin-top: 12px;
  font-size: 0.9rem;
  max-width: 280px;
}

.footer h4 {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  color: var(--text-muted);
}

.footer ul li {
  margin-bottom: 10px;
}

.footer ul li a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer ul li a:hover {
  color: var(--text);
}

.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  font-size: 0.9rem;
}

.social-links a:hover {
  border-color: #111111;
  background: rgba(0, 0, 0, 0.05);
  transform: translateY(-2px);
}

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

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

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Staggered children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.3s; }

.stagger-children.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Image replacements for service/about visuals ===== */
.service-visual img,
.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  display: block;
}

/* ===== Industries Section ===== */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.industry-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.industry-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.industry-card:hover img {
  transform: scale(1.03);
}

.industry-label {
  padding: 16px 20px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text);
}

/* ===== Team Photo ===== */
.team-photo {
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 48px;
  border: 1px solid var(--glass-border);
}

.team-photo img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* ===== Legal Pages ===== */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-block {
  padding: 32px 0;
  border-bottom: 1px solid var(--glass-border);
}

.legal-block:last-child {
  border-bottom: none;
}

.legal-block h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.legal-block p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 12px;
}

.legal-block p:last-child {
  margin-bottom: 0;
}

.legal-block a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 16px 0;
}

.legal-list li {
  color: var(--text-muted);
  font-size: 0.95rem;
  padding-left: 20px;
  position: relative;
}

.legal-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--text);
}

/* Footer Legal Links */
.footer-legal-links {
  display: flex;
  gap: 20px;
}

.footer-legal-links a {
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: color 0.3s;
}

.footer-legal-links a:hover {
  color: var(--text);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    padding: 40px;
    transition: right 0.3s ease;
    border-left: 1px solid var(--glass-border);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    font-size: 1.1rem;
  }

  .hero .container {
    flex-direction: column;
    gap: 40px;
  }

  .hero-image {
    flex: none;
    width: 100%;
  }

  .hero-image img {
    height: 280px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .service-detail {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .service-detail.reverse {
    direction: ltr;
  }

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

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

  .footer-funnel {
    flex-direction: column;
    text-align: center;
    padding: 24px 20px;
  }

  .cta-box {
    flex-direction: column;
    text-align: center;
    padding: 40px 24px;
    gap: 32px;
  }

  .cta-image {
    flex: none;
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

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

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

  .usecase-metrics {
    grid-template-columns: repeat(3, 1fr);
  }

  .team-photo img {
    height: 240px;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    text-align: center;
    justify-content: center;
  }
}
