/* Iseman Investments LLC - Computer Systems Design */
/* Original Design System */

:root {
  --deep-navy: #0b1a2e;
  --rich-blue: #0f3460;
  --steel: #16213e;
  --teal: #0098a6;
  --teal-dark: #007784;
  --gold: #c8963e;
  --gold-light: #d4a853;
  --warm-bg: #f5f3ef;
  --off-white: #fafaf8;
  --card-bg: #ffffff;
  --text-dark: #161d2b;
  --text-med: #3a4152;
  --text-light: #6b7280;
  --border: #e2e0dc;
  --border-light: #f0efe9;
  --success: #0d9488;
  --shadow-sm: 0 1px 3px rgba(11, 26, 46, 0.06);
  --shadow-md: 0 4px 20px rgba(11, 26, 46, 0.08);
  --shadow-lg: 0 12px 40px rgba(11, 26, 46, 0.12);
  --radius: 6px;
  --radius-lg: 12px;
  --radius-xl: 20px;
}

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

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--deep-navy);
}

h1 { font-size: 2.75rem; letter-spacing: -0.5px; }
h2 { font-size: 2.25rem; letter-spacing: -0.3px; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-med);
}

a {
  color: var(--teal);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--teal-dark);
}

/* ============================================
   NAVIGATION - Top Bar
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--deep-navy);
  border-bottom: 2px solid rgba(201, 150, 62, 0.3);
  transition: background 0.3s ease;
}

.navbar.scrolled {
  background: rgba(11, 26, 46, 0.97);
  box-shadow: var(--shadow-md);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.nav-brand-icon {
  width: 38px;
  height: 38px;
  background: var(--teal);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #ffffff;
  font-weight: 800;
  position: relative;
  overflow: hidden;
}

.nav-brand-icon::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
}

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

.nav-links a {
  color: #c8cdd4;
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: #ffffff;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.25s ease;
}

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

.nav-cta {
  background: var(--teal);
  color: #ffffff !important;
  padding: 8px 20px !important;
  border-radius: var(--radius);
  font-weight: 600 !important;
  transition: background 0.25s ease;
}

.nav-cta:hover {
  background: var(--teal-dark);
}

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

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #ffffff;
  transition: all 0.3s ease;
  transform-origin: center;
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   HERO SECTION - Unique Geometric Design
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, var(--deep-navy) 0%, var(--steel) 40%, var(--rich-blue) 100%);
  overflow: hidden;
  padding-top: 64px;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 150, 62, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 150, 62, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, black 30%, transparent 70%);
}

.hero-geo-shape {
  position: absolute;
  border: 2px solid rgba(0, 152, 166, 0.2);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: morphShape 12s ease-in-out infinite;
}

.hero-geo-shape.shape1 {
  width: 400px;
  height: 400px;
  top: -10%;
  right: -5%;
  animation-delay: 0s;
}

.hero-geo-shape.shape2 {
  width: 300px;
  height: 300px;
  bottom: -8%;
  left: -5%;
  border-color: rgba(201, 150, 62, 0.15);
  animation-delay: -6s;
}

.hero-geo-shape.shape3 {
  width: 180px;
  height: 180px;
  top: 30%;
  right: 25%;
  border-color: rgba(0, 152, 166, 0.1);
  animation-delay: -3s;
  animation-duration: 16s;
}

@keyframes morphShape {
  0%, 100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
  25% { border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%; }
  50% { border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%; }
  75% { border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%; }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.hero-text {
  color: #ffffff;
}

.hero-eyebrow {
  display: inline-block;
  background: rgba(0, 152, 166, 0.2);
  color: #5eead4;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid rgba(0, 152, 166, 0.3);
  margin-bottom: 24px;
}

.hero-text h1 {
  font-size: 3.25rem;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-text h1 span {
  color: var(--gold);
}

.hero-text .hero-subtitle {
  font-size: 1.2rem;
  color: #a8b5c8;
  max-width: 540px;
  margin-bottom: 36px;
  line-height: 1.6;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
  text-decoration: none;
  letter-spacing: 0.3px;
}

.btn-primary {
  background: var(--teal);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--teal-dark);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 152, 166, 0.35);
}

.btn-outline {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  border-color: #ffffff;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.hero-visual {
  position: relative;
}

.hero-card-stack {
  position: relative;
  height: 380px;
}

.hero-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 28px;
  color: #ffffff;
  width: 280px;
}

.hero-card:nth-child(1) {
  top: 0;
  left: 0;
  z-index: 3;
  background: rgba(0, 152, 166, 0.15);
  border-color: rgba(0, 152, 166, 0.3);
}

.hero-card:nth-child(2) {
  top: 50px;
  left: 40px;
  z-index: 2;
}

.hero-card:nth-child(3) {
  top: 100px;
  left: 80px;
  z-index: 1;
}

.hero-card-icon {
  width: 44px;
  height: 44px;
  background: var(--teal);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 14px;
}

.hero-card h4 {
  font-size: 1rem;
  color: #ffffff;
  margin-bottom: 6px;
}

.hero-card p {
  font-size: 0.85rem;
  color: #a8b5c8;
  margin-bottom: 0;
}

.hero-card-stat {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gold);
  margin-top: 8px;
}

/* ============================================
   SECTION COMMONS
   ============================================ */
.section {
  padding: 90px 24px;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-eyebrow {
  display: inline-block;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* ============================================
   SERVICES - Capability Matrix
   ============================================ */
.services {
  background: var(--warm-bg);
}

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

.capability-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.capability-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--teal);
  border-radius: 0 3px 3px 0;
}

.capability-card:nth-child(3n+2)::before { background: var(--gold); }
.capability-card:nth-child(3n+3)::before { background: var(--rich-blue); }

.capability-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.capability-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  font-weight: 700;
  color: #ffffff;
}

.capability-icon.system { background: var(--teal); }
.capability-icon.network { background: var(--gold); }
.capability-icon.security { background: var(--rich-blue); }
.capability-icon.cloud { background: var(--teal); }
.capability-icon.data { background: var(--gold); }
.capability-icon.integration { background: var(--rich-blue); }

.capability-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.capability-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.capability-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--teal);
  background: rgba(0, 152, 166, 0.08);
  padding: 4px 12px;
  border-radius: 20px;
  margin-top: 16px;
}

/* ============================================
   PROCESS - Architecture Flow
   ============================================ */
.process {
  background: var(--off-white);
}

.process-flow {
  display: flex;
  gap: 0;
  position: relative;
}

.process-flow::before {
  content: '';
  position: absolute;
  top: 48px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--gold), var(--teal));
  z-index: 0;
}

.process-step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 0 20px;
}

.process-dot {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 auto 24px;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 0 8px var(--off-white), 0 0 0 10px rgba(0, 152, 166, 0.2);
}

.process-step:nth-child(1) .process-dot { background: var(--teal); }
.process-step:nth-child(2) .process-dot { background: var(--rich-blue); }
.process-step:nth-child(3) .process-dot { background: var(--gold); }
.process-step:nth-child(4) .process-dot { background: var(--deep-navy); }
.process-step:nth-child(5) .process-dot { background: var(--teal); }

.process-step h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 0;
}

/* ============================================
   STATS COUNTER
   ============================================ */
.stats {
  background: var(--deep-navy);
  color: #ffffff;
  text-align: center;
}

.stats .section-header h2 {
  color: #ffffff;
}

.stats .section-header p {
  color: #a8b5c8;
}

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

.stat-item {
  padding: 30px 20px;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
  display: block;
}

.stat-label {
  font-size: 0.95rem;
  color: #a8b5c8;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 500;
}

.stat-divider {
  width: 40px;
  height: 3px;
  background: var(--teal);
  margin: 12px auto 0;
}

/* ============================================
   TECH STACK - Integration Spectrum
   ============================================ */
.tech {
  background: var(--warm-bg);
}

.tech-spectrum {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.tech-strip {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all 0.3s ease;
}

.tech-strip:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow-md);
}

.tech-strip-badge {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: var(--deep-navy);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  flex-shrink: 0;
}

.tech-strip:nth-child(odd) .tech-strip-badge { background: var(--teal); }
.tech-strip:nth-child(even) .tech-strip-badge { background: var(--gold); }

.tech-strip-info h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.tech-strip-info p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 0;
}

/* ============================================
   APPROACH - Distinctive Diagonal Split
   ============================================ */
.approach {
  background: var(--off-white);
}

.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.approach-visual {
  position: relative;
  height: 400px;
}

.approach-shape {
  position: absolute;
  width: 240px;
  height: 240px;
  border: 3px solid var(--teal);
  border-radius: var(--radius-xl);
  transform: rotate(45deg);
}

.approach-shape:nth-child(1) {
  top: 20px;
  left: 30px;
  border-color: var(--teal);
}

.approach-shape:nth-child(2) {
  top: 80px;
  left: 90px;
  border-color: var(--gold);
}

.approach-shape:nth-child(3) {
  top: 140px;
  left: 150px;
  background: rgba(0, 152, 166, 0.04);
  border-color: var(--rich-blue);
}

.approach-dot-grid {
  position: absolute;
  top: 60px;
  left: 70px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.approach-dot-grid span {
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  display: block;
}

.approach-text h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
  margin-top: 24px;
}

.approach-text h3:first-child {
  margin-top: 0;
}

.approach-text p {
  color: var(--text-med);
}

/* ============================================
   CTA - Diagonal Split Background
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, var(--deep-navy) 50%, var(--rich-blue) 50%);
  color: #ffffff;
  text-align: center;
  padding: 80px 24px;
}

.cta-inner {
  max-width: 700px;
  margin: 0 auto;
}

.cta-section h2 {
  color: #ffffff;
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.cta-section p {
  color: #a8b5c8;
  font-size: 1.1rem;
  margin-bottom: 32px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--deep-navy);
  color: #a8b5c8;
  padding: 60px 24px 30px;
  border-top: 2px solid rgba(201, 150, 62, 0.25);
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 40px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1rem;
  margin-bottom: 18px;
}

.footer-col p {
  color: #8a94a3;
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 8px;
}

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

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

.footer-col ul li a {
  color: #8a94a3;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

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

.footer-divider {
  max-width: 1200px;
  margin: 40px auto 0;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: #6b7280;
}

/* ============================================
   LEGAL PAGES - Shared Styles
   ============================================ */
.legal-page {
  padding-top: 120px;
  padding-bottom: 80px;
  background: var(--off-white);
}

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

.legal-header {
  text-align: center;
  margin-bottom: 50px;
  padding-bottom: 40px;
  border-bottom: 2px solid var(--border);
}

.legal-header h1 {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.legal-header .legal-date {
  color: var(--text-light);
  font-size: 0.95rem;
}

.legal-section {
  margin-bottom: 40px;
}

.legal-section h2 {
  font-size: 1.35rem;
  color: var(--deep-navy);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-light);
}

.legal-section h3 {
  font-size: 1.1rem;
  color: var(--rich-blue);
  margin-top: 24px;
  margin-bottom: 10px;
}

.legal-section p {
  margin-bottom: 14px;
  line-height: 1.8;
}

.legal-section ul,
.legal-section ol {
  margin-bottom: 16px;
  padding-left: 28px;
}

.legal-section ul li,
.legal-section ol li {
  margin-bottom: 10px;
  line-height: 1.7;
  color: var(--text-med);
}

.legal-toc {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin-bottom: 40px;
}

.legal-toc h3 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 1.1rem;
}

.legal-toc ol {
  padding-left: 24px;
  margin-bottom: 0;
}

.legal-toc ol li {
  margin-bottom: 8px;
}

.legal-toc ol li a {
  color: var(--text-med);
  font-size: 0.95rem;
}

.legal-toc ol li a:hover {
  color: var(--teal);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual {
    display: none;
  }

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

  .process-flow {
    flex-wrap: wrap;
    gap: 40px;
  }

  .process-flow::before {
    display: none;
  }

  .process-step {
    flex: 0 0 calc(33.33% - 40px);
  }

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

  .tech-spectrum {
    grid-template-columns: 1fr;
  }

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

  .approach-visual {
    height: 280px;
  }

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

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

  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--deep-navy);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateY(-120%);
    transition: transform 0.35s ease;
    z-index: 999;
  }

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

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

  .capability-matrix {
    grid-template-columns: 1fr;
  }

  .process-step {
    flex: 0 0 calc(50% - 20px);
  }

  .section {
    padding: 60px 24px;
  }

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

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 1.9rem;
  }

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

  .btn {
    width: 100%;
    justify-content: center;
  }

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

  .process-step {
    flex: 0 0 100%;
  }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeInUp 0.6s ease forwards;
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: var(--teal);
  color: #ffffff;
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 900;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--teal-dark);
  transform: translateY(-3px);
}
