/* ==========================================================================
   D9 INFOTECH - Futuristic & Modern Cyberpunk Glassmorphism UI
   Domain: d9infotech.co.in | Odisha, India
   ========================================================================== */

:root {
  --bg-primary: #050814;
  --bg-secondary: #0b0f24;
  --bg-card: rgba(15, 23, 42, 0.75);
  --bg-card-hover: rgba(30, 41, 69, 0.85);
  --border-glow: rgba(99, 102, 241, 0.3);
  --border-cyan: rgba(6, 182, 212, 0.4);
  --accent-cyan: #06b6d4;
  --accent-indigo: #6366f1;
  --accent-purple: #8b5cf6;
  --accent-pink: #ec4899;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --font-heading: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --glow-cyan: 0 0 25px rgba(6, 182, 212, 0.4);
  --glow-indigo: 0 0 30px rgba(99, 102, 241, 0.45);
  --glow-purple: 0 0 30px rgba(139, 92, 246, 0.4);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 30px;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #050814;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, #6366f1, #06b6d4);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to bottom, #8b5cf6, #38bdf8);
}

/* Background Animated Grid & Glow Elements */
.cyber-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.cyber-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(99, 102, 241, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(99, 102, 241, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse 80% 50% at 50% 0%, #000 70%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 50% at 50% 0%, #000 70%, transparent 100%);
}

.glow-orb-1 {
  position: absolute;
  top: -10%;
  left: 20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.18) 0%, rgba(99, 102, 241, 0) 70%);
  filter: blur(80px);
  border-radius: 50%;
  animation: floatOrb 14s ease-in-out infinite alternate;
}

.glow-orb-2 {
  position: absolute;
  top: 35%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, rgba(6, 182, 212, 0) 70%);
  filter: blur(90px);
  border-radius: 50%;
  animation: floatOrb2 18s ease-in-out infinite alternate;
}

.glow-orb-3 {
  position: absolute;
  bottom: 10%;
  left: 5%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, rgba(139, 92, 246, 0) 70%);
  filter: blur(85px);
  border-radius: 50%;
}

@keyframes floatOrb {
  0% { transform: translateY(0px) scale(1); }
  100% { transform: translateY(60px) scale(1.1); }
}

@keyframes floatOrb2 {
  0% { transform: translate(0px, 0px) scale(1); }
  100% { transform: translate(-50px, -40px) scale(1.15); }
}

/* Canvas Particle Animation */
#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* Typography & Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.25;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 0%, #38bdf8 50%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.gradient-text-cyan {
  background: linear-gradient(135deg, #22d3ee 0%, #06b6d4 50%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-purple {
  background: linear-gradient(135deg, #c084fc 0%, #a855f7 50%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-gold {
  background: linear-gradient(135deg, #fde047 0%, #eab308 50%, #f97316 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  position: relative;
  z-index: 10;
}

.section {
  padding: 5.5rem 0;
  position: relative;
  z-index: 10;
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3.5rem auto;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  border-radius: 9999px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.35);
  color: #a5b4fc;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  backdrop-filter: blur(8px);
}

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

@media (min-width: 768px) {
  .section-title {
    font-size: 3.1rem;
  }
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

/* Glassmorphism Cards */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(6, 182, 212, 0.6);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -15px rgba(6, 182, 212, 0.2), 0 0 25px -5px rgba(99, 102, 241, 0.25);
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

/* Glowing Border Animation */
.glow-border {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(60deg, #6366f1, #06b6d4, #8b5cf6, #ec4899);
  background-size: 300% 300%;
  padding: 1px;
  animation: borderRotate 6s ease infinite;
}

.glow-border-inner {
  background: #090e24;
  border-radius: inherit;
  height: 100%;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.02em;
}

.btn-primary {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 50%, #06b6d4 100%);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #4f46e5 0%, #4338ca 50%, #0891b2 100%);
  box-shadow: 0 6px 25px rgba(6, 182, 212, 0.5), 0 0 15px rgba(99, 102, 241, 0.4);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-cyan {
  background: linear-gradient(135deg, #06b6d4 0%, #0ea5e9 100%);
  color: #031326;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(6, 182, 212, 0.4);
}

.btn-cyan:hover {
  background: linear-gradient(135deg, #22d3ee 0%, #38bdf8 100%);
  box-shadow: 0 6px 28px rgba(34, 211, 238, 0.6);
  transform: translateY(-2px);
  color: #031326;
}

.btn-secondary {
  background: rgba(30, 41, 69, 0.6);
  color: #e2e8f0;
  border: 1px solid rgba(99, 102, 241, 0.3);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(49, 65, 102, 0.8);
  border-color: rgba(6, 182, 212, 0.5);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-outline-glow {
  background: transparent;
  color: #ffffff;
  border: 1px solid #6366f1;
  box-shadow: inset 0 0 15px rgba(99, 102, 241, 0.2), 0 0 15px rgba(99, 102, 241, 0.2);
}

.btn-outline-glow:hover {
  background: rgba(99, 102, 241, 0.15);
  border-color: #06b6d4;
  box-shadow: inset 0 0 20px rgba(6, 182, 212, 0.3), 0 0 20px rgba(6, 182, 212, 0.3);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 1.1rem 2.2rem;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

/* Header & Navbar */
.cyber-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(5, 8, 20, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(99, 102, 241, 0.15);
  transition: all 0.3s ease;
}

.cyber-nav.scrolled {
  background: rgba(5, 8, 20, 0.95);
  border-bottom: 1px solid rgba(6, 182, 212, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-logo-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #6366f1, #06b6d4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  color: #ffffff;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
  position: relative;
  overflow: hidden;
}

.brand-logo-icon::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: rotate(30deg);
  animation: shine 4s infinite;
}

@keyframes shine {
  0% { transform: translateX(-100%) rotate(30deg); }
  30%, 100% { transform: translateX(100%) rotate(30deg); }
}

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

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  line-height: 1.1;
}

.brand-domain {
  font-size: 0.7rem;
  color: #38bdf8;
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
  text-transform: lowercase;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.8rem;
  list-style: none;
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: all 0.2s ease;
  position: relative;
  padding: 0.4rem 0;
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #6366f1, #06b6d4);
  transition: width 0.3s ease;
  border-radius: 2px;
}

/* Dropdown Menu Styling */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
}

.nav-dropdown-toggle i {
  font-size: 0.75rem;
  transition: transform 0.25s ease;
}

.nav-dropdown:hover .nav-dropdown-toggle i {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 250px;
  background: rgba(11, 15, 36, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(6, 182, 212, 0.35);
  border-radius: var(--radius-md);
  padding: 0.6rem 0;
  list-style: none;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 20px rgba(99, 102, 241, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1100;
}

.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  right: 24px;
  width: 12px;
  height: 12px;
  background: rgba(11, 15, 36, 0.95);
  border-left: 1px solid rgba(6, 182, 212, 0.35);
  border-top: 1px solid rgba(6, 182, 212, 0.35);
  transform: rotate(45deg);
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1.1rem;
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.dropdown-item i {
  width: 18px;
  color: #06b6d4;
  font-size: 0.9rem;
}

.dropdown-item:hover {
  background: rgba(99, 102, 241, 0.15);
  color: #ffffff;
  padding-left: 1.35rem;
}

.dropdown-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 0.4rem 0;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(30, 41, 69, 0.6);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #ffffff;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1.25rem;
}

@media (min-width: 1024px) {
  .mobile-toggle {
    display: none;
  }
}

/* Mobile Drawer Menu */
.mobile-drawer {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 20, 0.98);
  backdrop-filter: blur(25px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  padding: 6rem 2rem 2rem 2rem;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.mobile-drawer.active {
  transform: translateX(0);
}

.mobile-drawer-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(30, 41, 69, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.mobile-nav-link {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  color: #38bdf8;
}

/* Hero Section */
.hero-section {
  padding-top: 8.5rem;
  padding-bottom: 5.5rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.hero-badge-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(6, 182, 212, 0.4);
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #38bdf8;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 10px #10b981;
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.hero-title {
  font-size: 2.75rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.8rem;
  }
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2.25rem;
  max-width: 620px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-bottom: 2.5rem;
}

.hero-trust-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-item {
  display: flex;
  flex-direction: column;
}

.trust-num {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
}

.trust-label {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-visual {
  position: relative;
}

.hero-card-stack {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(6, 182, 212, 0.4);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 40px rgba(99, 102, 241, 0.25);
  background: #0d132e;
}

.hero-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-card-stack:hover .hero-img {
  transform: scale(1.03);
}

.floating-badge {
  position: absolute;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  animation: floatCard 4s ease-in-out infinite alternate;
}

.floating-badge.badge-1 {
  top: 10%;
  left: -20px;
}

.floating-badge.badge-2 {
  bottom: 8%;
  right: -15px;
  animation-delay: -2s;
}

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

.badge-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(6, 182, 212, 0.15);
  color: #06b6d4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.badge-text-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
}

.badge-text-sub {
  font-size: 0.75rem;
  color: #94a3b8;
}

/* Security & Compliance Banner */
.compliance-banner {
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.95), rgba(24, 34, 64, 0.95), rgba(15, 23, 42, 0.95));
  border-top: 1px solid rgba(99, 102, 241, 0.25);
  border-bottom: 1px solid rgba(99, 102, 241, 0.25);
  padding: 1.25rem 0;
  position: relative;
  z-index: 10;
}

.compliance-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
  gap: 1.5rem;
}

.compliance-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #cbd5e1;
  font-size: 0.88rem;
  font-weight: 500;
}

.compliance-item i {
  color: #10b981;
  font-size: 1.15rem;
}

.compliance-rzp-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.4);
  padding: 0.3rem 0.8rem;
  border-radius: 6px;
  font-weight: 700;
  color: #60a5fa;
  font-size: 0.85rem;
}

/* Grid Layouts for Features & Services */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

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

.grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Feature / Service Cards */
.service-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-icon-box {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(6, 182, 212, 0.2));
  border: 1px solid rgba(6, 182, 212, 0.35);
  color: #38bdf8;
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.2);
}

.service-title {
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
}

.service-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: auto;
}

.service-tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  font-size: 0.78rem;
  color: #a5b4fc;
}

/* Digital Products / Marketplace Cards */
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(6, 182, 212, 0.7);
  box-shadow: 0 20px 45px -15px rgba(6, 182, 212, 0.25);
}

.product-thumb-wrap {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #090e24;
}

.product-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-thumb {
  transform: scale(1.08);
}

.product-badge-float {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  backdrop-filter: blur(8px);
}

.badge-saas { background: rgba(99, 102, 241, 0.85); color: #fff; border: 1px solid rgba(255, 255, 255, 0.3); }
.badge-app { background: rgba(16, 185, 129, 0.85); color: #fff; border: 1px solid rgba(255, 255, 255, 0.3); }
.badge-web { background: rgba(6, 182, 212, 0.85); color: #fff; border: 1px solid rgba(255, 255, 255, 0.3); }
.badge-ai { background: rgba(236, 72, 153, 0.85); color: #fff; border: 1px solid rgba(255, 255, 255, 0.3); }

.product-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-cat {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #38bdf8;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.product-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: #ffffff;
}

.product-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.product-features-list {
  list-style: none;
  margin-bottom: 1.25rem;
  font-size: 0.82rem;
  color: #cbd5e1;
}

.product-features-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.product-features-list li i {
  color: #10b981;
}

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

.product-price-box {
  display: flex;
  flex-direction: column;
}

.product-price-old {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-decoration: line-through;
}

.product-price-now {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
}

.product-price-gst {
  font-size: 0.68rem;
  color: #94a3b8;
}

/* Category Filter Tabs */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 2.5rem;
}

.filter-tab {
  padding: 0.55rem 1.25rem;
  border-radius: 9999px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(99, 102, 241, 0.25);
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-tab:hover, .filter-tab.active {
  background: linear-gradient(135deg, #6366f1, #06b6d4);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.35);
}

/* Process / Agent Broker Timeline */
.timeline-step-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 2rem;
  overflow: hidden;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 3rem;
  font-weight: 900;
  color: rgba(99, 102, 241, 0.15);
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  line-height: 1;
}

.step-title {
  font-size: 1.2rem;
  margin-bottom: 0.65rem;
  color: #ffffff;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Interactive Calculator */
.calc-box {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(6, 182, 212, 0.35);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.calc-option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.calc-option-btn {
  background: rgba(30, 41, 69, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 1rem 0.75rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #cbd5e1;
}

.calc-option-btn:hover, .calc-option-btn.selected {
  background: rgba(99, 102, 241, 0.25);
  border-color: #06b6d4;
  color: #ffffff;
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.25);
}

.calc-option-icon {
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
  color: #38bdf8;
}

.calc-result-panel {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(6, 182, 212, 0.15));
  border: 1px solid rgba(6, 182, 212, 0.4);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
}

/* Forms & Inputs */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.1rem;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: all 0.2s ease;
}

.form-control:focus {
  border-color: #06b6d4;
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.2);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* Modal UI (for Secure Checkout & Demos) */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 6, 23, 0.85);
  backdrop-filter: blur(16px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: #0d132e;
  border: 1px solid rgba(6, 182, 212, 0.5);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(99, 102, 241, 0.3);
  transform: scale(0.92);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.modal-overlay.active .modal-container {
  transform: scale(1);
}

.modal-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-size: 1.35rem;
  color: #ffffff;
}

.modal-close {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #94a3b8;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.modal-body {
  padding: 2rem;
}

/* Policy Pages Layout */
.policy-page-header {
  padding-top: 8rem;
  padding-bottom: 3rem;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.9) 0%, rgba(5, 8, 20, 1) 100%);
  border-bottom: 1px solid rgba(99, 102, 241, 0.2);
  text-align: center;
}

.policy-content-wrap {
  padding: 4rem 0;
  max-width: 900px;
  margin: 0 auto;
}

.policy-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-xl);
  padding: 3rem;
  color: #cbd5e1;
  line-height: 1.8;
}

.policy-card h2 {
  color: #ffffff;
  font-size: 1.6rem;
  margin: 2.2rem 0 1rem 0;
  border-bottom: 1px solid rgba(99, 102, 241, 0.2);
  padding-bottom: 0.5rem;
}

.policy-card h3 {
  color: #38bdf8;
  font-size: 1.2rem;
  margin: 1.5rem 0 0.75rem 0;
}

.policy-card p {
  margin-bottom: 1.2rem;
  font-size: 0.98rem;
}

.policy-card ul, .policy-card ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.policy-card li {
  margin-bottom: 0.5rem;
}

.policy-box-highlight {
  background: rgba(99, 102, 241, 0.1);
  border-left: 4px solid #6366f1;
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 1.75rem 0;
  color: #e2e8f0;
}

/* Footer */
.cyber-footer {
  background: #030612;
  border-top: 1px solid rgba(99, 102, 241, 0.2);
  padding: 5rem 0 2rem 0;
  position: relative;
  z-index: 10;
}

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

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  }
}

.footer-brand-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 1.2rem 0;
}

.footer-heading {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-link:hover {
  color: #38bdf8;
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.footer-contact-item i {
  color: #06b6d4;
  margin-top: 0.2rem;
  font-size: 1rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-dim);
}

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

.pay-badge {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #cbd5e1;
}

/* Quick Floating Action Button */
.floating-actions {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 990;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.fab-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.4rem;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

.fab-whatsapp {
  background: #25D366;
}

.fab-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.6);
}

.fab-top {
  background: #6366f1;
  opacity: 0;
  visibility: hidden;
  cursor: pointer;
}

.fab-top.show {
  opacity: 1;
  visibility: visible;
}

.fab-top:hover {
  transform: scale(1.1);
  background: #4f46e5;
}
