:root {
  --bg-dark: #0A1A2F;
  --bg-dark-soft: #0f2136;
  --accent-blue: #00E7FF;
  --accent-amber: #FFB400;
  --text-main: #E4E7EF;
  --text-muted: #9CA8C0;
  --card-bg: #111f33;
  --border-soft: #1d314a;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 30px rgba(0, 231, 255, 0.3);
  --header-height: 88px;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  background: radial-gradient(circle at top left, rgba(0, 231, 255, 0.16), transparent 55%),
              radial-gradient(circle at top right, rgba(255, 180, 0, 0.18), transparent 60%),
              var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

html {
  overflow-x: hidden;
}

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

.wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem 3rem;
}

/* Premium Header & Navigation */
header {
  padding: 1rem 2rem;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background: linear-gradient(to bottom,
    rgba(10, 26, 47, 0.98),
    rgba(10, 26, 47, 0.95),
    rgba(10, 26, 47, 0.92)
  );
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  overflow: visible;
}

/* Animated gradient border at bottom */
header::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 231, 255, 0.5),
    rgba(255, 180, 0, 0.5),
    rgba(0, 231, 255, 0.5),
    transparent
  );
  background-size: 200% 100%;
  animation: headerBorderGlow 3s ease-in-out infinite;
}

/* Subtle background glow */
header::after {
  content: "";
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(0, 231, 255, 0.05), transparent 70%);
  pointer-events: none;
  animation: headerGlow 8s ease-in-out infinite;
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  z-index: 1;
}

/* Ensure nav-links can escape header stacking context on mobile */
@media (max-width: 968px) {
  /* Lower z-index for all content to ensure menu is on top */
  main {
    z-index: 1;
  }
  
  section {
    z-index: 1;
  }
  
  .hero {
    z-index: 1;
  }
  
  .hero-visual,
  .hero-content,
  .hero-card {
    z-index: 1;
  }
  
  /* Ensure header doesn't limit menu */
  header {
    z-index: 1000;
    isolation: auto;
  }
  
  .nav {
    z-index: auto;
    isolation: auto;
  }
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 101;
  position: relative;
  padding: 0.5rem 0;
  transition: transform 0.3s ease;
}

.brand:hover {
  transform: translateX(2px);
}

.brand-logo {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 
    0 4px 20px rgba(0, 231, 255, 0.4),
    0 0 0 0 rgba(0, 231, 255, 0.3);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid rgba(0, 231, 255, 0.2);
  position: relative;
  animation: logoGlow 3s ease-in-out infinite;
}

.brand-logo::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0, 231, 255, 0.3), rgba(255, 180, 0, 0.2));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
  filter: blur(8px);
}

.brand-logo:hover {
  transform: scale(1.08) rotate(2deg);
  box-shadow: 
    0 8px 35px rgba(0, 231, 255, 0.5),
    0 0 0 4px rgba(0, 231, 255, 0.1);
  border-color: rgba(0, 231, 255, 0.4);
}

.brand-logo:hover::before {
  opacity: 1;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.brand-text span:first-child {
  font-weight: 700;
  letter-spacing: 0.05em;
  font-size: 1.15rem;
  background: linear-gradient(135deg, var(--accent-blue), #ffffff, var(--accent-blue));
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: brandGradient 4s ease-in-out infinite;
  position: relative;
}

.brand-text span:last-child {
  font-size: 0.76rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.nav-links a {
  position: relative;
  padding: 0.65rem 1rem;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.nav-links a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 231, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2.5px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-amber));
  border-radius: 2px;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 10px rgba(0, 231, 255, 0.5);
}

.nav-links a:hover {
  color: var(--accent-blue);
  background: rgba(0, 231, 255, 0.05);
  transform: translateY(-1px);
}

.nav-links a:hover::before {
  left: 100%;
}

.nav-links a:hover::after {
  width: 80%;
}

.nav-links a.active {
  color: var(--accent-blue);
  background: rgba(0, 231, 255, 0.08);
}

.nav-links a.active::after {
  width: 80%;
  box-shadow: 0 0 15px rgba(0, 231, 255, 0.6);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-blue), #00a8c4);
  color: #02121f;
  border-radius: 999px;
  padding: 0.7rem 1.75rem;
  border: none;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 
    0 8px 20px rgba(0, 231, 255, 0.4),
    0 0 0 0 rgba(0, 231, 255, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.02em;
}

.btn-primary::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  filter: brightness(1.15);
  box-shadow: 
    0 12px 30px rgba(0, 231, 255, 0.5),
    0 0 0 4px rgba(0, 231, 255, 0.2);
}

.btn-primary:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary:active {
  transform: translateY(-1px);
}

.btn-outline {
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  padding: 0.7rem 1.75rem;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-main);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  letter-spacing: 0.02em;
}

.btn-outline::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 180, 0, 0.1), transparent);
  transition: left 0.5s ease;
}

.btn-outline:hover {
  background: rgba(255, 180, 0, 0.1);
  border-color: var(--accent-amber);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 
    0 8px 20px rgba(255, 180, 0, 0.2),
    0 0 0 2px rgba(255, 180, 0, 0.1);
}

.btn-outline:hover::before {
  left: 100%;
}

.btn-outline:active {
  transform: translateY(-1px);
}

/* Premium Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: rgba(0, 231, 255, 0.1);
  border: 1px solid rgba(0, 231, 255, 0.2);
  border-radius: 8px;
  cursor: pointer;
  padding: 0.6rem 0.75rem;
  z-index: 101;
  transition: all 0.3s ease;
  position: relative;
}

.menu-toggle:hover {
  background: rgba(0, 231, 255, 0.15);
  border-color: rgba(0, 231, 255, 0.3);
  box-shadow: 0 0 15px rgba(0, 231, 255, 0.2);
}

.menu-toggle span {
  width: 24px;
  height: 2.5px;
  background: linear-gradient(90deg, var(--accent-blue), var(--text-main));
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 5px rgba(0, 231, 255, 0.3);
}

/* Floating Support Button */
.floating-support {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-blue), #00a8c4);
  box-shadow: 0 8px 25px rgba(0, 231, 255, 0.5), 0 0 0 0 rgba(0, 231, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 99;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 3px solid rgba(255, 255, 255, 0.15);
  animation: pulse-ring 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.floating-support:hover {
  transform: scale(1.15) translateY(-2px);
  box-shadow: 0 12px 35px rgba(0, 231, 255, 0.7), 0 0 0 8px rgba(0, 231, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
}

.floating-support:active {
  transform: scale(1.05) translateY(0);
}

.floating-support svg {
  width: 30px;
  height: 30px;
  fill: #02121f;
  stroke: #02121f;
  transition: transform 0.3s ease;
}

.floating-support:hover svg {
  transform: scale(1.1);
}

.floating-support::before {
  content: "Need Help?";
  position: absolute;
  right: 80px;
  white-space: nowrap;
  background: linear-gradient(135deg, var(--card-bg), rgba(17, 31, 51, 0.95));
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--border-soft);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transform: translateX(10px);
}

.floating-support:hover::before {
  opacity: 1;
  transform: translateX(0);
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 8px 25px rgba(0, 231, 255, 0.5), 0 0 0 0 rgba(0, 231, 255, 0.7);
  }
  50% {
    box-shadow: 0 8px 25px rgba(0, 231, 255, 0.5), 0 0 0 8px rgba(0, 231, 255, 0);
  }
  100% {
    box-shadow: 0 8px 25px rgba(0, 231, 255, 0.5), 0 0 0 0 rgba(0, 231, 255, 0);
  }
}

/* Main Content */
main {
  padding-top: calc(var(--header-height) + 1rem); /* Account for fixed header height */
  position: relative;
  z-index: 1;
}

section {
  position: relative;
  z-index: 1;
}

/* Hero Section */
.hero {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 3rem 0 4rem;
  min-height: 70vh;
}

.hero-content {
  animation: fadeInUp 0.8s ease;
}

.hero-heading {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-heading span {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-amber));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

.hero-sub {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 35rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.hero-note {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero-note strong {
  color: var(--accent-amber);
  font-weight: 600;
}

.hero-visual {
  position: relative;
  animation: fadeInRight 0.8s ease;
}

.hero-card {
  background: radial-gradient(circle at top left, rgba(0, 231, 255, 0.08), transparent 60%),
              linear-gradient(145deg, #070f1e, #0f2238);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-soft), 
              0 0 40px rgba(0, 231, 255, 0.08),
              0 0 80px rgba(0, 231, 255, 0.04);
  border: 1px solid var(--border-soft);
  position: relative;
  overflow: hidden;
  animation: heartbeat 3s ease-in-out infinite;
  transition: transform 0.3s ease;
}

.hero-card:hover {
  transform: translateY(-2px);
}

.hero-card > div[style*="z-index"] {
  animation: contentFadeIn 1s ease;
}

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

/* Heartbeat pulse animation - darker */
@keyframes heartbeat {
  0%, 100% {
    transform: scale(1);
    box-shadow: var(--shadow-soft), 
                0 0 40px rgba(0, 231, 255, 0.08),
                0 0 80px rgba(0, 231, 255, 0.04);
  }
  25% {
    transform: scale(1.008);
    box-shadow: var(--shadow-soft), 
                0 0 50px rgba(0, 231, 255, 0.12),
                0 0 100px rgba(0, 231, 255, 0.06),
                0 0 150px rgba(255, 180, 0, 0.03);
  }
  50% {
    transform: scale(1);
    box-shadow: var(--shadow-soft), 
                0 0 40px rgba(0, 231, 255, 0.08),
                0 0 80px rgba(0, 231, 255, 0.04);
  }
  75% {
    transform: scale(1.006);
    box-shadow: var(--shadow-soft), 
                0 0 45px rgba(0, 231, 255, 0.1),
                0 0 90px rgba(0, 231, 255, 0.05);
  }
}

/* Rotating gradient backdrop - darker */
.hero-card::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: 
    radial-gradient(circle at 30% 30%, rgba(0, 231, 255, 0.06), transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(255, 180, 0, 0.05), transparent 50%),
    radial-gradient(circle at center, rgba(0, 231, 255, 0.04), transparent 70%);
  animation: pulse 4s ease-in-out infinite, rotate 25s linear infinite;
  pointer-events: none;
  opacity: 0.6;
}

/* Animated glare effect - darker */
.hero-card::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 25%,
    rgba(255, 255, 255, 0.02) 45%,
    rgba(0, 231, 255, 0.05) 50%,
    rgba(255, 255, 255, 0.02) 55%,
    transparent 75%
  );
  animation: glare 5s ease-in-out infinite;
  pointer-events: none;
  filter: blur(3px);
  opacity: 0.7;
}

/* Moving light rays - darker */
.hero-card .glow-ray {
  position: absolute;
  width: 2px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(0, 231, 255, 0.2),
    rgba(255, 180, 0, 0.12),
    rgba(0, 231, 255, 0.2),
    transparent
  );
  animation: rayMove 7s ease-in-out infinite;
  pointer-events: none;
  box-shadow: 0 0 8px rgba(0, 231, 255, 0.25);
  opacity: 0.6;
}

.hero-card .glow-ray:nth-child(1) {
  left: 20%;
  animation-delay: 0s;
  height: 60%;
  top: 20%;
}

.hero-card .glow-ray:nth-child(2) {
  left: 50%;
  animation-delay: 2s;
  height: 80%;
  top: 10%;
}

.hero-card .glow-ray:nth-child(3) {
  left: 80%;
  animation-delay: 4s;
  height: 70%;
  top: 15%;
}

/* Floating particles - darker */
.hero-card .particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: radial-gradient(circle, rgba(0, 231, 255, 0.6), rgba(0, 231, 255, 0.2));
  border-radius: 50%;
  box-shadow: 
    0 0 6px rgba(0, 231, 255, 0.4),
    0 0 12px rgba(0, 231, 255, 0.2),
    0 0 18px rgba(0, 231, 255, 0.1);
  animation: float 8s ease-in-out infinite, pulseParticle 2s ease-in-out infinite;
  pointer-events: none;
  opacity: 0.7;
}

.hero-card .particle:nth-child(1) {
  left: 15%;
  top: 30%;
  animation-delay: 0s;
}

.hero-card .particle:nth-child(2) {
  left: 60%;
  top: 20%;
  animation-delay: 2s;
  width: 3px;
  height: 3px;
}

.hero-card .particle:nth-child(3) {
  left: 85%;
  top: 60%;
  animation-delay: 4s;
  width: 5px;
  height: 5px;
}

.hero-card .particle:nth-child(4) {
  left: 30%;
  top: 75%;
  animation-delay: 1s;
}

.hero-card .particle:nth-child(5) {
  left: 70%;
  top: 80%;
  animation-delay: 3s;
  width: 3px;
  height: 3px;
}

/* Border glow animation */
.hero-card {
  position: relative;
}

.hero-card .border-glow {
  position: absolute;
  inset: -3px;
  border-radius: var(--radius-lg);
  background: linear-gradient(
    90deg,
    rgba(0, 231, 255, 0.2),
    rgba(255, 180, 0, 0.15),
    rgba(0, 231, 255, 0.2)
  );
  background-size: 200% 100%;
  opacity: 0.4;
  animation: borderGlow 3s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
  filter: blur(10px);
}

/* Animations */
@keyframes glare {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
    opacity: 0;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
    opacity: 0;
  }
}

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

@keyframes rayMove {
  0%, 100% {
    opacity: 0;
    transform: translateX(0) scaleY(1);
  }
  50% {
    opacity: 1;
    transform: translateX(20px) scaleY(1.2);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) translateX(0);
    opacity: 0.3;
  }
  25% {
    transform: translateY(-20px) translateX(10px);
    opacity: 0.8;
  }
  50% {
    transform: translateY(-10px) translateX(-10px);
    opacity: 1;
  }
  75% {
    transform: translateY(-25px) translateX(5px);
    opacity: 0.6;
  }
}

@keyframes borderGlow {
  0%, 100% {
    opacity: 0.3;
    background-position: 0% 50%;
    filter: blur(10px);
  }
  50% {
    opacity: 0.5;
    background-position: 100% 50%;
    filter: blur(12px);
  }
}

@keyframes pulseParticle {
  0%, 100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.3);
    opacity: 0.8;
  }
}

/* Enhanced device card hover effects - darker */
.hero-card [style*="grid-template-columns"] > div {
  position: relative;
  overflow: hidden;
}

.hero-card [style*="grid-template-columns"] > div::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 231, 255, 0.12), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hero-card [style*="grid-template-columns"] > div:hover::before {
  opacity: 0.8;
  animation: shimmer 1.5s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% {
    transform: translateX(-100%) translateY(-100%);
  }
  50% {
    transform: translateX(100%) translateY(100%);
  }
}

/* Sections */
section {
  padding: 4rem 0;
  position: relative;
  z-index: 1;
}

/* Ensure menu appears above all content on mobile */
@media (max-width: 968px) {
  main {
    z-index: 1;
    position: relative;
  }
  
  section {
    z-index: 1;
    position: relative;
  }
  
  .hero {
    z-index: 1;
    position: relative;
  }
  
  .hero-visual,
  .hero-content,
  .hero-card {
    z-index: 1;
    position: relative;
  }
  
  /* Ensure header doesn't limit menu z-index */
  header {
    z-index: 1000;
  }
  
  .nav {
    z-index: auto;
    position: relative;
  }
}

.section-label {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-blue);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-description {
  max-width: 45rem;
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.8;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-soft);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 231, 255, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255, 180, 0, 0.16), transparent 60%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.card-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--accent-blue), #00a8c4);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 231, 255, 0.4);
}

.card-icon svg {
  width: 24px;
  height: 24px;
  fill: #02121f;
}

.card-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.card-content {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.card-price {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.card-price span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: 0.3rem;
}

.card-list {
  list-style: none;
  margin: 1.5rem 0;
}

.card-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: var(--text-muted);
}

.card-list li::before {
  content: "✓";
  color: var(--accent-blue);
  font-weight: 700;
  margin-top: 0.1rem;
}

.badge-popular {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  background: rgba(255, 180, 0, 0.2);
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
  border: 1px solid rgba(255, 180, 0, 0.7);
  color: var(--accent-amber);
  font-weight: 600;
}

/* Two Column Layout */
.two-column {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

/* CTA Section */
.cta {
  margin-top: 3rem;
  padding: 3rem 2.5rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(0, 231, 255, 0.12), rgba(255, 180, 0, 0.15));
  border: 1px solid rgba(0, 231, 255, 0.35);
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-soft);
}

.cta h3 {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
}

.cta p {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 35rem;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

/* Premium Footer */
footer {
  position: relative;
  padding: 0;
  margin-top: 6rem;
  background: linear-gradient(180deg, 
    rgba(10, 26, 47, 0.95) 0%,
    rgba(7, 15, 30, 0.98) 100%
  );
  border-top: 1px solid var(--border-soft);
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent 0%,
    var(--accent-blue) 20%,
    var(--accent-amber) 50%,
    var(--accent-blue) 80%,
    transparent 100%
  );
  opacity: 0.6;
}

footer::after {
  content: "";
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 231, 255, 0.08), transparent 70%);
  pointer-events: none;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem 3rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  text-align: left;
  position: relative;
  z-index: 1;
}

.footer-brand {
  max-width: 100%;
}

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.footer-brand-logo img {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 6px 25px rgba(0, 231, 255, 0.4);
  border: 2px solid rgba(0, 231, 255, 0.2);
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
}

.footer-brand-text span:first-child {
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 1.3rem;
  background: linear-gradient(135deg, var(--accent-blue), #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.2rem;
}

.footer-brand-text span:last-child {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-brand p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 2rem;
  font-size: 0.95rem;
  max-width: 320px;
}

.footer-social {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.footer-social-link {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--card-bg);
  border: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.footer-social-link:hover {
  background: linear-gradient(135deg, rgba(0, 231, 255, 0.15), rgba(255, 180, 0, 0.15));
  border-color: var(--accent-blue);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 231, 255, 0.3);
}

.footer-social-link svg {
  width: 20px;
  height: 20px;
  fill: var(--text-muted);
  transition: fill 0.3s ease;
}

.footer-social-link:hover svg {
  fill: var(--accent-blue);
}

.footer-section {
  position: relative;
}

.footer-section h4 {
  color: var(--accent-blue);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-section h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-blue), transparent);
  border-radius: 2px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 0.75rem;
  position: relative;
  padding-left: 0;
  transition: padding-left 0.3s ease;
}

.footer-section ul li::before {
  content: "→";
  position: absolute;
  left: -20px;
  color: var(--accent-blue);
  opacity: 0;
  transition: all 0.3s ease;
  font-weight: 600;
}

.footer-section ul li:hover::before {
  opacity: 1;
  left: -15px;
}

.footer-section ul li:hover {
  padding-left: 10px;
}

.footer-section ul li a {
  color: var(--text-muted);
  transition: all 0.3s ease;
  font-size: 0.95rem;
  display: inline-block;
  position: relative;
}

.footer-section ul li a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-blue);
  transition: width 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--accent-blue);
  transform: translateX(3px);
}

.footer-section ul li a:hover::after {
  width: 100%;
}

.footer-newsletter {
  background: linear-gradient(135deg, rgba(0, 231, 255, 0.08), rgba(255, 180, 0, 0.08));
  border: 1px solid rgba(0, 231, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-top: 1rem;
}

.footer-newsletter h5 {
  color: var(--accent-blue);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.footer-newsletter p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.footer-newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.footer-newsletter-form input {
  flex: 1;
  padding: 0.65rem 1rem;
  background: var(--card-bg);
  border: 1px solid var(--border-soft);
  border-radius: 8px;
  color: var(--text-main);
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.footer-newsletter-form input:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(0, 231, 255, 0.1);
}

.footer-newsletter-form button {
  padding: 0.65rem 1.25rem;
  background: linear-gradient(135deg, var(--accent-blue), #00a8c4);
  border: none;
  border-radius: 8px;
  color: #02121f;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.footer-newsletter-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 231, 255, 0.4);
}

.footer-bottom {
  padding: 2.5rem 2rem;
  border-top: 1px solid var(--border-soft);
  background: rgba(7, 15, 30, 0.5);
  position: relative;
  z-index: 1;
}

.footer-bottom-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-bottom-left {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-bottom-left span {
  color: var(--accent-blue);
  font-weight: 500;
}

.footer-bottom-right {
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
}

.footer-bottom-right a {
  color: var(--text-muted);
  transition: color 0.3s ease;
  font-size: 0.9rem;
  position: relative;
}

.footer-bottom-right a:hover {
  color: var(--accent-blue);
}

.footer-bottom-right a::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-blue);
  transition: width 0.3s ease;
}

.footer-bottom-right a:hover::after {
  width: 100%;
}

.footer-copyright {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-copyright svg {
  width: 16px;
  height: 16px;
  fill: var(--text-muted);
}

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

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

@keyframes pulse {
  0%, 100% {
    opacity: 0.5;
  }
  50% {
    opacity: 0.8;
  }
}

/* Header Animations */
@keyframes headerBorderGlow {
  0%, 100% {
    background-position: 0% 50%;
    opacity: 0.6;
  }
  50% {
    background-position: 100% 50%;
    opacity: 1;
  }
}

@keyframes headerGlow {
  0%, 100% {
    transform: translateX(0);
    opacity: 0.3;
  }
  50% {
    transform: translateX(20%);
    opacity: 0.5;
  }
}

@keyframes logoGlow {
  0%, 100% {
    box-shadow: 
      0 4px 20px rgba(0, 231, 255, 0.4),
      0 0 0 0 rgba(0, 231, 255, 0.3);
  }
  50% {
    box-shadow: 
      0 6px 25px rgba(0, 231, 255, 0.5),
      0 0 0 2px rgba(0, 231, 255, 0.2);
  }
}

@keyframes brandGradient {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* Form Styles */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-main);
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1.2rem;
  background: var(--card-bg);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(0, 231, 255, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

/* Premium Enhancements */
.hero-card::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: -2px;
  right: -2px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-amber), var(--accent-blue));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hero-card:hover::after {
  opacity: 1;
}

/* Enhanced Navigation */
.nav-links a.active {
  color: var(--accent-blue);
}

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

/* Premium Button Styles */
.btn-primary:active {
  transform: translateY(0);
}

.btn-outline:active {
  transform: translateY(0);
}

/* Enhanced Card Animations */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card {
  animation: slideIn 0.5s ease backwards;
}

.card:nth-child(1) {
  animation-delay: 0.1s;
}

.card:nth-child(2) {
  animation-delay: 0.2s;
}

.card:nth-child(3) {
  animation-delay: 0.3s;
}

/* Contact Form Enhancements */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

/* Pricing Table Styles */
.pricing-table {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border-soft);
  margin-top: 2rem;
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-bottom: 1px solid var(--border-soft);
}

.pricing-feature:last-child {
  border-bottom: none;
}

.pricing-feature-icon {
  width: 24px;
  height: 24px;
  color: var(--accent-blue);
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 968px) {
  :root {
    --header-height: 72px;
  }

  header {
    padding: 0.85rem 1.25rem;
  }

  .nav {
    gap: 1rem;
  }

  .brand-logo {
    width: 44px;
    height: 44px;
  }

  .brand-text span:first-child {
    font-size: 1rem;
  }

  .brand-text span:last-child {
    font-size: 0.72rem;
  }

  .nav-links {
    position: fixed !important;
    top: calc(var(--header-height) + 0.5rem) !important;
    right: 1rem !important;
    left: auto !important;
    width: min(280px, 85vw) !important;
    max-height: 75vh;
    background: linear-gradient(
      135deg,
      rgba(10, 26, 47, 1),
      rgba(15, 33, 54, 0.98),
      rgba(10, 26, 47, 1)
    ) !important;
    flex-direction: column !important;
    align-items: flex-start;
    padding: 1rem 1rem;
    gap: 0.5rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 231, 255, 0.4) !important;
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    box-shadow:
      0 12px 40px rgba(0, 0, 0, 0.8),
      0 0 0 1px rgba(255, 255, 255, 0.1),
      0 0 40px rgba(0, 231, 255, 0.3) !important;
    overflow-y: auto;
    opacity: 0;
    pointer-events: none;
    transform: translateX(100%);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 99999 !important;
    visibility: hidden;
    isolation: isolate;
  }

  .nav-links.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
    visibility: visible;
  }

  /* Reduce font sizes for mobile nav */
  .nav-links a {
    font-size: 0.85rem;
    padding: 0.5rem 0.75rem;
  }

  .nav-links .btn-outline,
  .nav-links .btn-primary {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
    width: 100%;
  }

  .menu-toggle {
    display: flex;
  }

  .menu-toggle.active {
    background: rgba(0, 231, 255, 0.2);
    border-color: rgba(0, 231, 255, 0.4);
    box-shadow: 0 0 20px rgba(0, 231, 255, 0.3);
  }

  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-amber));
  }

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

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-amber));
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-visual {
    order: -1;
  }

  .wrapper {
    padding: 0 1.5rem 2rem;
  }

  header {
    padding: 1rem 1.5rem;
  }

  .floating-support {
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
  }

  .floating-support::before {
    display: none;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 68px;
  }

  header {
    padding: 0.8rem 1.1rem;
  }

  .nav {
    gap: 0.75rem;
  }

  .brand-logo {
    width: 40px;
    height: 40px;
  }

  .brand-text span:first-child {
    font-size: 0.9rem;
  }

  .brand-text span:last-child {
    font-size: 0.7rem;
  }

  /* Reduce button sizes on mobile */
  .btn-primary,
  .btn-outline {
    font-size: 0.8rem;
    padding: 0.55rem 1.2rem;
  }

  .hero-heading {
    font-size: 1.8rem;
  }

  .hero-sub {
    font-size: 0.95rem;
  }

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

  .section-description {
    font-size: 0.95rem;
  }

  .card-title {
    font-size: 1.1rem;
  }

  .card-content {
    font-size: 0.9rem;
  }

  .card-price {
    font-size: 1.5rem;
  }

  .card-list {
    font-size: 0.85rem;
  }

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

  .two-column {
    grid-template-columns: 1fr;
  }

  .cta h3 {
    font-size: 1.4rem;
  }

  .cta p {
    font-size: 0.9rem;
  }

  .footer-content {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
    padding: 1rem 0.75rem 1rem;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    align-items: stretch;
  }

  .footer-brand {
    text-align: center;
    min-width: 0;
  }

  .footer-brand p {
    max-width: 100%;
    text-align: left;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-section h4 {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
  }

  .footer-section ul li a {
    font-size: 0.88rem;
  }

  .footer-section {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    align-self: stretch;
  }

  /* Move newsletter block to the last row on mobile */
  .footer-section:last-child {
    order: 5;
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .footer-bottom-left,
  .footer-bottom-right {
    justify-content: center;
    width: 100%;
  }

  .footer-newsletter-form {
    flex-direction: column;
  }

  .footer-newsletter-form button {
    width: 100%;
  }

  .footer-content {
    padding: 2.4rem 1.25rem 1.6rem;
  }

  .footer-newsletter {
    padding: 0.9rem 1rem;
    width: 100%;
    max-width: 100%;
    text-align: left;
    border-radius: 10px;
    min-width: 0;
    box-sizing: border-box;
    align-self: stretch;
  }

  .footer-newsletter p {
    font-size: clamp(0.7rem, 3vw, 0.8rem);
    line-height: 1.4;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
    margin-bottom: 0.8rem;
    white-space: normal;
    max-width: 100%;
  }

  .footer-section {
    width: 100%;
    text-align: left;
    min-width: 0;
  }

  .footer-newsletter-form {
    gap: 0.6rem;
  }
}

