/* ============================================
   Infinal — Main Stylesheet
   ============================================ */

/* ----- CSS Variables ----- */
:root {
  --bg-primary: #0a0a1a;
  --bg-secondary: #0f0f2a;
  --bg-card: rgba(255, 255, 255, 0.03);
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.08);
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-muted: rgba(255, 255, 255, 0.4);
  --accent-blue: #4facfe;
  --accent-purple: #a855f7;
  --accent-green: #00f260;
  --accent-orange: #f97316;
  --glow-blue: rgba(79, 172, 254, 0.3);
  --glow-purple: rgba(168, 85, 247, 0.3);
  --glow-green: rgba(0, 242, 96, 0.2);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* Force hardware acceleration */
section { transform: translateZ(0); backface-visibility: hidden; }

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

/* ----- Section Styling ----- */
section {
  padding: 100px 0;
  position: relative;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-desc {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 60px;
  font-size: 1.1rem;
}

/* ============================================
   SCROLL PROGRESS INDICATOR
   ============================================ */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
  z-index: 9999;
  transition: width 0.05s linear;
}

/* ============================================
   CUSTOM CURSOR
   ============================================ */
#cursor {
  position: fixed;
  width: 8px; height: 8px;
  background: #fff;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 12px rgba(79, 172, 254, 0.6), 0 0 24px rgba(79, 172, 254, 0.2);
}

#cursor-follower {
  position: fixed;
  width: 40px; height: 40px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, transform 0.08s linear;
  background: conic-gradient(from 0deg, #4facfe, #a855f7, #4facfe, #a855f7, #4facfe);
  mask: radial-gradient(circle at center, transparent 50%, black 51%, black 100%);
  -webkit-mask: radial-gradient(circle at center, transparent 50%, black 51%, black 100%);
  animation: cursorSpin 2s linear infinite;
  box-shadow: 0 0 20px rgba(79, 172, 254, 0.15);
}

@keyframes cursorSpin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

#cursor-follower::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(79, 172, 254, 0.25);
  box-shadow: 0 0 25px rgba(79, 172, 254, 0.08), inset 0 0 25px rgba(79, 172, 254, 0.04);
}

/* Cursor trail dots */
.cursor-trail {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99997;
  background: var(--accent-blue);
  box-shadow: 0 0 6px rgba(79, 172, 254, 0.3);
  transition: opacity 0.3s ease;
}

/* Click burst particles */
.click-particle {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99997;
}

/* Cursor hover effects on interactive elements */
a:hover ~ #cursor, button:hover ~ #cursor,
.btn:hover ~ #cursor, .service-card:hover ~ #cursor,
.pricing-card:hover ~ #cursor, .int-card:hover ~ #cursor,
.contact-card:hover ~ #cursor, .featured-card:hover ~ #cursor {
  width: 12px; height: 12px;
  background: var(--accent-purple);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.6), 0 0 40px rgba(168, 85, 247, 0.3);
}

/* ============================================
   SECTION BACKGROUND GLOW ORBS
   ============================================ */
.floating-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(60px);
  opacity: 0.35;
  will-change: transform;
}

/* ============================================
   SHOOTING STARS (full-screen cross)
   ============================================ */
.shooting-star {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #fff;
  pointer-events: none;
  z-index: 0;
  will-change: transform, opacity;
  box-shadow:
    0 0 6px 2px rgba(255, 255, 255, 0.6),
    0 0 12px 6px rgba(79, 172, 254, 0.3),
    0 0 20px 10px rgba(168, 85, 247, 0.15);
}

.shooting-star::before {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 100%;
  width: 120px;
  height: 2px;
  background: linear-gradient(to left, rgba(255, 255, 255, 0.8), rgba(79, 172, 254, 0.3), transparent);
  border-radius: 1px;
}

.shooting-star::after {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 100%;
  width: 60px;
  height: 6px;
  background: linear-gradient(to left, rgba(168, 85, 247, 0.4), transparent);
  border-radius: 50%;
  filter: blur(4px);
}

@keyframes shootStar {
  0% {
    transform: translate(0, 0);
    opacity: 0;
  }
  5% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    transform: translate(var(--dx), var(--dy));
    opacity: 0;
  }
}

/* ============================================
   TWINKLE STARS
   ============================================ */
.twinkle-star {
  position: absolute;
  border-radius: 50%;
  background: #fff;
  pointer-events: none;
  z-index: 0;
  animation: twinkle var(--dur) ease-in-out infinite alternate;
  box-shadow: 0 0 4px 1px rgba(255, 255, 255, 0.3);
}

@keyframes twinkle {
  0% { opacity: 0.1; transform: scale(0.5); }
  100% { opacity: 0.8; transform: scale(1); }
}

section {
  overflow: hidden;
}

section .container, section .hero-content {
  position: relative;
  z-index: 1;
}

/* ============================================
   HERO SECTION
   ============================================ */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 0;
}

#hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 50%, rgba(79, 172, 254, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 80% 60% at 80% 50%, rgba(168, 85, 247, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 100% 40% at 50% 100%, rgba(79, 172, 254, 0.06) 0%, transparent 60%);
  animation: bgShift 12s ease-in-out infinite alternate;
}

@keyframes bgShift {
  0% { transform: scale(1) rotate(0deg); }
  100% { transform: scale(1.1) rotate(3deg); }
}

#particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 3px; height: 3px;
  background: var(--accent-blue);
  border-radius: 50%;
  opacity: 0.4;
  animation: floatParticle linear infinite;
}

@keyframes floatParticle {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 0.5; }
  90% { opacity: 0.5; }
  100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

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

.hero-content h1 {
  font-size: clamp(3rem, 10vw, 6rem);
  font-weight: 800;
  letter-spacing: -2px;
  margin-bottom: 8px;
  background: linear-gradient(135deg, #fff 0%, rgba(79, 172, 254, 0.8) 50%, rgba(168, 85, 247, 0.6) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.subtitle {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: var(--accent-blue);
  margin-bottom: 16px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 400;
}

.desc {
  color: var(--text-secondary);
  font-size: clamp(1rem, 2vw, 1.15rem);
  max-width: 600px;
  margin: 0 auto 40px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  color: #fff;
  box-shadow: 0 4px 30px rgba(79, 172, 254, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(79, 172, 254, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  border-color: var(--accent-blue);
  background: rgba(79, 172, 254, 0.08);
  box-shadow: 0 0 30px var(--glow-blue);
  transform: translateY(-2px);
}

/* ============================================
   SECTION ANIMATED BACKGROUND (same as hero)
   ============================================ */
.section-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  animation: bgShift 15s ease-in-out infinite alternate;
}

#services .section-bg {
  background:
    radial-gradient(ellipse 70% 50% at 30% 30%, rgba(79, 172, 254, 0.1) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 70%, rgba(168, 85, 247, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 80% 30% at 50% 100%, rgba(79, 172, 254, 0.05) 0%, transparent 60%);
}

#performance .section-bg {
  background:
    radial-gradient(ellipse 60% 40% at 20% 80%, rgba(0, 242, 96, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 70% 50% at 70% 20%, rgba(79, 172, 254, 0.1) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 50% 50%, rgba(168, 85, 247, 0.05) 0%, transparent 60%);
}

#pricing .section-bg {
  background:
    radial-gradient(ellipse 80% 40% at 50% 20%, rgba(168, 85, 247, 0.1) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 80% 80%, rgba(79, 172, 254, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 30% at 20% 60%, rgba(249, 115, 22, 0.05) 0%, transparent 60%);
}

#integrations .section-bg {
  background:
    radial-gradient(ellipse 60% 50% at 70% 30%, rgba(79, 172, 254, 0.1) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 20% 60%, rgba(168, 85, 247, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 70% 30% at 50% 90%, rgba(0, 242, 96, 0.04) 0%, transparent 60%);
}

#featured .section-bg {
  background:
    radial-gradient(ellipse 70% 40% at 40% 30%, rgba(79, 172, 254, 0.1) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 70% 80%, rgba(168, 85, 247, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 20% 50%, rgba(249, 115, 22, 0.04) 0%, transparent 60%);
}

#contact .section-bg {
  background:
    radial-gradient(ellipse 60% 40% at 50% 80%, rgba(79, 172, 254, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 30% 20%, rgba(168, 85, 247, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 70% 40% at 70% 50%, rgba(0, 242, 96, 0.04) 0%, transparent 60%);
}

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

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

.service-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(79, 172, 254, 0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

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

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(79, 172, 254, 0.3);
  box-shadow: 0 8px 40px rgba(79, 172, 254, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.card-icon {
  width: 56px; height: 56px;
  margin: 0 auto 20px;
  padding: 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(79, 172, 254, 0.12), rgba(168, 85, 247, 0.12));
  color: var(--accent-blue);
  transition: var(--transition);
}

.service-card:hover .card-icon {
  color: var(--accent-purple);
  background: linear-gradient(135deg, rgba(79, 172, 254, 0.2), rgba(168, 85, 247, 0.2));
  box-shadow: 0 0 30px var(--glow-blue);
  transform: scale(1.05);
}

.card-icon svg {
  width: 100%; height: 100%;
}

.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  font-weight: 600;
}

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

/* ============================================
   PERFORMANCE SECTION
   ============================================ */
#performance {
  background: var(--bg-primary);
}

.perf-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.stat-card {
  text-align: center;
  padding: 32px 16px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  transition: var(--transition);
}

.stat-card:hover {
  border-color: rgba(79, 172, 254, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(79, 172, 254, 0.1);
}

.stat-circle {
  position: relative;
  width: 100px; height: 100px;
  margin: 0 auto 16px;
}

.stat-circle svg {
  width: 100%; height: 100%;
  transform: rotate(-90deg);
}

.stat-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.06);
  stroke-width: 6;
}

.stat-fill {
  fill: none;
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 339.292;
  stroke-dashoffset: 339.292;
  transition: stroke-dashoffset 1.5s ease-out;
}

.stat-fill.animate {
  /* animation is driven by JS setting stroke-dashoffset via inline style */
}

.stat-value {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 800;
}

.stat-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
}

/* Performance Preview Card */
.perf-preview {
  max-width: 640px;
  margin: 0 auto;
}

.preview-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.preview-card:hover {
  border-color: rgba(79, 172, 254, 0.3);
  box-shadow: 0 8px 40px rgba(79, 172, 254, 0.1);
}

.preview-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid var(--glass-border);
}

.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}

.dot.red { background: #ff5f57; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #28c840; }

.url {
  margin-left: 12px;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-family: 'SF Mono', 'Fira Code', monospace;
}

.preview-body {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 32px 20px;
}

.preview-score {
  text-align: center;
}

.preview-ring {
  width: 80px; height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  position: relative;
}

.preview-ring::before {
  content: '';
  position: absolute;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--bg-primary);
}

.preview-ring span {
  position: relative;
  z-index: 1;
  font-size: 1.4rem;
  font-weight: 800;
}

.preview-score p {
  color: var(--text-secondary);
  font-size: 0.82rem;
}

/* ============================================
   PRICING SECTION
   ============================================ */
#pricing {
  background: var(--bg-secondary);
}

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

.pricing-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 40px 28px;
  text-align: center;
  transition: var(--transition);
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-blue);
  box-shadow: 0 0 40px var(--glow-blue), inset 0 0 30px rgba(79, 172, 254, 0.03);
}

.pricing-card.featured {
  border-color: rgba(79, 172, 254, 0.3);
  transform: scale(1.03);
  box-shadow: 0 0 40px rgba(79, 172, 254, 0.08);
}

.pricing-card.featured:hover {
  transform: scale(1.03) translateY(-8px);
}

.badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
  color: #fff;
  padding: 4px 20px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pricing-card h3 {
  font-size: 1.4rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.price {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 28px;
  color: var(--accent-blue);
}

.price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
}

.features {
  margin-bottom: 32px;
}

.features li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.features li::before {
  content: '✓';
  margin-right: 10px;
  color: var(--accent-green);
  font-weight: 700;
}

.pricing-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 20px;
}

/* ============================================
   INTEGRATIONS SECTION
   ============================================ */
#integrations {
  background: var(--bg-primary);
}

.integrations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.int-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 24px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  cursor: default;
}

.int-card svg {
  width: 22px; height: 22px;
  color: var(--accent-blue);
  flex-shrink: 0;
  transition: var(--transition);
}

.int-card span {
  font-size: 0.92rem;
  font-weight: 500;
}

.int-card:hover {
  border-color: rgba(79, 172, 254, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(79, 172, 254, 0.08);
}

.int-card:hover svg {
  color: var(--accent-purple);
  transform: scale(1.1);
}

/* ============================================
   FEATURED PROJECT SECTION
   ============================================ */
#featured {
  background: var(--bg-secondary);
}

.featured-card {
  display: block;
  max-width: 700px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  transition: var(--transition);
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.featured-card:hover {
  border-color: rgba(79, 172, 254, 0.4);
  box-shadow: 0 0 50px var(--glow-blue), 0 8px 40px rgba(0, 0, 0, 0.3);
  transform: translateY(-4px);
}

.featured-browser {
  overflow: hidden;
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid var(--glass-border);
}

.browser-url {
  margin-left: 12px;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-family: 'SF Mono', 'Fira Code', monospace;
}

.featured-preview {
  padding: 60px 40px;
}

.featured-content {
  width: 100%;
}

.featured-logo {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.featured-line {
  height: 8px;
  width: 80%;
  background: linear-gradient(90deg, rgba(79, 172, 254, 0.15), transparent);
  border-radius: 4px;
  margin-bottom: 10px;
}

.featured-line.short {
  width: 50%;
  margin-bottom: 32px;
}

.featured-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.fc {
  height: 100px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  border: 1px solid var(--glass-border);
  transition: var(--transition);
}

.featured-card:hover .fc {
  border-color: rgba(79, 172, 254, 0.1);
}

.featured-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 26, 0.8);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

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

.featured-overlay span {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--accent-blue);
  border-bottom: 2px solid var(--accent-blue);
  padding-bottom: 4px;
}

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

.contact-email {
  max-width: 400px;
  margin: 0 auto;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 40px 24px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  transition: var(--transition);
  text-align: center;
}

.contact-card svg {
  width: 28px; height: 28px;
  color: var(--accent-blue);
  transition: var(--transition);
}

.contact-card span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.contact-card:hover {
  border-color: var(--accent-blue);
  transform: translateY(-4px);
  box-shadow: 0 0 30px var(--glow-blue);
}

.contact-card:hover svg {
  color: var(--accent-purple);
  transform: scale(1.1);
}



/* ============================================
   FOOTER
   ============================================ */
footer {
  padding: 32px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--glass-border);
  text-align: center;
}

footer p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ============================================
   FADE-IN ANIMATIONS
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease forwards;
}

.fade-in:nth-child(1) { animation-delay: 0.1s; }
.fade-in:nth-child(2) { animation-delay: 0.3s; }
.fade-in:nth-child(3) { animation-delay: 0.5s; }
.fade-in:nth-child(4) { animation-delay: 0.7s; }

@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}

.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

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

/* Tablet */
@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-8px); }
  .perf-stats { grid-template-columns: repeat(2, 1fr); }
  .preview-body { grid-template-columns: repeat(2, 1fr); }

/* Mobile */
@media (max-width: 768px) {
  section { padding: 70px 0; }

  .services-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .perf-stats { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .perf-stats { grid-template-columns: repeat(2, 1fr); }
  .preview-body { grid-template-columns: repeat(2, 1fr); padding: 20px 16px; }
  .preview-ring { width: 64px; height: 64px; }
  .preview-ring::before { width: 48px; height: 48px; }
  .preview-ring span { font-size: 1.1rem; }
  .integrations-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-card { padding: 24px 12px; }
  .featured-cards { grid-template-columns: 1fr; }
  .featured-preview { padding: 40px 24px; }
  .hero-btns { flex-direction: column; align-items: center; }
  .hero-content h1 { font-size: clamp(2.5rem, 12vw, 3.5rem); }
}

@media (max-width: 480px) {
  .perf-stats { grid-template-columns: 1fr; }
  .preview-body { grid-template-columns: 1fr; }
  .integrations-grid { grid-template-columns: 1fr; }
  .stat-circle { width: 80px; height: 80px; }
  .stat-value { font-size: 1.4rem; }
  .int-card { padding: 16px 20px; }
}

@media (max-width: 480px) {
  .perf-stats { grid-template-columns: 1fr; }
  .preview-body { grid-template-columns: 1fr; }
  .integrations-grid { grid-template-columns: 1fr; }

  .stat-circle { width: 80px; height: 80px; }
  .stat-value { font-size: 1.4rem; }
  .int-card { padding: 16px 20px; }
}

/* Hide custom cursor on touch devices */
@media (hover: none) and (pointer: coarse) {
  body { cursor: auto; }
  #cursor, #cursor-follower, .cursor-trail, .click-particle { display: none; }
}
