/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'Inter', 'Poppins', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(circle at 25% 25%, rgba(255, 61, 61, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(255, 108, 107, 0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* ===== TOKENS ===== */
:root {
  /* Theme-dependent tokens */
  --bg-primary: #0a0a0a;
  --bg-secondary: #121212;
  --bg-tertiary: #1a1a1a;
  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  --border-color: rgba(255, 255, 255, 0.1);
  --nav-bg: rgba(10, 10, 10, 0.85);
  --card-bg: #161616;
  --card-hover: #1e1e1e;
  --accent-color: #ff3d3d;
  --accent-glow: rgba(255, 61, 61, 0.2);

  /* Constants */
  --black: #0a0a0a;
  --white: #ffffff;
  --gradient: linear-gradient(135deg, #ff3d3d 0%, #ff8c3d 100%);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Light Theme Overrides */
body.light-mode {
  --bg-primary: #ffffff;
  --bg-secondary: #f9fafb;
  --bg-tertiary: #f3f4f6;
  --text-primary: #0a0a0a;
  --text-secondary: #4b5563;
  --text-muted: #9ca3af;
  --border-color: rgba(0, 0, 0, 0.06);
  --nav-bg: rgba(255, 255, 255, 0.85);
  --card-bg: #ffffff;
  --card-hover: #f9fafb;
  --accent-glow: rgba(255, 61, 61, 0.1);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.10);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  letter-spacing: 0.02em;
}

.btn-primary {
  background: var(--text-primary);
  color: var(--bg-primary);
  box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
  background: var(--accent-color);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-glow);
}

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

.btn-ghost:hover {
  border-color: var(--accent-color);
  background: var(--accent-glow);
  transform: translateY(-2px);
}

.full-width {
  width: 100%;
  justify-content: center;
  border-radius: var(--radius-sm);
}

.sm-btn {
  padding: 10px 20px;
  font-size: 0.85rem;
  margin-top: 12px;
}

/* ===== SECTION HEADER ===== */
.section-tag {
  display: inline-block;
  background: var(--bg-tertiary);
  color: var(--accent-color);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 50px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
  border: 1px solid var(--border-color);
}

.section-heading {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-sub {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 560px;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header .section-sub {
  margin: 0 auto;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-sm);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
  position: relative;
}

.logo:hover {
  transform: scale(1.02);
}

.logo-img {
  height: 56px;
  width: auto;
  display: block;
  filter: brightness(1.2) contrast(1.1);
  transition: var(--transition);
}

.logo:hover .logo-img {
  animation: logo-spin 0.6s ease-in-out;
}

@keyframes logo-spin {
  0% { transform: rotate(0deg); }
  50% { transform: rotate(180deg) scale(1.1); }
  100% { transform: rotate(360deg); }
}

body.light-mode .logo-img {
  filter: brightness(0.9) contrast(1.2);
}

.logo-text {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.logo-accent {
  color: var(--accent-color);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 14px;
  border-radius: 8px;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--text-primary);
  background: var(--bg-tertiary);
}

.nav-links .nav-cta {
  background: var(--text-primary);
  color: var(--bg-primary);
  border-radius: 50px;
  padding: 10px 22px;
}

.nav-links a.active-link {
  color: var(--text-primary);
  background: var(--bg-tertiary);
}

.nav-links .nav-cta:hover {
  background: var(--accent-color);
  color: var(--white);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
  display: block;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 70% 30%, var(--accent-glow) 0%, var(--bg-primary) 70%);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  background: var(--bg-tertiary);
  color: var(--accent-color);
  border: 1px solid var(--border-color);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 7px 18px;
  border-radius: 50px;
  margin-bottom: 24px;
  letter-spacing: 0.05em;
}

.hero-heading {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 480px;
  margin-bottom: 36px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border-color);
}

/* Orbit Visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.orbit-container {
  position: relative;
  width: 380px;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit-core {
  width: 90px;
  height: 90px;
  background: var(--bg-tertiary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  position: relative;
  box-shadow: 0 0 40px var(--accent-glow);
  border: 1px solid var(--border-color);
}

.core-logo {
  width: 65px;
  height: auto;
  display: block;
  filter: brightness(1.2) contrast(1.1);
  transition: var(--transition);
}

body.light-mode .core-logo {
  filter: brightness(0.9) contrast(1.2);
}

.orbit {
  position: absolute;
  border-radius: 50%;
  border: 1.5px dashed rgba(255, 61, 61, 0.25);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  animation: orbitSpin linear infinite;
}

.orbit-1 {
  width: 160px;
  height: 160px;
  animation-duration: 8s;
}

.orbit-2 {
  width: 250px;
  height: 250px;
  animation-duration: 14s;
  animation-direction: reverse;
}

.orbit-3 {
  width: 340px;
  height: 340px;
  animation-duration: 20s;
}

.orbit-icon {
  width: 40px;
  height: 40px;
  background: var(--card-bg);
  color: var(--accent-color);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-top: -20px;
}

@keyframes orbitSpin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.orbit-icon {
  animation: counterSpin linear infinite;
}

.icon-1 {
  animation-duration: 8s;
}

.icon-2 {
  animation-duration: 14s;
}

.icon-3 {
  animation-duration: 20s;
}

@keyframes counterSpin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(-360deg);
  }
}

.orbit-bg-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 61, 61, 0.08);
}

.ring-a {
  width: 160px;
  height: 160px;
}

.ring-b {
  width: 250px;
  height: 250px;
}

.ring-c {
  width: 340px;
  height: 340px;
}

.hero-gradient-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.blob-1 {
  width: 400px;
  height: 400px;
  background: rgba(255, 61, 61, 0.08);
  top: 10%;
  right: -5%;
}

.blob-2 {
  width: 300px;
  height: 300px;
  background: rgba(255, 140, 61, 0.06);
  bottom: 10%;
  left: 0%;
}

/* ===== MARQUEE ===== */
.marquee-wrapper {
  overflow: hidden;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 18px 0;
}

.marquee-track {
  display: flex;
  gap: 32px;
  align-items: center;
  animation: marquee 28s linear infinite;
  width: max-content;
}

.marquee-track span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.marquee-track .dot {
  color: var(--accent-color);
  font-size: 0.65rem;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ===== ABOUT ===== */
.about {
  background: var(--bg-primary);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-text {
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-size: 1.02rem;
}

.about-left .btn {
  margin-top: 8px;
}

.about-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.about-card {
  background: var(--bg-secondary);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.about-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  background: var(--card-bg);
  border-color: var(--accent-color);
}

.about-card-icon {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.about-card h4 {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.about-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ===== SERVICES ===== */
.services {
  background: var(--bg-secondary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.service-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--border-color);
  transition: var(--transition);
  cursor: default;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient);
  opacity: 0;
  transition: var(--transition);
  border-radius: var(--radius);
}

.service-card:hover::before {
  opacity: 0.03;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.service-card h3 {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== WHY US ===== */
.why-us {
  background: var(--bg-primary);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

.why-card {
  background: var(--bg-secondary);
  border-radius: var(--radius);
  padding: 36px 28px;
  border: 1px solid var(--border-color);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  background: var(--card-bg);
  border-color: var(--accent-color);
}

.why-number {
  font-family: 'Poppins', sans-serif;
  font-size: 3rem;
  font-weight: 900;
  color: var(--bg-tertiary);
  line-height: 1;
  margin-bottom: 8px;
  position: absolute;
  top: 20px;
  right: 24px;
}

.why-icon {
  font-size: 1.8rem;
  margin-bottom: 16px;
}

.why-card h3 {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.why-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ===== PROCESS ===== */
.process {
  background: var(--bg-secondary);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 24px;
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  margin: 0 8px;
  transition: var(--transition);
}

.process-step:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: var(--accent-color);
}

.step-num {
  font-family: 'Poppins', sans-serif;
  font-size: 2.4rem;
  font-weight: 900;
  color: #f75540;
  margin-bottom: 16px;
  line-height: 1;
}

.step-content h3 {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.step-content p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.step-arrow {
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--gray-400);
  z-index: 2;
}

/* ===== PORTFOLIO ===== */
.portfolio {
  background: var(--bg-primary);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.portfolio-card {
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
}

.portfolio-img {
  position: relative;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  overflow: hidden;
}

.portfolio-emoji {
  font-size: 4rem;
  transition: var(--transition);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.82);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 28px;
  opacity: 0;
  transition: var(--transition);
}

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

.portfolio-card:hover .portfolio-emoji {
  transform: scale(1.15);
  opacity: 0.2;
}

.portfolio-category {
  font-size: 0.75rem;
  font-weight: 600;
  color: #a5b4fc;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.portfolio-overlay h3 {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.portfolio-overlay p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* ===== COMMUNITY ===== */
.community {
  background: var(--bg-secondary);
}

.community-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.community-text {
  color: var(--text-secondary);
  margin-bottom: 32px;
  font-size: 1.02rem;
}

.community-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

.community-feat {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--card-bg);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.community-feat:hover {
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

.feat-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.community-feat h4 {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.community-feat p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.community-visual {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.comm-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  transition: var(--transition);
  cursor: default;
}

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

.comm-card span {
  font-size: 1.8rem;
}

.comm-card p {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
}

/* ===== CONTACT ===== */
.contact {
  background: var(--bg-primary);
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(360px, 1.4fr);
  gap: 60px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
}

.contact-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border-radius: calc(var(--radius-sm) + 4px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 18px;
  transition: var(--transition);
}

.contact-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.contact-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  color: var(--accent-color);
}

.contact-item h4 {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.contact-item a {
  font-size: 0.92rem;
  color: var(--text-secondary);
  word-break: break-all;
  transition: color 0.25s ease;
}

.contact-item a:hover {
  color: var(--accent-color);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 32px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
}

.form-group select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--accent-color) 50%), linear-gradient(135deg, var(--accent-color) 50%, transparent 50%), radial-gradient(circle at right 14px center, var(--accent-color) 8px, transparent 0);
  background-repeat: no-repeat;
  background-position: calc(100% - 18px) 50%, calc(100% - 24px) 50%, calc(100% - 18px) 50%;
  background-size: 8px 8px, 8px 8px, 12px 12px;
}

.form-group select:focus {
  outline: none;
}

.form-success,
.form-error {
  display: none;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 0.92rem;
  font-weight: 500;
}

.form-error {
  background: rgba(255, 71, 87, 0.12);
  color: #ff7a89;
  border: 1px solid rgba(255, 71, 87, 0.25);
}

.form-success {
  background: rgba(34, 197, 94, 0.12);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.form-success.show,
.form-error.show {
  display: block;
}

.glass {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary {
  border-radius: 999px;
  overflow: hidden;
}

#form-submit {
  box-shadow: 0 20px 45px rgba(255, 71, 87, 0.18);
}

#form-submit:hover {
  transform: translateY(-2px);
}

.contact-item h4 {
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.contact-item a {
  font-size: 0.88rem;
  color: var(--text-secondary);
  word-break: break-all;
}

.contact-item a:hover {
  color: #6366f1;
}

.ticket-btn {
  margin-top: 8px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-color);
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--text-primary);
  background: var(--bg-secondary);
  transition: var(--transition);
  outline: none;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-color);
  background: var(--bg-tertiary);
  box-shadow: 0 0 0 4px var(--accent-glow);
}

.form-success {
  display: none;
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 0.9rem;
  font-weight: 500;
}

.form-success.show {
  display: block;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--black);
  color: rgba(255, 255, 255, 0.8);
  padding: 80px 0 0;
  border-top: 1px solid var(--border-color);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
}

.footer .logo-text {
  color: #fff;
}

.footer .logo-accent {
  color: var(--accent-color);
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 16px 0 24px;
  max-width: 280px;
  line-height: 1.7;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-btn:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
  transform: translateY(-3px);
  box-shadow: 0 4px 15px var(--accent-glow);
}

.footer-links h4 {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-links a {
  display: block;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.88rem;
  margin-bottom: 12px;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-contact h4 {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-contact>a {
  display: block;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  word-break: break-all;
  margin-bottom: 8px;
  transition: var(--transition);
}

.footer-contact>a:hover {
  color: #fff;
}

.footer-contact .btn-primary {
  background: #6366f1;
}

.footer-contact .btn-primary:hover {
  background: #818cf8;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.35);
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.reveal-right {
  transform: translateX(40px);
}

.reveal.visible {
  opacity: 1;
  transform: translate(0);
}

.reveal-child {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal-child.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== THEME TOGGLE ===== */
.theme-toggle {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  margin-left: 10px;
}

.theme-toggle:hover {
  background: var(--accent-glow);
  border-color: var(--accent-color);
  transform: rotate(15deg);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

[data-theme-icon="sun"] { display: none; }
body.light-mode [data-theme-icon="sun"] { display: block; }
body.light-mode [data-theme-icon="moon"] { display: none; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .process-steps {
    grid-template-columns: 1fr 1fr;
  }

  .step-arrow {
    display: none;
  }

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

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 72px 0;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    padding: 16px;
    gap: 4px;
    box-shadow: var(--shadow-md);
  }

  .nav-links.open {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual {
    order: -1;
  }

  .orbit-container {
    width: 260px;
    height: 260px;
  }

  .orbit-1 {
    width: 110px;
    height: 110px;
  }

  .orbit-2 {
    width: 170px;
    height: 170px;
  }

  .orbit-3 {
    width: 230px;
    height: 230px;
  }

  .ring-a {
    width: 110px;
    height: 110px;
  }

  .ring-b {
    width: 170px;
    height: 170px;
  }

  .ring-c {
    width: 230px;
    height: 230px;
  }

  .about-inner,
  .community-inner,
  .contact-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .process-steps {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 16px;
  }
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: var(--accent-color);
  border-radius: 4px;
  transition: var(--transition);
}

::-webkit-scrollbar-thumb:hover {
  background: #ff6b6b;
  box-shadow: 0 0 10px var(--accent-glow);
}

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

/* ===== ENHANCED ANIMATIONS ===== */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px var(--accent-glow); }
  50% { box-shadow: 0 0 40px var(--accent-glow), 0 0 60px var(--accent-glow); }
}

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

.orbit-container {
  animation: orbit-rotate 20s linear infinite;
}

.hero-gradient-blob {
  animation: float 6s ease-in-out infinite;
}

.hero-gradient-blob.blob-2 {
  animation-delay: -3s;
}

/* ===== GLASSMORPHISM EFFECTS ===== */
.glass {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* ===== ENHANCED HOVER EFFECTS ===== */
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.about-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.comm-card:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 35px var(--accent-glow);
}

/* ===== IMPROVED BUTTONS ===== */
.btn-primary {
  position: relative;
  overflow: hidden;
}

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

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

/* ===== MARQUEE ENHANCEMENT ===== */
.marquee-track {
  animation: scroll 30s linear infinite;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-wrapper:hover .marquee-track {
  animation-play-state: paused;
}

/* ===== IMPROVED TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  letter-spacing: -0.02em;
}

.section-heading {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

body.light-mode .section-heading {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* ===== ACCENT COLOR IMPROVEMENTS ===== */
:root {
  --accent-color: #ff4757;
  --accent-hover: #ff3742;
  --gradient: linear-gradient(135deg, #ff4757 0%, #ff6b6b 50%, #ffa726 100%);
  --gradient-secondary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

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

body {
  animation: fadeInUp 0.8s ease-out;
}

/* ===== IMPROVED SHADOWS ===== */
:root {
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.3);
}

body.light-mode {
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.service-icon svg {
  width: 30px;
  height: 30px;
  stroke: var(--accent-color);
  stroke-width: 1.5;
}

.about-card-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--accent-color);
  stroke-width: 1.5;
}

.why-icon svg {
  width: 30px;
  height: 30px;
  stroke: var(--accent-color);
  stroke-width: 1.5;
}

.portfolio-emoji svg {
  width: 52px;
  height: 52px;
  stroke: rgba(0, 0, 0, 0.25);
  stroke-width: 1.2;
}

.feat-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent-color);
  stroke-width: 1.5;
}

.comm-card span svg {
  width: 28px;
  height: 28px;
  stroke: var(--accent-color);
  stroke-width: 1.5;
}

.contact-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent-color);
  stroke-width: 1.5;
}

.social-btn svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
  stroke-width: 2;
}

.orbit-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent-color);
  stroke-width: 1.5;
}

.ticket-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 1.5;
  margin-right: 4px;
}

@media (max-width: 480px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

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

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

  .community-visual {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn {
    text-align: center;
    justify-content: center;
  }
}

/* ===== MOUSE TRAIL ===== */
.mouse-trail {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--accent-color);
  border-radius: 50%;
  pointer-events: none;
  animation: trail-fade 1s ease-out forwards;
  z-index: 9999;
}

@keyframes trail-fade {
  0% {
    opacity: 0.8;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(0);
  }
}

/* ===== ENHANCED CARD HOVER ===== */
.service-card,
.why-card,
.about-card,
.comm-card {
  position: relative;
  overflow: hidden;
}

.service-card::before,
.why-card::before,
.about-card::before,
.comm-card::before {
  content: '';
  position: absolute;
  top: var(--mouse-y, 0);
  left: var(--mouse-x, 0);
  width: 0;
  height: 0;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
  pointer-events: none;
}

.service-card:hover::before,
.why-card:hover::before,
.about-card:hover::before,
.comm-card:hover::before {
  width: 300px;
  height: 300px;
}

/* ===== ACTIVE LINK STYLES ===== */
.nav-links a.active-link {
  color: var(--accent-color);
  position: relative;
}

.nav-links a.active-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: var(--accent-color);
  border-radius: 50%;
  animation: pulse-glow 2s infinite;
}

/* ===== LOADING STATE ===== */
body {
  opacity: 0;
  transition: opacity 0.3s ease;
}

body.loaded {
  opacity: 1;
}

/* ===== IMPROVED FOCUS STATES ===== */
.btn:focus,
input:focus,
select:focus,
textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px var(--accent-glow);
}

/* ===== ENHANCED RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .mouse-trail {
    display: none; /* Disable on mobile for performance */
  }

  .hero-gradient-blob {
    display: none; /* Simplify on mobile */
  }
}