/* ===== CarioSens Design System ===== */
:root {
  --bg: #08090E;
  --card: #12141D;
  --blue: #0033AA;
  --accent: #3A6FD8;
  --silver: #A8B2C0;
  --silver-light: #D4D8E0;
  --chrome: linear-gradient(135deg, #8A9AB5 0%, #C8D0DC 35%, #E4E8EE 50%, #B0BCC8 70%, #8A9AB5 100%);
  --text: #E8ECF2;
  --muted: #8892A0;
  --divider: rgba(168,178,192,0.12);
  --card-alpha: rgba(18,20,29,0.65);
  --nav-bg: rgba(8,9,14,0.85);
  --input-bg: rgba(0,0,0,0.4);
}

/* Light Mode */
body.light {
  --bg: #F4F5F8;
  --card: #FFFFFF;
  --text: #1A1D25;
  --muted: #5C6370;
  --silver: #6B7385;
  --silver-light: #9AA2B0;
  --divider: rgba(0,0,0,0.08);
  --card-alpha: rgba(255,255,255,0.75);
  --nav-bg: rgba(244,245,248,0.88);
  --input-bg: rgba(255,255,255,0.85);
}
body.light .text-gradient {
  background: linear-gradient(135deg, #4A5568 0%, #1A1D25 40%, var(--blue) 100%);
  -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text;
}
body.light .nav { background: var(--nav-bg); }
body.light .nav-link, body.light .footer-link { color: var(--muted); -webkit-text-stroke: 0px transparent; }
body.light .nav-link:hover, body.light .nav-link.active, body.light .footer-link:hover { 
  color: #000; text-shadow: none; 
  transform: scale(1.08); 
  -webkit-text-stroke: 0.3px var(--blue);
}
body.light .nav-link:hover::after, body.light .nav-link.active::after, body.light .footer-link:hover::after { background: var(--blue); }
body.light .lang-select { color:#000; border-color:rgba(0,0,0,0.2); }
body.light .btn-demo { background:linear-gradient(135deg, var(--blue), #0044CC); color:#E8ECF2; box-shadow:0 0 15px rgba(0,51,170,0.15); }
body.light .btn-demo:hover { background:linear-gradient(135deg, #0044CC, var(--blue)); }
body.light .glass-card { background: var(--card-alpha); border-color: var(--divider); }
body.light .glass-card:hover { border-color:rgba(0,0,0,0.2); }
body.light .img-placeholder { background:linear-gradient(145deg,#f0f0f0,#e5e5e5); border-color:rgba(0,0,0,0.1); }
body.light .img-placeholder span { color:#999; }
body.light .section-title { color:#1A1D25; }
body.light .comparison-col.old { background: rgba(0,0,0,0.03); border-color: rgba(0,0,0,0.08); }
body.light .comparison-col.old li { background: rgba(255,255,255,0.8); border-color: rgba(0,0,0,0.05); color: var(--muted); }
body.light .comparison-col.new { background: linear-gradient(160deg, #ffffff, #f0f4ff); box-shadow: 0 20px 60px rgba(0,51,170,0.15); }
body.light .comparison-col.new li { background: #fff; border-color: rgba(0,51,170,0.15); color: #000; }
body.light .comparison-col.new li:hover { background: #f8faff; border-color: var(--accent); }
body.light .workflow-step { background: linear-gradient(160deg, #ffffff, #f4f7ff); border-color: rgba(0,51,170,0.15); box-shadow: 0 15px 40px rgba(0,51,170,0.08); }
body.light .workflow-step:hover { border-color: var(--accent); box-shadow: 0 25px 60px rgba(0,51,170,0.15); }
body.light .workflow-num { background: linear-gradient(135deg, var(--blue), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 8px 15px rgba(0,51,170,0.2)); }
body.light .workflow-step h4 { color: #1A1D25; }
body.light .workflow-step p { color: var(--muted); }
body.light .workflow-connector { background: #fff; border-color: rgba(0,51,170,0.2); color: var(--blue); box-shadow: 0 8px 20px rgba(0,51,170,0.1); }
body.light .workflow-step:hover .workflow-connector { background: var(--blue); color: #fff; }
body.light .accordion-header { color:#1A1D25; }

body.light .modal-content { background:#fff; }
body.light .modal-close { background:rgba(0,0,0,0.08); color:#000; }
body.light .sw-tab { color:var(--muted); }
body.light .sw-tab.active { background:var(--blue); color:#fff; }
body.light .sw-nav { background:rgba(0,0,0,0.04); }
body.light .tooth { border-color:rgba(0,0,0,0.15); background:rgba(0,0,0,0.02); color:#666; }
body.light .tooth:hover { background:rgba(74,81,186,0.1); color:#000; }
body.light .tooth-tooltip { background:#fff; border-color:rgba(0,0,0,0.1); color:#000; box-shadow:0 8px 32px rgba(0,0,0,0.12); }
body.light .team-card { background: #fff; border-color: rgba(0,0,0,0.08); }
body.light .team-card h4 { color: #000; }
body.light .team-card p { color: var(--muted); }
body.light .value-card { background:rgba(255,255,255,0.6); }
body.light .timeline-dot { border-color: #fff; }
body.light .timeline-item { background: #fff; border-color: rgba(0,0,0,0.08); box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
body.light .timeline-item:hover { border-color: var(--accent); background: rgba(0,51,170,0.02); box-shadow: 0 15px 40px rgba(0,51,170,0.15); }
body.light .timeline-item h4 { color: #000; }
body.light .timeline-year { color: #fff; }
body.light .form-input { background:var(--input-bg); color:#000; border-color:var(--divider); }
body.light .form-input:focus { border-color:var(--blue); }
body.light .footer { background:#F4F5F8; }
body.light .footer img:not(.footer-logo) { filter:none; mix-blend-mode:normal; opacity:0.6; }
body.light .nav-logo { mix-blend-mode:normal; }
body.light .orb { opacity:0.15; }
body.light .gauge-bg { stroke:rgba(0,0,0,0.08); }

/* Theme Toggle */
.theme-toggle {
  background:none; border:1px solid var(--divider); border-radius:50%;
  width:32px; height:32px; cursor:pointer; font-size:16px;
  display:flex; align-items:center; justify-content:center;
  transition: border-color 0.3s, transform 0.3s;
}
.theme-toggle:hover { border-color:var(--accent); transform:scale(1.1); }

/* Particle Canvas */
#particleCanvas {
  position:fixed; top:0; left:0; width:100%; height:100%;
  z-index:1; pointer-events:none;
  opacity:0.7; transition: opacity 0.5s;
}
#particleCanvas.hidden { opacity:0; }
body.light #particleCanvas { opacity:0.3; }

/* Particle Toggle */
.particle-toggle {
  background:none; border:1px solid var(--divider); border-radius:50%;
  width:32px; height:32px; cursor:pointer; font-size:14px;
  display:flex; align-items:center; justify-content:center;
  transition: border-color 0.3s, transform 0.3s;
}
.particle-toggle:hover { border-color:var(--accent); transform:scale(1.1); }
.particle-toggle.off { opacity:0.4; }

* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background 0.4s ease, color 0.4s ease;
}
::selection { background: var(--blue); color: #fff; }

/* ===== Navigation ===== */
.nav {
  position: fixed; top:0; width:100%; z-index:100;
  background: var(--nav-bg);
  backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px);
  border-bottom: 1px solid var(--divider);
  transition: all 0.4s;
}
.nav-inner {
  max-width: 1280px; margin:0 auto; padding:0 40px;
  display:flex; justify-content:space-between; align-items:center; height:100px;
}
.logo-light {
  display: none !important;
}
.logo-dark {
  display: block !important;
}
body.light .logo-light {
  display: block !important;
}
body.light .logo-dark {
  display: none !important;
}

.nav-logo {
  height:55px; object-fit:contain; cursor:pointer;
  position: relative;
  z-index: 2;
  transition: all 0.4s;
}
.nav-logo.logo-dark {
  filter: drop-shadow(0 0 15px rgba(168,178,192,0.7));
}
.nav-logo.logo-light {
  filter: none;
}
.logo-canvas {
  position:absolute; top:50%; left:50%;
  transform:translate(-50%, -50%);
  pointer-events:none;
  z-index: 0;
}
.nav .logo-canvas {
  width: 400px;
  height: 100px;
}
.footer .logo-canvas {
  width: 400px;
  height: 120px;
}
.nav-links { display:flex; gap:36px; align-items:center; }
.nav-link, .footer-link {
  font-size:15px; font-weight:600; letter-spacing:0.03em;
  color: var(--muted); background:none; border:none; cursor:pointer;
  padding-bottom:6px; position:relative;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  -webkit-text-stroke: 0px transparent;
}
.nav-link::after, .footer-link::after {
  content: ''; position: absolute;
  bottom: 0; left: 50%; transform: translateX(-50%);
  width: 0; height: 2px;
  background: var(--blue);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s, box-shadow 0.3s;
  border-radius: 2px;
}
.nav-link:hover, .nav-link.active, .footer-link:hover { 
  color:var(--text); 
  text-shadow: 0 0 12px rgba(255,255,255,0.2); 
  transform: scale(1.08);
  -webkit-text-stroke: 0.3px var(--accent);
}
.nav-link:hover::after, .nav-link.active::after, .footer-link:hover::after { width: 100%; box-shadow: 0 0 8px var(--blue); }
.nav-actions { display:flex; align-items:center; gap:18px; }
.lang-select {
  background:transparent; color:var(--silver); font-size:14px;
  border:1px solid rgba(168,178,192,0.2); border-radius:8px;
  padding:6px 12px; cursor:pointer; outline:none;
}
.lang-select option { color:#000; }
.btn-demo {
  background: linear-gradient(135deg, var(--silver-light), var(--silver));
  color:#0A0B10; padding:10px 24px; border-radius:99px;
  font-size:14px; font-weight:700; border:none; cursor:pointer;
  box-shadow: 0 0 15px rgba(168,178,192,0.2);
  transition: background 0.3s, transform 0.3s;
}
.btn-demo:hover { background:linear-gradient(135deg, #E4E8EE, var(--silver-light)); transform:scale(1.05); }

/* ===== Pages ===== */
.page-section { display:none; opacity:0; transition: opacity 0.5s ease; }
.page-section.active { display:block; opacity:1; }

/* ===== Typography ===== */
.text-gradient {
  background: var(--chrome);
  -webkit-background-clip:text; -webkit-text-fill-color:transparent;
  background-clip:text;
}
.section-label {
  font-size:14px; font-weight:600; letter-spacing:0.15em;
  text-transform:uppercase; color:var(--silver); margin-bottom:16px;
}
.section-title {
  font-size: clamp(40px,5vw,72px); font-weight:700;
  letter-spacing:-0.03em; line-height:1.05; color:var(--text);
}
.section-desc {
  font-size: clamp(18px,2vw,24px); color:var(--muted);
  line-height:1.6; font-weight:300;
}

/* ===== Scroll Reveal ===== */
.reveal {
  opacity:0; transform:translateY(50px);
  transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible { opacity:1; transform:translateY(0); }
.reveal-delay-1 { transition-delay:0.1s; }
.reveal-delay-2 { transition-delay:0.2s; }
.reveal-delay-3 { transition-delay:0.3s; }
.reveal-delay-4 { transition-delay:0.4s; }

/* ===== Gradient Orbs ===== */
.orb-container { position:absolute; inset:0; overflow:hidden; pointer-events:none; }
.orb {
  position:absolute; border-radius:50%; filter:blur(80px); opacity:0.4;
  animation: orbFloat 15s ease-in-out infinite;
}
.orb-1 { width:500px;height:500px;background:var(--blue);top:-10%;left:-5%;animation-delay:0s; }
.orb-2 { width:400px;height:400px;background:var(--accent);top:20%;right:-10%;animation-delay:-5s; }
.orb-3 { width:350px;height:350px;background:rgba(168,178,192,0.3);bottom:-5%;left:30%;animation-delay:-10s; }
@keyframes orbFloat {
  0%,100% { transform:translate(0,0) scale(1); }
  33% { transform:translate(30px,-40px) scale(1.1); }
  66% { transform:translate(-20px,30px) scale(0.95); }
}

/* ===== Hero ===== */
.hero {
  position:relative; min-height:100vh;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  text-align:center; padding: 120px 24px 60px;
}
.hero-title {
  font-size: clamp(56px,8vw,112px); font-weight:800;
  letter-spacing:-0.04em; line-height:1; margin-bottom:24px;
}
.hero-desc {
  font-size: clamp(18px,2vw,24px); color:var(--muted);
  max-width:640px; margin:0 auto 40px; font-weight:300; line-height:1.6;
}
.btn-explore {
  background: linear-gradient(135deg, var(--accent), var(--blue));
  color:#E8ECF2; padding:14px 36px; border-radius:99px;
  font-size:18px; font-weight:500; border:none; cursor:pointer;
  box-shadow: 0 0 30px rgba(0,51,170,0.4);
  transition: transform 0.3s, box-shadow 0.3s;
}
.btn-explore:hover { transform:scale(1.05); box-shadow:0 0 40px rgba(0,51,170,0.6); }

/* ===== Premium Image Presentations (Apple Style) ===== */
.premium-hero-shot {
  width: 100%;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: transparent;
  padding: 100px 0 0 0;
}
body.light .premium-hero-shot {
  background: transparent;
  box-shadow: none;
}

.premium-hero-shot::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 80%; height: 80%;
  background: radial-gradient(circle, rgba(0, 51, 170, 0.15) 0%, transparent 60%);
  filter: blur(40px);
  z-index: 0;
  animation: pulseAura 4s infinite alternate ease-in-out;
}
body.light .premium-hero-shot::before {
  background: radial-gradient(circle, rgba(0, 51, 170, 0.08) 0%, transparent 60%);
}

.premium-hero-shot img {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 900px;
  height: auto;
  object-fit: contain;
  animation: heroFloat 6s ease-in-out infinite;
  transform-origin: bottom center;
}

.premium-hero-shot::after {
  content: '';
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  max-width: 600px;
  height: 30px;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0.15) 0%, transparent 70%);
  filter: blur(8px);
  z-index: 1;
  animation: shadowScale 6s ease-in-out infinite;
}
body.light .premium-hero-shot::after {
  background: radial-gradient(ellipse at center, rgba(0,51,170,0.1) 0%, transparent 70%);
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0) scale(1.15); }
  50% { transform: translateY(-20px) scale(1.15); }
}
@keyframes shadowScale {
  0%, 100% { transform: translateX(-50%) scale(1); opacity: 1; }
  50% { transform: translateX(-50%) scale(0.85); opacity: 0.4; }
}
@keyframes pulseAura {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
  100% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
}

.premium-product-showcase {
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: zoom-in;
  background: linear-gradient(145deg, #1a1d26 0%, #12141d 100%);
  border-radius: 32px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255,255,255,0.06);
  padding: 40px;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s;
}
.premium-product-showcase:hover {
  transform: translateY(-8px);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255,255,255,0.08);
}
body.light .premium-product-showcase {
  background: linear-gradient(145deg, #ffffff 0%, #f5f5f7 100%);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12), inset 0 2px 4px rgba(255,255,255,0.8);
}
body.light .premium-product-showcase:hover {
  transform: translateY(-8px);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.18), inset 0 2px 4px rgba(255,255,255,0.8);
}
.premium-product-showcase img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: normal;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.4));
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
body.light .premium-product-showcase img {
  mix-blend-mode: multiply;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.08));
}
.premium-product-showcase:hover img {
  transform: scale(1.05);
}

.premium-ui-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
  background: #000;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s;
  display: flex;
}
body.light .premium-ui-frame {
  box-shadow: 0 20px 50px rgba(0, 51, 170, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
  background: #fff;
}
.premium-ui-frame:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.2);
}
body.light .premium-ui-frame:hover {
  box-shadow: 0 30px 60px rgba(0, 51, 170, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.1);
}
.premium-ui-frame img {
  width: 100%;
  height: auto;
  display: block;
}


/* Bento Background Image */
.bento-bg-img {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 65%;
  height: 100%;
  opacity: 0.7;
  pointer-events: none;
  border-radius: 0 28px 28px 0;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  mix-blend-mode: screen;
}
body.light .bento-bg-img {
  mix-blend-mode: multiply;
  opacity: 0.6;
}
.bento-bg-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  mask-image: linear-gradient(to right, transparent, black 25%);
  -webkit-mask-image: linear-gradient(to right, transparent, black 25%);
}

/* ===== Image Placeholder ===== */
.img-placeholder {
  background: linear-gradient(145deg, var(--card), var(--bg));
  display:flex; align-items:center; justify-content:center;
  border:1px dashed rgba(255,255,255,0.12); position:relative; overflow:hidden;
}
.img-placeholder::after {
  content:''; position:absolute; inset:0;
  background:radial-gradient(circle at 50% 50%, rgba(0,5,104,0.08) 0%, transparent 70%);
}
.img-placeholder span { color:var(--muted); font-family:monospace; font-size:13px; z-index:1; text-align:center; }

/* ===== Temsili Görsel İbaresi ===== */
.img-caption {
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  margin-top: 10px;
  letter-spacing: 0.04em;
  opacity: 0.65;
  font-style: italic;
  pointer-events: none;
  user-select: none;
}
.img-caption-overlay {
  position: absolute;
  bottom: 10px;
  right: 14px;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.04em;
  opacity: 0.55;
  font-style: italic;
  pointer-events: none;
  user-select: none;
  z-index: 5;
}

/* ===== Glass Card ===== */
.glass-card {
  background: var(--card-alpha);
  backdrop-filter: blur(20px); -webkit-backdrop-filter:blur(20px);
  border:1px solid var(--divider); border-radius:24px;
  transition: transform 0.4s ease, border-color 0.4s, background 0.4s;
}
.glass-card:hover { border-color:rgba(255,255,255,0.2); transform:translateY(-4px); }

/* ===== Comparison Section ===== */
.comparison-grid {
  display:flex; justify-content:center; gap:40px;
  max-width:1080px; margin:0 auto; flex-wrap:wrap;
}

.comparison-col {
  flex: 1; min-width:320px; padding:48px 40px; border-radius:32px;
  position:relative; transition:all 0.5s cubic-bezier(0.16,1,0.3,1);
  display: flex; flex-direction: column;
}

.comparison-col h3 {
  font-size: 26px; font-weight: 800; text-align: center; margin-bottom: 40px;
}

.comparison-col.old {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  transform: scale(0.96);
  opacity: 0.8;
}

.comparison-col.old:hover {
  transform: scale(0.98); opacity: 1; border-color: rgba(255,50,50,0.3);
}

.comparison-col.new {
  background: linear-gradient(160deg, rgba(18,20,29,0.9), rgba(0,25,80,0.6));
  border: 1px solid var(--accent);
  box-shadow: 0 20px 60px rgba(0,51,170,0.2);
  transform: scale(1.04);
  z-index: 2;
}

.comparison-col.new::before {
  content: ''; position: absolute; inset: -1px; border-radius: 33px;
  background: linear-gradient(135deg, var(--accent), var(--blue));
  z-index: -1; opacity: 0.6; filter: blur(20px); transition: opacity 0.5s;
}

.comparison-col.new:hover {
  transform: scale(1.06); box-shadow: 0 30px 80px rgba(0,51,170,0.4);
}
.comparison-col.new:hover::before {
  opacity: 1;
}

.comparison-col ul {
  list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 16px; flex: 1; justify-content: center;
}

.comparison-col li {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 24px 16px; border-radius: 20px;
  transition: transform 0.4s, background 0.4s, border-color 0.4s;
}

.comparison-col.old li {
  background: rgba(0,0,0,0.2); border: 1px solid rgba(255,255,255,0.03); color: var(--muted);
}
.comparison-col.old li:hover {
  background: rgba(255,50,50,0.05); border-color: rgba(255,50,50,0.2); transform: translateY(-4px); color: #fff;
}

.comparison-col.new li {
  background: rgba(0,51,170,0.15); border: 1px solid rgba(0,51,170,0.3); color: #fff;
}
.comparison-col.new li:hover {
  background: rgba(0,51,170,0.3); border-color: var(--accent); transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0,51,170,0.2);
}

.comparison-col li .icon {
  font-size: 32px; margin-bottom: 12px; filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
  transition: transform 0.4s;
}
.comparison-col li:hover .icon {
  transform: scale(1.2) translateY(-4px);
}
.comparison-col.old li .icon {
  filter: grayscale(1) opacity(0.7);
}
.comparison-col.old li:hover .icon {
  filter: grayscale(0) opacity(1);
}

/* ===== Workflow Steps ===== */
.workflow { display:flex; width:100%; gap:40px; max-width:1160px; margin:0 auto; justify-content:center; align-items:stretch; position:relative; }

.workflow-step {
  flex: 1; text-align: center; padding: 56px 40px;
  background: linear-gradient(160deg, rgba(18,20,29,0.7), rgba(0,25,80,0.3));
  border: 1px solid rgba(0,51,170,0.3);
  border-radius: 32px; position: relative; z-index: 1;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  transition: all 0.5s cubic-bezier(0.16,1,0.3,1);
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
}

.workflow-step::before {
  content: ''; position: absolute; inset: -1px; border-radius: 33px;
  background: linear-gradient(135deg, var(--accent), transparent);
  z-index: -1; opacity: 0; filter: blur(15px); transition: opacity 0.5s;
}

.workflow-step:hover {
  transform: translateY(-12px); border-color: var(--accent);
  box-shadow: 0 20px 50px rgba(0,51,170,0.3);
}

.workflow-step:hover::before {
  opacity: 0.6;
}

.workflow-num {
  font-size: 80px; font-weight: 900; line-height: 1; margin-bottom: 24px;
  background: linear-gradient(135deg, #ffffff, var(--silver-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 10px 20px rgba(0,51,170,0.4));
  transition: transform 0.4s;
}

.workflow-step:hover .workflow-num {
  transform: scale(1.1);
}

.workflow-step h4 {
  font-size: 24px; font-weight: 800; margin-bottom: 16px; color: #fff;
}

.workflow-step p {
  font-size: 16px; color: var(--silver); line-height: 1.7;
}

.workflow-connector {
  position: absolute; right: -28px; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(0,51,170,0.2); border: 1px solid rgba(0,51,170,0.4);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center;
  color: #fff; z-index: 2; box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  transition: all 0.4s;
}

.workflow-step:hover .workflow-connector {
  background: var(--blue); border-color: var(--accent);
  transform: translateY(-50%) scale(1.1); box-shadow: 0 10px 30px rgba(0,51,170,0.5);
}

/* ===== Bento Grid ===== */
.bento-grid { display:grid; grid-template-columns:2fr 1fr; gap:16px; }
.bento-item {
  border-radius:28px; padding:48px; position:relative; overflow:hidden;
  display:flex; flex-direction:column; justify-content:space-between; min-height:360px;
}

/* ===== Accordion ===== */
.accordion-item { border-bottom:1px solid var(--divider); }
.accordion-header {
  width:100%; background:none; border:none; color:#fff;
  font-size:18px; font-weight:600; padding:20px 0;
  display:flex; justify-content:space-between; align-items:center;
  cursor:pointer; text-align:left;
}
.accordion-header .arrow {
  transition:transform 0.3s; font-size:14px; color:var(--muted);
}
.accordion-item.open .accordion-header .arrow { transform:rotate(180deg); }
.accordion-body {
  max-height:0; overflow:hidden;
  transition: max-height 0.4s cubic-bezier(0.16,1,0.3,1), padding 0.3s;
}
.accordion-item.open .accordion-body { max-height:400px; padding-bottom:20px; }
.accordion-body p { font-size:15px; color:var(--muted); line-height:1.7; }

/* ===== Module Tabs (Platform) ===== */

/* Module Wrapper Animation */
.module-wrapper-anim {
  transition: all 0.8s ease;
  background: var(--card-alpha);
  border: 1px solid var(--divider);
}
.module-wrapper-white {
  box-shadow: inset 0 0 80px rgba(255, 255, 255, 0.02);
}
body.light .module-wrapper-white {
  box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.02);
}

.module-wrapper-uv {
  background: rgba(168, 85, 247, 0.03);
  border-color: rgba(168, 85, 247, 0.15);
  box-shadow: 0 10px 40px rgba(168, 85, 247, 0.05), inset 0 0 100px rgba(168, 85, 247, 0.02);
}
body.light .module-wrapper-uv {
  background: rgba(168, 85, 247, 0.04);
  box-shadow: 0 15px 50px rgba(168, 85, 247, 0.08), inset 0 0 100px rgba(168, 85, 247, 0.03);
}

.module-wrapper-nir {
  background: rgba(239, 68, 68, 0.03);
  border-color: rgba(239, 68, 68, 0.15);
  box-shadow: 0 10px 40px rgba(239, 68, 68, 0.05), inset 0 0 100px rgba(239, 68, 68, 0.02);
}
body.light .module-wrapper-nir {
  background: rgba(239, 68, 68, 0.04);
  box-shadow: 0 15px 50px rgba(239, 68, 68, 0.08), inset 0 0 100px rgba(239, 68, 68, 0.03);
}

.module-wrapper-laser {
  background: rgba(59, 130, 246, 0.03);
  border-color: rgba(59, 130, 246, 0.15);
  box-shadow: 0 10px 40px rgba(59, 130, 246, 0.05), inset 0 0 100px rgba(59, 130, 246, 0.02);
}
body.light .module-wrapper-laser {
  background: rgba(59, 130, 246, 0.04);
  box-shadow: 0 15px 50px rgba(59, 130, 246, 0.08), inset 0 0 100px rgba(59, 130, 246, 0.03);
}

.module-content { display:none; opacity:0; transform:translateY(10px); transition:all 0.4s; }
.module-content.active { display:block; opacity:1; transform:translateY(0); }
.module-glow {
  position:absolute; inset:0; filter:blur(100px); transition:background 0.8s;
}
.module-icon {
  width:96px; height:96px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  transition: all 0.6s cubic-bezier(0.16,1,0.3,1);
}

/* ===== Modal / Lightbox ===== */
.modal-overlay {
  position:fixed; inset:0; z-index:200;
  background:rgba(0,0,0,0.85); backdrop-filter:blur(20px);
  display:none; align-items:center; justify-content:center;
  opacity:0; transition:opacity 0.3s;
}
.modal-overlay.active { display:flex; opacity:1; }
.modal-content {
  max-width:900px; width:90%; max-height:85vh; overflow-y:auto;
  background:var(--card); border:1px solid var(--divider);
  border-radius:24px; padding:48px; position:relative;
  transform:scale(0.95); transition:transform 0.4s cubic-bezier(0.16,1,0.3,1);
}
.modal-overlay.active .modal-content { transform:scale(1); }
.modal-close {
  position:absolute; top:16px; right:16px;
  background:rgba(255,255,255,0.1); border:none; color:#fff;
  width:36px; height:36px; border-radius:50%; cursor:pointer;
  font-size:18px; display:flex; align-items:center; justify-content:center;
  transition: background 0.3s;
}
.modal-close:hover { background:rgba(255,255,255,0.2); }

/* ===== Software Tabs ===== */
.sw-nav {
  position: relative;
  display:flex; gap:8px; 
  background:rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  padding:8px; border-radius:99px; overflow-x:auto; margin:0 auto;
  width:fit-content; max-width:100%;
  box-shadow: inset 0 4px 20px rgba(0,0,0,0.4);
}
.sw-indicator {
  position: absolute;
  top: 8px; bottom: 8px; left: 8px; width: 0;
  border-radius: 99px;
  background: linear-gradient(135deg, var(--accent), var(--blue)); 
  box-shadow: 0 4px 15px rgba(0,51,170,0.4);
  border: 1px solid rgba(255,255,255,0.15);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1; pointer-events: none;
}
.sw-tab {
  position: relative; z-index: 2;
  padding:10px 24px; border-radius:99px; font-size:15px; font-weight:600;
  background:none; border:1px solid transparent; color:var(--muted); cursor:pointer;
  white-space:nowrap; transition:all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

.sw-tab:hover { color: #fff; }
.sw-tab.active { 
  background: transparent; 
  color:#fff; 
  box-shadow: none;
  border-color: transparent;
}
body.light .sw-nav { background:rgba(0,0,0,0.04); border-color:rgba(0,0,0,0.08); box-shadow: inset 0 2px 10px rgba(0,0,0,0.05); }
body.light .sw-indicator { background:var(--blue); box-shadow: 0 4px 15px rgba(0,51,170,0.3); border-color:transparent; }
body.light .sw-tab { color:var(--muted); }
body.light .sw-tab:hover { color:#000; }
body.light .sw-tab.active { background:transparent; color:#fff; box-shadow:none; border-color:transparent; }
.sw-panel { display:none; animation: fadeSlideUp 0.5s ease forwards; }
.sw-panel.active { display:block; }
@keyframes fadeSlideUp {
  from { opacity:0; transform:translateY(20px); }
  to { opacity:1; transform:translateY(0); }
}

/* ===== Gauge ===== */
.gauge-container { position:relative; width:200px; height:200px; margin:0 auto; }
.gauge-svg { transform:rotate(-90deg); }
.gauge-bg { fill:none; stroke:rgba(255,255,255,0.08); stroke-width:8; }
.gauge-fill {
  fill:none; stroke:url(#gaugeGrad); stroke-width:8;
  stroke-linecap:round; stroke-dasharray:565; stroke-dashoffset:565;
  transition: stroke-dashoffset 1.5s cubic-bezier(0.16,1,0.3,1);
}
.gauge-fill.animated { stroke-dashoffset:140; }
.gauge-value {
  position:absolute; top:50%; left:50%; transform:translate(-50%,-50%);
  font-size:48px; font-weight:800; text-align:center;
}

/* ===== Odontogram ===== */
.odontogram { max-width:700px; margin:0 auto; }
.tooth-row { display:flex; justify-content:center; gap:4px; margin-bottom:8px; }
.tooth {
  width:40px; height:48px; border:2px solid rgba(255,255,255,0.15);
  border-radius:6px 6px 4px 4px; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  font-size:10px; font-weight:600; color:var(--muted);
  transition: all 0.3s; position:relative; background:rgba(255,255,255,0.03);
}
.tooth:hover { border-color:var(--accent); background:rgba(74,81,186,0.15); color:#fff; transform:scale(1.15); z-index:2; }
.tooth.lower { border-radius:4px 4px 6px 6px; }
.tooth-tooltip {
  position:absolute; bottom:calc(100% + 8px); left:50%; transform:translateX(-50%);
  background:var(--card); border:1px solid var(--divider); border-radius:12px;
  padding:12px 16px; white-space:nowrap; font-size:12px; color:var(--text);
  pointer-events:none; opacity:0; transition:opacity 0.3s;
  box-shadow:0 8px 32px rgba(0,0,0,0.5); z-index:10;
}
.tooth:hover .tooth-tooltip { opacity:1; }

/* ===== Timeline ===== */
.timeline {
  position: relative; max-width: 1000px; margin: 0 auto; padding: 40px 0;
}

.timeline::before {
  content: ''; position: absolute; left: 50%; top: 0; bottom: 0;
  width: 2px; background: linear-gradient(to bottom, transparent, var(--accent), var(--blue), transparent);
  transform: translateX(-50%);
}

.timeline-item {
  width: calc(50% - 48px);
  padding: 32px 40px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--divider);
  border-radius: 24px;
  position: relative;
  margin-bottom: 40px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
}

.timeline-item:nth-child(odd) {
  left: 0; text-align: right;
}

.timeline-item:nth-child(even) {
  left: calc(50% + 48px); text-align: left;
}

.timeline-dot {
  position: absolute; right: -56px; top: 40px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--blue); border: 4px solid var(--bg);
  box-shadow: 0 0 20px rgba(0,51,170,0.8);
  z-index: 2; transition: transform 0.4s, background 0.4s;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -56px; right: auto;
}

.timeline-item:hover {
  transform: translateY(-8px); border-color: var(--accent);
  background: rgba(0,51,170,0.05);
  box-shadow: 0 15px 40px rgba(0,51,170,0.2);
}

.timeline-item:hover .timeline-dot {
  transform: scale(1.6); background: var(--accent); border-color: var(--card);
}

.timeline-year {
  display: inline-block; font-size: 14px; font-weight: 800; color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--accent));
  padding: 6px 16px; border-radius: 20px; margin-bottom: 16px;
  box-shadow: 0 4px 15px rgba(0,51,170,0.3);
}

.timeline-item h4 {
  font-size: 22px; font-weight: 800; margin-bottom: 12px; color: var(--text);
}

.timeline-item p {
  font-size: 15px; color: var(--muted); line-height: 1.7;
}

@media (max-width: 768px) {
  .timeline::before { left: 24px; transform: none; }
  .timeline-item { width: calc(100% - 64px); left: 64px !important; text-align: left !important; }
  .timeline-item:nth-child(even) { left: 64px !important; }
  .timeline-dot { left: -48px !important; right: auto !important; }
  .timeline-item:nth-child(even) .timeline-dot { left: -48px !important; }
}

/* ===== Team Cards ===== */
.team-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }
.team-card {
  text-align: center; padding: 48px 24px; border-radius: 32px;
  background: linear-gradient(160deg, rgba(18,20,29,0.7), rgba(0,25,80,0.3));
  border: 1px solid rgba(0,51,170,0.3);
  position: relative; z-index: 1; overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  transition: all 0.5s cubic-bezier(0.16,1,0.3,1);
}
.team-card::before {
  content: ''; position: absolute; inset: -1px; border-radius: 33px;
  background: linear-gradient(135deg, var(--accent), transparent);
  z-index: -1; opacity: 0; filter: blur(15px); transition: opacity 0.5s;
}
.team-card:hover { 
  transform: translateY(-12px); border-color: var(--accent);
  box-shadow: 0 20px 50px rgba(0,51,170,0.3);
}
.team-card:hover::before { opacity: 0.6; }
.team-avatar {
  width: 110px; height: 110px; border-radius: 50%; margin: 0 auto 24px;
  background: linear-gradient(135deg, var(--accent), var(--blue));
  display: flex; align-items: center; justify-content: center;
  font-size: 36px; font-weight: 800; color: #fff;
  box-shadow: 0 10px 25px rgba(0,51,170,0.4);
  transition: transform 0.4s;
}
.team-card:hover .team-avatar { transform: scale(1.1); }
.team-card h4 { font-size: 20px; font-weight: 800; margin-bottom: 6px; color: #fff; }
.team-card p { font-size: 14px; color: var(--silver); }

/* ===== Values ===== */
.values-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:24px; }
.value-card {
  padding:40px; border-radius:24px; background:rgba(17,17,26,0.4);
  border:1px solid var(--divider); transition: border-color 0.3s;
}
.value-card:hover { border-color:var(--accent); }
.value-icon { font-size:40px; margin-bottom:16px; }
.value-card h4 { font-size:20px; font-weight:700; margin-bottom:8px; }
.value-card p { font-size:15px; color:var(--muted); line-height:1.6; }

/* ===== Stats ===== */
.stats-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:32px; text-align:center; }
.stat-item .stat-num {
  font-size: clamp(48px,6vw,80px); font-weight:800; line-height:1;
  margin-bottom:8px;
}
.stat-item .stat-label {
  font-size:13px; font-weight:600; text-transform:uppercase;
  letter-spacing:0.12em; color:var(--muted);
}

/* ===== Contact ===== */
.contact-grid { display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:start; }
.form-input {
  width:100%; background:rgba(0,0,0,0.5); border:1px solid var(--divider);
  color:#fff; padding:14px 18px; border-radius:14px; font-size:15px;
  outline:none; transition:border-color 0.3s; font-family:inherit;
}
.form-input:focus { border-color:var(--blue); }
.form-submit {
  width:100%; background:var(--blue); color:#fff; font-weight:700;
  padding:16px; border-radius:14px; border:none; cursor:pointer;
  font-size:16px; transition:background 0.3s;
}
.form-submit:hover { background:#000890; }

/* ===== Footer ===== */
.footer {
  border-top:1px solid var(--divider); padding:48px 24px;
  display:flex; justify-content:center;
  position: relative; overflow: hidden;
}
.footer-content {
  display: flex; flex-direction: row; align-items: center; justify-content: space-between;
  width: 100%; max-width: 1280px; gap: 32px;
}
.footer-left {
  flex: 1; display: flex; justify-content: flex-start; align-items: center;
}
.footer-center {
  flex: 2; display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.footer-right {
  flex: 1; display: flex; justify-content: flex-end; align-items: center; gap: 16px;
}
.footer-logo {
  height:55px; opacity:1 !important;
  position: relative;
  z-index: 2;
  transition: all 0.4s;
}
.footer-logo.logo-dark {
  filter: drop-shadow(0 0 15px rgba(168,178,192,0.7));
}
.footer-logo.logo-light {
  filter: none;
}
.footer-links {
  display: flex; gap: 32px; flex-wrap: wrap; justify-content: center;
}
.footer-copy { font-size:14px; color:var(--muted); text-align:center; letter-spacing:0.02em; }
.social-icon {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.05); color: var(--silver);
  border: 1px solid var(--divider); transition: all 0.3s;
}
.social-icon svg { width: 20px; height: 20px; }
.social-icon:hover {
  background: var(--blue); color: #fff; border-color: var(--blue);
  transform: translateY(-4px); box-shadow: 0 4px 15px rgba(0,51,170,0.5);
}
body.light .social-icon { background: rgba(0,0,0,0.05); color: var(--muted); }
body.light .social-icon:hover { background: var(--blue); color: #fff; }

/* ===== Utility ===== */
.container { max-width:1280px; margin:0 auto; padding:0 24px; }
.text-center { text-align:center; }
.mb-16 { margin-bottom:16px; }
.mb-24 { margin-bottom:24px; }
.mb-40 { margin-bottom:40px; }
.mb-64 { margin-bottom:64px; }
.mb-80 { margin-bottom:80px; }
.py-120 { padding-top:120px; padding-bottom:120px; }
.py-80 { padding-top:80px; padding-bottom:80px; }
.pt-100 { padding-top:100px; }
.gap-16 { gap:16px; }

/* ===== Responsive ===== */
/* ===== AI Workflow Animations ===== */
.workflow-container {
  display: flex; align-items: stretch; justify-content: center;
  position: relative; flex-wrap: nowrap; gap: 24px;
}

.workflow-container .workflow-step {
  flex: 1; min-width: 220px; max-width: 280px; padding: 32px;
  background: rgba(255,255,255,0.02); border: 1px solid var(--divider);
  border-radius: 20px; text-align: center; position: relative; z-index: 1;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
}
.glow-card {
  animation: pulseGlow 4s infinite ease-in-out;
}
.glow-card.delay-1 { animation-delay: 1.33s; }
.glow-card.delay-2 { animation-delay: 2.66s; }

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,51,170,0); border-color: var(--divider); }
  50% { box-shadow: 0 0 20px 0 rgba(0,51,170,0.5); border-color: var(--blue); }
}

.workflow-arrow {
  color: var(--muted); z-index: 1; position: relative;
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--divider);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  flex-shrink: 0;
  align-self: center;
}
.workflow-arrow svg {
  color: var(--accent);
}

.step-icon { font-size: 40px; margin-bottom: 12px; }

/* AI Features Grid */
.ai-features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px;
}
.feature-box {
  padding: 32px; text-align: center; border-radius: 20px;
}
.feature-icon {
  font-size: 32px; margin-bottom: 16px;
}

/* ==========================================================================
   Responsive Utilities & Layout Components (Default Declarations First!)
   ========================================================================== */

/* Responsive Grid Utilities */
.responsive-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.responsive-grid-2 > div {
  min-width: 0;
}

.responsive-grid-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

#module-wrapper {
  padding: 48px;
  border-radius: 32px;
}

/* Hide navigation scrollbars natively */
.sw-nav::-webkit-scrollbar {
  display: none;
}
.sw-nav {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Hamburger Toggle Button */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 210;
}
.menu-toggle .bar {
  width: 100%;
  height: 3px;
  background-color: var(--text);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.menu-toggle.open .bar:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}
.menu-toggle.open .bar:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open .bar:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

/* Full-screen Glassmorphic Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--nav-bg);
  backdrop-filter: blur(35px);
  -webkit-backdrop-filter: blur(35px);
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-100%);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-menu-overlay.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  width: 100%;
  max-width: 400px;
  padding: 24px;
  margin-top: 80px;
}
.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  width: 100%;
}
.mobile-nav-link {
  font-size: 24px;
  font-weight: 700;
  color: var(--muted);
  background: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-nav-link:hover, .mobile-nav-link.active {
  color: var(--text);
  transform: scale(1.08);
  text-shadow: 0 0 15px rgba(255,255,255,0.3);
}
body.light .mobile-nav-link:hover, body.light .mobile-nav-link.active {
  color: #000;
  text-shadow: none;
}
.mobile-nav-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
  margin-top: 20px;
}
.mobile-toggles-row {
  display: flex;
  align-items: center;
  gap: 24px;
}
.mobile-btn-demo {
  width: 100%;
  text-align: center;
  padding: 14px 48px;
  font-size: 16px;
}
.mobile-header-actions {
  display: none;
}

/* ==========================================================================
   Media Queries (Always at the end so they can override defaults!)
   ========================================================================== */

@media(max-width:1024px) {
  .bento-grid { grid-template-columns:1fr; }
  .comparison-grid { grid-template-columns:1fr; }
  .workflow { flex-direction:column; }
  .workflow-connector { display:none; }
  .team-grid { grid-template-columns:repeat(2,1fr); }
  .stats-grid { grid-template-columns:repeat(2,1fr); }
  .contact-grid { grid-template-columns:1fr; }
  .values-grid { grid-template-columns:1fr; }
  .nav-links { display:none; }
  .nav-actions { display:none; }
  .mobile-header-actions {
    display: flex !important;
    align-items: center;
    gap: 12px;
    margin-left: auto;
    margin-right: 16px;
    z-index: 101;
  }
  .menu-toggle { display:flex; }
  .nav-inner { height: 80px; padding: 0 24px; }
  .nav-logo { height: 60px; }
}

@media(max-width:900px) {
  .footer-content { flex-direction: column; text-align: center; gap: 32px; }
  .footer-left, .footer-right { justify-content: center; }
  .footer-center { gap: 24px; }
  
  .workflow-container { flex-direction: column; align-items: center; }
  .workflow-arrow { transform: rotate(90deg); margin: 8px 0; }
  .ai-features-grid { grid-template-columns: 1fr; }
  .responsive-grid-2 {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .responsive-grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width:640px) {
  .team-grid { grid-template-columns:1fr; }
  .stats-grid { grid-template-columns:1fr; }
  
  .nav .logo-canvas { width: 240px; height: 80px; }
  .footer .logo-canvas { width: 240px; height: 100px; }
  .footer-logo { height: 80px; }
  .premium-product-showcase { height: 320px; padding: 24px; border-radius: 20px; }
  .premium-hero-shot { min-height: 40vh; padding: 40px 0 0 0; }
  
  .responsive-grid-3 {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  #module-wrapper {
    padding: 24px;
    border-radius: 20px;
  }
}

@media (max-width: 600px) {
  .responsive-grid-cards {
    grid-template-columns: 1fr;
  }
}
