/* ============================================
   PROJECT SHOWCASE WEBSITE - STYLESHEET
   Modern, responsive design with dark theme
   ============================================ */

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

/* ---------- CSS Variables (Design Tokens) ---------- */
:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-card: #1a1a2e;
  --bg-card-hover: #1e1e35;
  --bg-glass: rgba(255, 255, 255, 0.04);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(99, 102, 241, 0.4);
  --text-primary: #f0f0f5;
  --text-secondary: #a0a0b8;
  --text-muted: #6b6b80;
  --accent: #6366f1;
  --accent-light: #818cf8;
  --accent-dark: #4f46e5;
  --accent-glow: rgba(99, 102, 241, 0.25);
  --success: #22c55e;
  --gradient-1: linear-gradient(135deg, #6366f1, #a855f7);
  --gradient-2: linear-gradient(135deg, #6366f1 0%, #ec4899 100%);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 30px rgba(99, 102, 241, 0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --font-body: 'Inter', sans-serif;
  --font-heading: 'Outfit', sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul { list-style: none; }

/* ---------- Background Glow Effects ---------- */
.bg-glow {
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.12;
  pointer-events: none;
  z-index: 0;
}

.bg-glow--1 {
  top: -100px;
  left: -100px;
  background: #6366f1;
}

.bg-glow--2 {
  bottom: -150px;
  right: -100px;
  background: #a855f7;
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  padding: 10px 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-1);
  border-radius: 2px;
  transition: var(--transition);
}

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

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

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

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

/* ---------- Container ---------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Section ---------- */
.section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}

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

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 12px;
  padding: 6px 16px;
  background: var(--accent-glow);
  border-radius: 20px;
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  background: linear-gradient(to right, var(--text-primary), var(--text-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-desc {
  color: var(--text-muted);
  max-width: 550px;
  margin: 0 auto;
  font-size: 1rem;
}

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

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 80px;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

/* Floating orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
  pointer-events: none;
  animation: floatOrb 8s ease-in-out infinite;
}

.hero-orb--1 {
  width: 350px;
  height: 350px;
  background: #6366f1;
  top: 10%;
  left: -5%;
  animation-delay: 0s;
}

.hero-orb--2 {
  width: 250px;
  height: 250px;
  background: #ec4899;
  top: 60%;
  right: -3%;
  animation-delay: -3s;
}

.hero-orb--3 {
  width: 200px;
  height: 200px;
  background: #a855f7;
  bottom: 5%;
  left: 30%;
  animation-delay: -5s;
}

@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -20px) scale(1.05); }
  50% { transform: translate(-20px, 15px) scale(0.95); }
  75% { transform: translate(15px, 25px) scale(1.02); }
}

.hero-content {
  max-width: 750px;
  position: relative;
  z-index: 2;
}

/* Badge with pulse dot */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--accent-light);
  border: 1px solid rgba(99, 102, 241, 0.3);
  background: rgba(99, 102, 241, 0.08);
  padding: 8px 20px;
  border-radius: 30px;
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease forwards;
  backdrop-filter: blur(10px);
}

.hero-badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
  50% { opacity: 0.7; box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  animation: fadeInUp 0.6s ease 0.1s forwards;
  opacity: 0;
}

.hero h1 .gradient-text {
  background: var(--gradient-2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: shimmerGradient 3s linear infinite;
}

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

/* Typing cursor */
.typing-cursor {
  font-weight: 300;
  color: var(--accent-light);
  animation: blink 0.8s step-end infinite;
}

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

.hero p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.6s ease 0.2s forwards;
  opacity: 0;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.6s ease 0.3s forwards;
  opacity: 0;
}

/* Stats bar */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-top: 48px;
  animation: fadeInUp 0.6s ease 0.5s forwards;
  opacity: 0;
}

.hero-stat {
  text-align: center;
}

.hero-stat__number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat__label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
}

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-body);
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: var(--gradient-1);
  color: #fff;
  box-shadow: 0 4px 20px var(--accent-glow);
}

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

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

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

/* ---------- Project Cards Grid ---------- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}

/* ---------- Project Card ---------- */
.project-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: var(--transition);
  opacity: 0;
  transform: translateY(30px);
}

.project-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.project-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}

.project-card__image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: var(--transition);
}

.project-card:hover .project-card__image {
  transform: scale(1.03);
}

.project-card__image-wrapper {
  overflow: hidden;
  position: relative;
}

.project-card__id-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(10, 10, 15, 0.75);
  backdrop-filter: blur(8px);
  color: var(--accent-light);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.project-card__body {
  padding: 24px;
}

.project-card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.project-card__desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.project-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.project-card__price {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.project-card__btn {
  padding: 10px 18px;
  font-size: 0.8rem;
  border-radius: var(--radius-sm);
  background: var(--accent-glow);
  color: var(--accent-light);
  border: 1px solid rgba(99, 102, 241, 0.3);
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-body);
  transition: var(--transition);
  white-space: nowrap;
}

.project-card__btn:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-1px);
}

/* ---------- Contact Section ---------- */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info {
  padding-right: 24px;
}

.contact-info h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.contact-info p {
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.7;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  color: var(--text-secondary);
}

.contact-detail__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 0.95rem;
  font-family: var(--font-body);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

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

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

.form-submit-btn {
  width: 100%;
  padding: 16px;
  font-size: 1rem;
}

/* Success toast */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--bg-card);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: var(--success);
  padding: 16px 28px;
  border-radius: var(--radius-md);
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition);
  z-index: 9999;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border-color);
  padding: 48px 0 32px;
  position: relative;
  z-index: 1;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition);
  font-size: 1rem;
}

.social-links a:hover {
  border-color: var(--accent);
  color: var(--accent-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

/* ---------- Project Card Link Wrapper ---------- */
.project-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

/* ---------- Detail Page ---------- */
.detail-page {
  padding-top: 100px;
  padding-bottom: 60px;
  position: relative;
  z-index: 1;
  min-height: 70vh;
}

/* Loading spinner */
.detail-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
  gap: 16px;
  color: var(--text-muted);
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border-color);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Breadcrumb */
.detail-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.detail-breadcrumb a {
  color: var(--text-secondary);
  transition: var(--transition);
}

.detail-breadcrumb a:hover {
  color: var(--accent-light);
}

.detail-breadcrumb span {
  color: var(--text-primary);
}

/* Top section: Gallery + Info */
.detail-top {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
  align-items: start;
}

/* Gallery */
.detail-gallery__main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  margin-bottom: 12px;
}

.detail-gallery__main img {
  width: 100%;
  height: 380px;
  object-fit: contain;
  background: var(--bg-secondary);
  transition: 0.4s ease;
  cursor: zoom-in;
}

.detail-gallery__thumbs {
  display: flex;
  gap: 10px;
}

.detail-gallery__thumb {
  flex: 1;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  background: none;
  padding: 0;
  transition: var(--transition);
  opacity: 0.5;
}

.detail-gallery__thumb.active,
.detail-gallery__thumb:hover {
  border-color: var(--accent);
  opacity: 1;
}

.detail-gallery__thumb img {
  width: 100%;
  height: 70px;
  object-fit: cover;
}

/* Info panel */
.detail-info__badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-light);
  background: var(--accent-glow);
  border: 1px solid rgba(99, 102, 241, 0.2);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.detail-info__id {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  padding: 5px 14px;
  border-radius: 20px;
  margin-left: 8px;
  margin-bottom: 12px;
}

.detail-info__title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.25;
}

.detail-info__desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 24px;
}

.detail-info__price-row {
  margin-bottom: 24px;
}

.detail-info__price {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  background: var(--gradient-2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.detail-info__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

/* Tech stack tags */
.detail-info__tech h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.detail-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-tag {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 6px 14px;
  border-radius: 20px;
  transition: var(--transition);
}

.tech-tag:hover {
  border-color: var(--accent);
  color: var(--accent-light);
}

/* Content Sections (Problem & Solution) */
.detail-content-section {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}

.detail-content-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
}

.detail-content-section.problem::before {
  background: #ef4444;
}

.detail-content-section.solution::before {
  background: #3b82f6;
}

.detail-content-section__title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.detail-content-section__title i {
  font-size: 1.2rem;
}

.detail-content-section.problem .detail-content-section__title i {
  color: #ef4444;
}

.detail-content-section.solution .detail-content-section__title i {
  color: #3b82f6;
}

.detail-content-section__body {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
}

/* Features section */
.detail-features {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: 48px;
}

.detail-features__title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}

.detail-features__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding: 10px 14px;
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.feature-item:hover {
  border-color: rgba(34, 197, 94, 0.3);
  background: rgba(34, 197, 94, 0.05);
}

/* CTA banner */
.detail-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: 20px;
}

.detail-cta h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.detail-cta p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

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

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .hero h1 { font-size: 2.5rem; }
  .section-title { font-size: 2rem; }
  .contact-wrapper { grid-template-columns: 1fr; }
  .contact-info { padding-right: 0; }
  .detail-top { grid-template-columns: 1fr; gap: 32px; }
  .detail-info__title { font-size: 1.65rem; }
  .hero-stats { gap: 24px; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 260px;
    height: 100vh;
    background: var(--bg-secondary);
    flex-direction: column;
    padding: 80px 32px 32px;
    gap: 24px;
    border-left: 1px solid var(--border-color);
    transition: var(--transition);
    z-index: 999;
  }

  .nav-links.active { right: 0; }
  .nav-toggle { display: flex; z-index: 1001; }

  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }
  .projects-grid { grid-template-columns: 1fr; }
  .section { padding: 70px 0; }
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  .detail-features__grid { grid-template-columns: 1fr; }
  .detail-features { padding: 24px; }
  .detail-cta { flex-direction: column; text-align: center; padding: 28px; }
  .detail-gallery__main img { height: 260px; }
  .detail-gallery__thumb img { height: 55px; }
  .hero-orb { display: none; }
  .hero-stats { gap: 16px; flex-wrap: wrap; }
  .hero-stat__number { font-size: 1.5rem; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.65rem; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .project-card__footer { flex-direction: column; align-items: flex-start; }
  .project-card__btn { width: 100%; text-align: center; }
  .contact-form-card { padding: 24px; }
  .detail-info__actions { flex-direction: column; }
  .detail-info__actions .btn { width: 100%; justify-content: center; }
  .hero-stats { gap: 12px; }
  .hero-stat__divider { height: 30px; }
}

/* ---------- Lightbox Modal ---------- */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.lightbox.show {
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
}
.lightbox-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 90vh;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-glow);
  transform: scale(0.9);
  transition: transform 0.3s ease;
  object-fit: contain;
}
.lightbox.show .lightbox-content {
  transform: scale(1);
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}
.lightbox-close:hover,
.lightbox-close:focus {
  color: var(--accent-light);
  text-decoration: none;
  cursor: pointer;
}


/* ---------- Support Banner ---------- */
.support-banner {
  padding: 60px 0;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(168, 85, 247, 0.05) 100%);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  position: relative;
  z-index: 1;
}

.support-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.support-text h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 8px;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.support-text p {
  color: var(--text-secondary);
  max-width: 600px;
}

.support-email {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--accent-light);
  font-weight: 600;
  font-size: 1.1rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.support-email:hover {
  border-color: var(--accent);
  background: var(--accent-glow);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.support-email i {
  font-size: 1.3rem;
}

@media (max-width: 768px) {
  .support-content {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
  
  .support-text p {
    margin: 0 auto;
  }
  
  .support-email {
    width: 100%;
    justify-content: center;
  }
}

/* ---------- Order Modal ---------- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.modal-overlay.show {
  display: flex;
  opacity: 1;
}

.order-modal {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 500px;
  max-height: 95vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(30px);
  transition: transform 0.3s ease;
  padding: 40px;
  box-shadow: var(--shadow-lg), 0 0 50px rgba(99, 102, 241, 0.2);
}

.modal-overlay.show .order-modal {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 1.8rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  line-height: 1;
}

.modal-close:hover {
  color: var(--accent-light);
  transform: scale(1.1);
}

.modal-header {
  margin-bottom: 28px;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.modal-subtitle {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.modal-form .form-group {
  margin-bottom: 20px;
}

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

.modal-form .btn-primary {
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: 1.1rem;
}

@media (max-width: 480px) {
  .order-modal {
    padding: 30px 24px;
  }
  .modal-title {
    font-size: 1.5rem;
  }
}
