/* =========================================
   1. VARIABLES & RESET
   ========================================= */
:root {
  /* Core Palette - Darker, richer */
  --primary-color: #00d4ff;
  /* Brighter Cyan for glow */
  --primary-dark: #008cba;
  --secondary-color: #020f1a;
  /* Almost Black Blue */

  --accent-color: #00a3e0;
  --text-color: #f0f4f8;
  --text-muted: #b0c4de;

  /* Backgrounds */
  --bg-gradient-start: #010a12;
  --bg-gradient-end: #04121f;

  /* Glassmorphism Premium */
  --glass-bg: rgba(2, 15, 26, 0.75);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);

  --card-bg: rgba(4, 20, 35, 0.6);

  --font-main: 'Montserrat', sans-serif;
  --transition-speed: 0.4s;
  --container-width: 1280px;
}

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

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

body {
  font-family: var(--font-main);
  color: var(--text-color);
  background: radial-gradient(circle at 50% 0%, #0a2e4d 0%, var(--bg-gradient-start) 60%);
  background-attachment: fixed;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all var(--transition-speed) ease;
}

ul {
  list-style: none;
}

/* =========================================
   2. UTILITIES & ANIMATIONS
   ========================================= */
/* Custom Scrollbar (Premium) */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #010a12;
}

::-webkit-scrollbar-thumb {
  background: var(--primary-dark);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color);
  box-shadow: 0 0 10px var(--primary-color);
}

/* Page Transition Fade */
body {
  animation: fadeInPage 0.8s ease-out;
}

@keyframes fadeInPage {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.section-title {
  text-align: center;
  font-size: 3rem;
  /* Larger */
  margin-bottom: 4rem;
  font-weight: 800;
  /* Extra bold */
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);

  /* Gradient text */
  background: linear-gradient(135deg, #ffffff 0%, var(--primary-color) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;

  letter-spacing: -1px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--primary-color);
  border-radius: 2px;
  box-shadow: 0 0 10px var(--primary-color);
}

/* =========================================
   3. HEADER (Premium Glass)
   ========================================= */
.header {
  background-color: var(--glass-bg);
  padding: 1.25rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(16px);
  /* Stronger blur */
  border-bottom: 1px solid var(--glass-border);
  transition: all var(--transition-speed);
}

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

.brand img {
  width: 200px;
  /* Slightly larger presence */
  height: auto;
  transition: transform var(--transition-speed) cubic-bezier(0.34, 1.56, 0.64, 1);
  filter: drop-shadow(0 0 5px rgba(0, 212, 255, 0.2));
}

.brand:hover img {
  transform: scale(1.08);
  filter: drop-shadow(0 0 15px rgba(0, 212, 255, 0.4));
}

.nav a {
  margin-left: 2.5rem;
  color: var(--text-muted);
  font-weight: 500;
  position: relative;
  font-size: 1rem;
  padding: 8px 0;
  letter-spacing: 0.5px;
}

.nav a::before {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: var(--primary-color);
  transition: all var(--transition-speed);
  box-shadow: 0 0 8px var(--primary-color);
}

.nav a:hover {
  color: #fff;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

.nav a:hover::before {
  width: 100%;
  left: 0;
}

/* Internal Pages Topbar */
.topbar {
  background-color: var(--glass-bg);
  padding: 0.8rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  justify-content: center;
}

.logo-container .logo {
  width: 180px;
  /* Constrained size */
  height: auto;
  display: block;
  transition: transform var(--transition-speed);
}

.logo-container:hover .logo {
  transform: scale(1.05);
  /* Zoom effect */
}

/* =========================================
   4. HERO SECTION (Grand & Cinematic)
   ========================================= */
.hero-section {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 95vh;
  text-align: center;
  position: relative;
  overflow: hidden;
  /* Deep, moving cinematic gradient */
  background: linear-gradient(120deg, #001220, #022338, #000c16);
  background-size: 300% 300%;
  animation: cosmicFlow 20s ease infinite;
}

@keyframes cosmicFlow {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* Grid overlay for tech feel */
.hero-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.4;
  pointer-events: none;
}

.hero-inner {
  max-width: 900px;
  padding: 0 1.5rem;
  z-index: 2;
}

.hero-title {
  font-size: 4.5rem;
  /* Massive */
  line-height: 1.1;
  margin-bottom: 1.5rem;
  font-weight: 800;
  letter-spacing: -2px;
  /* Radiant text */
  color: #fff;
  text-shadow: 0 0 40px rgba(0, 163, 224, 0.5);
}

.hero-subtitle {
  font-size: 1.4rem;
  margin-bottom: 3rem;
  color: #d1e3f3;
  font-weight: 300;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0.8rem 1rem;
  padding: 1rem 2.8rem;
  border-radius: 4px;
  /* Industrial edges vs pill */
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.95rem;
  transition: all var(--transition-speed);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* Lightbox Styles (Shared) */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
  animation: fadeInBox 0.3s;
}

@keyframes fadeInBox {
  from {
    opacity: 0
  }

  to {
    opacity: 1
  }
}

.lightbox-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 1000px;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 0 50px rgba(0, 212, 255, 0.2);
  animation: zoomIn 0.3s;
}

@keyframes zoomIn {
  from {
    transform: scale(0.8)
  }

  to {
    transform: scale(1)
  }
}

.close-lightbox {
  position: absolute;
  top: 30px;
  right: 45px;
  color: #f1f1f1;
  font-size: 50px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
}

.close-lightbox:hover,
.close-lightbox:focus {
  color: var(--primary-color);
  text-decoration: none;
  cursor: pointer;
}

/* Make images clickable */
.gallery-track img,
.service-content img {
  cursor: zoom-in;
}

/* Primary Button: Glowing Cyan */
.btn-primary {
  background-color: transparent;
  color: #00d4ff;
  border: 1px solid #00d4ff;
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.1), inset 0 0 10px rgba(0, 212, 255, 0.1);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: var(--primary-color);
  transition: width 0.3s ease;
  z-index: -1;
}

.btn-primary:hover {
  color: #001220;
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.6);
}

.btn-primary:hover::before {
  width: 100%;
}

/* Secondary Button: Ghost White */
.btn-secondary {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* =========================================
     5. INTRO SECTION
     ========================================= */
.intro-section {
  padding: 8rem 0;
  /* More breathing room */
  text-align: center;
  background: radial-gradient(circle at center, #051a2e 0%, #000c14 100%);
  position: relative;
}

.intro-section h2 {
  font-size: 2.8rem;
  margin-bottom: 2rem;
  color: #fff;
  font-weight: 700;
}

.intro-section p {
  max-width: 800px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.25rem;
  line-height: 2;
  font-weight: 300;
}

/* =========================================
     6. SERVICES SECTION (Cards)
     ========================================= */
.services-section {
  padding: 8rem 0;
  /* Subtle mesh background */
  background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('../img/brand/mesh.png');
  background-size: cover;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
}

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 3rem 2rem;
  text-align: center;
  transition: all var(--transition-speed) cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Gradient Border Effect on Hover */
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 2px;
  /* Border width */
  background: linear-gradient(135deg, transparent, var(--primary-color), transparent);
  background-clip: padding-box, border-box;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.3;
  transition: opacity var(--transition-speed);
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  background: rgba(4, 25, 45, 0.8);
}

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

/* Inner Glow */
.service-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.05), transparent 60%);
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.6s ease;
  pointer-events: none;
}

.service-card:hover::after {
  opacity: 1;
  transform: scale(1);
}

.service-icon {
  width: 90px;
  height: 90px;
  object-fit: contain;
  margin-bottom: 2rem;
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.05));
  transition: transform var(--transition-speed);
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
  filter: drop-shadow(0 0 15px rgba(0, 212, 255, 0.3));
}

.service-icon-placeholder {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  margin: 0 auto 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  box-shadow: 0 0 20px rgba(0, 163, 224, 0.3);
}

.service-card h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: #fff;
  font-weight: 600;
}

.service-card p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 50px;
  color: #00d4ff;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.service-card:hover .card-cta {
  background: #00d4ff;
  color: #001220;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
  border-color: transparent;
  transform: translateY(-2px);
}

.card-cta .arrow {
  transition: transform 0.3s ease;
  display: inline-block;
}

.service-card:hover .card-cta .arrow {
  transform: translateX(4px);
}

.service-card.upcoming {
  opacity: 0.7;
  border-style: dashed;
}

.service-card.upcoming p.coming-text {
  font-style: italic;
  color: var(--primary-color);
  margin-top: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* =========================================
     7. PROJECT SECTION (Restored)
     ========================================= */
.project-section {
  padding: 8rem 0;
  background-color: #010a12;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.project-section p {
  max-width: 800px;
  margin: 0 auto 3rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 1.2rem;
}

/* Gallery Grid */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  padding-bottom: 2rem;
}

.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.gallery-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.215, 0.61, 0.355, 1);
  display: block;
  opacity: 0.8;
}

.gallery-item:hover img {
  transform: scale(1.15);
  opacity: 1;
}

.gallery-item::after {
  content: 'Ver';
  position: absolute;
  inset: 0;
  background: rgba(0, 212, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0;
  backdrop-filter: blur(4px);
  transition: opacity 0.4s;
  pointer-events: none;
}

.gallery-item:hover::after {
  opacity: 1;
}

/* Scrolling Carousel for Internal Pages */
.gallery-scroll-box {
  margin: 0 auto;
  max-width: 100%;
  overflow: hidden;
  position: relative;
  padding: 1rem 0;
  /* Optional visual box frame */
  border: 4px solid var(--primary-color);
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

.gallery-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 1rem;
  scrollbar-width: none;
  /* Firefox */
}

.gallery-track::-webkit-scrollbar {
  display: none;
  /* Chrome/Safari */
}

.gallery-track img {
  height: 350px;
  /* Fixed height for consistency */
  width: auto;
  flex-shrink: 0;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s;
}

.gallery-track img:hover {
  transform: scale(1.03);
}

/* =========================================
     8. PROCESS SECTION
     ========================================= */
.process-section {
  padding: 8rem 0;
  background: linear-gradient(180deg, #010a12 0%, #031626 100%);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 4rem;
  /* More space */
}

.process-step {
  background: transparent;
  padding: 2rem 1rem;
  text-align: center;
  position: relative;
}

/* Connecting line idea - simulated */

.step-number {
  display: inline-flex;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #000;
  border: 2px solid var(--primary-color);
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
  color: var(--primary-color);
  font-size: 1.8rem;
  font-weight: 800;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  transition: transform 0.3s;
}

.process-step:hover .step-number {
  transform: scale(1.1);
  background: var(--primary-color);
  color: #000;
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.6);
}

.process-step h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #fff;
}

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

/* =========================================
     9. FAQ SECTION
     ========================================= */
.faq-section {
  padding: 8rem 0;
  background-color: #031626;
}

.faq-item {
  margin-bottom: 1.5rem;
  background: rgba(2, 20, 36, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.3s;
}

.faq-item:hover {
  border-color: rgba(0, 212, 255, 0.3);
}

.faq-item label {
  display: block;
  padding: 1.8rem;
  font-weight: 600;
  font-size: 1.2rem;
  cursor: pointer;
  position: relative;
  user-select: none;
  color: #dbe8f5;
  transition: background-color 0.3s, color 0.3s;
}

.faq-item label:hover {
  background-color: rgba(255, 255, 255, 0.02);
  color: #fff;
}

.faq-item label::after {
  content: '+';
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.8rem;
  color: var(--primary-color);
  transition: transform 0.3s;
}

.faq-item input {
  display: none;
}

.faq-item input:checked+label::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-item input:checked+label {
  color: var(--primary-color);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0, 1, 0, 1), padding 0.5s;
  background-color: rgba(0, 0, 0, 0.2);
}

.faq-item input:checked~.faq-content {
  max-height: 500px;
  padding: 1.8rem;
}

.faq-content p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
}

div.faq-content a {
  color: var(--primary-color);
  border-bottom: 1px dotted var(--primary-color);
}

/* =========================================
     10. CONTACT SECTION
     ========================================= */
.contact-section {
  padding: 8rem 0;
  background: linear-gradient(135deg, #021220 0%, #000 100%);
  text-align: center;
  position: relative;
}

.contact-inner {
  z-index: 2;
}

/* Background glow for contact */
.contact-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 163, 224, 0.15), transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.contact-list {
  display: inline-flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 3rem;
  background: rgba(255, 255, 255, 0.02);
  padding: 3rem 5rem;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: transform 0.3s;
}

.contact-list:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
  box-shadow: 0 10px 40px rgba(0, 212, 255, 0.1);
}

.contact-list li {
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.contact-list a {
  color: #fff;
  font-weight: 600;
  border-bottom: 2px solid transparent;
}

.contact-list a:hover {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
  text-decoration: none;
}

/* =========================================
     11. FOOTER
     ========================================= */
.footer {
  background-color: #000;
  padding: 3rem 0;
  text-align: center;
  font-size: 0.95rem;
  color: #5d7a91;
  border-top: 1px solid #1a2c3a;
}

/* =========================================
     12. RESPONSIVE MEDIA QUERIES
     ========================================= */

@media (max-width: 900px) {
  .hero-title {
    font-size: 3.5rem;
  }

  .section-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 1rem;
  }

  .nav {
    margin-top: 10px;
  }

  .nav a {
    margin: 0 12px;
    font-size: 0.95rem;
  }

  .hero-section {
    padding-top: 2rem;
  }

  .hero-title {
    font-size: 2.5rem;
    /* Readable on mobile */
  }

  .intro-section {
    padding: 4rem 0;
  }

  .services-section,
  .project-section,
  .process-section,
  .faq-section,
  .contact-section {
    padding: 4rem 0;
  }

  .contact-list {
    padding: 2rem;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .btn {
    width: 100%;
    text-align: center;
    margin: 0.5rem 0;
    display: flex;
    /* Flex for centered content */
  }

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

  .contact-list li {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* =========================================
     FIX FOR INTERNAL PAGES LOGOS
     ========================================= */

.hero-section img,
.intro-section img,
section[id] img:not(.service-icon):not(.gallery img):not(.gallery-track img) {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.service-page-logo {
  max-width: 220px;
  /* Reduced from 320px */
  width: 100%;
  height: auto;
  margin: 0 auto 2rem;
  display: block;
  transition: transform var(--transition-speed);
}

.service-page-logo:hover {
  transform: scale(1.1);
}

/* =========================================
   INESION PAGE STYLES
   ========================================= */

/* 1. Access Button (No fill, just glow) */
.btn-access {
  display: inline-block;
  padding: 0.8rem 2.5rem;
  border-radius: 50px;
  font-weight: 700;
  color: #00ff9d;
  border: 1px solid #00ff9d;
  background: rgba(0, 255, 157, 0.05);
  box-shadow: 0 0 15px rgba(0, 255, 157, 0.2);
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-access:hover {
  background: rgba(0, 255, 157, 0.15);
  box-shadow: 0 0 25px rgba(0, 255, 157, 0.5);
  transform: translateY(-2px);
  color: #fff;
}

/* 2. Centered Tools Container */
.centered-tool {
  max-width: 500px;
  margin: 3rem auto;
  width: 100%;
}

/* 3. Financial Calculator Device */
.calc-device {
  background: #2c2c2c;
  padding: 2rem;
  border-radius: 12px;
  box-shadow:
    0 0 0 2px #444,
    0 10px 30px rgba(0, 0, 0, 0.6);
  color: #fff;
  font-family: 'Courier New', monospace;
}

.calc-brand {
  text-align: right;
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
}

.calc-screen {
  background: #9cad8e;
  /* LCD greenish */
  padding: 1rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.2);
  color: #222;
  text-align: right;
}

.calc-result-display {
  font-size: 2rem;
  font-weight: bold;
}

.calc-sub-result {
  font-size: 0.8rem;
  opacity: 0.7;
}

.calc-body-grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.calc-input {
  width: 100%;
  background: #1a1a1a;
  border: 1px solid #444;
  color: #00ff9d;
  padding: 0.5rem;
  font-family: inherit;
  text-align: right;
  border-radius: 4px;
}

.btn-calc-action {
  width: 100%;
  background: #d35400;
  color: white;
  border: none;
  padding: 1rem;
  font-weight: bold;
  cursor: pointer;
  border-radius: 4px;
  box-shadow: 0 4px 0 #a04000;
  transition: all 0.1s;
}

.btn-calc-action:active {
  transform: translateY(4px);
  box-shadow: none;
}

.calc-details p {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #444;
  padding: 0.5rem 0;
  margin: 0;
  font-size: 0.9rem;
}

/* 4. WhatsApp Style Bot */
.whatsapp-container {
  background: #0d1418;
  /* Dark mode WA bg */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  height: 500px;
}

.wa-header {
  background: #202c33;
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.wa-avatar {
  width: 40px;
  height: 40px;
  background: #00a884;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.wa-info h4 {
  margin: 0;
  font-size: 1rem;
  color: #e9edef;
}

.wa-info span {
  font-size: 0.8rem;
  color: #8696a0;
}

.wa-chat-body {
  flex: 1;
  padding: 1rem;
  overflow-y: auto;
  background-image: url('https://user-images.githubusercontent.com/15075759/28719144-86dc0f70-73b1-11e7-911d-60d70fcded21.png');
  /* WA dark doodle */
  background-color: #0b141a;
  background-blend-mode: overlay;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.wa-message {
  max-width: 80%;
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  font-size: 0.95rem;
  position: relative;
  line-height: 1.4;
}

.wa-message.bot-msg {
  background: #202c33;
  color: #e9edef;
  align-self: flex-start;
  border-top-left-radius: 0;
}

.wa-message.user-msg {
  background: #005c4b;
  color: #e9edef;
  align-self: flex-end;
  border-top-right-radius: 0;
}

.wa-time {
  display: block;
  text-align: right;
  font-size: 0.7rem;
  color: #8696a0;
  margin-top: 4px;
}

.wa-input-area {
  background: #202c33;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.wa-input {
  flex: 1;
  background: #2a3942;
  border: none;
  border-radius: 8px;
  padding: 0.6rem 1rem;
  color: #d1d7db;
  outline: none;
}

.wa-mic-btn,
.wa-send-btn {
  background: transparent;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: #8696a0;
  transition: color 0.3s;
}

.wa-mic-btn:hover,
.wa-send-btn:hover {
  color: #00a884;
}