/* Muhammad Hasan Portfolio - Standalone HTML */

:root {
  --bg: #050508;
  --fg: #f4f4f5;
  --muted: #71717a;
  --accent: #00e5ff;
  --accent-2: #a855f7;
  --surface: #0f0f14;
  --surface-2: #16161d;
  --border: rgba(255, 255, 255, 0.08);
  --font-heading: "Syne", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  overflow-x: hidden;
  line-height: 1.6;
}
main { position: relative; z-index: 1; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

::selection { background: rgba(0, 229, 255, 0.25); color: #fff; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--accent), var(--accent-2)); border-radius: 3px; }

.container { max-width: 1280px; margin: 0 auto; width: 100%; padding: 0 1.5rem; }
.section { padding: 4rem 0; }
@media (min-width: 768px) { .section { padding: 5rem 0; } }
@media (min-width: 1024px) { .section { padding: 6rem 0; } }

.gradient-text {
  background: linear-gradient(135deg, #00e5ff 0%, #a855f7 50%, #00e5ff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientShift 8s ease infinite;
}
@keyframes gradientShift {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

.glass {
  background: rgba(15, 15, 20, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
}
.glow { box-shadow: 0 0 40px rgba(0, 229, 255, 0.15), 0 0 80px rgba(168, 85, 247, 0.08); }

.section-label {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  border: 1px solid rgba(0, 229, 255, 0.3);
  background: rgba(0, 229, 255, 0.05);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.875rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.section-desc {
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 1rem;
  max-width: 42rem;
}
.section-header { margin-bottom: 4rem; }
.section-header.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-header.center .section-desc { margin-left: auto; margin-right: auto; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  transition: all 0.3s;
}
@media (min-width: 768px) { .btn { padding: 0.875rem 2rem; font-size: 1rem; } }
.btn-primary {
  background: linear-gradient(to right, var(--accent), var(--accent-2));
  color: var(--bg);
}
.btn-primary:hover { box-shadow: 0 0 30px rgba(0, 229, 255, 0.3); transform: translateY(-2px); }
.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
}
.btn-secondary:hover { border-color: rgba(0, 229, 255, 0.5); background: rgba(255, 255, 255, 0.1); }

/* Loader */
#loader {
  position: fixed; inset: 0; z-index: 10000;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--bg);
  transition: opacity 0.6s, visibility 0.6s;
}
#loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-logo { font-family: var(--font-heading); font-size: 3rem; font-weight: 700; margin-bottom: 2rem; }
.loader-bar-wrap { width: 12rem; height: 2px; background: rgba(255,255,255,0.1); border-radius: 9999px; overflow: hidden; margin-bottom: 1rem; }
.loader-bar { height: 100%; width: 0; background: linear-gradient(to right, var(--accent), var(--accent-2)); border-radius: 9999px; transition: width 0.1s; }
.loader-text { font-size: 0.875rem; color: var(--muted); }

/* Progress */
#scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0; z-index: 9999;
  background: linear-gradient(to right, var(--accent), var(--accent-2), var(--accent));
  transform-origin: left;
}

/* Cursor */
#cursor-dot, #cursor-ring {
  position: fixed; pointer-events: none; z-index: 9998;
  border-radius: 50%; display: none;
}
#cursor-dot { width: 8px; height: 8px; background: var(--accent); mix-blend-mode: difference; }
#cursor-ring {
  width: 40px; height: 40px;
  border: 1px solid rgba(0, 229, 255, 0.5);
  transition: width 0.3s, height 0.3s, opacity 0.3s;
}
@media (min-width: 768px) {
  #cursor-dot, #cursor-ring { display: block; }
}

/* Navbar */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 1.25rem 0;
  transition: all 0.5s;
}
.navbar.scrolled { padding: 0.75rem 0; }
.navbar.scrolled .navbar-inner { background: rgba(15,15,20,0.6); backdrop-filter: blur(20px); border: 1px solid var(--border); border-radius: 0; }
.navbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.5rem;
}
.logo { display: flex; align-items: center; gap: 0.5rem; }
.logo-mark {
  width: 2.5rem; height: 2.5rem; border-radius: 0.75rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700; color: var(--bg);
}
.logo-text { font-family: var(--font-heading); font-size: 1.125rem; font-weight: 700; }
.logo-text span { color: var(--accent); }
.nav-links { display: none; gap: 2rem; }
@media (min-width: 1024px) { .nav-links { display: flex; } }
.nav-links a { font-size: 0.875rem; color: var(--muted); transition: color 0.3s; }
.nav-links a:hover { color: var(--accent); }
.nav-cta { display: none; }
@media (min-width: 1024px) { .nav-cta { display: block; } }
.menu-toggle { padding: 0.5rem; }
@media (min-width: 1024px) { .menu-toggle { display: none; } }

.mobile-menu {
  position: fixed; inset: 0; z-index: 40;
  display: none; flex-direction: column; align-items: center; justify-content: center; gap: 2rem;
  background: rgba(5, 5, 8, 0.95); backdrop-filter: blur(20px);
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; }

/* Hero */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 6rem 0 4rem;
}
.hero-orb { position: absolute; border-radius: 50%; filter: blur(100px); pointer-events: none; }
.hero-orb-1 { left: 10%; top: 20%; width: 18rem; height: 18rem; background: rgba(0,229,255,0.1); }
.hero-orb-2 { right: 10%; bottom: 10%; width: 24rem; height: 24rem; background: rgba(168,85,247,0.1); filter: blur(120px); }
.hero-grid {
  display: grid; gap: 3rem; align-items: center; position: relative; z-index: 1;
}
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-bottom: 1.5rem; padding: 0.5rem 1rem;
  border-radius: 9999px; border: 1px solid rgba(0,229,255,0.2); background: rgba(0,229,255,0.05);
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; color: var(--accent);
}
.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  font-weight: 700; line-height: 1.1; letter-spacing: -0.02em;
}
.hero-role { margin-top: 1.5rem; font-size: 1.125rem; color: var(--accent); min-height: 1.75rem; }
.hero-tagline { margin-top: 1rem; max-width: 32rem; color: var(--muted); font-size: 1rem; }
@media (min-width: 768px) { .hero-tagline { font-size: 1.125rem; } }
.hero-ctas { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 1rem; }

.hero-visual { position: relative; max-width: 28rem; margin: 0 auto; width: 100%; }
@media (min-width: 1024px) { .hero-visual { margin-left: auto; max-width: none; } }
.hero-image-wrap {
  position: relative; aspect-ratio: 1; border-radius: 1.5rem;
  border: 1px solid var(--border); overflow: hidden;
}
.hero-image-wrap::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,229,255,0.2), rgba(168,85,247,0.2));
  filter: blur(40px); z-index: -1;
}
.hero-image-wrap img { width: 100%; height: 100%; object-fit: cover; padding: 2rem; }
.hero-float {
  position: absolute; padding: 0.75rem 1rem; border-radius: 1rem;
  border: 1px solid var(--border); background: rgba(15,15,20,0.6); backdrop-filter: blur(20px);
  animation: float 3s ease-in-out infinite;
}
.hero-float-1 { left: -1rem; top: 2rem; }
.hero-float-2 { right: -1rem; bottom: 4rem; animation-delay: 0.5s; }
.hero-float-3 { bottom: -1rem; left: 50%; transform: translateX(-50%); animation-delay: 1s; }
.hero-float strong { display: block; font-size: 1.5rem; color: var(--accent); }
.hero-float span { font-size: 0.75rem; color: var(--muted); }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.hero-float-3 { animation-name: floatCenter; }
@keyframes floatCenter {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-6px); }
}
.scroll-hint {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  color: var(--muted); animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* Stats */
.stats-section { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--surface); padding: 4rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .stats-grid { grid-template-columns: repeat(5, 1fr); gap: 1.5rem; } }
.stat-card {
  padding: 1.5rem; text-align: center; border-radius: 1rem;
  border: 1px solid var(--border); background: var(--surface-2);
  transition: all 0.3s;
}
.stat-card:hover { border-color: rgba(0,229,255,0.3); box-shadow: 0 0 40px rgba(0,229,255,0.15); }
.stat-value {
  font-family: var(--font-heading); font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 700; color: var(--accent);
}
.stat-label { margin-top: 0.5rem; font-size: 0.75rem; color: var(--muted); }
@media (min-width: 768px) { .stat-label { font-size: 0.875rem; } }

/* Cards grid */
.cards-grid { display: grid; gap: 1.5rem; }
.cards-grid-2 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards-grid-2 { grid-template-columns: repeat(2, 1fr); } }
.cards-grid-3 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards-grid-3 { grid-template-columns: repeat(3, 1fr); } }
.cards-grid-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards-grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  border-radius: 1rem; border: 1px solid var(--border); background: var(--surface);
  padding: 1.5rem; transition: all 0.3s;
}
.card:hover { border-color: rgba(0,229,255,0.3); transform: translateY(-4px); }
.card-icon {
  display: inline-flex; padding: 0.75rem; border-radius: 0.75rem;
  background: rgba(0,229,255,0.1); color: var(--accent); margin-bottom: 1rem;
  font-size: 1.25rem;
}
.card h3 { font-family: var(--font-heading); font-size: 1.125rem; font-weight: 700; margin-bottom: 0.5rem; }
.card p { font-size: 0.875rem; color: var(--muted); line-height: 1.6; margin-bottom: 1rem; }
.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tag {
  padding: 0.25rem 0.625rem; border-radius: 9999px;
  border: 1px solid var(--border); background: var(--surface-2);
  font-size: 0.75rem; color: var(--muted);
}

/* Services */
.services-section { background: var(--surface); position: relative; }
.services-section::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at top, rgba(0,229,255,0.05), transparent 50%);
  pointer-events: none;
}
.service-card { display: flex; flex-direction: column; position: relative; }
.service-card.featured { border-color: rgba(0,229,255,0.3); box-shadow: 0 0 40px rgba(0,229,255,0.15); }
.service-badge {
  position: absolute; top: -0.75rem; left: 1.5rem;
  padding: 0.25rem 0.75rem; border-radius: 9999px;
  background: linear-gradient(to right, var(--accent), var(--accent-2));
  font-size: 0.75rem; font-weight: 600; color: var(--bg);
}
.service-price { color: var(--accent); font-size: 0.875rem; font-weight: 500; margin-top: 0.25rem; }
.service-list { margin: 1rem 0; flex: 1; }
.service-list h4 { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.5rem; }
.service-list li { font-size: 0.875rem; color: var(--muted); margin-bottom: 0.375rem; display: flex; gap: 0.5rem; }
.service-list li::before { content: "✓"; color: var(--accent); flex-shrink: 0; }
.service-deliverables li::before { content: "•"; }
.service-card .btn { width: 100%; margin-top: auto; font-size: 15px; }

/* Portfolio */
.filter-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-bottom: 3rem; }
.filter-btn {
  padding: 0.5rem 1rem; border-radius: 9999px; border: 1px solid var(--border);
  font-size: 0.875rem; color: var(--muted); transition: all 0.3s;
}
.filter-btn.active, .filter-btn:hover { border-color: rgba(0,229,255,0.3); background: rgba(0,229,255,0.1); color: var(--accent); }
.portfolio-card { padding: 0; overflow: hidden; cursor: pointer; }
.portfolio-img { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.portfolio-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s; }
.portfolio-card:hover .portfolio-img img { transform: scale(1.1); }
.portfolio-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, var(--bg), rgba(5,5,8,0.4), transparent);
}
.portfolio-body { padding: 1.25rem; }
.portfolio-cat { font-size: 0.75rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; color: var(--accent); }
.portfolio-body h3 { font-family: var(--font-heading); font-size: 1.125rem; font-weight: 700; margin-top: 0.25rem; }

/* Marquee */
.marquee-section { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 2rem 0; overflow: hidden; }
.marquee-label { text-align: center; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.marquee-track { display: flex; gap: 2rem; animation: marquee 40s linear infinite; width: max-content; }
.marquee-track:hover { animation-play-state: paused; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.marquee-item { display: flex; align-items: center; gap: 0.75rem; white-space: nowrap; color: var(--muted); transition: color 0.3s; }
.marquee-item:hover { color: var(--accent); }
.marquee-item strong { font-family: var(--font-heading); font-size: 1.125rem; color: var(--fg); }
.marquee-item:hover strong { color: var(--accent); }

/* Process */
.process-line { position: relative; max-width: 48rem; margin: 0 auto; }
.process-line-bar {
  position: absolute; left: 1.5rem; top: 0; bottom: 0; width: 2px; background: var(--border);
}
@media (min-width: 768px) { .process-line-bar { left: 50%; transform: translateX(-50%); } }
.process-progress {
  width: 100%; height: 0; background: linear-gradient(to bottom, var(--accent), var(--accent-2));
}
.process-step { display: flex; gap: 1.5rem; margin-bottom: 3rem; position: relative; }
.process-num {
  width: 3rem; height: 3rem; flex-shrink: 0; border-radius: 50%;
  border: 2px solid var(--accent); background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-size: 0.875rem; font-weight: 700; color: var(--accent);
  position: relative; z-index: 1;
}
.process-content { flex: 1; padding: 1.5rem; border-radius: 1rem; border: 1px solid var(--border); background: var(--surface-2); }
.process-content h3 { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700; }
.process-content p { margin-top: 0.5rem; font-size: 0.875rem; color: var(--muted); }

/* Mission */
.mission-grid { display: grid; gap: 2rem; }
@media (min-width: 1024px) { .mission-grid { grid-template-columns: 1fr 1fr; } }
.mission-box { padding: 2rem; border-radius: 1rem; border: 1px solid var(--border); background: var(--surface-2); }
.mission-box.accent { border-color: rgba(0,229,255,0.2); background: rgba(0,229,255,0.05); }
.mission-box.purple { border-color: rgba(168,85,247,0.2); background: rgba(168,85,247,0.05); }
.mission-box h3 { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700; margin-bottom: 0.75rem; }
.mission-box p, .mission-box li { font-size: 0.875rem; color: var(--muted); line-height: 1.7; }
.exp-item { border-left: 2px solid rgba(0,229,255,0.3); padding-left: 1.5rem; margin-bottom: 1.5rem; }
.exp-period { font-size: 0.75rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; color: var(--accent); }

/* Testimonials */
.testimonial-card {
  max-width: 56rem; margin: 0 auto; padding: 2rem;
  border-radius: 1rem; border: 1px solid var(--border); background: var(--surface);
  text-align: left;
}
@media (min-width: 768px) { .testimonial-card { padding: 3rem; } }
.testimonial-quote { font-size: 3rem; color: rgba(0,229,255,0.3); line-height: 1; margin-bottom: 1.5rem; }
.testimonial-text { font-size: 1.125rem; line-height: 1.7; margin-bottom: 2rem; }
@media (min-width: 768px) { .testimonial-text { font-size: 1.25rem; } }
.testimonial-author { font-family: var(--font-heading); font-size: 1.125rem; font-weight: 700; }
.testimonial-role { font-size: 0.875rem; color: var(--muted); }
.testimonial-nav { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 2rem; }
.testimonial-nav button {
  width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; transition: all 0.3s;
}
.testimonial-nav button:hover { border-color: var(--accent); color: var(--accent); }
.dots { display: flex; gap: 0.5rem; }
.dot { width: 0.5rem; height: 0.5rem; border-radius: 9999px; background: var(--border); transition: all 0.3s; }
.dot.active { width: 2.75rem; background: var(--accent); }

/* Tech */
.tech-track-wrap { overflow: hidden; margin-top: 2rem; position: relative; }
.tech-track { display: flex; gap: 1rem; padding: 0 1.5rem; }
.tech-item {
  flex-shrink: 0; padding: 1.5rem 2rem; border-radius: 1rem;
  border: 1px solid var(--border); background: var(--surface-2); text-align: center;
  transition: all 0.3s;
}
.tech-item:hover { border-color: rgba(0,229,255,0.3); transform: translateY(-4px); }
.tech-item strong { display: block; font-family: var(--font-heading); font-size: 1.125rem; margin-bottom: 0.25rem; }
.tech-item span { font-size: 0.75rem; color: var(--muted); }
.tech-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-top: 3rem; }

/* CTA */
.cta-box {
  position: relative; overflow: hidden; border-radius: 1.5rem;
  border: 1px solid rgba(0,229,255,0.2);
  background: linear-gradient(135deg, rgba(0,229,255,0.1), var(--surface), rgba(168,85,247,0.1));
  padding: 2.5rem; text-align: center;
}
@media (min-width: 768px) { .cta-box { padding: 4rem; } }
.cta-box h2 { font-family: var(--font-heading); font-size: clamp(1.875rem, 5vw, 3.75rem); font-weight: 700; }
.cta-box p { margin: 1.5rem auto 0; max-width: 42rem; color: var(--muted); font-size: 1.125rem; }
.cta-btns { margin-top: 2.5rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }

/* Contact */
.contact-grid { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 2fr 3fr; } }
.contact-link {
  display: flex; align-items: center; gap: 1rem; padding: 1rem;
  border-radius: 1rem; border: 1px solid var(--border); background: var(--surface-2);
  transition: all 0.3s; margin-bottom: 1rem;
}
.contact-link:hover { border-color: rgba(0,229,255,0.3); transform: translateX(4px); }
.contact-icon {
  padding: 0.75rem; border-radius: 0.75rem; background: rgba(0,229,255,0.1); color: var(--accent);
  transition: all 0.3s;
}
.contact-link:hover .contact-icon { background: var(--accent); color: var(--bg); }
.contact-link small { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.contact-form { padding: 2rem; border-radius: 1rem; border: 1px solid var(--border); background: var(--surface-2); }
.form-row { display: grid; gap: 1rem; margin-bottom: 1rem; }
@media (min-width: 768px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-group label { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 0.5rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 0.75rem 1rem; border-radius: 0.75rem;
  border: 1px solid var(--border); background: var(--bg); color: var(--fg);
  outline: none; transition: border-color 0.3s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--accent); }
.form-group textarea { resize: none; min-height: 120px; }

/* Modal */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  display: none; align-items: center; justify-content: center;
  padding: 1rem; background: rgba(5,5,8,0.9); backdrop-filter: blur(20px);
}
.modal-overlay.open { display: flex; }
.modal {
  max-width: 48rem; width: 100%; max-height: 90vh; overflow-y: auto;
  padding: 1.5rem; border-radius: 1rem; border: 1px solid var(--border); background: var(--surface);
  position: relative;
}
@media (min-width: 768px) { .modal { padding: 2rem; } }
.modal-close {
  position: absolute; top: 1rem; right: 1rem;
  width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
}
.modal-img { aspect-ratio: 16/9; border-radius: 0.75rem; overflow: hidden; margin-bottom: 1.5rem; }
.modal-img img { width: 100%; height: 100%; object-fit: cover; }
.modal-grid { display: grid; gap: 1rem; margin: 1.5rem 0; }
@media (min-width: 768px) { .modal-grid { grid-template-columns: 1fr 1fr; } }

/* Footer */
.footer {
  border-top: 1px solid var(--border); background: var(--surface); padding: 3rem 0;
}
.footer-top { display: flex; flex-direction: column; align-items: center; gap: 2rem; margin-bottom: 2rem; }
@media (min-width: 768px) { .footer-top { flex-direction: row; justify-content: space-between; } }
.footer-social { display: flex; gap: 1rem; }
.footer-social a {
  width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; color: var(--muted); transition: all 0.3s;
}
.footer-social a:hover { border-color: var(--accent); color: var(--accent); }
.footer-bottom {
  padding-top: 2rem; border-top: 1px solid var(--border);
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
  font-size: 0.875rem; color: var(--muted); text-align: center;
}
@media (min-width: 768px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }

/* Floating shapes */
.floating-shapes { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.shape {
  position: absolute; border-radius: 50%; border: 1px solid rgba(0,229,255,0.1);
  background: rgba(0,229,255,0.05); animation: drift 8s ease-in-out infinite;
}
@keyframes drift {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(15px, -30px) rotate(180deg); }
}

/* Reveal animation — visible by default; GSAP enhances when available */
.reveal {
  opacity: 1;
  transform: none;
}

body.gsap-ready .reveal:not(.is-visible) {
  opacity: 1;
  transform: translateY(24px);
}

body.gsap-ready .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
