/* ============================================
   AIOT.AlvvinEngineering — Stylesheet
   Dark futuristic tech theme
   ============================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  --bg-primary: #060a14;
  --bg-alt: #0a101f;
  --bg-card: #101a30;
  --bg-card-hover: #152040;
  --border: #1e2c4d;
  --border-light: #2a3f6a;
  --text-primary: #dbe4f7;
  --text-muted: #8fa0c4;
  --cyan: #22d3ee;
  --green: #4ade80;
  --violet: #a78bfa;
  --cyan-glow: rgba(34, 211, 238, 0.15);
  --green-glow: rgba(74, 222, 128, 0.15);
  --violet-glow: rgba(167, 139, 250, 0.15);
  --font-display: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --max-width: 1140px;
  --radius: 14px;
  --transition: 0.3s ease;
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--cyan); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--green); }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

.mono {
  font-family: var(--font-mono);
}

/* ---------- Section Index (01, 02, 03…) ---------- */
.section-index {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--cyan);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

/* ---------- Section Titles ---------- */
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 48px;
  position: relative;
}

.section-title .mono-num {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--text-muted);
  margin-right: 12px;
}

.gradient-ai {
  background: linear-gradient(135deg, var(--cyan), #67e8f9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-iot {
  background: linear-gradient(135deg, var(--green), #86efac);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan), #06b6d4);
  color: var(--bg-primary);
  border-color: var(--cyan);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #67e8f9, var(--cyan));
  border-color: #67e8f9;
  color: var(--bg-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(34, 211, 238, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-light);
}

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

.btn-large {
  padding: 18px 42px;
  font-size: 1.05rem;
}

.btn-full {
  width: 100%;
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition);
}

.navbar.scrolled {
  background: rgba(6, 10, 20, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  padding: 10px 0;
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-primary);
  text-decoration: none;
}

.nav-brand:hover {
  color: var(--cyan);
}

.brand-globe {
  font-size: 1.4rem;
}

.brand-highlight {
  color: var(--cyan);
}

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

.nav-link {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: 8px;
  transition: all var(--transition);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

.nav-link.active {
  color: var(--cyan);
}

.nav-cta {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.15), rgba(74, 222, 128, 0.1));
  border: 1px solid var(--border-light);
  color: var(--cyan) !important;
  font-weight: 600;
  margin-left: 8px;
}

.nav-cta:hover {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.25), rgba(74, 222, 128, 0.15));
  border-color: var(--cyan);
}

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

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}

.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.nav-links li {
  position: relative;
}

.nav-links li .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
}

.nav-links li:hover .dropdown {
  display: block;
}

.main-menu .submenu {
  display: none;
  position: absolute;
  background: #fff;
  list-style: none;
  padding: 0;
}
.main-menu li:hover > .submenu {
  display: block;
}


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

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(30, 44, 77, 0.3) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 44, 77, 0.3) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  opacity: 0.4;
}

.hero-glow-cyan {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.2), transparent 70%);
  top: -10%;
  right: -5%;
}

.hero-glow-green {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(74, 222, 128, 0.15), transparent 70%);
  bottom: -5%;
  left: -5%;
}

.hero-container {
  max-width: var(--max-width);
  width: 100%;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--cyan);
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.hero-headline {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-subtext {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

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

.stat-number {
  display: block;
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ---------- Sections ---------- */
.section {
  padding: 100px 0;
}

.alt-bg {
  background-color: var(--bg-alt);
}

/* ---------- About Content ---------- */
.about-content {
  max-width: 800px;
  margin-bottom: 64px;
}

.about-content p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.about-highlight {
  font-size: 1.15rem !important;
  color: var(--text-primary) !important;
  border-left: 3px solid var(--cyan);
  padding-left: 20px;
  font-style: italic;
}

.inline-link {
  color: var(--cyan);
  text-decoration: underline;
  text-decoration-color: rgba(34, 211, 238, 0.3);
  text-underline-offset: 3px;
}

.inline-link:hover {
  text-decoration-color: var(--cyan);
}

/* ---------- Pillars Grid ---------- */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: all var(--transition);
}

.pillar-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-light);
  transform: translateY(-4px);
}

.pillar-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.pillar-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

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

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

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

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

.service-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-light);
  transform: translateY(-4px);
}

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

.service-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

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

/* ---------- Solutions List ---------- */
.solutions-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.solution-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  transition: all var(--transition);
}

.solution-row:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-light);
}

.solution-index-col {
  display: flex;
  align-items: flex-start;
}

.solution-mono {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--violet);
  padding-top: 4px;
}

.solution-content h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.solution-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

/* ---------- Chips / Tags ---------- */
.chip, .tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(34, 211, 238, 0.1);
  color: var(--cyan);
  border: 1px solid rgba(34, 211, 238, 0.2);
}

.tag {
  background: rgba(167, 139, 250, 0.1);
  color: var(--violet);
  border-color: rgba(167, 139, 250, 0.2);
}

.badge {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: 20px;
  background: rgba(34, 211, 238, 0.1);
  color: var(--text-primary);
  border: 1px solid var(--border-light);
}

.badge-violet {
  background: rgba(167, 139, 250, 0.1);
  border-color: rgba(167, 139, 250, 0.3);
  color: var(--violet);
}

/* ---------- Platform ---------- */
.platform-hero {
  background: linear-gradient(135deg, var(--bg-card), rgba(34, 211, 238, 0.05));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px;
  margin-bottom: 64px;
  text-align: center;
}

.platform-hero h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 16px;
}

.platform-hero p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 700px;
  margin: 0 auto 24px;
}

.platform-badges {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.platform-subtitle {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 700;
  margin-bottom: 32px;
  color: var(--text-muted);
}

.platform-subtitle .mono-num {
  color: var(--text-primary);
}

/* ---------- Features Grid ---------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 64px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all var(--transition);
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-light);
  transform: translateY(-3px);
}

.feature-icon {
  font-size: 1.8rem;
  margin-bottom: 14px;
}

.feature-card h4 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

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

/* ---------- Tech Stack ---------- */
.tech-stack {
  margin-bottom: 64px;
  text-align: center;
}

.tech-stack h4 {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.tech-chips {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Screenshot Gallery ---------- */
.screenshot-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.screenshot-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
}

.screenshot-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--cyan);
  transform: translateY(-3px);
}

.screenshot-placeholder {
  width: 100%;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(30, 44, 77, 0.3);
  border-radius: 10px;
  margin-bottom: 12px;
  font-size: 2.5rem;
}

.screenshot-card p {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.platform-cta {
  text-align: center;
  margin-top: 48px;
}

/* ---------- Process Timeline ---------- */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.process-step {
  text-align: center;
  position: relative;
}

.step-number {
  font-family: var(--font-mono);
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
}

.step-content h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.step-content p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

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

.industry-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: all var(--transition);
}

.industry-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-light);
  transform: translateY(-4px);
}

.industry-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.industry-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

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

/* ---------- Team ---------- */
.team-banner {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
  padding: 24px;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.05), rgba(167, 139, 250, 0.05));
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.team-banner p {
  color: var(--text-muted);
  font-size: 1rem;
  font-style: italic;
}

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

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition);
}

.team-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-light);
  transform: translateY(-4px);
}

.team-photo {
  width: 100px;
  height: 100px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--border);
}

.team-photo svg {
  width: 100%;
  height: 100%;
}

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

.team-role {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--cyan);
  margin-bottom: 4px;
}

.team-exp {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.team-summary {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.team-tags {
  display: flex;
  gap: 6px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- CTA Banner ---------- */
.cta-banner {
  padding: 80px 24px;
  text-align: center;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.08), rgba(74, 222, 128, 0.06), rgba(167, 139, 250, 0.04));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(34, 211, 238, 0.06), transparent 70%);
  pointer-events: none;
}

.cta-container {
  position: relative;
  z-index: 1;
}

.cta-headline {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 12px;
}

.cta-subtext {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

/* ---------- Contact ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.contact-info h3 {
  font-size: 1.3rem;
  margin-bottom: 24px;
}

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

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

.contact-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-list a {
  color: var(--cyan);
}

/* ---------- Contact Form ---------- */
.contact-form-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-primary);
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 10px;
  outline: none;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #ef4444;
}

.error-msg {
  display: block;
  font-size: 0.8rem;
  color: #ef4444;
  margin-top: 6px;
  min-height: 1em;
}

.form-group select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238fa0c4' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.form-group select option {
  background: var(--bg-primary);
  color: var(--text-primary);
}

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

.form-status {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  margin-top: 16px;
  min-height: 1.5em;
}

.form-status.success {
  color: var(--green);
}

.form-status.error {
  color: #ef4444;
}

/* ---------- Footer ---------- */
.footer {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-primary);
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.footer-copy {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 10, 20, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.lightbox-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  width: 90%;
  text-align: center;
}

.lightbox-image-placeholder {
  width: 100%;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 4rem;
  margin-bottom: 16px;
}

.lightbox-caption {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.lightbox-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 2rem;
  cursor: pointer;
  padding: 8px;
  line-height: 1;
  transition: color var(--transition);
}

.lightbox-close:hover {
  color: var(--cyan);
}

/* ---------- Reveal Animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .services-grid,
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .process-timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

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

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    flex-direction: column;
    background: rgba(6, 10, 20, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 80px 24px 24px;
    gap: 4px;
    transition: right var(--transition);
    border-left: 1px solid var(--border);
    z-index: 999;
  }

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

  .nav-link {
    width: 100%;
    padding: 12px 16px;
  }

  .hero-headline {
    font-size: clamp(2.2rem, 8vw, 3rem);
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }

  .stat-divider {
    width: 60px;
    height: 1px;
  }

  .pillars-grid,
  .services-grid,
  .features-grid,
  .industries-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

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

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

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

  .contact-form-wrapper {
    padding: 28px 20px;
  }

  .platform-hero {
    padding: 32px 24px;
  }

  .cta-headline {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }
}

@media (max-width: 480px) {
  .section {
    padding: 72px 0;
  }

  .hero {
    padding: 100px 16px 60px;
  }

  .screenshot-gallery {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
  }

  .tech-chips {
    gap: 6px;
  }

  .chip, .tag {
    font-size: 0.7rem;
    padding: 3px 10px;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
