/* Premium Design Tokens */
:root {
  --font-primary: 'Inter', sans-serif;
  --font-title: 'Outfit', sans-serif;
  --color-primary: #e11d48;
  --color-primary-hover: #be123c;
  --color-accent: #f59e0b;
  --color-glow: rgba(225, 29, 72, 0.15);
  --transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-glass: 0 8px 32px 0 rgba(225, 29, 72, 0.12);
  --shadow-glow: 0 0 30px rgba(225, 29, 72, 0.4);

  /* Light Theme */
  --bg-color: #f8fafc;
  --bg-white: #ffffff;
  --bg-navbar: rgba(255, 255, 255, 0.8);
  --text-color: #475569;
  --title-color: #0f172a;
  --border-color: rgba(226, 232, 240, 0.8);
  --card-bg: rgba(255, 255, 255, 0.6);
}

/* Background Animated Blobs */
.blob {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--color-glow) 0%, rgba(225, 29, 72, 0) 70%);
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    animation: floatBlob 20s infinite alternate;
    pointer-events: none;
}

.blob-1 { top: -10%; left: -10%; background: radial-gradient(circle, rgba(225, 29, 72, 0.1) 0%, transparent 70%); }
.blob-2 { bottom: 10%; right: -5%; background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%); animation-delay: -5s; }
.blob-3 { top: 40%; left: 30%; width: 300px; height: 300px; background: radial-gradient(circle, rgba(245, 158, 11, 0.05) 0%, transparent 70%); animation-delay: -10s; }

@keyframes floatBlob {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(100px, 50px) scale(1.1); }
    66% { transform: translate(-50px, 100px) scale(0.9); }
    100% { transform: translate(0, 0) scale(1); }
}

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

.text-gradient-alt {
    background: linear-gradient(135deg, #1e293b 0%, #475569 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Custom Cursor */
.cursor {
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    transition: transform 0.1s ease, opacity 0.3s ease;
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    position: fixed;
    top: -16px;
    left: -16px;
    pointer-events: none;
    z-index: 9998;
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s ease, border 0.3s ease, opacity 0.3s ease;
}

.cursor.active { transform: scale(1.5); }
.cursor-follower.active { 
    background: rgba(225, 29, 72, 0.1);
    border-color: transparent;
    transform: scale(1.8);
}

@media (max-width: 991px) {
    .cursor, .cursor-follower { display: none; }
}

.tech-badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(225, 29, 72, 0.1);
    border: 1px solid rgba(225, 29, 72, 0.3);
    border-radius: 50px;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

.page-header {
    padding: 12rem 0 8rem;
    background: linear-gradient(135deg, #450a0a 0%, #7f1d1d 50%, #e11d48 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Dark Theme Colors */
[data-theme="dark"] {
  --bg-color: #0f172a;
  --bg-white: #1e293b;
  --bg-navbar: rgba(15, 23, 42, 0.9);
  --text-color: #94a3b8;
  --title-color: #f1f5f9;
  --border-color: rgba(51, 65, 85, 0.5);
  --card-bg: rgba(30, 41, 59, 0.7);
}

/* Hero 4 Styles (from indexden) */
.hero-section-4 {
    position: relative;
    padding: 180px 0 120px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    min-height: 850px;
    display: flex;
    align-items: center;
}

.hero-section-4 .hero-image {
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    width: 45%;
    z-index: 1;
}

.hero-section-4 .hero-content h1 {
    font-size: 5.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--title-color);
}

.hero-section-4 .hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 40px;
}

.hero-section-4 .social-icon {
    position: absolute;
    left: 40px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 10;
}

.hero-section-4 .social-icon a {
    width: 50px;
    height: 50px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    transition: var(--transition);
}

.hero-section-4 .social-icon a:hover {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

.hero-section-4 .grif-image {
    position: absolute;
    bottom: 50px;
    left: 15%;
    z-index: 1;
    opacity: 0.5;
}

.video-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-icon .video-text {
    position: absolute;
    animation: rotateText 10s linear infinite;
    width: 150px;
}

@keyframes rotateText {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.video-btn {
    width: 80px;
    height: 80px;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.5);
    animation: pulseVideo 2s infinite;
}

@keyframes pulseVideo {
    0% { box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(225, 29, 72, 0); }
    100% { box-shadow: 0 0 0 0 rgba(225, 29, 72, 0); }
}

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

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

body {
  font-family: var(--font-primary);
  color: var(--text-color);
  background-color: var(--bg-color);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.5s ease, color 0.5s ease, border-color 0.5s ease, box-shadow 0.5s ease;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  color: var(--title-color);
  font-weight: 700;
  line-height: 1.2;
}

.bg-white { background-color: var(--bg-white) !important; }
.text-dark { color: var(--title-color) !important; }
.text-slate { color: var(--text-color) !important; }

a {
  text-decoration: none;
  color: var(--color-primary);
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* Typography Utilities */
.text-center { text-align: center; }
.text-primary { color: var(--color-primary); }
.text-accent { color: var(--color-accent); }
.text-white { color: var(--color-white); }
.font-bold { font-weight: 700; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }
.mt-5 { margin-top: 3rem; }

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-4 { gap: 2rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.7rem;
  font-weight: 600;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  font-family: var(--font-primary);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300%;
  height: 300%;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.6s ease-out;
  z-index: -1;
}

.btn-primary:hover::after {
  transform: translate(-50%, -50%) scale(1);
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), #fb7185);
  color: var(--color-white);
  box-shadow: 0 4px 14px 0 rgba(225, 29, 72, 0.39);
}

.btn-primary:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 10px 25px rgba(225, 29, 72, 0.6);
  color: var(--color-white);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 10px 25px rgba(225, 29, 72, 0.3);
}

/* Glassmorphism Cards */
.glass-card {
  background: var(--card-bg);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid var(--border-color);
  border-radius: 1.5rem;
  padding: 2.5rem;
  box-shadow: var(--shadow-glass);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.glass-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 20px 40px rgba(225, 29, 72, 0.15);
  border-color: rgba(225, 29, 72, 0.5);
  background: rgba(255, 255, 255, 0.8);
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: 0.5s;
}

.glass-card:hover::before {
    left: 100%;
}

/* Brand Slider */
.brand-section {
    background: #f1f5f9;
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.brand-slider .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-box {
    font-weight: 800;
    color: #94a3b8;
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.7;
    transition: var(--transition);
    white-space: nowrap;
}

.brand-box:hover {
    opacity: 1;
    color: var(--color-primary);
}

/* Product Grid & Cards */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-primary);
    background: white;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.product-card .icon-box {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    background: rgba(225, 29, 72, 0.1);
    color: var(--color-primary);
    transition: var(--transition);
}

.product-card:hover .icon-box {
    background: var(--color-primary);
    color: white;
    transform: rotateY(360deg);
}

.product-card h4 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--title-color);
}

.product-card p {
    font-size: 0.95rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.product-card .product-link {
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-primary);
}

.product-card .badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    background: rgba(0,0,0,0.05);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: var(--transition);
  background: transparent;
}

.navbar .container {
  position: relative;
  background: var(--bg-navbar);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: 100px;
  padding: 0.6rem 2rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  transition: var(--transition);
}

.navbar.scrolled {
  padding: 1rem 0;
}

.navbar.scrolled .container {
  background: var(--bg-navbar);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  padding: 0.8rem 2.5rem;
}

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

.navbar .logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-dark);
  letter-spacing: -0.5px;
}

.navbar .logo span {
  color: var(--color-primary);
}

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

@media (max-width: 991px) {
  .navbar .container {
    border-radius: 0.75rem;
    padding: 0.8rem 1.2rem;
  }
  
  .navbar .nav-content {
    position: relative;
  }
  
  .nav-links {
    flex-wrap: wrap;
  }
}

.nav-links a {
  color: var(--color-slate);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.6rem 1.2rem;
  border-radius: 100px;
  transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(225, 29, 72, 0.3);
}

/* Dropdown Menu */
.dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px) scale(0.95);
  background: var(--bg-white);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  border-radius: 1rem;
  padding: 1.5rem;
  min-width: 750px !important;
  display: grid;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 1001;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0) scale(1);
}

/* Mobile dropdown support */
@media (max-width: 991px) {
  .dropdown {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .dropdown-menu {
    display: none !important;
    min-width: 100% !important;
    grid-template-columns: 1fr !important;
    padding: 1rem !important;
    position: static !important;
    box-shadow: none !important;
    background: rgba(0,0,0,0.05) !important;
    margin-top: 0.5rem;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }

  .dropdown.active .dropdown-menu {
    display: grid !important;
  }
}

.dropdown-menu a {
  display: flex;
  align-items: center;
  padding: 0.6rem 1rem !important;
  font-size: 0.9rem !important;
  color: var(--text-color) !important;
  border-radius: 0.5rem !important;
  font-weight: 500 !important;
  transition: all 0.2s ease !important;
}

.dropdown-menu div {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.dropdown-menu h6 {
  padding-left: 1rem;
  margin-bottom: 0.8rem !important;
}

.dropdown-menu a.active, .dropdown-menu a:hover {
  background: rgba(225, 29, 72, 0.1) !important;
  color: var(--color-primary) !important;
  box-shadow: none !important;
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  outline: none;
  box-shadow: none;
  padding: 0;
  font-size: 1.5rem;
  color: var(--title-color);
  cursor: pointer;
}

/* Hero Section - Full Screen Slider */
.hero-slider-container {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
  margin-top: 70px;
}

.hero-swiper {
  width: 100%;
  height: 100%;
}

.hero-slide {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.hero-slide-content {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  padding-top: 0;
}

.hero-slide .hero-content {
  animation: slideInLeft 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-slide .hero-image {
  animation: slideInRight 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Swiper Custom Styles */
.hero-swiper .swiper-button-prev,
.hero-swiper .swiper-button-next {
  color: white;
  background: rgba(255, 255, 255, 0.2);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  z-index: 10;
}

.hero-swiper .swiper-button-prev:hover,
.hero-swiper .swiper-button-next:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.1);
}

.hero-swiper .swiper-button-prev::after,
.hero-swiper .swiper-button-next::after {
  font-size: 20px;
  font-weight: bold;
}

.hero-swiper .swiper-pagination {
  bottom: 30px;
  z-index: 10;
}

.hero-swiper .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
  border: 2px solid rgba(255, 255, 255, 0.3);
  width: 12px;
  height: 12px;
  transition: all 0.3s ease;
}

.hero-swiper .swiper-pagination-bullet-active {
  background: white;
  transform: scale(1.3);
}

/* 3D Canvas Styling */
#three-hero-container {
  width: 100%;
  height: 100%;
  display: block;
  z-index: 5;
}

canvas {
  display: block;
  outline: none;
}

/* Hero Content Typography */
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  color: var(--color-slate);
}

.hero-image {
  position: relative;
  z-index: 1;
  perspective: 1000px;
}

.hero-image img {
  width: 100%;
  border-radius: 1rem;
  transform: rotateY(-15deg) rotateX(5deg);
  box-shadow: 20px 20px 40px rgba(0,0,0,0.1);
  transition: var(--transition);
}

.hero-image:hover img {
  transform: rotateY(0) rotateX(0);
}

/* Footer */
.footer {
  background: var(--bg-white);
  color: var(--text-color);
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border-color);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  color: var(--color-white);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col ul a {
  color: #94a3b8;
}

.footer-col ul a:hover {
  color: var(--color-white);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-color);
}

/* Animations */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

.floating {
  animation: float 6s ease-in-out infinite;
}

@keyframes pulse-glow {
  0% { box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.5); }
  70% { box-shadow: 0 0 0 20px rgba(225, 29, 72, 0); }
  100% { box-shadow: 0 0 0 0 rgba(225, 29, 72, 0); }
}

.pulse-glow {
  animation: pulse-glow 2.5s infinite;
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active, .reveal-left.active, .reveal-right.active {
  opacity: 1;
  transform: translate(0, 0);
}

/* Responsive */
@media (max-width: 991px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 8rem;
  }
  
  .hero-content {
    margin-bottom: 3rem;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 991px) {
  .mobile-menu-btn {
    display: block;
  }
  
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    flex-direction: column;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    gap: 0.8rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .nav-links a {
    padding: 0.6rem 1rem;
    border-radius: 0.5rem;
  }
  
  .dropdown-menu {
    display: none !important;
    min-width: 100% !important;
    grid-template-columns: 1fr !important;
    padding: 1rem !important;
    position: static !important;
    box-shadow: none !important;
    background: rgba(0,0,0,0.05) !important;
    margin-top: 0.5rem;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }

  .dropdown.active .dropdown-menu {
    display: grid !important;
  }
  
  .nav-actions {
    width: 100%;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .nav-links a {
    padding: 0.5rem 0.8rem;
    font-size: 0.85rem;
  }
  
  .nav-actions .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }
  

  
  .nav-actions .btn {
    width: 100%;
  }
  

}

/* Hero Slider Responsive */
@media (max-width: 768px) {
  .hero-slider-container {
    margin-top: 60px;
  }

  .hero-slide {
    min-height: 100vh;
  }

  .hero-slide .container {
    flex-direction: column !important;
    padding: 2rem 1rem !important;
  }

  .hero-content {
    max-width: 100% !important;
    margin-bottom: 2rem;
  }

  .hero h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .hero p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .hero-image {
    width: 100%;
    height: 300px !important;
  }

  .hero-image > * {
    height: 300px !important;
  }

  .hero-swiper .swiper-button-prev,
  .hero-swiper .swiper-button-next {
    width: 40px;
    height: 40px;
    display: none;
  }

  .swiper-button-prev::after,
  .swiper-button-next::after {
    font-size: 16px;
  }

  .hero-swiper .swiper-pagination {
    bottom: 20px;
  }

  .hero-swiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
  }
}

/* Logo Track Animation */
.logo-track {
  display: flex;
  width: calc(250px * 10);
  animation: scroll 40s linear infinite;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-250px * 5)); }
}

.logo-slide {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

/* Heatmap Demo */
.heatmap-demo img {
  animation: float 6s ease-in-out infinite;
}

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

/* Custom Utilities */
.text-success { color: #10b981 !important; }
.mr-1 { margin-right: 0.5rem; }
.small { font-size: 0.8rem; }

/* Pulse Animation for CTA */
.pulse-glow {
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4); }
  70% { box-shadow: 0 0 0 15px rgba(59, 130, 246, 0); }
  100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
}

[data-theme="dark"] .section[style*="f1f5f9"] {
  background: #1e293b !important;
  border-color: rgba(255,255,255,0.05) !important;
}

[data-theme="dark"] .logo-track span {
  color: #64748b !important;
}

/* --- MODERN COMPONENT UPGRADES --- */

/* Navbar Glassmorphism enhancements */
.navbar .container {
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.4s ease;
}
[data-theme="dark"] .navbar .container {
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(15, 23, 42, 0.75);
}

/* Interactive Card Tilt Styles */
.glass-card, .product-card, .feature-item {
  transform-style: preserve-3d;
  will-change: transform;
}

/* Portfolio & Filter Button Styles */
.filter-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3rem;
}
.filter-btn {
  background: var(--bg-white);
  color: var(--text-color);
  border: 1px solid var(--border-color);
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-sm);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--color-primary);
  color: white !important;
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(225, 29, 72, 0.25);
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  transition: all 0.5s ease;
}
.portfolio-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  opacity: 1;
  transform: scale(1);
  transform-style: preserve-3d;
}
.portfolio-card.hidden {
  opacity: 0;
  transform: scale(0.8);
  display: none !important;
}
.portfolio-img-wrapper {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}
.portfolio-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.portfolio-card:hover .portfolio-img-wrapper img {
  transform: scale(1.1);
}
.portfolio-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--color-primary);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(225, 29, 72, 0.3);
}
.portfolio-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.portfolio-info h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--title-color);
}
.portfolio-info p {
  font-size: 0.9rem;
  color: var(--text-color);
  line-height: 1.5;
}
.portfolio-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-primary);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

/* Offer Robot & Calculator Styles */
.offer-container {
  background: var(--card-bg);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  margin: 3rem auto;
  max-width: 1000px;
  position: relative;
}
[data-theme="dark"] .offer-container {
  background: rgba(30, 41, 59, 0.4);
}
.step-indicator {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 4rem;
  z-index: 1;
}
.step-progress-bar {
  position: absolute;
  top: 25px;
  left: 5%;
  width: 90%;
  height: 4px;
  background: var(--border-color);
  z-index: -1;
  transition: width 0.4s ease;
}
[data-theme="dark"] .step-progress-bar {
  background: rgba(255, 255, 255, 0.1);
}
.step-item {
  text-align: center;
  width: 16%;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}
.step-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-white);
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-color);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  transition: all 0.4s ease;
}
.step-item.active .step-icon {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
  box-shadow: 0 0 15px rgba(225, 29, 72, 0.4);
}
.step-item.completed .step-icon {
  background: #10b981;
  border-color: #10b981;
  color: white;
}
.step-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-color);
  transition: all 0.3s ease;
}
.step-item.active .step-label {
  color: var(--color-primary);
}
.option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}
.option-card {
  background: var(--bg-white);
  border: 2px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}
.option-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.option-card.selected {
  border-color: var(--color-primary);
  background: rgba(225, 29, 72, 0.03);
  box-shadow: 0 0 15px rgba(225, 29, 72, 0.1);
}
.option-icon {
  font-size: 2.2rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
}
.option-card h4 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--title-color);
}
.option-card p {
  font-size: 0.85rem;
  color: var(--text-color);
}
.summary-box {
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
}
[data-theme="dark"] .summary-box {
  background: rgba(255, 255, 255, 0.02);
}
.summary-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem;
}
@media (max-width: 768px) {
  .summary-grid {
    grid-template-columns: 1fr;
  }
}
.roadmap-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.roadmap-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.roadmap-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}
.stack-block {
  background: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-color);
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.stack-block.base-block {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}
.calculating-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
  border-radius: 24px;
}
[data-theme="dark"] .calculating-overlay {
  background: rgba(15, 23, 42, 0.95);
}
.form-control {
  background: var(--bg-white);
  color: var(--title-color);
  border: 1px solid var(--border-color);
  padding: 1rem;
  border-radius: 12px;
  width: 100%;
  box-sizing: border-box;
}
.form-control::placeholder {
  color: var(--text-color);
  opacity: 0.7;
}

/* Feature & Analysis Layouts */
.analysis-step {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}
.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(225, 29, 72, 0.3);
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.feature-item {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
  transition: var(--transition);
}
.feature-item:hover {
  transform: translateY(-5px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  background: var(--bg-white);
}
.feature-icon {
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

