/* ============================================
   LUXARON DEVELOPMENT - Modern Purple Theme
   ============================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* ============================================
   CSS VARIABLES / DESIGN TOKENS
   ============================================ */
:root {
  /* Purple Palette */
  --purple-50: #faf5ff;
  --purple-100: #f3e8ff;
  --purple-200: #e9d5ff;
  --purple-300: #d8b4fe;
  --purple-400: #c084fc;
  --purple-500: #a855f7;
  --purple-600: #9333ea;
  --purple-700: #7c3aed;
  --purple-800: #6b21a8;
  --purple-900: #581c87;
  --purple-950: #3b0764;

  /* Neutral (Dark) */
  --dark-50: #f8fafc;
  --dark-100: #f1f5f9;
  --dark-200: #e2e8f0;
  --dark-300: #cbd5e1;
  --dark-400: #94a3b8;
  --dark-500: #64748b;
  --dark-600: #475569;
  --dark-700: #334155;
  --dark-800: #1e293b;
  --dark-900: #0f172a;
  --dark-950: #020617;

  /* Semantic Colors - High End "Obsidian" Palette */
  --bg-primary: #050505;
  /* True almost-black */
  --bg-secondary: #0A0A0A;
  /* Deep grey */
  --bg-card: rgba(20, 20, 20, 0.4);
  /* Very subtle */
  --bg-glass: rgba(255, 255, 255, 0.02);

  --text-primary: #EDEDED;
  /* Off-white for less eye strain */
  --text-secondary: #888888;
  /* Neutral grey */
  --text-muted: #555555;
  /* Darker grey */

  --accent-primary: #ffffff;
  /* White as accent for maximum contrast */
  --accent-secondary: #a855f7;
  /* Kept purple but reduced usage */
  --accent-glow: rgba(255, 255, 255, 0.1);

  /* Gradients - "Aurora" & Linear style */
  --gradient-purple: linear-gradient(180deg, #333 0%, #000 100%);
  /* Monochromatic buttons? Or stick to brand? Let's go classy */
  --gradient-brand: linear-gradient(135deg, #a855f7 0%, #6366f1 100%);
  --gradient-glow: radial-gradient(circle at center, rgba(168, 85, 247, 0.08) 0%, transparent 60%);
  --gradient-hero: radial-gradient(ellipse at top, rgba(124, 58, 237, 0.08) 0%, transparent 60%);

  /* Spacing - More breathing room */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;
  --space-4xl: 12rem;

  /* Typography */
  --font-primary: 'Inter', -apple-system, system-ui, sans-serif;
  --font-display: 'Inter', sans-serif;
  /* Switch to Inter for everything for that "Swiss" look */

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 8px;
  --radius-xl: 12px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* Shadows - Extremely subtle */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 0 1px rgba(255, 255, 255, 0.08);
  /* Border replacement */

  /* Transitions - Damped Physics */
  --transition-fast: 200ms cubic-bezier(0.2, 0.8, 0.2, 1);
  --transition-base: 400ms cubic-bezier(0.2, 0.8, 0.2, 1);
  --transition-slow: 600ms cubic-bezier(0.2, 0.8, 0.2, 1);
  --transition-bounce: 500ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
  /* Ultra subtle grain */
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.02'/%3E%3C/svg%3E");
}

/* Fixed Background Gradient */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-hero);
  pointer-events: none;
  z-index: -1;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  color: var(--text-primary);
  letter-spacing: -0.04em;
  /* Very tight spacing for modern look */
}

h1 {
  font-size: clamp(3.5rem, 8vw, 7rem);
  /* Huge H1 */
  font-weight: 700;
  letter-spacing: -0.05em;
}

h2 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}

h3 {
  font-size: 1.75rem;
  letter-spacing: -0.03em;
}

h4 {
  text-transform: uppercase;
  letter-spacing: 0.05em;
  /* Spaced out labels */
  font-size: 0.875rem;
  color: var(--text-muted);
}

p {
  margin-bottom: var(--space-md);
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 1.125rem;
  /* Slightly larger body text */
}

.text-gradient {
  background: linear-gradient(180deg, #fff 0%, #888 100%);
  /* Silver text gradient */
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  /* Fix for multi-line gradients */
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  /* display: inline-block; Removed to fix vertical alignment with surrounding text */
}

/* Brand Text Gradient for special occasions */
.text-gradient-brand {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-glow {
  text-shadow: 0 0 30px var(--accent-glow);
}

/* ============================================
   LAYOUT
   ============================================ */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  padding: var(--space-4xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-header h2 {
  margin-bottom: var(--space-md);
}

.section-header p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.25rem;
  color: var(--text-secondary);
  font-weight: 400;
}

/* Grid System - Tighter gaps for bento feel */
.grid {
  display: grid;
  gap: var(--space-md);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-lg) 0;
  transition: var(--transition-base);
}

.navbar.scrolled {
  background: rgba(5, 5, 5, 0.85);
  /* Proper dark mode glass */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: var(--space-md) 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  /* Smaller, punchier logo */
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  letter-spacing: -0.02em;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: var(--text-primary);
  color: var(--bg-primary);
  border-radius: var(--radius-md);
  /* Tighter radius */
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: none;
  /* Remove glow for cleaner look */
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-link {
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition-fast);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-purple);
  transition: var(--transition-base);
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: var(--accent-primary);
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
}

.menu-toggle span {
  width: 25px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition-fast);
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: var(--space-xl);
    gap: var(--space-lg);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
}

/* Responsive Typography */
@media (max-width: 768px) {
  h1 {
    font-size: clamp(2.5rem, 10vw, 400px);
    /* Smaller on mobile */
    letter-spacing: -0.03em;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-content {
    padding-top: 60px;
  }

  .hero-description {
    font-size: 1.125rem;
    padding: 0 var(--space-md);
  }
}

/* Bento Grid Mobile Stack */
@media (max-width: 900px) {
  .grid {
    grid-template-columns: 1fr !important;
    /* Force single column */
  }

  .card[style*="grid-column: span 2"] {
    grid-column: span 1 !important;
    /* Reset spans */
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-lg);
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--text-primary);
  /* High contrast white/off-white */
  color: var(--bg-primary);
  /* Dark text on button */
  border: 1px solid transparent;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 2px 40px rgba(255, 255, 255, 0.1);
  /* Subtle white glow */
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary::before {
  display: none;
  /* Remove duplicate gradient overlays */
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: #ffffff;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2), 0 4px 60px rgba(255, 255, 255, 0.2);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  /* Subtle glass background */
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.08);
  /* Minimal border */
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text-primary);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(168, 85, 247, 0.3);
}

.btn-secondary:hover {
  background: rgba(168, 85, 247, 0.1);
  border-color: var(--accent-primary);
}

.btn-ghost {
  background: transparent;
  color: var(--accent-primary);
}

.btn-ghost:hover {
  background: rgba(168, 85, 247, 0.1);
}

.btn-lg {
  padding: var(--space-lg) var(--space-2xl);
  font-size: 1.1rem;
}

/* ============================================
   CARDS
   ============================================ */
.card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  /* Extremely subtle border */
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
}

/* Spotlight Effect Layer */
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(255, 255, 255, 0.06), transparent 40%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
  z-index: 2;
}

.card:hover::after {
  opacity: 1;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.12);
  /* Slightly lighter border on hover */
  box-shadow: 0 20px 40px -4px rgba(0, 0, 0, 0.6);
  /* Deep shadow */
}

/* Remove the top gradient line, it's too "techy" */
.card::before {
  display: none;
}

.card-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  /* Subtle border */
  color: var(--text-secondary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  transition: all 0.4s ease;
}

.card:hover .card-icon {
  background: var(--text-primary);
  /* Invert on hover */
  color: var(--bg-primary);
  border-color: transparent;
  transform: scale(1.05);
  /* Slight pop */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.card h3 {
  margin-bottom: var(--space-md);
}

/* ============================================
   HERO SECTION
   ============================================ */
/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding-top: 60px;
  /* Reduced from 120px for better vertical centering */
  overflow: hidden;
}

/* Aurora Effect */
.hero::before {
  content: '';
  position: absolute;
  width: 120%;
  height: 100%;
  background: radial-gradient(circle at 50% -20%, rgba(120, 119, 198, 0.1), rgba(255, 255, 255, 0));
  top: 0;
  left: -10%;
  pointer-events: none;
  filter: blur(100px);
  opacity: 0.8;
  z-index: -1;
}

.hero::after {
  display: none;
}

.hero-content {
  text-align: center;
  max-width: 1000px;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(255, 255, 255, 0.05);
  /* Subtle glass */
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  margin-bottom: var(--space-lg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent-primary);
  /* White dot */
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.hero h1 {
  margin-bottom: var(--space-lg);
  line-height: 1;
}

.hero-description {
  font-size: 1.5rem;
  /* Larger introduction text */
  max-width: 680px;
  margin: 0 auto var(--space-2xl);
  color: var(--text-secondary);
  font-weight: 400;
  letter-spacing: -0.01em;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  animation: fadeInUp 0.6s ease 0.3s both;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: var(--space-3xl);
  margin-top: var(--space-4xl);
  animation: fadeInUp 0.6s ease 0.4s both;
}

.stat {
  text-align: center;
}

/* Stat Value Refined */
.stat-value {
  font-family: var(--font-primary);
  /* Inter looks cleaner for numbers */
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--text-primary);
  background: none;
  -webkit-text-fill-color: initial;
  letter-spacing: -0.05em;
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.stat-label {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-top: var(--space-xs);
}

.value-card {
  text-align: center;
  padding: var(--space-2xl);
  background: var(--bg-card);
  border: 1px solid rgba(168, 85, 247, 0.15);
  border-radius: var(--radius-xl);
  transition: var(--transition-base);
}

.value-icon {
  width: 80px;
  height: 80px;
  background: rgba(168, 85, 247, 0.15);
  border: 2px solid rgba(168, 85, 247, 0.3);
  border-radius: var(--radius-xl);
  margin: 0 auto var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  transition: var(--transition-base);
}

.value-card:hover .value-icon {
  background: rgba(168, 85, 247, 0.25);
  border-color: rgba(168, 85, 247, 0.5);
  transform: scale(1.1);
}

.value-card h3 {
  margin-bottom: var(--space-md);
  font-size: 1.5rem;
}

.value-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* Floating Elements */
.floating-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.floating-shape {
  position: absolute;
  background: var(--gradient-purple);
  opacity: 0.1;
  border-radius: 50%;
  animation: float 20s infinite;
}

.floating-shape:nth-child(1) {
  width: 300px;
  height: 300px;
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.floating-shape:nth-child(2) {
  width: 200px;
  height: 200px;
  top: 60%;
  right: 10%;
  animation-delay: -5s;
}

.floating-shape:nth-child(3) {
  width: 150px;
  height: 150px;
  bottom: 20%;
  left: 20%;
  animation-delay: -10s;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
}

.service-card {
  position: relative;
}

.service-card .card-number {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(168, 85, 247, 0.1);
}

.service-card ul {
  margin-top: var(--space-lg);
}

.service-card li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--text-secondary);
  margin-bottom: var(--space-sm);
}

.service-card li::before {
  content: '→';
  color: var(--accent-primary);
}

/* ============================================
   PORTFOLIO SECTION
   ============================================ */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-xl);
}

.portfolio-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(168, 85, 247, 0.1);
  transition: var(--transition-base);
}

.portfolio-card:hover {
  transform: translateY(-5px);
  border-color: rgba(168, 85, 247, 0.3);
  box-shadow: var(--shadow-glow);
}

.portfolio-image {
  height: 220px;
  background: var(--gradient-purple-dark);
  position: relative;
  overflow: hidden;
}

.portfolio-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, var(--bg-card) 100%);
}

.portfolio-content {
  padding: var(--space-xl);
}

.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.tag {
  background: rgba(168, 85, 247, 0.1);
  color: var(--accent-primary);
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 500;
}

.portfolio-content h3 {
  margin-bottom: var(--space-sm);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

@media (max-width: 968px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

.about-image {
  position: relative;
}

.about-image-main {
  width: 100%;
  height: 500px;
  background: var(--gradient-purple-dark);
  border-radius: var(--radius-2xl);
  position: relative;
  overflow: hidden;
}

.about-image-main::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23a855f7' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.about-floating-card {
  position: absolute;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  box-shadow: var(--shadow-glow);
}

.about-floating-card.top {
  top: -20px;
  right: -20px;
}

.about-floating-card.bottom {
  bottom: -20px;
  left: -20px;
}

.about-content h2 {
  margin-bottom: var(--space-lg);
}

.about-content>p {
  margin-bottom: var(--space-lg);
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.about-feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(168, 85, 247, 0.1);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
  flex-shrink: 0;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-xl);
}

.testimonial-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(168, 85, 247, 0.1);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
}

.testimonial-stars {
  color: #fbbf24;
  margin-bottom: var(--space-lg);
  font-size: 1.25rem;
}

.testimonial-text {
  font-size: 1.1rem;
  margin-bottom: var(--space-xl);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  background: var(--gradient-purple);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.testimonial-info h4 {
  font-size: 1rem;
  margin-bottom: var(--space-xs);
}

.testimonial-info span {
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta {
  background: var(--gradient-purple-dark);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.3) 0%, transparent 70%);
  top: -300px;
  right: -100px;
}

.cta-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta h2 {
  margin-bottom: var(--space-lg);
}

.cta p {
  margin-bottom: var(--space-2xl);
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
}

@media (max-width: 968px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-info h2 {
  margin-bottom: var(--space-lg);
}

.contact-info>p {
  margin-bottom: var(--space-2xl);
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.contact-method {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.contact-method-icon {
  width: 56px;
  height: 56px;
  background: rgba(168, 85, 247, 0.1);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
  font-size: 1.25rem;
}

.contact-method h4 {
  font-size: 1rem;
  margin-bottom: var(--space-xs);
}

.contact-method span {
  color: var(--text-secondary);
}

/* Contact Form */
.contact-form {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(168, 85, 247, 0.1);
  border-radius: var(--radius-2xl);
  padding: var(--space-2xl);
}

/* ============================================
   FORMS & INPUTS
   ============================================ */
.form-group {
  margin-bottom: var(--space-lg);
}

label {
  display: block;
  margin-bottom: var(--space-xs);
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
}

input,
select,
textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  /* Subtle border */
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-primary);
  font-size: 1rem;
  transition: all 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.02);
}

input::placeholder,
textarea::placeholder {
  color: var(--text-muted);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

@media (max-width: 500px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: var(--space-3xl) 0 var(--space-xl);
  background: var(--bg-primary);
  /* Solid background for footer */
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

@media (max-width: 968px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 500px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand p {
  margin-top: var(--space-lg);
  max-width: 300px;
}

.footer-socials {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.social-link {
  width: 44px;
  height: 44px;
  background: rgba(168, 85, 247, 0.1);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.social-link:hover {
  background: var(--accent-primary);
  color: white;
  transform: translateY(-3px);
}

.footer-column h4 {
  font-size: 1rem;
  margin-bottom: var(--space-lg);
  color: var(--text-primary);
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer-column a {
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.footer-column a:hover {
  color: var(--accent-primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(168, 85, 247, 0.1);
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-xl);
}

.footer-bottom-links a {
  color: var(--text-muted);
  font-size: 0.875rem;
  transition: var(--transition-fast);
}

.footer-bottom-links a:hover {
  color: var(--accent-primary);
}

@media (max-width: 500px) {
  .footer-bottom {
    flex-direction: column;
    gap: var(--space-lg);
    text-align: center;
  }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.7;
    transform: scale(1.1);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }

  33% {
    transform: translate(15px, -25px) rotate(3deg);
  }

  66% {
    transform: translate(-10px, -15px) rotate(-2deg);
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes glowPulse {

  0%,
  100% {
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
  }

  50% {
    box-shadow: 0 0 40px rgba(168, 85, 247, 0.6), 0 0 60px rgba(124, 58, 237, 0.3);
  }
}

@keyframes borderGlow {

  0%,
  100% {
    border-color: rgba(168, 85, 247, 0.2);
  }

  50% {
    border-color: rgba(168, 85, 247, 0.5);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes rotateIn {
  from {
    opacity: 0;
    transform: rotate(-10deg) scale(0.9);
  }

  to {
    opacity: 1;
    transform: rotate(0deg) scale(1);
  }
}

@keyframes textShimmer {
  0% {
    background-position: -200% center;
  }

  100% {
    background-position: 200% center;
  }
}

@keyframes morphShape {

  0%,
  100% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }

  25% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
  }

  50% {
    border-radius: 50% 60% 30% 60% / 30% 40% 70% 60%;
  }

  75% {
    border-radius: 60% 40% 60% 30% / 70% 30% 50% 60%;
  }
}

@keyframes slideInStagger {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll Animations */
.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.9s cubic-bezier(0.17, 0.55, 0.55, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: all 0.9s cubic-bezier(0.17, 0.55, 0.55, 1);
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: all 0.9s cubic-bezier(0.17, 0.55, 0.55, 1);
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.85);
  transition: all 0.9s cubic-bezier(0.17, 0.55, 0.55, 1);
}

.reveal-scale.active {
  opacity: 1;
  transform: scale(1);
}

/* Staggered animations for grids */
.stagger-1 {
  transition-delay: 0.1s;
}

.stagger-2 {
  transition-delay: 0.2s;
}

.stagger-3 {
  transition-delay: 0.3s;
}

.stagger-4 {
  transition-delay: 0.4s;
}

.stagger-5 {
  transition-delay: 0.5s;
}

.stagger-6 {
  transition-delay: 0.6s;
}

/* Enhanced hover effects */
.hover-lift {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
}

.hover-lift:hover {
  transform: translateY(-8px);
}

.hover-glow:hover {
  animation: glowPulse 2s ease-in-out infinite;
}

.hover-scale {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hover-scale:hover {
  transform: scale(1.05);
}

/* Magnetic effect for buttons */
.magnetic {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Animated gradient text */
.text-gradient-animated {
  background: linear-gradient(90deg,
      #a855f7 0%,
      #c084fc 25%,
      #7c3aed 50%,
      #a855f7 75%,
      #c084fc 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s ease infinite;
}

/* Morphing background shapes */
.morph-shape {
  animation: morphShape 15s ease-in-out infinite;
}

/* Line drawing animation for underlines */
.line-draw::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-purple);
  transition: width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.line-draw:hover::after {
  width: 100%;
}

/* Icon animations */
.icon-bounce {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.icon-bounce:hover {
  transform: translateY(-4px);
}

.icon-rotate {
  transition: transform 0.5s ease;
}

.icon-rotate:hover {
  transform: rotate(15deg);
}

/* Card tilt effect */
.tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.5s ease;
}

.tilt-card:hover {
  transform: perspective(1000px) rotateX(2deg) rotateY(-2deg);
}

/* Shimmer loading effect */
.shimmer {
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(168, 85, 247, 0.1) 50%,
      transparent 100%);
  background-size: 200% 100%;
  animation: textShimmer 2s infinite;
}

/* ============================================
   PAGE-SPECIFIC STYLES
   ============================================ */

/* Page Header (for inner pages) */
.page-header {
  padding: calc(80px + var(--space-4xl)) 0 var(--space-4xl);
  background: var(--gradient-hero);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center top, rgba(168, 85, 247, 0.15) 0%, transparent 60%);
}

.page-header::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.1) 0%, transparent 70%);
  top: -250px;
  right: -100px;
  animation: float 20s ease-in-out infinite;
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-header h1 {
  margin-bottom: var(--space-md);
  animation: fadeInUp 0.8s ease;
}

.page-header p {
  animation: fadeInUp 0.8s ease 0.1s both;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-sm);
  color: var(--text-muted);
  font-size: 0.875rem;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.breadcrumb a {
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.breadcrumb a:hover {
  color: var(--accent-primary);
}

/* ============================================
   LEGAL PAGES
   ============================================ */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

.legal-content h3 {
  font-size: 1.2rem;
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
}

.legal-content p {
  margin-bottom: var(--space-md);
  line-height: 1.8;
}

.legal-content ul {
  margin-bottom: var(--space-md);
  padding-left: var(--space-xl);
}

.legal-content li {
  margin-bottom: var(--space-sm);
  color: var(--text-secondary);
  position: relative;
}

.legal-content li::before {
  content: '•';
  color: var(--accent-primary);
  position: absolute;
  left: -1rem;
}

.legal-content a {
  color: var(--accent-primary);
  transition: var(--transition-fast);
}

.legal-content a:hover {
  text-decoration: underline;
}

.legal-update {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: var(--space-2xl);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(168, 85, 247, 0.1);
}

/* ============================================
   UTILITIES
   ============================================ */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.mt-sm {
  margin-top: var(--space-sm);
}

.mt-md {
  margin-top: var(--space-md);
}

.mt-lg {
  margin-top: var(--space-lg);
}

.mt-xl {
  margin-top: var(--space-xl);
}

.mt-2xl {
  margin-top: var(--space-2xl);
}

.mb-sm {
  margin-bottom: var(--space-sm);
}

.mb-md {
  margin-bottom: var(--space-md);
}

.mb-lg {
  margin-bottom: var(--space-lg);
}

.mb-xl {
  margin-bottom: var(--space-xl);
}

.mb-2xl {
  margin-bottom: var(--space-2xl);
}

.hidden {
  display: none;
}

@media (max-width: 768px) {
  .hide-mobile {
    display: none;
  }
}

@media (min-width: 769px) {
  .hide-desktop {
    display: none;
  }
}



/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ============================================
   GRID FIXES (Responsive Layouts)
   ============================================ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

@media (max-width: 968px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
}

/* Ensure images in grids don't overflow */
.about-image {
  width: 100%;
  aspect-ratio: 4/3;
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.about-image-main {
  width: 100%;
  height: 100%;
  position: relative;
}


/* ============================================
   LANGUAGE SWITCH ANIMATION
   ============================================ */
body {
  transition: opacity 0.3s ease, filter 0.3s ease, transform 0.3s ease;
}

body.lang-switching {
  opacity: 0;
  filter: blur(10px);
  transform: scale(0.99);
  pointer-events: none;
}

/* ============================================
   BENTO GRID (Mobile Fixes)
   ============================================ */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.col-span-2 {
  grid-column: span 2;
}

@media (max-width: 768px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }

  .col-span-2 {
    grid-column: span 1;
  }

  .col-span-2 {
    grid-column: span 1;
  }
}

/* ============================================
   FULL WIDTH CARD (Side-by-Side)
   ============================================ */
.full-width-card {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-2xl);
  align-items: center;
}

@media (max-width: 1024px) {
  .full-width-card {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

.service-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}


.service-visuals {
  width: 100%;
}

/* ============================================
   BENTO GRID CARD OVERRIDES
   ============================================ */
.bento-grid .card {
  padding: var(--space-lg);
  /* Reduced from space-xl (4rem) to 2rem */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-grid .card h3 {
  font-size: 1.25rem;
  margin-bottom: var(--space-xs);
}

.bento-grid .card p {
  font-size: 0.95rem;
  margin-bottom: 0;
}