/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&family=Shippori+Mincho:wght@400;600&display=swap');

:root {
  --bg-dark: #0f172a;
  --bg-darker: #020617;
  --primary: #3b82f6;
  --accent: #8b5cf6;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --glass: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --gradient-main: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  --font-main: 'Noto Sans JP', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.8;
  overflow-x: hidden;
  font-feature-settings: "palt";
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Utilities */
.container {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  /* Default center as requested */
}

.section {
  padding: 150px 0;
  /* Increased padding */
  position: relative;
}

.text-gradient {
  background: var(--gradient-main);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  letter-spacing: 0.2em;
  /* Added wide spacing for English tagline */
}

/* Backgrounds */
.bg-gradient-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Darker gradient overlay to mute backgrounds */
  background: radial-gradient(circle at 50% 50%, rgba(15, 23, 42, 0.4), rgba(2, 6, 23, 0.9));
  z-index: -2;
  pointer-events: none;
}

/* ... existing code ... */

.bg-image-fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
  filter: brightness(0.6) contrast(1.1);
  /* Dim images physically */
}

/* ... existing code ... */

/* Restore Modern Card Styles */
.card {
  /* Stronger background for readability */
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  /* Subtle light border */
  padding: 40px;
  border-radius: 20px;
  /* Blur background behind card */
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  margin-bottom: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  text-align: center;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
  /* Softer, deeper shadow */
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(59, 130, 246, 0.4);
  /* Glow on hover */
  background: rgba(15, 23, 42, 0.8);
  /* Slightly darker on hover */
}

/* Feature Card Specifics (Glass Tiles) */
.hero-scroll-content .card {
  margin-bottom: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(15, 23, 42, 0.75);
  /* More opaque */
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bg-image-fixed.active {
  opacity: 0.15;
}

/* Section specific backgrounds helper */
.section-bg-dark {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.8);
  z-index: -1;
}

.section-bg-light {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.4);
  z-index: -1;
}



/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  z-index: 2000;
  backdrop-filter: blur(10px);
  background: rgba(15, 23, 42, 0.7);
  border-bottom: 1px solid var(--glass-border);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.hamburger-menu {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
  padding: 0;
  position: relative;
  /* Critical for z-index */
  z-index: 2002;
}

.hamburger-menu span {
  width: 100%;
  height: 3px;
  background-color: white;
  transition: all 0.3s ease;
  border-radius: 2px;
  pointer-events: none;
  /* Ensure click passes to button */
}

/* Responsive Header */
/* Responsive Header (Horizontal Scroll) */
@media (max-width: 768px) {

  /* Hide standard header elements on mobile */
  header nav {
    display: flex !important;
    justify-content: center !important;
    /* Center logo */
    padding: 10px 0;
  }

  /* Only show Logo in Header */
  .nav-links,
  .hamburger-menu {
    display: none !important;
  }

  /* Body Padding for Bottom Nav */
  body {
    padding-bottom: 80px;
    /* Space for fixed nav */
  }

  /* --- Bottom Fixed Navigation --- */
  .bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 65px;
    background: rgba(15, 23, 42, 0.98);
    /* Deep dark blue */
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 9999;
    padding-bottom: env(safe-area-inset-bottom);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
  }

  .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #94a3b8;
    /* Slate 400 */
    font-size: 0.7rem;
    gap: 4px;
    width: 100%;
    height: 100%;
    transition: all 0.2s ease;
  }

  .nav-item i {
    font-size: 1.2rem;
    margin-bottom: 2px;
  }

  .nav-item.active,
  .nav-item:hover,
  .nav-item:active {
    color: #38bdf8;
    /* Sky 400 */
  }

  /* Highlighted Contact Button (FAB Style) */
  .nav-item.contact-highlight {
    position: relative;
    top: -20px;
    /* Float above */
    background: linear-gradient(135deg, #0ea5e9, #2563eb);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: white;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.5);
    border: 4px solid #0f172a;
    /* Match background to create outline effect */
    flex: 0 0 60px;
    /* Fixed size */
  }

  .nav-item.contact-highlight i {
    font-size: 1.5rem;
    margin: 0;
  }

  .nav-item.contact-highlight span {
    display: none;
    /* Hide text for FAB */
  }
}

/* Desktop: Hide Bottom Nav */
@media (min-width: 769px) {
  .bottom-nav {
    display: none;
  }
}

/* --- Desktop Navigation Styles --- */
.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-links li {
  flex-shrink: 0;
}

.nav-links a {
  text-decoration: none;
  color: #fff;
  /* Default text color */
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
  white-space: nowrap;
  /* Prevent text wrapping */
  position: relative;
  border-radius: 50px;
  /* For hover effects */
  padding: 8px 16px;
}

.nav-links a:hover {
  color: var(--primary);
  background: rgba(255, 255, 255, 0.1);
}

/* Specific Style for Contact Button if not using inline */
/* Note: Inline styles in HTML currently handle the border for contact, 
   but we can reinforce it here if needed or clean it up later. */

/* Ensure Logo doesn't wrap */
.logo {
  flex-shrink: 0;
  white-space: nowrap;
  margin-right: auto;
  /* Push nav to right if wanted, but justify-between handles it */
}

/* Ensure Logo is visible */
.logo {
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 0.1em;
  background: var(--gradient-main);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: opacity 0.3s ease;
}

.logo:hover {
  opacity: 0.8;
}

.nav-links {
  display: flex;
  gap: 30px;
}



.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 50px;
  border: 1px solid transparent;
}

.nav-links a:hover {
  border-color: var(--primary);
  background: var(--glass);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

/* Hero - Complete Overhaul */
.hero {
  height: 100vh;
  width: 100%;

  /* Flexbox for perfect centering (Fixing user complaint) */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  position: relative;
  overflow: hidden;
  padding: 0;
}

.hero-content {
  z-index: 2;
  position: relative;
  width: 100%;
  height: 100%;

  /* Flexbox for centering content inside */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero h1 {
  /* Elegant, massive typography */
  font-family: 'Shippori Mincho', serif;
  /* Switch to Serif for "Intellectual/Premium" feel */
  font-size: clamp(4rem, 11vw, 7.5rem);
  /* Adjusted slightly */
  font-weight: 600;
  /* Bolder serif looks better */
  margin: 0;
  margin-bottom: 2rem;
  line-height: 1.3;
  letter-spacing: 0.15em;
  /* Serif needs slightly tighter tracking than Sans */
  text-shadow: 0 0 50px rgba(59, 130, 246, 0.5);
  font-feature-settings: "palt";
  text-align: center;
}

h2 {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.05em;
  margin-bottom: 2rem;
  color: var(--text-main);
}

/* Character Animation Base */
.char-reveal {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  filter: blur(10px);
  animation: charFadeIn 0.8s cubic-bezier(0.2, 1, 0.3, 1) forwards;
}

@keyframes charFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.hero p.text-gradient {
  font-size: 1rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  margin-bottom: 5vh;
  opacity: 0.8;
}

/* Visual Feature Rows (Zigzag) */
.visual-features {
  display: flex;
  flex-direction: column;
  gap: 80px;
  /* Space between cards */
  margin-top: 60px;
}

.visual-feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  /* No gap for unified card look */
  align-items: stretch;
  /* Equal height */

  /* Unified Card Style */
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  overflow: hidden;
  /* Clip image corners */
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.visual-feature-row:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  border-color: rgba(59, 130, 246, 0.3);
}

/* Alternate order for even rows */
.visual-feature-row:nth-child(even) .feature-image {
  order: 2;
}

.visual-feature-row:nth-child(even) .feature-content {
  order: 1;
}

.feature-image {
  position: relative;
  height: 100%;
  /* Fill full height of card */
  min-height: 400px;
  /* Ensure logical height */
  /* Remove individual border/radius */
  border-radius: 0;
  border: none;
  box-shadow: none;
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.feature-image:hover img {
  transform: scale(1.05);
}

.feature-content {
  text-align: left;
  padding: 60px;
  /* generous padding inside card */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-content h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  background: var(--gradient-main);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.feature-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-main);
}

@media (max-width: 768px) {
  .visual-feature-row {
    grid-template-columns: 1fr;
    border-radius: 20px;
  }

  .visual-feature-row:nth-child(even) .feature-image {
    order: unset;
    /* Image always on top on mobile for consistency */
  }

  .visual-feature-row:nth-child(even) .feature-content {
    order: unset;
  }

  .feature-image {
    min-height: 250px;
    height: 250px;
  }

  .feature-content {
    padding: 30px;
  }
}

.hero-scroll-content {
  position: absolute;
  top: 100vh;
  /* Below fold */
  width: 100%;
  padding: 80px 0;
  min-height: 100vh;
  background: linear-gradient(to bottom, transparent, var(--bg-dark));
}

/* Service Grid */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* 3 Columns */
  gap: 30px;
  margin-bottom: 60px;
}

.service-card {
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  /* Very subtle border */
  border-radius: 16px;
  padding: 40px 20px;
  transition: all 0.3s ease;
  height: 100%;
}

.service-card:hover {
  background: rgba(15, 23, 42, 0.8);
  transform: translateY(-10px);
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 25px;
  background: var(--gradient-main);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.3));
  /* Glow effect */
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--text-main);
}

.service-card p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
}

@media (max-width: 900px) {
  .service-grid {
    grid-template-columns: 1fr;
    /* Stack on mobile */
    gap: 20px;
  }
}

.hero-scroll-content .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* Two columns */
  gap: 40px;
  align-items: center;
}

/* Restore Modern Card Styles */
.card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  padding: 40px;
  border-radius: 20px;
  backdrop-filter: blur(12px);
  margin-bottom: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-color: rgba(59, 130, 246, 0.3);
}

/* Feature Card Specifics (Glass Tiles) */
.hero-scroll-content .card {
  margin-bottom: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(15, 23, 42, 0.6);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 15px 45px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  font-weight: 400;
  letter-spacing: 0.2em;
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
  cursor: pointer;
  margin-top: 50px;
  /* Ensure button centers in grid or block */
  grid-column: 1 / -1;
  /* Span full width in grid */
  justify-self: center;
}

.btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.6);
  transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-scroll-content .container {
    grid-template-columns: 1fr;
  }
}

/* Enhanced Fade In */
/* Initial Load Animation Keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(60px);
  }

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

/* Apply animation to Hero elements explicitly for load */
.hero-content>* {
  opacity: 0;
  animation: fadeInUp 1s cubic-bezier(0.2, 1, 0.3, 1) forwards;
}

/* Scroll Animation Classes (for rest of page) */
.fade-in {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s cubic-bezier(0.2, 1, 0.3, 1), transform 1s cubic-bezier(0.2, 1, 0.3, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Footer */
/* Footer */
footer {
  padding: 80px 0 30px;
  background: var(--bg-darker);
  border-top: 1px solid var(--glass-border);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
  text-align: left;
}

.footer-info h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.1em;
  background: var(--gradient-main);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.footer-info p {
  line-height: 1.8;
  margin-bottom: 20px;
}

.footer-links h4 {
  color: var(--text-main);
  font-size: 1.1rem;
  margin-bottom: 25px;
  letter-spacing: 0.05em;
}

.footer-links ul li {
  margin-bottom: 15px;
}

.footer-links ul li a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.6;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Chat Widget Mockup */
.chat-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: var(--gradient-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  z-index: 100;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.chat-widget:hover {
  transform: scale(1.1) rotate(5deg);
}

.chat-widget i {
  font-size: 24px;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    /* Simplify for MVP, or add mobile menu toggle later */
  }

  .container {
    width: 95%;
  }

  .section {
    padding: 60px 0;
  }
}

/* Pricing Card Styles */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.pricing-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 40px 30px;
  text-align: left;
  transition: transform 0.3s ease, border-color 0.3s ease;
  position: relative;
  backdrop-filter: blur(10px);
}

.pricing-card.featured {
  border-color: var(--theme-primary, var(--primary));
  background: var(--theme-bg-glow, rgba(59, 130, 246, 0.1));
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
}

.pricing-card:hover {
  transform: translateY(-5px);
  border-color: var(--theme-primary, var(--primary));
}

.plan-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
}

.plan-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--theme-primary, var(--primary));
  margin-bottom: 20px;
  font-feature-settings: "palt";
}

.plan-price span {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 400;
}

.plan-features {
  margin: 0;
  padding: 0;
  list-style: none;
  margin-bottom: 30px;
}

.plan-features li {
  margin-bottom: 15px;
  padding-left: 25px;
  position: relative;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.plan-features li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--theme-primary, var(--accent));
  font-size: 0.8rem;
  top: 4px;
}

.plan-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 15px;
  text-align: center;
}

/* Vertical Pricing List (Added) */
.pricing-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 40px;
}

.pricing-list .pricing-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.pricing-list .pricing-card>* {
  margin-bottom: 0;
  /* Reset margins for flex layout if needed, or adjust specifically */
}

/* Adjust internal layout for horizontal wide card */
.pricing-list .plan-header {
  flex: 1;
  min-width: 200px;
}

.pricing-list .plan-features {
  flex: 2;
  margin-bottom: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding-left: 30px;
}

.pricing-list .plan-recommendation {
  flex: 1;
  min-width: 200px;
  font-size: 0.9rem;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
  padding: 15px;
  border-radius: 8px;
  border: 1px dashed rgba(255, 255, 255, 0.2);
}

.pricing-list .plan-recommendation strong {
  display: block;
  color: var(--theme-primary, var(--primary));
  margin-bottom: 5px;
}

@media (max-width: 900px) {
  .pricing-list .pricing-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .pricing-list .plan-features {
    border-left: none;
    padding-left: 0;
    margin-top: 20px;
    margin-bottom: 20px;
  }
}

/* 
   Theme Overrides 
   Defaults (Business) are already set in :root
*/
.theme-business {
  --theme-primary: var(--primary);
  --theme-gradient: var(--gradient-main);
  --theme-border: rgba(59, 130, 246, 0.5);
  --theme-bg-glow: rgba(59, 130, 246, 0.2);
  --theme-bg-tint: rgba(15, 23, 42, 0.8);
  /* Dark Blue Tint */
}

.theme-web {
  --theme-primary: #06b6d4;
  --theme-gradient: linear-gradient(135deg, #06b6d4 0%, #2dd4bf 100%);
  --theme-border: rgba(6, 182, 212, 0.5);
  --theme-bg-glow: rgba(6, 182, 212, 0.2);
  --theme-bg-tint: rgba(6, 20, 25, 0.8);
  /* Dark Teal Tint */
}

.theme-ai {
  --theme-primary: #a855f7;
  --theme-gradient: linear-gradient(135deg, #a855f7 0%, #d946ef 100%);
  --theme-border: rgba(168, 85, 247, 0.5);
  --theme-bg-glow: rgba(168, 85, 247, 0.2);
  --theme-bg-tint: rgba(20, 10, 30, 0.8);
  /* Dark Violet Tint */
}

/* Unification of Service Blocks */
.service-block {
  padding: 100px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  border-top: 2px solid transparent;
  /* Prepare for gradient border */
  position: relative;
  overflow: hidden;
  background-color: var(--theme-bg-tint, transparent);
  /* Apply theme tint */
  transition: background-color 0.5s ease;
}

/* Add a colored line at the top to mark section start */
.service-block::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--theme-border), transparent);
  opacity: 0.7;
}

/* Add background glow to the whole block based on theme */
.service-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 30%, var(--theme-bg-glow), transparent 70%);
  opacity: 0.15;
  /* Slightly increased for visibility */
  pointer-events: none;
  z-index: 0;
}

/* Specific Gradient positioning for variety */
.theme-web.service-block::before {
  background: radial-gradient(circle at 80% 20%, var(--theme-bg-glow), transparent 60%);
}

.theme-ai.service-block::before {
  background: radial-gradient(circle at 20% 80%, var(--theme-bg-glow), transparent 60%);
}

/* Adjust integrated recommendation section to flow naturally */
.integrated-recommendation {
  margin-top: 60px;
  padding-top: 60px;
  border-top: 1px dashed var(--theme-border);
  /* Use theme color for the divider */
  position: relative;
  z-index: 1;
  opacity: 0.8;
}

/* Remove old separate section styles if no longer used, or repurposed */
/* .section-recommendation styles are now largely handled by .service-block or .integrated-recommendation */

.recommendation-grid {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 800px;
  margin: auto;
  /* Adjusted margin for new context */
}

/* Concept Section Styles (Redesign) */
.section-concept {
  padding: 120px 0 100px;
  background: radial-gradient(circle at 50% 50%, rgba(20, 30, 50, 0.4), transparent 70%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Ambient glow background */
.section-concept::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.05), transparent 60%);
  animation: rotateGlow 20s linear infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes rotateGlow {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.concept-header {
  margin-bottom: 80px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Ensure contents are centered */
}

.concept-label {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  color: var(--accent);
  margin: 0 auto 25px auto;
  text-transform: uppercase;
  position: relative;
  padding: 0 10px;
}

.concept-label::before,
.concept-label::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 30px;
  height: 1px;
  background: var(--accent);
  opacity: 0.5;
}

.concept-label::before {
  right: 100%;
}

.concept-label::after {
  left: 100%;
}

.concept-header h2 {
  font-size: 3rem;
  line-height: 1.3;
  margin-bottom: 30px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.concept-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 2;
  max-width: 680px;
  margin: 0 auto;
}

.concept-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.concept-item {
  /* Glassmorphism base */
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 40px 30px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  /* Remove underline for anchor tag */
  display: flex;
  /* Flexbox for internal alignment */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: inherit;
  /* Inherit color */
  cursor: pointer;
}

/* Theme-specific glows */
.concept-item.theme-business {
  --item-glow: rgba(59, 130, 246, 0.4);
}

.concept-item.theme-web {
  --item-glow: rgba(6, 182, 212, 0.4);
}

.concept-item.theme-ai {
  --item-glow: rgba(168, 85, 247, 0.4);
}

.concept-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 0%, var(--item-glow), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.concept-item:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.concept-item:hover::before {
  opacity: 0.2;
}

.concept-icon {
  font-size: 3.5rem;
  margin-bottom: 25px;
  margin-top: 10px;
  filter: drop-shadow(0 0 15px var(--item-glow));
  transition: transform 0.4s ease;
}

.concept-item:hover .concept-icon {
  transform: scale(1.1);
}

.concept-item h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: #fff;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.concept-item p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

.concept-arrow {
  color: rgba(255, 255, 255, 0.1);
  font-size: 1.2rem;
  transform: translateY(0);
  transition: all 0.4s ease;
}

.concept-item:hover .concept-arrow {
  color: var(--item-glow);
  transform: translateY(5px);
  opacity: 1;
}

/* Connecting Line (Desktop Only) */
.concept-grid::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 10%;
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  z-index: -1;
  transform: translateY(-50%);
}

/* Mobile Responsive */
@media (max-width: 900px) {
  .concept-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .concept-grid::before {
    display: none;
  }

  .concept-item {
    display: flex;
    align-items: center;
    text-align: left;
    padding: 25px;
  }

  .concept-icon {
    font-size: 2.5rem;
    margin: 0 20px 0 0;
  }

  .concept-item h3 {
    margin-bottom: 5px;
  }

  .concept-item p {
    margin-bottom: 0;
  }

  .concept-arrow {
    display: none;
  }

  .concept-header h2 {
    font-size: 2rem;
  }
}



/* Restored Recommendation Styles */
.recommendation-grid {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 800px;
  margin: auto;
  position: relative;
  z-index: 1;
}

.rec-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 30px;
  display: flex;
  align-items: center;
  gap: 30px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.rec-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--theme-gradient);
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.rec-card:hover {
  transform: translateX(10px);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  border-color: var(--theme-border);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

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

.rec-content {
  flex: 1;
  text-align: left;
}

.rec-card h4 {
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
}

.rec-target {
  background: var(--theme-bg-glow);
  color: #fff;
  font-size: 0.85rem;
  padding: 4px 12px;
  border-radius: 20px;
  margin-right: 15px;
  white-space: nowrap;
  border: 1px solid var(--theme-border);
}

.rec-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

.rec-arrow {
  color: var(--theme-primary);
  font-size: 1.5rem;
  opacity: 0.5;
  margin: 0 10px;
  transform: rotate(-90deg);
}

.rec-plan {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  padding: 12px 24px;
  background: var(--theme-gradient);
  /* Use theme gradient */
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
  min-width: 180px;
  text-align: center;
  transition: transform 0.3s ease;
}

.rec-card:hover .rec-plan {
  transform: scale(1.05);
  box-shadow: 0 6px 20px var(--theme-bg-glow);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .rec-card {
    flex-direction: column;
    text-align: center;
    padding: 25px;
    gap: 20px;
  }

  .rec-card::before {
    width: 100%;
    height: 4px;
    top: 0;
    left: 0;
  }

  .rec-content {
    text-align: center;
  }

  .rec-card h4 {
    flex-direction: column;
    gap: 10px;
    justify-content: center;
  }

  .rec-target {
    margin-right: 0;
  }

  .rec-arrow {
    transform: rotate(0deg);
    /* Point down for mobile column layout */
    margin: 0;
  }

  .rec-plan {
    width: 100%;
  }

  .rec-card:hover {
    transform: translateY(-5px);
    /* Move up on mobile */
  }
}

/* Final CTA Section Styles */
.section-cta {
  padding: 120px 0;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 50% 50%, rgba(15, 23, 42, 0.8), transparent 80%);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 25px;
  background: linear-gradient(135deg, #3b82f6, #06b6d4, #a855f7);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.3;
}

.cta-text {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.8;
}

.cta-button {
  display: inline-block;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  padding: 20px 60px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 0 rgba(255, 255, 255, 0);
  animation: pulseButton 3s infinite ease-in-out;
}

/* Button Pulse Animation */
@keyframes pulseButton {
  0% {
    box-shadow: 0 0 0 0 rgba(168, 85, 247, 0.4);
  }

  70% {
    box-shadow: 0 0 0 20px rgba(168, 85, 247, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(168, 85, 247, 0);
  }
}

.cta-button:hover {
  transform: scale(1.05);
  background: linear-gradient(135deg, #a855f7, #3b82f6);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 10px 40px rgba(168, 85, 247, 0.4);
  animation: none;
  /* Stop pulse on hover */
}

/* Button internal shine */
.cta-button::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.4), transparent 60%);
  opacity: 0;
  transform: scale(0.1);
  transition: opacity 0.3s ease, transform 0.5s ease;
}

.cta-button:hover::after {
  opacity: 1;
  transform: scale(1);
}

/* Rotating Glow Background */
.cta-bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150%;
  height: 150%;
  background: conic-gradient(from 0deg,
      rgba(59, 130, 246, 0.05),
      rgba(6, 182, 212, 0.05),
      rgba(168, 85, 247, 0.05),
      rgba(59, 130, 246, 0.05));
  animation: rotateBg 20s linear infinite;
  z-index: 1;
  pointer-events: none;
}

@keyframes rotateBg {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@media (max-width: 768px) {
  .cta-title {
    font-size: 1.8rem;
  }

  .cta-button {
    width: 90%;
    padding: 15px 0;
  }
}

/* =========================================
   Company Page Styles
   ========================================= */

/* Mission Section */
.section-mission {
  padding: 100px 0;
  position: relative;
  text-align: center;
  background: radial-gradient(circle at 30% 50%, rgba(15, 23, 42, 0.6), transparent 70%);
}

.mission-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: conic-gradient(from 180deg, transparent, rgba(59, 130, 246, 0.03), transparent);
  animation: rotateBg 30s linear infinite;
  z-index: 0;
  pointer-events: none;
}

.mission-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.mission-label {
  display: inline-block;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 20px;
  padding: 5px 15px;
  border: 1px solid var(--accent);
  border-radius: 50px;
}

.mission-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.4;
  margin-bottom: 40px;
}

.mission-desc {
  font-size: 1.15rem;
  line-height: 2.2;
  color: var(--text-muted);
}

.mission-desc strong {
  color: #fff;
  background: linear-gradient(90deg, rgba(59, 130, 246, 0.1), transparent);
  padding: 2px 10px;
  border-radius: 4px;
}

/* Mission Cards */
.mission-cards-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 60px;
  text-align: left;
}

.mission-detail-card {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.7), rgba(15, 23, 42, 0.8));
  /* Lighter, gradient background */
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  border-radius: 20px;
  padding: 40px 30px;
  /* More padding */
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
}

.mission-detail-card:hover {
  transform: translateY(-8px);
  border-color: rgba(59, 130, 246, 0.5);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.mission-detail-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-main);
  opacity: 0.8;
}

.mission-card-number {
  font-size: 4rem;
  /* Much larger */
  font-weight: 800;
  color: rgba(255, 255, 255, 0.03);
  /* Subtle but large background number */
  position: absolute;
  bottom: -10px;
  right: 10px;
  line-height: 1;
  pointer-events: none;
  font-family: 'Outfit', sans-serif;
  /* Use a modern font if avail, using sans-serif fall back */
}

.mission-detail-card h3 {
  font-size: 1.5rem;
  /* Larger title */
  color: #fff;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.mission-detail-card h3::after {
  display: none;
  /* Remove the underline for cleaner look */
}

.mission-detail-card p {
  font-size: 1rem;
  color: #e2e8f0;
  /* Brighter text */
  line-height: 1.8;
  margin: 0;
  position: relative;
  /* Ensure proper z-index above number */
  z-index: 1;
}

@media (max-width: 900px) {
  .mission-cards-container {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Values Section (Refined Horizontal Card Component) */
.section-values {
  padding: 100px 0;
  background: rgba(255, 255, 255, 0.01);
}

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

.section-subtitle {
  color: var(--theme-border, #3b82f6);
  letter-spacing: 0.2em;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 15px;
  opacity: 0.8;
}

.values-list {
  display: flex;
  flex-direction: column;
  gap: 80px;
  /* Reduced gap since cards are self-contained */
  max-width: 1000px;
  margin: 0 auto;
}

.value-row {
  display: flex;
  align-items: stretch;
  /* Stretch to match height */
  gap: 0;
  /* No gap, unified card */
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  overflow: hidden;
  /* Clip children */
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, margin 0.3s ease;
  backdrop-filter: blur(10px);
}

.value-row:hover {
  transform: translateY(-5px);
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

.value-row.reverse {
  flex-direction: row-reverse;
}

.value-image {
  flex: 1;
  position: relative;
  min-height: 100%;
  /* Ensure it fills height */
  border-radius: 0;
  /* Reset radius */
  box-shadow: none;
  /* Reset shadow */
  border: none;
  /* Reset border */
}

.value-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Cover the area */
  display: block;
  transition: transform 0.7s cubic-bezier(0.2, 1, 0.3, 1);
}

.value-row:hover .value-image img {
  transform: scale(1.05);
}

.value-text {
  flex: 1.2;
  /* Give text slightly more space */
  text-align: left;
  padding: 60px;
  /* Internal padding for card feeling */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.value-text h3 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 25px;
  background: linear-gradient(90deg, #fff, #bfdbfe);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 0.05em;
}

.value-text p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: #cbd5e1;
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .values-list {
    gap: 80px;
  }

  .value-row,
  .value-row.reverse {
    flex-direction: column;
    gap: 30px;
  }

  .value-image {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
  }

  .value-text {
    text-align: center;
  }
}

/* Company Overview */
.section-overview {
  padding: 100px 0;
}

.overview-wrapper {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 50px;
  backdrop-filter: blur(10px);
}

.overview-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
}

.overview-header h2 {
  font-size: 1.8rem;
  white-space: nowrap;
  margin: 0;
}

.header-line {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  width: 100%;
}

.company-data {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.data-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  align-items: start;
  gap: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 20px;
}

.data-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.data-row dt {
  font-weight: 700;
  color: var(--accent);
  opacity: 0.9;
}

.data-row dd {
  color: #e2e8f0;
  line-height: 1.8;
  margin: 0;
}

/* Mobile Responsive For Company Page */
@media (max-width: 768px) {
  .mission-title {
    font-size: 2rem;
  }

  .values-grid {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }

  .overview-wrapper {
    padding: 30px 20px;
  }

  .data-row {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .data-row dt {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-bottom: 5px;
  }
}

@media (max-width: 480px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
}

/* Image Card Component */
.image-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
}

.image-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  border-color: rgba(59, 130, 246, 0.4);
}

.image-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.image-card:hover img {
  transform: scale(1.05);
}

.image-card-content {
  padding: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.image-card-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--text-main);
  background: var(--gradient-main);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.image-card-text {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.image-card-footer {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Demo Grid for Image Cards */
.image-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

/* Recruitment Tables */
.recruit-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  font-size: 0.95rem;
}

.recruit-table th,
.recruit-table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.recruit-table th {
  width: 30%;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.recruit-table td {
  color: var(--text-muted);
}

@media (max-width: 600px) {

  .recruit-table th,
  .recruit-table td {
    display: block;
    width: 100%;
  }

  .recruit-table th {
    background: transparent;
    padding-bottom: 5px;
    color: var(--accent);
  }

  .recruit-table td {
    padding-top: 5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
}

/* Recruitment Card Specifics */
.recruit-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  margin-bottom: 40px;
}

.recruit-card-header {
  display: flex;
  min-height: 300px;
}

.recruit-card-image {
  flex: 0 0 40%;
  position: relative;
}

.recruit-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recruit-card-intro {
  flex: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.recruit-body {
  padding: 0 40px 40px;
  background: rgba(0, 0, 0, 0.2);
  /* Slight darken for table area */
}

/* Mobile responsive for recruit card */
@media (max-width: 768px) {
  .recruit-card-header {
    flex-direction: column;
  }

  .recruit-card-image {
    height: 250px;
    width: 100%;
  }

  .recruit-card-intro {
    padding: 30px;
  }

  .recruit-body {
    padding: 0 20px 30px;
  }
}

/* Contact Page Specifics */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin: 50px 0;
}

.contact-info-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 35px;
  border-radius: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  backdrop-filter: blur(10px);
  text-align: center;
  /* Centered content for better balance */
}

.contact-info-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(59, 130, 246, 0.3);
  background: rgba(255, 255, 255, 0.06);
}

.contact-info-item h3 {
  font-size: 1.25rem;
  margin-bottom: 15px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.contact-info-item h3 i {
  font-size: 1.5rem;
  background: linear-gradient(135deg, #60a5fa, #c084fc);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.contact-info-item p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

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

  /* Make nav-links cover screen and be high z-index */
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 70%;
    max-width: 300px;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(15px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    margin: 0;
    z-index: 2001;
  }

  .nav-links.active {
    transform: translateX(0);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  }
}

/* Global Responsive Adjustments for Mobile */
@media (max-width: 600px) {
  .section {
    padding: 80px 0;
  }

  .container {
    width: 90%;
  }

  /* Force smaller fonts on mobile */
  h1 {
    font-size: 2.2rem !important;
  }

  h2 {
    font-size: 1.8rem !important;
  }

  p {
    font-size: 0.95rem !important;
  }

  /* Grid Stacking */
  .contact-info-grid,
  .pricing-list,
  .recommendation-grid,
  .concept-grid {
    grid-template-columns: 1fr;
    display: grid;
    gap: 30px;
  }

  /* Recruit Card Specific */
  .recruit-card-header {
    flex-direction: column;
  }

  .recruit-card-image {
    width: 100%;
    height: 200px;
    flex: none;
  }

  .recruit-card-intro {
    padding: 20px;
  }

  /* Company Data Table */
  .data-row {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  /* --- FAQ Page Styles (Redesigned) --- */
  .faq-list-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .faq-accordion {
    background: rgba(15, 23, 42, 0.6);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    overflow: hidden;
    transition: all 0.3s ease;
  }

  .faq-accordion:hover {
    border-color: rgba(56, 189, 248, 0.5);
    background: rgba(15, 23, 42, 0.8);
    transform: translateY(-2px);
  }

  .faq-accordion[open] {
    background: rgba(15, 23, 42, 0.9);
    border-color: var(--primary);
  }

  .faq-summary {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    list-style: none;
    /* Hide default triangle */
    position: relative;
  }

  .faq-summary::-webkit-details-marker {
    display: none;
  }

  .faq-icon {
    font-size: 1.2rem;
    color: var(--accent);
    width: 40px;
    display: flex;
    justify-content: center;
    margin-right: 15px;
  }

  .faq-question {
    font-weight: 600;
    font-size: 1.05rem;
    flex-grow: 1;
    color: #fff;
  }

  .faq-toggle {
    color: var(--text-muted);
    transition: transform 0.3s ease;
  }

  .faq-accordion[open] .faq-toggle {
    transform: rotate(180deg);
    color: var(--primary);
  }

  .faq-answer {
    padding: 0 25px 25px 80px;
    /* Aligned with text, offset by icon */
    color: var(--text-muted);
    line-height: 1.7;
    animation: fadeIn 0.3s ease;
  }

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

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

  /* --- Premium Chatbot Styles (Redesigned) --- */
  .chat-section-header {
    text-align: center;
    margin-bottom: 40px;
  }

  .chat-badge {
    display: inline-block;
    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;
    font-size: 0.8rem;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 10px;
    border: 1px solid rgba(56, 189, 248, 0.3);
  }

  .chat-placeholder {
    max-width: 650px;
    margin: 0 auto;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    overflow: hidden;
    position: relative;
  }

  .chat-header-bar {
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 15px;
  }

  .chat-avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #0f172a;
    padding: 2px;
    border: 2px solid var(--primary);
  }

  .chat-title h3 {
    font-size: 1rem;
    margin: 0;
    color: #fff;
  }

  .status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    margin-right: 5px;
    box-shadow: 0 0 10px #22c55e;
  }

  .chat-title {
    font-size: 0.8rem;
    color: var(--text-muted);
  }

  .chat-messages {
    flex-grow: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-height: 380px;
    /* Limits scroll area */
  }

  /* Scrollbar for chat */
  .chat-messages::-webkit-scrollbar {
    width: 6px;
  }

  .chat-messages::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
  }

  .chat-bubble {
    padding: 12px 18px;
    border-radius: 18px;
    max-width: 85%;
    font-size: 0.95rem;
    line-height: 1.5;
    position: relative;
    animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }

  .chat-bubble.ai {
    background: rgba(30, 41, 59, 0.9);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-bottom-left-radius: 4px;
    color: #e2e8f0;
    align-self: flex-start;
    margin-right: auto;
  }

  .chat-bubble.user {
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    border-bottom-right-radius: 4px;
    color: white;
    align-self: flex-end;
    margin-left: auto;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
  }

  .input-wrapper {
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    gap: 10px;
  }

  .chat-input {
    width: 100%;
    padding: 12px 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    background: rgba(15, 23, 42, 0.5);
    color: white;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    outline: none;
  }

  .chat-input:focus {
    background: rgba(15, 23, 42, 0.8);
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
  }

  #send-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    background: var(--gradient-main);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
    flex-shrink: 0;
  }

  #send-btn:hover {
    transform: scale(1.1);
  }

  /* --- FAQ Grid & Cards (New Design v3) --- */
  .faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 20px;
  }

  /* --- Sophisticated Vertical FAQ List (Accordion Style) --- */
  .service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
  }

  /* Force Vertical Stack & Centralize */
  .service-grid.vertical {
    grid-template-columns: 1fr !important;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    /* Use Flexbox for perfect vertical stack */
    flex-direction: column;
    gap: 24px;
  }

  /* Sleek Horizontal Bar Style */
  .service-grid.vertical .interactive-card {
    padding: 0;
    width: 100%;
    /* Full width */
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 3px solid rgba(59, 130, 246, 0.5);
    /* Accent on left */
    border-radius: 12px;
    /* Less rounded for bar look */
    backdrop-filter: blur(12px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  .service-grid.vertical .interactive-card:hover {
    background: rgba(30, 41, 59, 0.8);
    transform: translateX(5px);
    /* Slide right slightly on hover */
    border-left-color: var(--primary);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  }

  /* Reset details width */
  .interactive-card details {
    width: 100%;
  }

  /* Summary Layout - Horizontal Flex */
  .interactive-card summary {
    width: 100%;
    padding: 24px 30px;
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
  }

  .interactive-card summary::-webkit-details-marker {
    display: none;
  }

  /* Header Content - Ensure Horizontal Alignment */
  .card-header-content {
    width: 100%;
    display: flex;
    flex-direction: row;
    /* Horizontal */
    justify-content: space-between;
    align-items: center;
    text-align: left;
    gap: 20px;
  }

  /* Question Text Style */
  .interactive-card h3 {
    font-size: 1.15rem;
    font-weight: 500;
    color: #fff;
    margin: 0;
    line-height: 1.5;
    letter-spacing: 0.02em;
  }

  /* Stylish Toggle Button */
  .toggle-btn {
    width: 36px;
    height: 36px;
    min-width: 36px;
    /* Prevent shrinking */
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-muted);
    margin-top: 0;
    /* Align perfectly */
  }

  .interactive-card:hover .toggle-btn {
    border-color: rgba(59, 130, 246, 0.3);
    color: #38bdf8;
  }

  .interactive-card details[open] .toggle-btn {
    transform: rotate(45deg);
    background: var(--gradient-main);
    border-color: transparent;
    color: white;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.4);
  }

  /* Answer Content */
  .card-body-content {
    padding: 0 30px 30px 30px;
    color: #cbd5e1;
    /* Lighter than muted for readability */
    line-height: 1.8;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 0;
    padding-top: 24px;
    animation: slideDown 0.3s ease-out;
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }

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

  /* Legacy cleanups */
  .faq-icon-wrapper,
  .faq-details,
  .faq-summary,
  .faq-content {
    display: none;
  }


  /* --- Chatbot Premium UI (v3) --- */
  .chat-badge {
    display: inline-block;
    background: rgba(139, 92, 246, 0.2);
    color: #a78bfa;
    font-size: 0.85rem;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
    border: 1px solid rgba(139, 92, 246, 0.4);
    font-weight: 600;
  }

  .chat-placeholder {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    height: 600px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(30px);
    overflow: hidden;
  }

  .chat-header-bar {
    padding: 20px 30px;
    background: rgba(2, 6, 23, 0.6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .chat-avatar-group {
    display: flex;
    align-items: center;
    gap: 15px;
  }

  .chat-avatar {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--gradient-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
  }

  .chat-title-group h3 {
    font-size: 1.1rem;
    margin: 0;
    color: white;
    font-weight: 700;
  }

  .status-indicator {
    font-size: 0.85rem;
    color: #4ade80;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
  }

  .status-dot {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
  }

  .pulse {
    animation: pulse 2s infinite;
  }

  @keyframes pulse {
    0% {
      box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.4);
    }

    70% {
      box-shadow: 0 0 0 10px rgba(74, 222, 128, 0);
    }

    100% {
      box-shadow: 0 0 0 0 rgba(74, 222, 128, 0);
    }
  }

  .chat-messages {
    flex-grow: 1;
    padding: 30px;
    overflow-y: auto;
    background: radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.05), transparent);
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .date-divider {
    text-align: center;
    margin: 10px 0;
  }

  .date-divider span {
    background: rgba(255, 255, 255, 0.08);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-muted);
  }

  .chat-bubble {
    display: flex;
    gap: 15px;
    max-width: 80%;
    animation: popIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  .chat-bubble.ai {
    align-self: flex-start;
  }

  .chat-bubble.user {
    align-self: flex-end;
    flex-direction: row-reverse;
  }

  .bubble-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #38bdf8;
    font-size: 0.9rem;
  }

  .chat-bubble.user .bubble-icon {
    background: var(--primary);
    color: white;
    border: none;
  }

  .bubble-content {
    background: rgba(30, 41, 59, 0.8);
    padding: 16px 24px;
    border-radius: 0 20px 20px 20px;
    color: #e2e8f0;
    line-height: 1.6;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
  }

  .chat-bubble.user .bubble-content {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    border-radius: 20px 0 20px 20px;
    border: none;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
  }

  .input-wrapper {
    padding: 24px 30px;
    background: rgba(15, 23, 42, 0.9);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    gap: 15px;
  }

  .chat-input {
    flex-grow: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 16px 20px;
    color: white;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s;
  }

  .chat-input:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: #38bdf8;
  }

  #send-btn {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--gradient-main);
    border: none;
    color: white;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    transition: all 0.3s;
  }

  #send-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5);
  }

  @keyframes popIn {
    0% {
      opacity: 0;
      transform: scale(0.9) translateY(10px);
    }

    100% {
      opacity: 1;
      transform: scale(1) translateY(0);
    }
  }

  /* --- Chatbot Feature Card (Home Style - v4) --- */
  .chatbot-feature-card {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.7));
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 0 50px rgba(59, 130, 246, 0.15);
    position: relative;
    overflow: hidden;
    margin-bottom: 50px;
  }

  .embedded-chat-ui {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    backdrop-filter: blur(10px);
  }

  @media (max-width: 768px) {
    .chatbot-feature-card {
      padding: 40px 20px;
    }
  }

  /* --- GUARANTEED VERTICAL LIST FIX (Premium V2 design) --- */
  .faq-vertical-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
  }

  /* Premium Glass Bar Style */
  .faq-vertical-list .interactive-card {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    flex-direction: column !important;

    background: rgba(255, 255, 255, 0.03);
    /* Ultra transparent */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    /* Smooth corners */
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    /* Clean edges */
  }

  /* Hover State: Subtle Glow & Lift */
  .faq-vertical-list .interactive-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.15);
    transform: translateY(-2px);
  }

  /* Summary Layout */
  .faq-vertical-list .interactive-card summary {
    width: 100%;
    padding: 24px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
  }

  /* Header Content */
  .faq-vertical-list .interactive-card .card-header-content {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  /* Text Refinement */
  .faq-vertical-list .interactive-card h3 {
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.03em;
    transition: color 0.3s;
  }

  .faq-vertical-list .interactive-card:hover h3 {
    color: white;
    text-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
  }

  /* Toggle Button (Minimalist) */
  .faq-vertical-list .interactive-card .toggle-btn {
    margin-top: 0;
    width: 32px;
    height: 32px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
  }

  .faq-vertical-list .interactive-card:hover .toggle-btn {
    border-color: #38bdf8;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.1);
  }

  /* Expanded State */
  .faq-vertical-list .interactive-card details[open] .toggle-btn {
    transform: rotate(180deg);
    /* Smooth flip instead of diagonal */
    background: var(--primary);
    border-color: var(--primary);
    color: white;
  }

  /* Content area */
  .card-body-content {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 24px 32px 32px;
    background: rgba(0, 0, 0, 0.2);
    /* Slightly darker for contrast */
  }
}

/* --- Header & Layout Fixes --- */

/* Fix: Header Navigation Cutoff on Tablets */
/* Switch to Mobile Navigation earlier to prevent clipping */
@media (max-width: 1200px) {

  /* Hide Desktop Nav */
  .nav-links {
    display: none !important;
  }

  /* Ensure Bottom Nav is visible */
  .bottom-nav {
    display: flex !important;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 0;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
  }

  .bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #94a3b8;
    font-size: 0.7rem;
    gap: 5px;
    transition: color 0.3s;
  }

  .bottom-nav .nav-item i {
    font-size: 1.2rem;
    margin-bottom: 2px;
  }

  .bottom-nav .nav-item.active,
  .bottom-nav .nav-item:hover {
    color: #3b82f6;
  }
}