:root {
  --primary-color: #ffffff;
  --text-dark: #0f172a;
  --accent-purple: #7c3aed;
  --accent-blue: #3b82f6;
  --accent-cyan: #06b6d4;
  --accent-pink: #ec4899;
  --bg-gradient-start: #1a103c;
  --bg-gradient-end: #0f172a;
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --text-main: #ffffff;
  --text-muted: #94a3b8;
}

:root {
  --primary-color: #ffffff;
  --text-dark: #0f172a;
  --accent-purple: #7c3aed;
  --accent-blue: #3b82f6;
  --accent-cyan: #06b6d4;
  --accent-pink: #ec4899;
  --bg-gradient-start: #1a103c;
  --bg-gradient-end: #0f172a;
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --text-main: #ffffff;
  --text-muted: #94a3b8;

  --bg-light-1: #f8fafc;
  --bg-light-2: #e2e8f0;
  --text-light-main: #1e293b;
  --text-light-muted: #64748b;
  --card-light-bg: rgba(255, 255, 255, 0.7);
  --card-light-border: rgba(0, 0, 0, 0.05);
}

body.light-mode {
  --bg-gradient-end: #f1f5f9;
  --text-main: var(--text-light-main);
  --text-muted: var(--text-light-muted);
  --glass-bg: rgba(255, 255, 255, 0.6);
  --glass-border: rgba(0, 0, 0, 0.08);

  background-image:
    radial-gradient(circle at 50% 0%, #e0e7ff 0%, transparent 50%),
    radial-gradient(
      circle at 100% 50%,
      rgba(59, 130, 246, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 0% 80%,
      rgba(124, 58, 237, 0.1) 0%,
      transparent 50%
    );
}

body.light-mode .tech-header.scrolled {
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

body.light-mode .nav-link {
  color: var(--text-light-muted);
}
body.light-mode .nav-link:hover {
  color: var(--accent-purple);
}

body.light-mode .cta-button {
  border-color: rgba(0, 0, 0, 0.1);
  color: var(--text-light-main);
}
body.light-mode .cta-button:hover {
  background: rgba(0, 0, 0, 0.05);
  border-color: var(--text-light-main);
}

body.light-mode .hero-title {
  color: #1e293b;
}

body.light-mode .gradient-text {
  background: linear-gradient(to right, #4f46e5, #9333ea);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.light-mode .dashboard-box,
body.light-mode .feature-slide-card,
body.light-mode .contact-modern-panel,
body.light-mode .info-card-modern,
body.light-mode .contact-form-area {
  background: var(--card-light-bg);
  border-color: var(--card-light-border);
  box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.05);
}

body.light-mode .dashboard-header {
  background: rgba(0, 0, 0, 0.03);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

body.light-mode .grid-item {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.05);
}

body.light-mode .btn-outline-custom {
  color: var(--text-light-main);
  border-color: rgba(0, 0, 0, 0.2);
}
body.light-mode .btn-outline-custom:hover {
  background: rgba(0, 0, 0, 0.05);
  border-color: var(--text-light-main);
}

body.light-mode .logo-item {
  background: rgba(255, 255, 255, 0.5);
  border-color: rgba(0, 0, 0, 0.05);
}
body.light-mode .logo-item span {
  color: var(--text-light-muted);
}

body.light-mode .logo-img {
  filter: invert(1);
}

body.light-mode .visual-frame {
}

body.light-mode .feature-card-modern {
  background: rgba(255, 255, 255, 0.5);
  border-color: rgba(0, 0, 0, 0.05);
}
body.light-mode .feature-card-modern h4,
body.light-mode .info-content h5,
body.light-mode .form-header h3,
body.light-mode .contact-panel-info,
body.light-mode .content-header h3,
body.light-mode .feature-box strong,
body.light-mode .data-value {
  color: var(--text-light-main);
}

body.light-mode .contact-panel-info {
  color: #fff;
}

body.light-mode .input-minimal {
  color: var(--text-light-main);
  border-bottom-color: rgba(0, 0, 0, 0.1);
}
body.light-mode .input-minimal::placeholder {
  color: rgba(0, 0, 0, 0.4);
}
body.light-mode .form-label-minimal {
  color: var(--text-light-muted);
}

body.light-mode .content-header h3 {
  background: linear-gradient(to right, #1e293b, #4f46e5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.light-mode .bar {
  background: var(--text-light-main);
}

/* Theme Toggle Button Styles */
.theme-toggle-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-main);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-left: 1rem;
}

.theme-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.icon-sun {
  display: none;
}
.icon-moon {
  display: block;
}

/* Toggle Icon Visibility based on mode */
body.light-mode .theme-toggle-btn {
  border-color: rgba(0, 0, 0, 0.1);
  color: var(--text-light-main);
}
body.light-mode .theme-toggle-btn:hover {
  background: rgba(0, 0, 0, 0.05);
}

body.light-mode .icon-sun {
  display: block;
}
body.light-mode .icon-moon {
  display: none;
}

html {
  scroll-behavior: auto; /* Required for Lenis to work properly */
}

html.lenis {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

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

body {
  font-family: "Outfit", sans-serif;
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden;
  background-color: var(--bg-gradient-end);
  background-image:
    radial-gradient(circle at 50% 0%, #2e1065 0%, transparent 50%),
    radial-gradient(
      circle at 100% 50%,
      rgba(59, 130, 246, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 0% 80%,
      rgba(124, 58, 237, 0.1) 0%,
      transparent 50%
    );
  background-attachment: fixed;
}

/* Modern Header */
.tech-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 5%;
  transition: all 0.4s ease;
  background: transparent;
  border-bottom: 1px solid transparent;
}

.tech-header.scrolled {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
  padding: 1rem 5%;
  border-bottom: 1px solid var(--glass-border);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 30px;
  width: auto;
}

.nav-menu {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--text-main);
}

/* Header CTA */
.cta-button {
  padding: 0.6rem 1rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  color: var(--text-main);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--text-main);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
}

.bar {
  width: 24px;
  height: 2px;
  background: var(--text-main);
}

.hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 140px;
  position: relative;
  overflow: hidden;
  text-align: center;
  padding-bottom: 70px;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(
    ellipse at center,
    rgba(124, 58, 237, 0.2) 0%,
    transparent 70%
  );
  filter: blur(80px);
  z-index: -1;
}

.hero-content-centered {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: #fff;
}

.gradient-text {
  background: linear-gradient(to right, #fff, #a5b4fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  line-height: 1.6;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.btn-primary-custom {
  background: linear-gradient(135deg, #7c3aed, #3b82f6);
  color: #fff;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: none;
  transition: transform 0.3s ease;
}

.btn-primary-custom:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #7c3aed, #3b82f6);
  color: #fff;
}

.btn-outline-custom {
  background: transparent;
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-outline-custom:hover {
  border-color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
}

.btn-sm {
  padding: 0.5rem 1.2rem;
  font-size: 0.85rem;
}

/* Stats Strip */
.hero-stats-strip {
  display: inline-flex;
  align-items: center;
  gap: 2rem;
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  backdrop-filter: blur(5px);
  margin-bottom: 4rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-divider {
  width: 1px;
  height: 30px;
  background: rgba(255, 255, 255, 0.1);
}

/* DASHBOARD PREVIEW BOX */
.hero-dashboard-preview {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  perspective: 1000px;
  padding-bottom: 0; /* Adjusted */
}

.dashboard-box {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  transform: rotateX(5deg) translateY(0);
  transition: transform 0.5s ease;
  backdrop-filter: blur(6px);
  position: relative;
  z-index: 2;
  height: 500px; /* Fixed height for preview */
}

.dashboard-box:hover {
  transform: rotateX(0deg) translateY(-10px);
}

.dashboard-header {
  background: rgba(255, 255, 255, 0.03);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.red {
  background: #ef4444;
}
.yellow {
  background: #f59e0b;
}
.green {
  background: #10b981;
}

.address-bar {
  margin-left: 15px;
  background: rgba(0, 0, 0, 0.3);
  padding: 4px 15px;
  border-radius: 4px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  flex-grow: 1;
  text-align: center;
}

.dashboard-content {
  height: calc(100% - 50px);
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Wireframe Placeholder Grid */
.placeholder-grid {
  display: grid;
  grid-template-columns: 200px 1fr 250px;
  gap: 20px;
  width: 100%;
  height: 100%;
  opacity: 0.3;
}

.grid-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  border: 1px dashed rgba(255, 255, 255, 0.2);
}

.dashboard-overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Floating Badges */
.floating-badge {
  position: absolute;
  background: rgba(30, 41, 59, 0.9);
  padding: 10px 20px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  font-weight: 600;
  font-size: 0.9rem;
  z-index: 10;
  animation: floatBadge 4s ease-in-out infinite;
}

.badge-left {
  top: 30%;
  left: -30px;
  color: #34d399;
}

.badge-right {
  bottom: 30%;
  right: -30px;
  color: #f472b6;
  animation-delay: 2s;
}

@keyframes floatBadge {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Background Glow behind dashboard */
.dashboard-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  height: 80%;
  background: linear-gradient(135deg, #7c3aed, #3b82f6);
  filter: blur(100px);
  opacity: 0.2;
  z-index: -1;
}

/* LOGO CAROUSEL SECTION */
.logo-carousel-section {
  padding: 3rem 0;
  overflow: hidden;
  position: relative;
  /* Add a subtle gradient mask on sides to fade logos out */
  mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
}

.carousel-container {
  max-width: 100%;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: scrollLogos 30s linear infinite;
  gap: 4rem; /* Gap between logos */
}

/* Fixed size box for logos as requested */
.logo-item {
  width: 150px;
  height: 60px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.logo-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.logo-item span {
  color: rgba(255, 255, 255, 0.3);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 1px;
}

/* Animation for looping */
@keyframes scrollLogos {
  0% {
    transform: translateX(0);
  }
  100% {
    /* Translate by -50% (half width) plus half the total gap width of one set */
    /* Since we have gap: 4rem, and assume identical sets, we move by -50% roughly. 
       For perfect loop with gap, usually translate X needs to be calculated precisely or use JS duplication.
       Here with 16 items (8 original + 8 dupes) and consistent gaps, -50% works if container width matches content. 
       Actually, -50% of the TRACK width is correct if the track contains exactly 2 copies. */
    transform: translateX(-50%);
  }
}

/* MODERN ABOUT SECTION (New) */
.about-section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

/* Left Side: Visual Container */
.about-visual-container {
  position: relative;
  height: 500px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.2), transparent 70%);
  filter: blur(50px);
  z-index: 1;
}

.visual-frame {
  position: relative;
  width: 80%;
  height: 80%;
  background: rgba(255, 255, 255, 0.02);
  border: 4px solid var(--accent-purple);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
  border-radius: 20px;
  overflow: hidden;
}

/* Tech Corners */
.corner-accent {
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid transparent;
}
.top-left {
  top: -1px;
  left: -1px;
  border-top-color: var(--accent-purple);
  border-left-color: var(--accent-purple);
}
.top-right {
  top: -1px;
  right: -1px;
  border-top-color: var(--accent-purple);
  border-right-color: var(--accent-purple);
}
.bottom-left {
  bottom: -1px;
  left: -1px;
  border-bottom-color: var(--accent-blue);
  border-left-color: var(--accent-blue);
}
.bottom-right {
  bottom: -1px;
  right: -1px;
  border-bottom-color: var(--accent-blue);
  border-right-color: var(--accent-blue);
}

.frame-content {
  text-align: center;
  color: var(--text-muted);
}
.placeholder-icon {
  margin-bottom: 1rem;
  color: var(--text-main);
  opacity: 0.5;
}

/* Floating Data Card */
.floating-data-card {
  position: absolute;
  bottom: 20px;
  right: 0;
  width: 220px;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  z-index: 3;
  backdrop-filter: blur(10px);
}

.data-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.data-header .label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.status-indicator {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
}

.data-graph {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 60px;
  margin-bottom: 10px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.data-graph .bar {
  flex: 1;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  transition: height 0.3s ease;
}
.data-graph .bar.active {
  background: var(--accent-purple);
  box-shadow: 0 0 10px rgba(124, 58, 237, 0.4);
}

.data-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

/* Right Side: Content Modern */
.about-content-modern {
  padding-left: 2rem;
}

.gradient-subtitle {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  background: linear-gradient(to right, #a5b4fc, #c084fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
  display: inline-block;
}

.section-title-modern {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.section-desc-modern {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 3rem;
  max-width: 90%;
}

.features-grid-modern {
  display: grid;
  gap: 1.5rem;
}

.feature-card-modern {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.feature-card-modern:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateX(10px);
}

.card-icon {
  width: 40px;
  height: 40px;
  background: rgba(124, 58, 237, 0.1);
  color: var(--accent-purple);
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.feature-card-modern h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: #fff;
}

.feature-card-modern p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

/* FEATURE SLIDER SECTION */
.feature-slider-section {
  padding: 100px 0;
  /* Remove blocky background */
  background: transparent;
  width: 100%;
  overflow: hidden;
  position: relative;
}

/* We need a separate element for the left mask since ::before is used for glow now */
.slider-left-mask {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 15%;
  z-index: 5;
  pointer-events: none;
  background: linear-gradient(to right, var(--bg-gradient-end), transparent);
}

/* Slider Container (Scrollable) */
.slider-wrapper {
  display: flex;
  overflow-x: auto;
  gap: 40px;
  scroll-snap-type: x mandatory;
  padding: 50px calc(50% - 30vw); /* Center the 60vw card: 100 - 60 = 40 / 2 = 20vw each side? Wait. 50% center - half card width. */
  /* If Card is 60vw, half is 30vw. So padding-left is 50% - 30vw = 20vw.
     This ensures first item centers perfectly. */

  /* Hide Scrollbar */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

.slider-wrapper::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

/* Card Styles */
.feature-slide-card {
  width: 60vw; /* Desktop: 60% width */
  min-width: 60vw;
  scroll-snap-align: center;
  flex-shrink: 0;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 3rem;
  position: relative;
  transition:
    transform 0.3s ease,
    background 0.3s ease;
  backdrop-filter: blur(10px);
}

.feature-slide-card:hover {
  background: rgba(15, 23, 42, 0.95);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

/* Inner Layout: Content Left, Image Right */
.card-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: start;
  height: 100%;
}

.card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.content-header h3 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(to right, #fff, #a5b4fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.content-header .description {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

/* Feature Grid inside card */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.feature-box {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.check-icon-small {
  width: 20px;
  height: 20px;
  background: var(--accent-blue);
  border-radius: 50%;
  color: #fff;
  font-size: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  font-weight: bold;
}

.feature-box strong {
  display: block;
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 4px;
}

.feature-box span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Card Image Area */
.card-image {
  width: 100%;
  height: 100%;
  min-height: 300px;
  position: relative;
  display: flex;
  justify-content: flex-end;
}

.placeholder-img {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.2);
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.placeholder-img img {
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.feature-slide-card:hover .placeholder-img img {
  transform: scale(1.05);
}

/* CONTACT SECTION - UNIFIED PANEL STYLE */
.contact-section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

/* Remove old glow, use new panel glow */
.contact-section::before {
  display: none;
}

.contact-modern-panel {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  overflow: hidden;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.5);
  max-width: 1100px;
  margin: 0 auto;
}

/* Left Side: Info & Gradient */
.contact-panel-info {
  background: linear-gradient(
    135deg,
    rgba(124, 58, 237, 0.9),
    rgba(79, 70, 229, 0.9)
  );
  padding: 4rem;
  color: #fff;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

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

.panel-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.panel-desc {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 3rem;
  line-height: 1.6;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-row {
  display: flex;
  align-items: start;
  gap: 1rem;
}

.icon-small {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.9rem;
}

.info-row span {
  font-size: 0.95rem;
  font-weight: 500;
}

/* Decorative Circle */
.panel-glow-circle {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  filter: blur(40px);
}

/* Right Side: Form */
.contact-panel-form {
  padding: 4rem;
  background: transparent;
}

.form-label-minimal {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  display: block;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.input-minimal {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.8rem 0;
  color: #fff;
  font-size: 1rem;
  transition: all 0.3s ease;
  border-radius: 0; /* Remove default radius */
}

.input-minimal:focus {
  outline: none;
  border-bottom-color: var(--accent-purple);
  background: linear-gradient(
    to bottom,
    transparent 95%,
    rgba(124, 58, 237, 0.1) 100%
  );
}

.input-minimal::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

/* Form Notification */
.form-notification {
  padding: 1rem;
  margin-bottom: 1.5rem;
  border-radius: 8px;
  font-size: 0.95rem;
  display: none;
  animation: fadeIn 0.3s ease-in-out;
  align-items: center;
  gap: 0.5rem;
}

.form-notification.success {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: #34d399;
}

.form-notification.error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #f87171;
}

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

/* Responsive */
@media (max-width: 992px) {
  /* .nav-menu {
    display: none;
  } */
  .mobile-toggle {
    display: flex;
  }

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

  .placeholder-grid {
    grid-template-columns: 1fr; /* Stack on mobile */
    opacity: 0.2;
  }

  .grid-item.sidebar,
  .grid-item.side-panel {
    display: none;
  }

  .floating-badge {
    display: none;
  }

  .hero-stats-strip {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }

  .stat-divider {
    width: 30px;
    height: 1px;
  }

  /* Make carousel faster on mobile if desired, or keep same */
  .logo-item {
    width: 120px;
    height: 50px;
  }
  .carousel-track {
    gap: 2rem;
  }

  /* Modern About Responsive */
  .about-visual-container {
    height: 400px;
    margin-bottom: 3rem;
  }

  .about-content-modern {
    padding-left: 0;
  }

  .section-title-modern {
    font-size: 2.2rem;
  }

  .floating-data-card {
    right: 50%;
    transform: translateX(50%);
    bottom: -20px;
  }

  /* Slider Responsive Mobile */
  .slider-wrapper {
    padding: 30px 20px;
    gap: 15px;
  }

  .feature-slide-card {
    width: 85vw;
    min-width: 85vw;
    padding: 1.5rem;
  }

  .card-inner {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .card-image {
    order: -1;
    min-height: auto;
    height: 160px;
  }

  .content-header h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
  }

  .content-header .description {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .feature-box {
    gap: 10px;
  }

  .feature-box strong {
    font-size: 0.9rem;
  }

  /* Contact Responsive */
  .contact-modern-panel {
    grid-template-columns: 1fr;
  }

  .contact-panel-info {
    padding: 3rem 2rem;
  }

  .contact-panel-form {
    padding: 3rem 2rem;
  }
}

/* FOOTER SECTION */
.footer-section {
  padding: 3rem 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: transparent; /* Seamless blend */
  position: relative;
}

/* Footer glow */
.footer-section::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  height: 100%;
  background: radial-gradient(
    ellipse at bottom,
    rgba(124, 58, 237, 0.15) 0%,
    transparent 70%
  );
  filter: blur(30px);
  z-index: -1;
}

.copyright-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
}
/* Base Container - Hero Glow Only */
.bg-grid-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh; /* Hanya setinggi layar (Hero) */
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  /* Background dipindahkan kembali ke Body */
  mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}

/* Hapus override background di container untuk light mode */
body.light-mode .bg-grid-container {
  background: none;
}

/* Pola Grid Statis - Hidden as requested */
.bg-grid {
  display: none;
}

/* Pengaturan Garis Meteor (Meteor Lines) */
.glow-line {
  position: absolute;
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.8));
  opacity: 0.8;
  border-radius: 10px;
}

/* Vertical Meteor: Head at bottom (moving down) */
.glow-line.vertical {
  width: 3px;
  height: 150px; /* Panjang ekor meteor */
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(124, 58, 237, 0.5),
    #fff
  );
}

/* Horizontal Meteor: Head at right (moving right) */
.glow-line.horizontal {
  height: 3px;
  width: 150px; /* Panjang ekor meteor */
  background: linear-gradient(
    to right,
    transparent,
    rgba(124, 58, 237, 0.5),
    #fff
  );
}

/* Animasi 2 Garis Vertikal */
.v1 {
  left: 30%;
  animation: moveVertical 6s infinite linear; /* Lebih cepat */
}
/* Meteor V2: Moving UP (Reverse) -> Head at Top */
.v2 {
  left: 70%;
  animation: moveVertical 9s infinite linear reverse;
  background: linear-gradient(
    to top,
    transparent,
    rgba(124, 58, 237, 0.5),
    #fff
  ) !important;
}

/* Animasi 2 Garis Horizontal */
.h1 {
  top: 25%;
  animation: moveHorizontal 8s infinite linear;
}
/* Meteor H2: Moving LEFT (Reverse) -> Head at Left */
.h2 {
  top: 75%;
  animation: moveHorizontal 12s infinite linear reverse;
  background: linear-gradient(
    to left,
    transparent,
    rgba(124, 58, 237, 0.5),
    #fff
  ) !important;
}

/* Keyframes */
@keyframes moveVertical {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(120vh); /* Jarak tempuh sepanjang tinggi layar */
  }
}

@keyframes moveHorizontal {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(120vw); /* Jarak tempuh sepanjang lebar layar */
  }
}

/* Gradient Pusat Meteor Style (Hot Core) */
.bg-gradient-glow {
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(124, 58, 237, 0.2) 40%,
    transparent 80%
  );
  filter: blur(90px);
  pointer-events: none;
  mix-blend-mode: screen;
  z-index: 0;
}

body.light-mode .bg-gradient-glow {
  background: radial-gradient(
    circle at 50% 50%,
    rgba(139, 92, 246, 0.3) 0%,
    rgba(59, 130, 246, 0.2) 25%,
    transparent 65%
  );
  mix-blend-mode: normal;
  opacity: 0.8;
}

/* Penyesuaian Light Mode - Meteor Lines */
body.light-mode .glow-line {
  opacity: 0.6;
  filter: drop-shadow(0 0 5px rgba(124, 58, 237, 0.4));
}

body.light-mode .glow-line.vertical {
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(124, 58, 237, 0.2),
    #7c3aed
  );
}

body.light-mode .glow-line.horizontal {
  background: linear-gradient(
    to right,
    transparent,
    rgba(124, 58, 237, 0.2),
    #7c3aed
  );
}

/* Reverse directions for light mode override */
body.light-mode .v2 {
  background: linear-gradient(
    to top,
    transparent,
    rgba(124, 58, 237, 0.2),
    #7c3aed
  ) !important;
}

body.light-mode .h2 {
  background: linear-gradient(
    to left,
    transparent,
    rgba(124, 58, 237, 0.2),
    #7c3aed
  ) !important;
}
