/* ============================================
   LIIT GUYS — Long Island IT Guys
   Dark Neon Glow Theme
   ============================================ */

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

:root {
  --neon-blue: #00d4ff;
  --neon-purple: #7b2ff7;
  --neon-pink: #ff2d95;
  --neon-green: #00ff88;
  --dark-bg: #0a0a1a;
  --dark-surface: #111128;
  --dark-card: rgba(17, 17, 40, 0.85);
  --text-primary: #ffffff;
  --text-secondary: #b0b0cc;
  --text-muted: #6a6a8e;
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glow-blue: 0 0 20px rgba(0, 212, 255, 0.4);
  --glow-purple: 0 0 20px rgba(123, 47, 247, 0.4);
  --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Space Grotesk', var(--font-main);
  --max-width: 1200px;
}

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

body {
  font-family: var(--font-main);
  background: var(--dark-bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul { list-style: none; }

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

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }

.section-label {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.85rem;
  color: var(--neon-blue);
  font-weight: 600;
  margin-bottom: 12px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.neon-text {
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.5), 0 0 40px rgba(0, 212, 255, 0.2);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition-smooth);
  font-family: var(--font-main);
}

.btn-primary {
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
  color: #fff;
  box-shadow: var(--glow-blue);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.6), 0 0 60px rgba(0, 212, 255, 0.2);
}

.btn-outline {
  background: transparent;
  color: var(--neon-blue);
  border: 2px solid var(--neon-blue);
  box-shadow: inset 0 0 20px rgba(0, 212, 255, 0.05);
}

.btn-outline:hover {
  background: rgba(0, 212, 255, 0.1);
  box-shadow: var(--glow-blue), inset 0 0 20px rgba(0, 212, 255, 0.1);
  transform: translateY(-2px);
}

/* --- Neon Glow Button (special) --- */
.btn-neon {
  position: relative;
  background: transparent;
  color: var(--neon-blue);
  border: 2px solid var(--neon-blue);
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.4s ease;
}

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

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

.btn-neon:hover {
  background: rgba(0, 212, 255, 0.1);
  box-shadow: 0 0 25px rgba(0, 212, 255, 0.5), 0 0 50px rgba(0, 212, 255, 0.2), inset 0 0 25px rgba(0, 212, 255, 0.1);
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.7);
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition-smooth);
}

.navbar.scrolled {
  background: rgba(10, 10, 26, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  padding: 10px 0;
}

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

.navbar-logo img {
  height: 50px;
  width: auto;
  transition: all var(--transition-smooth);
}

.navbar.scrolled .navbar-logo img {
  height: 40px;
}

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

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

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--neon-blue);
  transition: width var(--transition-smooth);
  box-shadow: 0 0 8px rgba(0, 212, 255, 0.5);
}

.navbar-links a:hover {
  color: var(--neon-blue);
}

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

.navbar-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--neon-blue);
  font-weight: 600;
  font-size: 0.95rem;
}

.navbar-phone svg {
  width: 18px;
  height: 18px;
}

/* Mobile menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}

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

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.hero-video-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 26, 0.3) 0%,
    rgba(10, 10, 26, 0.6) 60%,
    rgba(10, 10, 26, 1) 100%
  );
}

/* Floating particles canvas */
#particles-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

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

.hero-content .section-label {
  margin-bottom: 16px;
}

.hero-content h1 {
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 540px;
}

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

/* Floating badge */
.hero-badge {
  position: absolute;
  right: 10%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  animation: float 6s ease-in-out infinite;
}

.hero-badge-inner {
  background: var(--dark-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 32px;
  text-align: center;
  box-shadow: var(--glow-blue);
}

.hero-badge-inner .stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-badge-inner .stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

@keyframes float {
  0%, 100% { transform: translateY(-50%); }
  50% { transform: translateY(calc(-50% - 20px)); }
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
  padding: 100px 0;
  position: relative;
}

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

.services-header p {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 16px auto 0;
  font-size: 1.05rem;
}

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

.service-card {
  background: var(--dark-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 36px 28px;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 212, 255, 0.2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 30px rgba(0, 212, 255, 0.1);
}

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

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(123, 47, 247, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.6rem;
}

.service-card h3 {
  margin-bottom: 12px;
}

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

/* ============================================
   ABOUT / PROCESS SECTION
   ============================================ */
.about {
  padding: 100px 0;
  position: relative;
}

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

.about-content h2 {
  margin-bottom: 20px;
}

.about-content > p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 36px;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.process-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: all var(--transition-smooth);
}

.process-step:hover {
  background: var(--glass-bg);
  border-color: var(--glass-border);
}

.step-number {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  flex-shrink: 0;
}

.step-content h4 {
  margin-bottom: 4px;
}

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

/* About image side */
.about-visual {
  position: relative;
}

.about-image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
}

.about-image-wrapper img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.about-image-wrapper video {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 20px;
}

.about-floating-card {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--dark-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 20px 28px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  animation: float 5s ease-in-out infinite;
}

.about-floating-card .stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--neon-blue);
}

.about-floating-card .stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============================================
   WEB DESIGN FEATURE SECTION
   ============================================ */
.web-design-feature {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.web-design-feature .video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.web-design-feature .video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}

.web-design-feature .video-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    var(--dark-bg) 0%,
    rgba(10, 10, 26, 0.7) 20%,
    rgba(10, 10, 26, 0.7) 80%,
    var(--dark-bg) 100%
  );
}

.web-design-feature .container {
  position: relative;
  z-index: 1;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.feature-content .section-label { margin-bottom: 12px; }

.feature-content h2 {
  margin-bottom: 20px;
}

.feature-content > p {
  color: var(--text-secondary);
  margin-bottom: 32px;
  font-size: 1.05rem;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.feature-list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
}

.feature-list-item .check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.feature-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.feature-stat-card {
  background: var(--dark-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 28px;
  text-align: center;
  transition: all var(--transition-smooth);
}

.feature-stat-card:hover {
  border-color: rgba(0, 212, 255, 0.2);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.1);
  transform: translateY(-4px);
}

.feature-stat-card .stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.feature-stat-card:nth-child(1) .stat-number { color: var(--neon-blue); }
.feature-stat-card:nth-child(2) .stat-number { color: var(--neon-purple); }
.feature-stat-card:nth-child(3) .stat-number { color: var(--neon-green); }
.feature-stat-card:nth-child(4) .stat-number { color: var(--neon-pink); }

.feature-stat-card .stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ============================================
   ROI SECTION
   ============================================ */
.roi {
  padding: 100px 0;
}

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

.roi-header p {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 16px auto 0;
}

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

.roi-card {
  background: var(--dark-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition-smooth);
}

.roi-card:hover {
  transform: translateY(-4px);
  border-color: rgba(123, 47, 247, 0.3);
  box-shadow: 0 0 30px rgba(123, 47, 247, 0.1);
}

.roi-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(123, 47, 247, 0.15), rgba(255, 45, 149, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 18px;
}

.roi-card h4 {
  margin-bottom: 10px;
}

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

/* ============================================
   PORTFOLIO SECTION
   ============================================ */
.portfolio {
  padding: 100px 0;
}

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

.portfolio-header p {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 16px auto 0;
}

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

.portfolio-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  aspect-ratio: 1;
  cursor: pointer;
}

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

.portfolio-item:hover img {
  transform: scale(1.1);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10, 10, 26, 0.9) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

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

.portfolio-overlay span {
  color: var(--neon-blue);
  font-weight: 600;
  font-size: 0.9rem;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials {
  padding: 100px 0;
  position: relative;
}

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

.testimonials-header p {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 16px auto 0;
}

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

.testimonial-card {
  background: var(--dark-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 32px;
  transition: all var(--transition-smooth);
}

.testimonial-card:hover {
  border-color: rgba(0, 212, 255, 0.15);
  transform: translateY(-4px);
}

.testimonial-stars {
  color: #fbbf24;
  font-size: 1rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-card blockquote {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.testimonial-author-info h4 {
  font-size: 0.95rem;
}

.testimonial-author-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta {
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.08), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta h2 {
  margin-bottom: 16px;
}

.cta > .container > p {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 36px;
  font-size: 1.1rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================
   PLATFORMS / PARTNERS BAR
   ============================================ */
.platforms {
  padding: 60px 0;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.platforms-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.platforms-inner img {
  height: 32px;
  width: auto;
  opacity: 0.5;
  transition: opacity var(--transition-smooth);
  filter: brightness(0) invert(1);
}

.platforms-inner img:hover {
  opacity: 1;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 64px 0 32px;
  border-top: 1px solid var(--glass-border);
}

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

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin: 16px 0;
  max-width: 300px;
}

.footer-brand img {
  height: 50px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all var(--transition-smooth);
}

.footer-social a:hover {
  background: rgba(0, 212, 255, 0.1);
  border-color: var(--neon-blue);
  color: var(--neon-blue);
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.2);
}

.footer-col h4 {
  margin-bottom: 20px;
  font-size: 1rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: color var(--transition-smooth);
}

.footer-col a:hover {
  color: var(--neon-blue);
}

.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }
.fade-in-delay-5 { transition-delay: 0.5s; }
.fade-in-delay-6 { transition-delay: 0.6s; }

.zoom-in {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.zoom-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* --- Tablet landscape --- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .roi-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero-badge { display: none; }
  .about-grid { gap: 40px; }
  .feature-grid { gap: 40px; }
}

/* --- Tablet portrait / large phone --- */
@media (max-width: 768px) {
  /* Mobile navbar */
  .navbar { padding: 12px 0; }
  .navbar-links { display: none; }
  .navbar-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 26, 0.98);
    backdrop-filter: blur(20px);
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--glass-border);
    animation: slideDown 0.3s ease;
  }
  .navbar-links.active a {
    font-size: 1.1rem;
    padding: 8px 0;
  }
  .navbar-links.active .navbar-phone {
    font-size: 1.1rem;
    padding: 12px 0;
    border-top: 1px solid var(--glass-border);
    margin-top: 8px;
    padding-top: 20px;
  }
  .menu-toggle { display: flex; }
  .navbar-logo img { height: 40px; }

  /* Section spacing tightened */
  .services, .about, .web-design-feature, .roi, .portfolio, .testimonials, .cta {
    padding: 60px 0;
  }
  .services-header, .roi-header, .portfolio-header, .testimonials-header {
    margin-bottom: 40px;
  }

  /* Grid collapses */
  .services-grid { grid-template-columns: 1fr; gap: 16px; }
  .about-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .roi-grid { grid-template-columns: 1fr; gap: 16px; }
  .testimonials-grid { grid-template-columns: 1fr; gap: 16px; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .feature-visual { grid-template-columns: 1fr 1fr; gap: 12px; }

  /* Hero mobile */
  .hero {
    min-height: 100vh;
    min-height: 100dvh; /* dynamic viewport height for mobile browsers */
    padding-top: 80px;
    padding-bottom: 40px;
  }
  .hero-content h1 { font-size: 1.8rem; }
  .hero-content p { font-size: 1rem; margin-bottom: 24px; }
  .hero-buttons { flex-direction: column; gap: 12px; }
  .hero-buttons .btn { width: 100%; justify-content: center; padding: 16px 24px; }

  /* Cards - touch-friendly sizing */
  .service-card { padding: 28px 22px; }
  .service-icon { width: 50px; height: 50px; font-size: 1.3rem; }
  .roi-card { padding: 24px 20px; }
  .testimonial-card { padding: 24px; }

  /* About visual */
  .about-image-wrapper video,
  .about-image-wrapper img { height: 280px; }
  .about-floating-card {
    position: relative;
    bottom: auto; right: auto;
    margin-top: 16px;
    text-align: center;
  }

  /* Feature stat cards */
  .feature-stat-card { padding: 20px; }
  .feature-stat-card .stat-number { font-size: 1.8rem; }

  /* CTA */
  .cta-buttons { flex-direction: column; align-items: stretch; }
  .cta-buttons .btn { width: 100%; justify-content: center; }

  /* Newsletter */
  .newsletter-box { padding: 32px 20px; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form input { width: 100%; }
  .newsletter-form .btn { width: 100%; justify-content: center; }

  /* Footer */
  .footer-brand { text-align: center; }
  .footer-brand p { max-width: 100%; }
  .footer-brand img { margin: 0 auto; }
  .footer-social { justify-content: center; }
  .footer-col { text-align: center; }
  .footer-col ul { align-items: center; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  /* Platforms bar */
  .platforms { padding: 40px 0; }
  .platforms-inner { gap: 20px; }
  .platforms-inner img { height: 24px; }
}

/* --- Small phones --- */
@media (max-width: 480px) {
  .container { padding: 0 16px; }

  h1 { font-size: 1.6rem !important; }
  h2 { font-size: 1.4rem !important; }
  h3 { font-size: 1.15rem !important; }

  .section-label { font-size: 0.75rem; letter-spacing: 2px; }

  .hero { padding-top: 70px; }
  .hero-content p { font-size: 0.95rem; }

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

  .platforms-inner { gap: 16px; }
  .platforms-inner img { height: 20px; }

  .process-step { padding: 14px; gap: 14px; }
  .step-number { width: 36px; height: 36px; font-size: 0.85rem; }

  .btn { padding: 14px 24px; font-size: 0.9rem; }
  .btn-neon { padding: 14px 28px; font-size: 0.9rem; }

  .service-card p,
  .roi-card p,
  .testimonial-card blockquote {
    font-size: 0.88rem;
  }
}

/* --- Slide down animation for mobile menu --- */
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Safe area insets for notched phones --- */
@supports (padding: env(safe-area-inset-bottom)) {
  .footer { padding-bottom: calc(32px + env(safe-area-inset-bottom)); }
  .navbar { padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); }
}

/* --- Tap highlight & touch improvements --- */
@media (hover: none) and (pointer: coarse) {
  /* Remove hover transforms on touch devices — they stick */
  .service-card:hover,
  .roi-card:hover,
  .testimonial-card:hover,
  .feature-stat-card:hover {
    transform: none;
  }

  /* Keep the glow border on active/tap instead */
  .service-card:active {
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.1);
  }

  .roi-card:active {
    border-color: rgba(123, 47, 247, 0.3);
  }

  /* Bigger tap targets */
  .navbar-links.active a { min-height: 44px; display: flex; align-items: center; }
  .footer-col a { min-height: 44px; display: flex; align-items: center; }
  .footer-col ul { gap: 4px; }

  /* Disable sticky hover on portfolio */
  .portfolio-overlay { opacity: 1; }
}

/* ============================================
   NEWSLETTER SECTION
   ============================================ */
.newsletter {
  padding: 80px 0;
  text-align: center;
}

.newsletter-box {
  background: var(--dark-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 48px;
  max-width: 600px;
  margin: 0 auto;
}

.newsletter-box h3 {
  margin-bottom: 12px;
}

.newsletter-box p {
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.newsletter-form {
  display: flex;
  gap: 12px;
}

.newsletter-form input {
  flex: 1;
  padding: 14px 20px;
  border-radius: 50px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition-smooth);
  font-family: var(--font-main);
}

.newsletter-form input::placeholder {
  color: var(--text-muted);
}

.newsletter-form input:focus {
  border-color: var(--neon-blue);
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.15);
}
