/* TJStar Developers - Premium Modern Stylesheet v3.0 */
/* Complete redesign with enhanced glassmorphism, smoother animations, and premium aesthetics */

/* ===== Google Fonts Import ===== */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap");

/* ===== CSS Custom Properties ===== */
:root {
  /* Primary Colors - Deep Blue */
  --primary: #1e40af;
  --primary-dark: #1e3a8a;
  --primary-light: #3b82f6;
  --primary-glow: rgba(30, 64, 175, 0.35);
  --primary-subtle: rgba(30, 64, 175, 0.08);

  /* Secondary - Emerald Green (CTAs) */
  --secondary: #10b981;
  --secondary-dark: #059669;
  --secondary-light: #34d399;
  --secondary-glow: rgba(16, 185, 129, 0.35);

  /* Accent - Indigo for gradients */
  --accent: #4f46e5;
  --accent-light: #818cf8;

  /* Neutrals - Light Theme */
  --background: #ffffff;
  --background-secondary: #f8fafc;
  --background-tertiary: #f1f5f9;
  --foreground: #0f172a;
  --foreground-secondary: #475569;
  --muted: #64748b;
  --muted-light: #94a3b8;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --card: #ffffff;
  --card-hover: #f8fafc;

  /* Glassmorphism - Light */
  --glass-bg: rgba(255, 255, 255, 0.75);
  --glass-bg-heavy: rgba(255, 255, 255, 0.9);
  --glass-border: rgba(255, 255, 255, 0.5);
  --glass-shadow: 0 8px 32px rgba(15, 23, 42, 0.06);

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 28px rgba(15, 23, 42, 0.1);
  --shadow-xl: 0 20px 40px rgba(15, 23, 42, 0.12);
  --shadow-2xl: 0 32px 64px rgba(15, 23, 42, 0.14);
  --shadow-glow: 0 0 50px var(--primary-glow);
  --shadow-glow-green: 0 0 50px var(--secondary-glow);

  /* Border Radius */
  --radius-xs: 0.375rem;
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  --radius-2xl: 1.5rem;
  --radius-3xl: 2rem;
  --radius-full: 9999px;

  /* Transitions - Spring-like easing */
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);

  --transition-fast: 150ms var(--ease-smooth);
  --transition-base: 300ms var(--ease-smooth);
  --transition-slow: 500ms var(--ease-smooth);
  --transition-spring: 500ms var(--ease-spring);

  /* Z-index layers */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal-backdrop: 400;
  --z-modal: 500;
  --z-popover: 600;
  --z-tooltip: 700;
}

/* Dark Theme */
.dark {
  --background: #0a0f1c;
  --background-secondary: #111827;
  --background-tertiary: #1f2937;
  --foreground: #f8fafc;
  --foreground-secondary: #cbd5e1;
  --muted: #94a3b8;
  --muted-light: #64748b;
  --border: #1e293b;
  --border-light: #1e293b;
  --card: #111827;
  --card-hover: #1f2937;

  --glass-bg: rgba(17, 24, 39, 0.75);
  --glass-bg-heavy: rgba(17, 24, 39, 0.9);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);

  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.6);
  --shadow-xl: 0 24px 48px rgba(0, 0, 0, 0.7);
  --shadow-2xl: 0 32px 64px rgba(0, 0, 0, 0.8);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  background-color: var(--background);
  color: var(--foreground);
  transition: background-color var(--transition-base), color var(--transition-base);
  overflow-x: hidden;
}

/* ===== Typography ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--foreground);
}

h1 {
  font-size: clamp(2.75rem, 7vw, 4.5rem);
  font-weight: 800;
}
h2 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
}
h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}
h4 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

p {
  line-height: 1.75;
  color: var(--foreground-secondary);
}

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

/* ===== Container ===== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (min-width: 1536px) {
  .container {
    max-width: 1400px;
  }
}

/* ===== Utility Classes ===== */
.text-primary {
  color: var(--primary);
}
.text-secondary {
  color: var(--secondary);
}
.text-muted {
  color: var(--muted);
}
.text-balance {
  text-wrap: balance;
}
.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Grid utilities */
.grid {
  display: grid;
}
.flex {
  display: flex;
}
.hidden {
  display: none;
}
.block {
  display: block;
}
.inline-flex {
  display: inline-flex;
}

@media (min-width: 768px) {
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .md\:flex {
    display: flex;
  }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .lg\:grid-cols-4 {
    grid-template-columns: repeat(4, 1fr);
  }
  .lg\:block {
    display: block;
  }
  .lg\:hidden {
    display: none;
  }
  .lg\:flex {
    display: flex;
  }
  .lg\:inline-flex {
    display: inline-flex;
  }
  .lg\:text-left {
    text-align: left;
  }
}

/* ===== Premium Animations ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@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 scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-25px) rotate(2deg);
  }
}

@keyframes floatReverse {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(25px) rotate(-2deg);
  }
}

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

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}

@keyframes pulseGlow {
  0%,
  100% {
    box-shadow: 0 0 0 0 var(--secondary-glow);
  }
  50% {
    box-shadow: 0 0 40px 15px var(--secondary-glow);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

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

@keyframes bounceArrow {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

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

@keyframes morphBlob {
  0%,
  100% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
  50% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
  }
}

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

/* Animation classes */
.animate-fadeIn {
  animation: fadeIn 0.6s var(--ease-smooth) forwards;
}
.animate-fadeInUp {
  animation: fadeInUp 0.8s var(--ease-smooth) forwards;
}
.animate-fadeInDown {
  animation: fadeInDown 0.8s var(--ease-smooth) forwards;
}
.animate-fadeInLeft {
  animation: fadeInLeft 0.8s var(--ease-smooth) forwards;
}
.animate-fadeInRight {
  animation: fadeInRight 0.8s var(--ease-smooth) forwards;
}
.animate-scaleIn {
  animation: scaleIn 0.6s var(--ease-spring) forwards;
}
.animate-float {
  animation: float 8s ease-in-out infinite;
}
.animate-floatReverse {
  animation: floatReverse 9s ease-in-out infinite;
}
.animate-floatSlow {
  animation: floatSlow 5s ease-in-out infinite;
}
.animate-pulse {
  animation: pulse 2s ease-in-out infinite;
}
.animate-pulseGlow {
  animation: pulseGlow 2.5s ease-in-out infinite;
}
.animate-bounce {
  animation: bounce 2.5s ease-in-out infinite;
}
.animate-bounceArrow {
  animation: bounceArrow 2s ease-in-out infinite;
}
.animate-gradientShift {
  background-size: 200% 200%;
  animation: gradientShift 6s ease infinite;
}
.animate-morphBlob {
  animation: morphBlob 10s ease-in-out infinite;
}

/* Stagger delays */
.delay-100 {
  animation-delay: 100ms;
}
.delay-200 {
  animation-delay: 200ms;
}
.delay-300 {
  animation-delay: 300ms;
}
.delay-400 {
  animation-delay: 400ms;
}
.delay-500 {
  animation-delay: 500ms;
}
.delay-600 {
  animation-delay: 600ms;
}

/* ===== Glassmorphism Components ===== */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
}

.glass-heavy {
  background: var(--glass-bg-heavy);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  border: 1px solid var(--glass-border);
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-2xl);
  box-shadow: var(--glass-shadow);
  transition: all var(--transition-base);
}

.glass-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* ===== Header / Navbar ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-fixed);
  padding: 1.25rem 0;
  transition: all var(--transition-base);
}

.header-transparent {
  background: transparent;
}

.header-scrolled {
  background: var(--glass-bg-heavy);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md);
  padding: 0.875rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--foreground);
  transition: transform var(--transition-fast);
}

.header-logo:hover {
  transform: scale(1.03);
}

.header-logo img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.header-logo-text {
  font-family: "Inter", sans-serif;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1.375rem;
}

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

/* Desktop Navigation */
.header-nav {
  display: none;
  align-items: center;
  gap: 0.375rem;
}

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

.nav-link {
  position: relative;
  padding: 0.75rem 1.125rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--foreground-secondary);
  border-radius: var(--radius-lg);
  transition: all var(--transition-fast);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0.5rem;
  left: 50%;
  width: 0;
  height: 2.5px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  transform: translateX(-50%);
}

.nav-link:hover {
  color: var(--foreground);
  background: var(--primary-subtle);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: calc(100% - 2.25rem);
}

.nav-link.active {
  color: var(--primary);
  font-weight: 600;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

/* Theme Toggle */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: none;
  border-radius: var(--radius-lg);
  background: var(--background-secondary);
  color: var(--foreground);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.theme-toggle:hover {
  background: var(--primary-subtle);
  color: var(--primary);
  transform: scale(1.08) rotate(15deg);
}

.theme-toggle svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* Notification Bell */
.notification-bell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: none;
  border-radius: var(--radius-lg);
  background: var(--background-secondary);
  color: var(--foreground);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.notification-bell:hover {
  background: var(--primary-subtle);
  color: var(--primary);
  transform: scale(1.05);
}

.notification-bell svg {
  width: 1.25rem;
  height: 1.25rem;
}

.notification-badge {
  position: absolute;
  top: 0.25rem;
  right: 0.25rem;
  min-width: 1.125rem;
  height: 1.125rem;
  padding: 0 0.25rem;
  font-size: 0.6875rem;
  font-weight: 700;
  color: white;
  background: #ef4444;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse 2s ease-in-out infinite;
}

/* Mobile Toggle */
.mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: none;
  border-radius: var(--radius-lg);
  background: var(--background-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

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

.mobile-toggle:hover {
  background: var(--primary-subtle);
}

.mobile-toggle-icon {
  position: relative;
  width: 1.25rem;
  height: 1rem;
}

.mobile-toggle-icon span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--foreground);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

.mobile-toggle-icon span:nth-child(1) {
  top: 0;
}
.mobile-toggle-icon span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}
.mobile-toggle-icon span:nth-child(3) {
  bottom: 0;
}

.mobile-toggle.active .mobile-toggle-icon span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

.mobile-toggle.active .mobile-toggle-icon span:nth-child(2) {
  opacity: 0;
  transform: translateX(10px);
}

.mobile-toggle.active .mobile-toggle-icon span:nth-child(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: calc(var(--z-fixed) - 1);
  background: var(--glass-bg-heavy);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  display: flex;
  flex-direction: column;
  padding-top: 6rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all var(--transition-base);
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  gap: 0.5rem;
}

.mobile-menu-link {
  display: flex;
  align-items: center;
  padding: 1.125rem 1.5rem;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--foreground);
  border-radius: var(--radius-xl);
  transition: all var(--transition-fast);
}

.mobile-menu-link:hover,
.mobile-menu-link.active {
  background: var(--primary-subtle);
  color: var(--primary);
  transform: translateX(8px);
}

/* ===== Premium Button Styles ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 0.9375rem 1.875rem;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1;
  border-radius: var(--radius-xl);
  border: none;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

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

/* Primary Button */
.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 35px var(--primary-glow);
}

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

/* CTA Green Button */
.btn-cta {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
  color: white;
  box-shadow: 0 4px 20px var(--secondary-glow);
}

.btn-cta:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 40px var(--secondary-glow);
}

/* Gradient Button */
.btn-gradient {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  background-size: 200% 200%;
  color: white;
  box-shadow: 0 4px 25px var(--primary-glow);
  animation: gradientShift 6s ease infinite;
}

.btn-gradient:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 12px 45px var(--primary-glow);
}

/* Glass Button */
.btn-glass {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  color: var(--foreground);
}

.btn-glass:hover {
  background: var(--glass-bg-heavy);
  border-color: var(--primary);
  transform: translateY(-2px);
}

/* Button Sizes */
.btn-sm {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  border-radius: var(--radius-lg);
}

.btn-lg {
  padding: 1.125rem 2.25rem;
  font-size: 1rem;
  border-radius: var(--radius-2xl);
}

.btn-xl {
  padding: 1.375rem 2.75rem;
  font-size: 1.125rem;
  border-radius: var(--radius-2xl);
}

/* Button Arrow Animation */
.btn .btn-arrow {
  transition: transform var(--transition-base);
}

.btn:hover .btn-arrow {
  transform: translateX(5px);
}

.btn.w-full {
  width: 100%;
}

/* ===== Section Styles ===== */
.section {
  position: relative;
  padding: 7rem 0;
  overflow: hidden;
}

.section-sm {
  padding: 4rem 0;
}
.section-lg {
  padding: 9rem 0;
}
.section-xl {
  padding: 11rem 0;
}

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

/* Glass Badge */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 1.5rem;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.section-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.section-title {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 800;
  margin-bottom: 1.25rem;
  color: var(--foreground);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 580px;
  margin: 0 auto;
}

/* Section Background Decorations */
.section-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.section-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.35;
}

.section-blob-1 {
  width: 700px;
  height: 700px;
  background: var(--primary);
  top: -350px;
  right: -250px;
  opacity: 0.08;
}

.section-blob-2 {
  width: 500px;
  height: 500px;
  background: var(--secondary);
  bottom: -250px;
  left: -150px;
  opacity: 0.08;
}

.section-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(30, 64, 175, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 64, 175, 0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 75%);
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(145deg, #0f172a 0%, var(--primary-dark) 50%, var(--accent) 100%);
  background-size: 400% 400%;
  animation: gradientShift 20s ease infinite;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 30%, rgba(59, 130, 246, 0.15) 0%, transparent 45%),
    radial-gradient(circle at 85% 70%, rgba(99, 102, 241, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 50% 90%, rgba(16, 185, 129, 0.1) 0%, transparent 40%);
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 70px 70px;
  z-index: 0;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 65%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 65%);
}

.hero > .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease-out;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--secondary-light), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 1.375rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  backdrop-filter: blur(12px);
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.75rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

.hero-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--secondary);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
  box-shadow: 0 0 12px var(--secondary);
}

.hero-subtitle {
  font-size: clamp(1.0625rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 560px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 640px) {
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.hero-stat {
  text-align: center;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(8px);
  animation: scaleIn 0.6s ease-out backwards;
}

.hero-stat:nth-child(2) {
  animation-delay: 0.1s;
}
.hero-stat:nth-child(3) {
  animation-delay: 0.2s;
}

.hero-stat-value {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--secondary-light);
  display: block;
  margin-bottom: 0.375rem;
  letter-spacing: -0.02em;
}

.hero-stat-label {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: none;
}

@media (min-width: 1024px) {
  .hero-visual {
    display: block;
  }
}

.hero-visual-card {
  position: relative;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-3xl);
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.3);
}

.hero-visual-card img {
  width: 100%;
  border-radius: var(--radius-2xl);
}

/* Floating Elements */
.hero-float {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(1px);
}

.hero-float-1 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  animation: float 10s ease-in-out infinite;
}

.hero-float-2 {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
  bottom: 10%;
  left: 5%;
  animation: floatReverse 12s ease-in-out infinite;
  animation-delay: 1s;
}

.hero-float-3 {
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
  top: 40%;
  right: 10%;
  animation: floatSlow 15s ease-in-out infinite;
  animation-delay: 2s;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.scroll-indicator:hover {
  color: rgba(255, 255, 255, 0.8);
}

.scroll-indicator-line {
  width: 1px;
  height: 55px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent);
  animation: bounceArrow 2.5s ease-in-out infinite;
}

/* ===== Feature/Service Cards ===== */
.feature-card {
  position: relative;
  padding: 2.25rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  transition: all var(--transition-base);
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: opacity var(--transition-base);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

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

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
}

.feature-icon {
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-subtle);
  border-radius: var(--radius-xl);
  color: var(--primary);
  margin-bottom: 1.75rem;
  transition: all var(--transition-base);
}

.feature-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  stroke-width: 1.5;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.875rem;
  color: var(--foreground);
}

.feature-description {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.75;
}

/* ===== Why Choose Us Section ===== */
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
  max-width: 1200px;
  margin: 0 auto;
}

.why-us-item {
  padding: 2.25rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  text-align: center;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.why-us-item::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary), var(--primary));
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.why-us-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.why-us-item:hover::after {
  transform: scaleX(1);
}

.why-us-item:hover .why-us-icon {
  transform: scale(1.15) rotate(5deg);
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  color: white;
}

.why-us-icon {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--secondary-glow);
  border-radius: var(--radius-xl);
  color: var(--secondary-dark);
  transition: all var(--transition-base);
}

.why-us-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  stroke-width: 1.5;
}

.why-us-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--foreground);
}

.why-us-text {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ===== Portfolio Grid ===== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  background: var(--card);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.portfolio-item:hover {
  transform: translateY(-12px) scale(1.01);
  box-shadow: var(--shadow-2xl);
}

.portfolio-image {
  position: relative;
  width: 100%;
  height: 260px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-subtle), var(--accent-light));
}

.portfolio-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.portfolio-item:hover .portfolio-image img {
  transform: scale(1.12);
  filter: brightness(0.65);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30, 64, 175, 0.85), rgba(16, 185, 129, 0.7));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-link {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.875rem 1.75rem;
  background: white;
  color: var(--primary);
  border-radius: var(--radius-full);
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  transform: translateY(20px);
  opacity: 0;
}

.portfolio-item:hover .portfolio-link {
  transform: translateY(0);
  opacity: 1;
}

.portfolio-link:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.portfolio-link svg {
  width: 1.125rem;
  height: 1.125rem;
  transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-link svg {
  transform: rotate(45deg);
}

.portfolio-content {
  padding: 1.5rem;
}

.portfolio-title {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.625rem;
  color: var(--foreground);
}

.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.portfolio-tag {
  padding: 0.375rem 0.875rem;
  background: var(--primary-subtle);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-full);
}

/* ===== Testimonial/Review Cards ===== */
.review-card {
  position: relative;
  padding: 2.25rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  transition: all var(--transition-base);
}

.review-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(16, 185, 129, 0.25);
}

.review-quote {
  font-size: 4rem;
  font-weight: 800;
  color: var(--secondary);
  opacity: 0.2;
  line-height: 0.5;
  display: block;
  margin-bottom: 0.5rem;
}

.review-stars {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.25rem;
}

.review-stars svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: var(--secondary);
  animation: scaleIn 0.5s ease-out backwards;
}

.review-stars svg:nth-child(1) {
  animation-delay: 0s;
}
.review-stars svg:nth-child(2) {
  animation-delay: 0.1s;
}
.review-stars svg:nth-child(3) {
  animation-delay: 0.2s;
}
.review-stars svg:nth-child(4) {
  animation-delay: 0.3s;
}
.review-stars svg:nth-child(5) {
  animation-delay: 0.4s;
}

.review-text {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--foreground-secondary);
  margin-bottom: 1.75rem;
  font-style: italic;
}

.review-author {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.review-avatar {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.125rem;
}

.review-name {
  font-weight: 700;
  color: var(--foreground);
}

.review-role {
  font-size: 0.875rem;
  color: var(--muted);
}

/* ===== Video Section ===== */
.video-wrapper {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
}

.video-wrapper::before {
  content: "";
  display: block;
  padding-top: 56.25%;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ===== Support/Donation Section ===== */
.support-section {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-3xl);
  padding: 3.5rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.support-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
}

.support-header {
  margin-bottom: 2.5rem;
}

.support-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 0.625rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.support-subtitle {
  font-size: 1rem;
  color: var(--muted);
}

.support-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  max-width: 750px;
  margin: 0 auto;
}

.support-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.75rem 1.5rem;
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
  color: white;
  border: none;
  border-radius: var(--radius-xl);
  cursor: pointer;
  transition: all var(--transition-base);
  font-weight: 600;
  position: relative;
  overflow: hidden;
}

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

.support-btn:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(16, 185, 129, 0.35);
}

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

.support-btn-amount {
  font-size: 1.625rem;
  font-weight: 800;
}

.support-btn-label {
  font-size: 0.75rem;
  opacity: 0.85;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ===== CTA Section ===== */
.cta-section {
  background: linear-gradient(135deg, var(--primary-subtle), rgba(99, 102, 241, 0.05));
  padding: 4.5rem 2.5rem;
  border-radius: var(--radius-3xl);
  text-align: center;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 50%, var(--primary-glow) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, var(--secondary-glow) 0%, transparent 50%);
  opacity: 0.3;
  pointer-events: none;
}

.cta-section h2 {
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 1.25rem;
  line-height: 1.2;
  position: relative;
}

.cta-section p {
  font-size: 1.125rem;
  color: var(--foreground-secondary);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
  position: relative;
}

.cta-section .btn-cta {
  position: relative;
}

/* CTA Card */
.cta-card {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: var(--radius-3xl);
  padding: 4rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-card::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='%23ffffff' fill-opacity='0.04'%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");
}

.cta-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: white;
  margin-bottom: 1rem;
  position: relative;
}

.cta-text {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 550px;
  margin: 0 auto 2rem;
  line-height: 1.7;
  position: relative;
}

.cta-card .btn {
  background: white;
  color: var(--primary);
  position: relative;
}

.cta-card .btn:hover {
  background: var(--secondary);
  color: white;
  transform: translateY(-3px) scale(1.03);
}

/* ===== Footer ===== */
.footer {
  background: var(--background-secondary);
  border-top: 1px solid var(--border);
  padding-top: 5.5rem;
}

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

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

.footer-brand {
  max-width: 340px;
}

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

.footer-brand-logo img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.footer-brand-text {
  color: var(--muted);
  font-size: 0.9375rem;
  line-height: 1.75;
  margin-bottom: 1.75rem;
}

.footer-socials {
  display: flex;
  gap: 0.625rem;
}

.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: var(--muted);
  transition: all var(--transition-fast);
}

.footer-social:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  transform: translateY(-4px) rotate(5deg);
}

.footer-social svg {
  width: 1.125rem;
  height: 1.125rem;
}

.footer-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--foreground);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.footer-link {
  color: var(--muted);
  font-size: 0.9375rem;
  transition: color var(--transition-fast);
}

a.footer-link:hover {
  color: var(--primary);
  transform: translateX(4px);
  display: inline-block;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  margin-bottom: 1.125rem;
}

.footer-contact-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-subtle);
  border-radius: var(--radius-lg);
  color: var(--primary);
}

.footer-contact-icon svg {
  width: 1.125rem;
  height: 1.125rem;
}

.footer-contact-text {
  font-size: 0.9375rem;
  color: var(--muted);
}

.footer-contact-text a {
  color: var(--muted);
  transition: color var(--transition-fast);
}

.footer-contact-text a:hover {
  color: var(--primary);
}

/* Footer CTA */
.footer-cta {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: var(--radius-3xl);
  padding: 3rem 2.5rem;
  text-align: center;
  margin-bottom: 3.5rem;
  position: relative;
  overflow: hidden;
}

.footer-cta::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='%23ffffff' fill-opacity='0.05'%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");
}

.footer-cta-title {
  font-size: 1.625rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.75rem;
  position: relative;
}

.footer-cta-text {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.75rem;
  position: relative;
}

.footer-cta .btn {
  background: white;
  color: var(--primary);
  position: relative;
}

.footer-cta .btn:hover {
  background: var(--secondary);
  color: white;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 2.25rem 0;
}

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

@media (min-width: 768px) {
  .footer-bottom-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }
}

.footer-copyright {
  font-size: 0.875rem;
  color: var(--muted);
}

.footer-promo {
  font-size: 0.875rem;
  color: var(--muted);
}

.footer-promo a {
  color: var(--primary);
  font-weight: 600;
}

.footer-promo a:hover {
  text-decoration: underline;
}

/* ===== Chatbot Widget ===== */
.chatbot-widget {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: var(--z-popover);
}

.chatbot-toggle {
  position: relative;
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 32px var(--primary-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  overflow: hidden;
}

.chatbot-toggle::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, var(--primary), var(--accent), var(--secondary));
  border-radius: 50%;
  z-index: -1;
  animation: rotateGlow 3s linear infinite;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.chatbot-toggle:hover::before {
  opacity: 0.6;
}

.chatbot-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 45px var(--primary-glow);
}

.chatbot-toggle.active {
  background: var(--foreground);
}

.chatbot-toggle .icon-chat {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
  transition: all var(--transition-base);
}

.chatbot-toggle.active .icon-chat {
  opacity: 0;
  transform: scale(0.5) rotate(90deg);
}

.chatbot-toggle .icon-close {
  position: absolute;
  width: 1.5rem;
  height: 1.5rem;
  color: white;
  opacity: 0;
  transform: scale(0.5) rotate(-90deg);
  transition: all var(--transition-base);
}

.chatbot-toggle.active .icon-close {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

/* Chatbot Window */
.chatbot-window {
  position: absolute;
  bottom: calc(100% + 1.25rem);
  right: 0;
  width: 400px;
  max-width: calc(100vw - 3.5rem);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-3xl);
  box-shadow: var(--shadow-2xl);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px) scale(0.95);
  transform-origin: bottom right;
  transition: all var(--transition-base);
}

.chatbot-window.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.chatbot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.125rem 1.5rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
}

.chatbot-header-info {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.chatbot-avatar {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: white;
  padding: 0.375rem;
  object-fit: contain;
}

.chatbot-name {
  font-weight: 700;
  font-size: 1.0625rem;
}

.chatbot-status {
  font-size: 0.75rem;
  opacity: 0.85;
}

.chatbot-close {
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.chatbot-close:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.1);
}

.chatbot-close svg {
  width: 1rem;
  height: 1rem;
}

/* Chatbot Messages */
.chatbot-messages {
  height: 340px;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
  background: var(--background-secondary);
}

.chat-message {
  display: flex;
  gap: 0.875rem;
  animation: fadeInUp 0.3s ease-out;
}

.chat-message.user {
  justify-content: flex-end;
}

.chat-message-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.chat-message.user .chat-message-avatar {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
}

.chat-message-bubble {
  max-width: 75%;
  padding: 0.875rem 1.125rem;
  border-radius: var(--radius-xl);
  word-wrap: break-word;
  white-space: pre-wrap;
  line-height: 1.6;
  font-size: 0.9375rem;
}

.chat-message.bot .chat-message-bubble {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--foreground);
  border-bottom-left-radius: var(--radius-xs);
}

.chat-message.user .chat-message-bubble {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  border-bottom-right-radius: var(--radius-xs);
}

/* Typing Indicator */
.typing-indicator {
  display: flex;
  gap: 0.3rem;
  padding: 0.875rem 1.125rem;
}

.typing-indicator span {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--muted);
  animation: typingBounce 1.4s infinite;
}

.typing-indicator span:nth-child(1) {
  animation-delay: 0s;
}
.typing-indicator span:nth-child(2) {
  animation-delay: 0.2s;
}
.typing-indicator span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typingBounce {
  0%,
  60%,
  100% {
    opacity: 0.4;
    transform: translateY(0);
  }
  30% {
    opacity: 1;
    transform: translateY(-8px);
  }
}

/* Chatbot Input */
.chatbot-input {
  padding: 1.125rem;
  border-top: 1px solid var(--border);
  background: var(--card);
}

.chatbot-form {
  display: flex;
  gap: 0.75rem;
}

.chatbot-input-field {
  flex: 1;
  padding: 0.875rem 1.125rem;
  background: var(--background);
  border: 2px solid var(--border);
  border-radius: var(--radius-xl);
  font-size: 0.9375rem;
  color: var(--foreground);
  transition: all var(--transition-fast);
}

.chatbot-input-field:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-subtle);
}

.chatbot-input-field::placeholder {
  color: var(--muted);
}

.chatbot-send {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.chatbot-send:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 20px var(--primary-glow);
}

.chatbot-send svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* ===== Notification Panel ===== */
.notification-panel {
  position: fixed;
  top: 5.5rem;
  right: 1.5rem;
  width: 380px;
  max-width: calc(100vw - 3rem);
  max-height: calc(100vh - 8rem);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-2xl);
  z-index: var(--z-dropdown);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-15px);
  transition: all var(--transition-base);
  overflow: hidden;
}

.notification-panel.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.notification-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.notification-panel-title {
  font-weight: 700;
  color: var(--foreground);
}

.notification-panel-body {
  max-height: 420px;
  overflow-y: auto;
}

.notification-item {
  padding: 1.125rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
  transition: background var(--transition-fast);
  cursor: pointer;
}

.notification-item:hover {
  background: var(--background-secondary);
}

.notification-item.unread {
  background: var(--primary-subtle);
}

.notification-item-title {
  font-weight: 600;
  font-size: 0.9375rem;
  margin-bottom: 0.375rem;
  color: var(--foreground);
}

.notification-item-text {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
}

.notification-item-time {
  font-size: 0.75rem;
  color: var(--muted-light);
  margin-top: 0.625rem;
}

/* ===== General Notification Overlay ===== */
.notification-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: var(--z-modal);
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

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

.notification-modal {
  background: var(--card);
  border-radius: var(--radius-3xl);
  padding: 3rem;
  max-width: 500px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-2xl);
  transform: scale(0.9);
  transition: transform var(--transition-spring);
}

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

.notification-modal-title {
  font-size: 1.625rem;
  font-weight: 700;
  margin-bottom: 1.125rem;
  color: var(--foreground);
}

.notification-modal-text {
  color: var(--muted);
  margin-bottom: 2.25rem;
  line-height: 1.75;
}

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

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.9375rem;
  margin-bottom: 0.625rem;
  color: var(--foreground);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 1rem 1.125rem;
  background: var(--background);
  border: 2px solid var(--border);
  border-radius: var(--radius-xl);
  font-size: 1rem;
  color: var(--foreground);
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-subtle);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--muted);
}

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

/* Checkbox Styling */
.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.375rem;
  background: var(--background);
  border: 2px solid var(--border);
  border-radius: var(--radius-xl);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.form-checkbox:hover {
  border-color: var(--primary);
}

.form-checkbox.selected {
  border-color: var(--primary);
  background: var(--primary-subtle);
}

.form-checkbox input[type="checkbox"] {
  width: 1.375rem;
  height: 1.375rem;
  accent-color: var(--primary);
  cursor: pointer;
}

/* ===== Responsive Utilities ===== */
@media (max-width: 767px) {
  .section {
    padding: 4.5rem 0;
  }
  .section-lg {
    padding: 5.5rem 0;
  }

  .hero {
    padding-top: 5rem;
  }
  .hero-stats {
    gap: 1rem;
  }

  .grid {
    gap: 1.5rem;
  }

  .footer-cta {
    padding: 2.25rem 1.75rem;
  }

  .hero-float-1 {
    width: 200px;
    height: 200px;
  }
  .hero-float-2 {
    width: 150px;
    height: 150px;
  }
  .hero-float-3 {
    display: none;
  }

  .portfolio-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  }

  .chat-message-bubble {
    max-width: 88%;
  }
  .section-title {
    font-size: 1.875rem;
  }
}

/* ===== Print Styles ===== */
@media print {
  .header,
  .chatbot-widget,
  .notification-panel,
  .mobile-menu {
    display: none !important;
  }
  body {
    background: white;
    color: black;
  }
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== Custom Scrollbar ===== */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--background-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--muted-light);
  border-radius: var(--radius-full);
  border: 2px solid var(--background-secondary);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--muted);
}

/* ===== Selection ===== */
::selection {
  background: var(--primary);
  color: white;
}
