/* ============================================
   Polidister - Company Portal
   Dark tech theme based on RunPod design
   ============================================ */

/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg-primary: #0b0f1a;
  --bg-secondary: #111827;
  --bg-card: #151d2e;
  --bg-card-hover: #1e293b;
  --accent: #3b82f6;
  --accent-light: #60a5fa;
  --accent-glow: rgba(59, 130, 246, 0.3);
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --border: rgba(59, 130, 246, 0.15);
  --border-hover: rgba(96, 165, 250, 0.4);
  --max-width: 1200px;
  --nav-height: 72px;
}
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-height); }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* === Glow orbs background === */
.glow-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  z-index: 0;
  pointer-events: none;
}
.glow-orb-1 { width: 600px; height: 600px; background: rgba(59, 130, 246, 0.12); top: -200px; right: -200px; }
.glow-orb-2 { width: 500px; height: 500px; background: rgba(96, 165, 250, 0.10); top: 40%; left: -200px; }

/* === Navbar === */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  background: rgba(11, 15, 26, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
.navbar.scrolled { background: rgba(11, 15, 26, 0.92); box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25); }
.navbar-inner {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}
.nav-left { display: flex; align-items: center; gap: 12px; }
.logo-placeholder {
  width: 40px; height: 40px;
  border: 2px dashed var(--border-hover);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--text-dim);
  text-align: center;
  flex-shrink: 0;
  transition: border-color 0.3s;
}
.logo-placeholder:hover { border-color: var(--accent); }
.logo-placeholder img { width: 100%; height: 100%; object-fit: contain; border-radius: 6px; }
.brand-name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #ffffff 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nav-menu { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-menu a {
  display: block;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 6px;
  transition: all 0.2s;
  white-space: nowrap;
}
.nav-menu a:hover, .nav-menu a.active {
  color: var(--accent);
  background: rgba(59, 130, 246, 0.12);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: 0.3s;
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* === Sections === */
section { position: relative; z-index: 1; padding: 100px 0; }
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  width: 24px; height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.section-title {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.2;
  margin-bottom: 20px;
}
.section-title.gradient {
  background: linear-gradient(135deg, #ffffff 0%, var(--accent-light) 60%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 700px;
  margin-bottom: 48px;
  line-height: 1.6;
}

/* === Hero === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--nav-height);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  width: 800px; height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.16) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
}
.hero-content { position: relative; z-index: 1; max-width: 900px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(96, 165, 250, 0.35);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 28px;
}
.hero-badge::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--accent-light);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
.hero h1 {
  font-size: 64px;
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.1;
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-light) 50%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p {
  font-size: 20px;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.6;
}
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  font-family: inherit;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 20px var(--accent-glow);
}
.btn-primary:hover {
  background: var(--accent-light);
  box-shadow: 0 6px 30px var(--accent-glow);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-hover);
}
.btn-outline:hover {
  background: rgba(59, 130, 246, 0.12);
  border-color: var(--accent);
  color: var(--accent);
}

/* === Cards Grid === */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
}
.card:hover::before { opacity: 1; }
.card-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(59, 130, 246, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
  color: var(--accent);
  transition: all 0.3s;
}
.card-icon svg { transition: transform 0.3s ease; }
.card:hover .card-icon { background: rgba(59, 130, 246, 0.2); }
.card:hover .card-icon svg { transform: scale(1.1); }
.card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-primary);
}
.card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* === Two column layout === */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.two-col-text h2 { font-size: 36px; font-weight: 800; margin-bottom: 20px; letter-spacing: -0.5px; }
.two-col-text p { font-size: 17px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 16px; }

/* === Vision/Mission Cards === */
.vm-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  position: relative;
}
.vm-card .vm-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}
.vm-card h3 { font-size: 24px; font-weight: 700; margin-bottom: 16px; color: var(--text-primary); }
.vm-card p { font-size: 16px; color: var(--text-secondary); line-height: 1.7; }

/* === Stats === */
.stats-row {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 48px 0;
}
.stat-item { text-align: center; }
.stat-number {
  font-size: 56px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.stat-label { font-size: 14px; color: var(--text-muted); margin-top: 8px; }

/* === Tech Specs === */
.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 20px;
}
.spec-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  transition: all 0.3s;
}
.spec-item:hover { border-color: var(--border-hover); background: var(--bg-card-hover); }
.spec-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(59, 130, 246, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--accent);
  flex-shrink: 0;
  transition: all 0.3s;
}
.spec-icon svg { transition: transform 0.3s ease; }
.spec-item:hover .spec-icon { background: rgba(59, 130, 246, 0.2); }
.spec-item:hover .spec-icon svg { transform: scale(1.1); }
.spec-content h4 { font-size: 16px; font-weight: 700; color: var(--text-primary); margin-bottom: 6px; }
.spec-content p { font-size: 14px; color: var(--text-muted); line-height: 1.5; }

/* === Advantages === */
.adv-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: all 0.3s;
}
.adv-card:hover { border-color: var(--border-hover); transform: translateY(-4px); }
.adv-number {
  font-size: 48px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 16px;
}
.adv-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 12px; color: var(--text-primary); }
.adv-card p { font-size: 15px; color: var(--text-muted); line-height: 1.6; }

/* === Contact === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.3s;
}
.contact-item:hover { border-color: var(--border-hover); }
.contact-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(59, 130, 246, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--accent);
  flex-shrink: 0;
  transition: all 0.3s;
}
.contact-icon svg { transition: transform 0.3s ease; }
.contact-item:hover .contact-icon { background: rgba(59, 130, 246, 0.2); }
.contact-item:hover .contact-icon svg { transform: scale(1.1); }
.contact-item h4 { font-size: 16px; font-weight: 700; color: var(--text-primary); margin-bottom: 6px; }
.contact-item p { font-size: 14px; color: var(--text-muted); line-height: 1.5; }
.contact-quote {
  font-size: 18px;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.7;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  border-left: 4px solid var(--accent);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* === Footer === */
.footer {
  position: relative;
  z-index: 1;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.2);
}
.footer-top {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .logo-placeholder {
  width: 48px; height: 48px;
  margin-bottom: 16px;
}
.footer-brand .brand-name { font-size: 24px; margin-bottom: 12px; display: block; }
.footer-brand p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.footer-links a {
  display: block;
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--accent-light); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-dim);
}

/* === CTA Banner === */
.cta-banner {
  text-align: center;
  padding: 80px 32px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(96, 165, 250, 0.06) 100%);
  border: 1px solid var(--border);
  border-radius: 24px;
  margin: 0 24px;
  position: relative;
  overflow: hidden;
}
.cta-banner h2 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #ffffff 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.cta-banner p { font-size: 18px; color: var(--text-secondary); margin-bottom: 32px; }

/* === Section Images === */
.section-image {
  width: 100%;
  max-height: 420px;
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  background: var(--bg-card);
}
.section-image img {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: cover;
  object-position: center;
  display: block;
}
.hero-visual {
  margin-top: 56px;
  margin-left: auto;
  margin-right: auto;
  max-width: 960px;
  width: 90%;
  position: relative;
  z-index: 1;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 24px 80px rgba(59, 130, 246, 0.2);
  background: var(--bg-card);
}
.hero-visual img {
  width: 100%;
  height: auto;
  display: block;
}
.image-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.image-card .card-image {
  width: 100%;
  height: 180px;
  overflow: hidden;
}
.image-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.image-card:hover .card-image img { transform: scale(1.05); }
.image-card .card-body { padding: 28px; }

/* === Advantages 2x2 Grid === */
.adv-grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 768px) {
  .adv-grid-2x2 { grid-template-columns: 1fr; }
}

/* === Animations === */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === On The Way === */
.otw-header {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 48px;
}
.otw-header-text .section-title {
  margin-bottom: 16px;
}
.otw-subtitle {
  display: inline-block;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #22d3ee;
  text-transform: uppercase;
  padding: 8px 20px;
  background: rgba(34, 211, 238, 0.12);
  border: 1px solid rgba(34, 211, 238, 0.25);
  border-radius: 8px;
}
.otw-header-image {
  width: 100%;
  border-radius: 20px;
  border: 1px solid rgba(34, 211, 238, 0.2);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  background: var(--bg-card);
}
.otw-header-image img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: center;
  display: block;
}
.on-the-way-hero {
  display: grid;
  grid-template-columns: minmax(260px, 320px) 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 48px;
}
.on-the-way-stat {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.12) 0%, rgba(59, 130, 246, 0.08) 100%);
  border: 1px solid rgba(34, 211, 238, 0.25);
  border-radius: 24px;
  padding: 48px 32px;
  text-align: center;
}
.on-the-way-stat .stat-number {
  font-size: 96px;
  line-height: 1;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #22d3ee 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.on-the-way-stat .stat-label {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
}
.on-the-way-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.otw-feature {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: all 0.3s;
}
.otw-feature:hover {
  border-color: rgba(34, 211, 238, 0.35);
  background: var(--bg-card-hover);
}
.otw-feature h3 {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #22d3ee;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.otw-feature p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.otw-tagline {
  text-align: center;
  padding: 48px 24px;
  background: rgba(34, 211, 238, 0.08);
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 16px;
}
.otw-tagline p {
  font-size: 22px;
  font-weight: 600;
  color: #22d3ee;
  font-style: italic;
}
@media (max-width: 768px) {
  .otw-header { grid-template-columns: 1fr; }
  .otw-subtitle { font-size: 22px; }
  .otw-header-image img { height: 200px; }
  .on-the-way-hero { grid-template-columns: 1fr; }
  .on-the-way-stat .stat-number { font-size: 72px; }
}

/* === Tagline === */
.tagline-banner {
  text-align: center;
  padding: 48px 24px;
  background: rgba(59, 130, 246, 0.08);
  border-radius: 16px;
  border: 1px solid var(--border);
  margin-top: 48px;
}
.tagline-banner p {
  font-size: 22px;
  font-weight: 600;
  color: var(--accent);
  font-style: italic;
}

/* === Responsive === */
@media (max-width: 1024px) {
  .nav-menu { display: none; }
  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-height);
    left: 0; right: 0;
    background: rgba(11, 15, 26, 0.98);
    backdrop-filter: blur(20px);
    padding: 16px;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
  }
  .nav-toggle { display: flex; }
  .hero h1 { font-size: 44px; }
  .hero p { font-size: 18px; }
  .section-title { font-size: 32px; }
  .two-col { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
  .cta-banner h2 { font-size: 28px; }
  .stat-number { font-size: 40px; }
}
@media (max-width: 640px) {
  section { padding: 64px 0; }
  .hero h1 { font-size: 34px; }
  .section-title { font-size: 26px; }
  .cards-grid { grid-template-columns: 1fr; }
  .specs-grid { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .stats-row { gap: 24px; }
  .stat-number { font-size: 32px; }
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
}

/* === PPT Profile Additions === */
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 2000;
  padding: 10px 16px;
  color: #07111f;
  background: var(--accent-light);
  border-radius: 8px;
  transform: translateY(-150%);
  transition: transform 0.2s;
}
.skip-link:focus { transform: translateY(0); }

button.nav-toggle {
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
}

.hero-overline {
  margin-bottom: 14px !important;
  color: var(--accent-light) !important;
  font-size: 13px !important;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-gap { margin-top: 48px; }
.stats-left { margin: 32px 0 0; justify-content: flex-start; gap: 40px; }
.stat-align-left { text-align: left; }

.applications-image img { object-position: center 42%; }
.tall-image { min-height: 460px; }
.tall-image img { height: 460px; max-height: none; }
.stack-list { display: flex; flex-direction: column; gap: 18px; }
.install-layout { align-items: stretch; margin-top: 32px; }
.install-grid { grid-template-columns: 1fr; align-content: center; }
.install-grid .spec-item { min-height: 112px; }

.operations-grid { grid-template-columns: 1fr; }
.operations-grid .spec-icon,
.experience-details .spec-icon,
.install-grid .spec-icon {
  font-size: 11px;
  font-weight: 800;
}
.operations-image { min-height: 680px; }
.operations-image img { height: 680px; max-height: none; }

.experience-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  gap: 28px;
  align-items: stretch;
}
.experience-metric {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 42px;
  border: 1px solid rgba(34, 211, 238, 0.26);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(34, 211, 238, 0.11), rgba(59, 130, 246, 0.07));
}
.experience-metric > span {
  color: #22d3ee;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.experience-metric .stat-number {
  margin: 42px 0 8px;
  font-size: 100px;
}
.experience-metric h3 {
  margin-bottom: 16px;
  font-size: 26px;
}
.experience-metric p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 15px;
}
.experience-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}
.experience-details .spec-item { min-height: 118px; }

.contact-image { margin-bottom: 24px; }
.contact-info a { color: var(--accent-light); }
.contact-info a:hover { color: #fff; }
.contact-quote { margin: 0; }

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 100;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #fff;
  border: 1px solid var(--border-hover);
  border-radius: 10px;
  background: rgba(21, 29, 46, 0.9);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover { color: var(--accent-light); border-color: var(--accent); }

@media (max-width: 1024px) {
  .experience-grid { grid-template-columns: 1fr; }
  .experience-metric { min-height: 360px; }
  .operations-image { min-height: 460px; }
  .operations-image img { height: 460px; }
}

@media (max-width: 768px) {
  .hero-overline { font-size: 11px !important; }
  .stats-left { gap: 24px; }
  .tall-image,
  .operations-image { min-height: 360px; }
  .tall-image img,
  .operations-image img { height: 360px; }
  .experience-metric { padding: 32px; }
  .experience-metric .stat-number { font-size: 76px; }
}

@media (max-width: 640px) {
  .stats-left { flex-direction: column; align-items: flex-start; }
  .section-gap { margin-top: 36px; }
  .experience-metric { min-height: 330px; padding: 26px; }
  .experience-metric .stat-number { margin-top: 32px; font-size: 68px; }
  .back-to-top { right: 14px; bottom: 14px; }
}
