/* ============================================================
   Portfolio CMS — Main Stylesheet
   Dark Theme | Neon Blue/Purple | Glassmorphism | Premium Design
   ============================================================ */

/* ─── Google Fonts are loaded in layout ─── */

/* ─── CSS Custom Properties (Design Tokens) ─────────────────── */
:root {
  /* Colors */
  --bg-primary: #050511;
  --bg-secondary: #0a0a1a;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-glass: rgba(255, 255, 255, 0.05);
  --bg-glass-hover: rgba(255, 255, 255, 0.08);

  /* Neon accents */
  --neon-blue: #4fc3f7;
  --neon-purple: #a855f7;
  --neon-cyan: #06b6d4;
  --neon-pink: #ec4899;
  --neon-green: #22c55e;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
  --grad-glow: linear-gradient(135deg, rgba(79, 195, 247, 0.15), rgba(168, 85, 247, 0.15));
  --grad-card: linear-gradient(145deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  --grad-hero: radial-gradient(ellipse at 20% 50%, rgba(79, 195, 247, 0.12) 0%, transparent 50%),
               radial-gradient(ellipse at 80% 20%, rgba(168, 85, 247, 0.12) 0%, transparent 50%),
               radial-gradient(ellipse at 50% 100%, rgba(6, 182, 212, 0.08) 0%, transparent 50%);

  /* Text */
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-accent: var(--neon-blue);

  /* Borders */
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(79, 195, 247, 0.3);

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Outfit', 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Spacing */
  --section-py: 100px;
  --section-py-sm: 60px;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;

  /* Shadows */
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
  --shadow-glow-blue: 0 0 30px rgba(79, 195, 247, 0.2);
  --shadow-glow-purple: 0 0 30px rgba(168, 85, 247, 0.2);

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Z-index */
  --z-nav: 1000;
  --z-modal: 2000;
  --z-toast: 3000;
}

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

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

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

::selection { background: rgba(79, 195, 247, 0.3); color: #fff; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--neon-blue); border-radius: 10px; }

/* ─── Page Loader ─────────────────────────────────────────────── */
#page-loader {
  position: fixed; inset: 0;
  background: var(--bg-primary);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#page-loader.hidden { opacity: 0; visibility: hidden; }
.loader-inner { text-align: center; }
.loader-logo {
  font-family: var(--font-heading);
  font-size: 2rem; font-weight: 800;
  background: var(--grad-primary);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
  animation: pulse 1s ease-in-out infinite;
}
.loader-bar {
  width: 200px; height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px; overflow: hidden;
}
.loader-bar-fill {
  height: 100%;
  background: var(--grad-primary);
  animation: loader-fill 1.5s ease-in-out forwards;
}
@keyframes loader-fill { 0% { width: 0; } 100% { width: 100%; } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.6; } }

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

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

.section-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px;
  background: rgba(79, 195, 247, 0.1);
  border: 1px solid rgba(79, 195, 247, 0.3);
  border-radius: 50px;
  font-size: 0.8rem; font-weight: 600;
  color: var(--neon-blue);
  letter-spacing: 0.05em; text-transform: uppercase;
  margin-bottom: 16px;
}
.section-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--neon-blue);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--neon-blue);
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 16px;
}

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

/* ─── Glassmorphism Cards ─────────────────────────────────────── */
.glass-card {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}
.glass-card:hover {
  background: var(--bg-glass-hover);
  border-color: rgba(79, 195, 247, 0.2);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow-blue);
}

/* ─── Buttons ─────────────────────────────────────────────────── */
.btn-primary-gradient {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px;
  background: var(--grad-primary);
  color: #fff; font-weight: 700;
  border: none; border-radius: 50px;
  text-decoration: none; cursor: pointer;
  transition: var(--transition);
  position: relative; overflow: hidden;
  font-size: 0.95rem;
}
.btn-primary-gradient::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0.2);
  transform: translateX(-100%);
  transition: transform 0.4s ease;
}
.btn-primary-gradient:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(79, 195, 247, 0.4); }
.btn-primary-gradient:hover::before { transform: translateX(100%); }
.btn-primary-gradient:active { transform: translateY(-1px); }

.btn-outline-gradient {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 31px;
  background: transparent;
  color: var(--text-primary); font-weight: 600;
  border: 1px solid rgba(255,255,255,0.2); border-radius: 50px;
  text-decoration: none; cursor: pointer;
  transition: var(--transition);
  font-size: 0.95rem;
}
.btn-outline-gradient:hover {
  background: rgba(79, 195, 247, 0.1);
  border-color: var(--neon-blue);
  color: var(--neon-blue);
  transform: translateY(-3px);
}

/* ─── Header / Navigation ─────────────────────────────────────── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: var(--z-nav);
  padding: 20px 0;
  transition: var(--transition);
}
.site-header.scrolled {
  background: rgba(5, 5, 17, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  padding: 14px 0;
}
.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.4rem; font-weight: 800;
  text-decoration: none; color: var(--text-primary);
  display: flex; align-items: center; gap: 4px;
}
.nav-logo .bracket { color: var(--neon-blue); }
.nav-logo .name { color: var(--text-primary); }
.nav-logo .slash { color: var(--neon-purple); }

.nav-links { display: flex; align-items: center; gap: 8px; list-style: none; }
.nav-links a {
  color: var(--text-secondary); font-weight: 500; font-size: 0.92rem;
  text-decoration: none; padding: 8px 14px; border-radius: 8px;
  transition: var(--transition); position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: 4px; left: 50%; right: 50%;
  height: 2px; background: var(--neon-blue);
  border-radius: 2px; transition: var(--transition);
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover::after { left: 14px; right: 14px; }
.nav-links a.active { color: var(--neon-blue); }

.btn-hire-me {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 22px; border-radius: 50px;
  background: var(--grad-primary);
  color: #fff; font-weight: 700; font-size: 0.88rem;
  text-decoration: none; transition: var(--transition);
}
.btn-hire-me:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(79, 195, 247, 0.4); color: #fff; }

/* ─── Hero Section ────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 120px 0 80px;
  background: var(--grad-hero);
  position: relative; overflow: hidden;
}

#particles-js {
  position: absolute; inset: 0;
  z-index: 0; pointer-events: none;
}

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

.hero-availability {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 50px;
  font-size: 0.85rem; font-weight: 600; color: #22c55e;
  margin-bottom: 24px;
}
.availability-dot {
  width: 8px; height: 8px;
  background: #22c55e; border-radius: 50%;
  box-shadow: 0 0 8px #22c55e;
  animation: blink 2s ease-in-out infinite;
}

.hero-greeting {
  font-size: clamp(1rem, 2vw, 1.1rem);
  color: var(--text-secondary); font-weight: 500;
  margin-bottom: 8px;
}

.hero-title {
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 900; line-height: 1.05;
  margin-bottom: 16px;
}
.hero-title .name { background: var(--grad-primary); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.hero-typed-wrapper {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  color: var(--neon-blue); font-weight: 600;
  min-height: 2em;
  margin-bottom: 20px;
}
.typed-cursor { color: var(--neon-purple); }

.hero-description {
  font-size: clamp(1rem, 1.5vw, 1.05rem);
  color: var(--text-secondary); line-height: 1.8;
  max-width: 540px; margin-bottom: 36px;
}

.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-social {
  display: flex; align-items: center; gap: 12px;
}
.hero-social-link {
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  border-radius: 50%; color: var(--text-secondary);
  text-decoration: none; font-size: 1.1rem;
  transition: var(--transition);
}
.hero-social-link:hover {
  background: rgba(79, 195, 247, 0.15);
  border-color: var(--neon-blue);
  color: var(--neon-blue);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(79, 195, 247, 0.2);
}

.hero-illustration {
  position: relative; z-index: 1;
}
.hero-image-glow-wrapper {
  position: relative;
  display: inline-block;
}
.hero-image-glow-wrapper::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 85%;
  height: 85%;
  background: radial-gradient(circle, rgba(79, 195, 247, 0.25) 0%, rgba(168, 85, 247, 0.15) 50%, transparent 75%);
  filter: blur(40px);
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}
.hero-illustration img {
  width: 100%; max-width: 580px;
  animation: float 6s ease-in-out infinite;
}
.hero-portrait-img {
  max-height: 480px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: lighten;
  mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, black 75%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, black 75%, transparent 100%);
  filter: drop-shadow(0 0 30px rgba(79, 195, 247, 0.35));
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }

/* ─── Trusted By / Logo Marquee ───────────────────────────────── */
.trusted-section {
  padding: 40px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}
.trusted-label {
  font-size: 0.8rem; font-weight: 600; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 0.1em;
  text-align: center; margin-bottom: 24px;
}
.marquee-wrapper { overflow: hidden; }
.marquee-track {
  display: flex; align-items: center; gap: 60px;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.marquee-logo {
  opacity: 0.5; filter: grayscale(1) brightness(2);
  transition: var(--transition); white-space: nowrap;
}
.marquee-logo:hover { opacity: 1; filter: none; }
.marquee-logo img { height: 28px; width: auto; }

/* ─── Stats Section ───────────────────────────────────────────── */
.stats-section { padding: var(--section-py-sm) 0; }
.stat-card {
  text-align: center; padding: 32px 24px;
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}
.stat-card:hover {
  border-color: rgba(79, 195, 247, 0.3);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow-blue);
}
.stat-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, rgba(79, 195, 247, 0.15), rgba(168, 85, 247, 0.15));
  border: 1px solid rgba(79, 195, 247, 0.2);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--neon-blue);
  margin: 0 auto 16px;
}
.stat-value {
  font-family: var(--font-heading);
  font-size: 2.5rem; font-weight: 800;
  background: var(--grad-primary);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.stat-label { color: var(--text-secondary); font-size: 0.9rem; margin-top: 6px; }

/* ─── Section Base ─────────────────────────────────────────────── */
.portfolio-section { padding: var(--section-py) 0; position: relative; }
.portfolio-section + .portfolio-section { border-top: 1px solid rgba(255,255,255,0.04); }

/* ─── About Section ────────────────────────────────────────────── */
.about-image-wrapper { position: relative; }
.about-image {
  width: 100%; border-radius: var(--radius-xl);
  border: 2px solid var(--border-color);
  box-shadow: var(--shadow-glow-purple);
}
.about-highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.highlight-item {
  display: flex; align-items: center; gap: 10px;
  color: var(--text-secondary); font-size: 0.9rem;
}
.highlight-item i { color: var(--neon-blue); font-size: 1rem; }

/* ─── Services Grid ────────────────────────────────────────────── */
.service-card {
  padding: 32px 28px;
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  cursor: pointer; height: 100%;
}
.service-card:hover {
  border-color: rgba(79, 195, 247, 0.3);
  transform: translateY(-8px);
  box-shadow: var(--shadow-glow-blue);
  background: var(--bg-glass-hover);
}
.service-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, rgba(79, 195, 247, 0.15), rgba(168, 85, 247, 0.15));
  border: 1px solid rgba(79, 195, 247, 0.2);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: var(--neon-blue);
  margin-bottom: 20px;
  transition: var(--transition);
}
.service-card:hover .service-icon {
  background: var(--grad-primary);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 20px rgba(79, 195, 247, 0.3);
}
.service-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.service-description { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.7; }

/* ─── Projects Grid ────────────────────────────────────────────── */
.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  height: 100%;
}
.project-card:hover {
  border-color: rgba(79, 195, 247, 0.3);
  transform: translateY(-8px);
  box-shadow: var(--shadow-glow-blue);
}
.project-thumb {
  position: relative; overflow: hidden;
  height: 200px;
}
.project-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.project-card:hover .project-thumb img { transform: scale(1.08); }
.project-overlay {
  position: absolute; inset: 0;
  background: rgba(5, 5, 17, 0.85);
  display: flex; align-items: center; justify-content: center; gap: 12px;
  opacity: 0; transition: var(--transition);
}
.project-card:hover .project-overlay { opacity: 1; }
.project-link-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(79, 195, 247, 0.2);
  border: 1px solid var(--neon-blue);
  color: var(--neon-blue);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; font-size: 1rem;
  transition: var(--transition);
  transform: translateY(10px);
}
.project-card:hover .project-link-btn { transform: translateY(0); }
.project-link-btn:hover { background: var(--neon-blue); color: #fff; }
.project-body { padding: 24px; }
.project-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.project-tag {
  padding: 3px 10px; border-radius: 50px;
  background: rgba(79, 195, 247, 0.1);
  border: 1px solid rgba(79, 195, 247, 0.2);
  color: var(--neon-blue); font-size: 0.72rem; font-weight: 600;
}
.project-title { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.project-description { color: var(--text-secondary); font-size: 0.875rem; line-height: 1.6; }
.project-tech { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tech-badge {
  padding: 2px 8px; border-radius: 4px;
  background: rgba(255,255,255,0.05);
  color: var(--text-muted); font-size: 0.72rem; font-family: var(--font-mono);
}

/* ─── Skills Section ───────────────────────────────────────────── */
.skill-ring-wrapper { text-align: center; }
.skill-ring {
  position: relative; width: 100px; height: 100px; margin: 0 auto 12px;
}
.skill-ring canvas { transform: rotate(-90deg); }
.skill-percent {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.1rem; color: var(--text-primary);
}
.skill-name { font-weight: 600; color: var(--text-secondary); font-size: 0.85rem; }

.skill-bar-item { margin-bottom: 16px; }
.skill-bar-header { display: flex; justify-content: space-between; margin-bottom: 6px; }
.skill-bar-name { font-weight: 600; font-size: 0.9rem; }
.skill-bar-value { color: var(--neon-blue); font-weight: 700; font-size: 0.85rem; }
.skill-bar-track {
  height: 6px; background: rgba(255,255,255,0.08);
  border-radius: 6px; overflow: hidden;
}
.skill-bar-fill {
  height: 100%; border-radius: 6px;
  background: var(--grad-primary);
  width: 0; transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Experience Timeline ──────────────────────────────────────── */
.timeline { position: relative; }
.timeline::before {
  content: ''; position: absolute; left: 16px; top: 0; bottom: 0;
  width: 2px; background: var(--border-color);
}
.timeline-item { position: relative; padding-left: 52px; margin-bottom: 36px; }
.timeline-dot {
  position: absolute; left: 0; top: 6px;
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, var(--neon-blue), var(--neon-purple));
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; color: #fff;
  box-shadow: 0 0 12px rgba(79, 195, 247, 0.4);
}
.timeline-card {
  padding: 24px;
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}
.timeline-card:hover { border-color: rgba(79, 195, 247, 0.2); box-shadow: var(--shadow-glow-blue); }
.timeline-date { color: var(--neon-blue); font-size: 0.8rem; font-weight: 600; margin-bottom: 6px; }
.timeline-title { font-size: 1.05rem; font-weight: 700; }
.timeline-company { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 10px; }
.timeline-badge {
  display: inline-block; padding: 3px 10px;
  background: rgba(79, 195, 247, 0.1);
  border: 1px solid rgba(79, 195, 247, 0.2);
  border-radius: 50px; font-size: 0.72rem;
  color: var(--neon-blue); font-weight: 600; margin-left: 8px;
}

/* ─── Pricing Section ──────────────────────────────────────────── */
.pricing-toggle {
  display: flex; align-items: center; gap: 16px;
  justify-content: center; margin-bottom: 48px;
}
.toggle-label { color: var(--text-secondary); font-weight: 600; }
.toggle-label.active { color: var(--text-primary); }
.toggle-switch {
  position: relative; width: 52px; height: 28px;
  background: rgba(79, 195, 247, 0.2);
  border: 1px solid rgba(79, 195, 247, 0.3);
  border-radius: 14px; cursor: pointer;
  transition: var(--transition);
}
.toggle-switch.active { background: var(--neon-blue); border-color: var(--neon-blue); }
.toggle-knob {
  position: absolute; top: 3px; left: 3px;
  width: 20px; height: 20px; border-radius: 50%;
  background: #fff; transition: var(--transition);
}
.toggle-switch.active .toggle-knob { transform: translateX(24px); }
.save-badge {
  padding: 3px 10px; border-radius: 50px;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #22c55e; font-size: 0.75rem; font-weight: 700;
}

.pricing-card {
  padding: 36px 28px;
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  transition: var(--transition); height: 100%;
  position: relative; overflow: hidden;
}
.pricing-card.featured {
  background: linear-gradient(145deg, rgba(79, 195, 247, 0.12), rgba(168, 85, 247, 0.08));
  border-color: rgba(79, 195, 247, 0.3);
  box-shadow: var(--shadow-glow-blue);
  transform: scale(1.03);
}
.pricing-card:hover {
  transform: translateY(-8px);
  border-color: rgba(79, 195, 247, 0.3);
  box-shadow: var(--shadow-glow-blue);
}
.pricing-card.featured:hover { transform: scale(1.03) translateY(-8px); }

.plan-badge {
  position: absolute; top: 16px; right: 16px;
  padding: 4px 14px; border-radius: 50px;
  background: var(--grad-primary); color: #fff;
  font-size: 0.72rem; font-weight: 700;
}

.plan-name { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.plan-price {
  font-family: var(--font-heading);
  font-size: 3rem; font-weight: 900;
  background: var(--grad-primary);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.plan-period { color: var(--text-muted); font-size: 0.9rem; }
.plan-features { list-style: none; margin: 24px 0; }
.plan-features li {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 0.9rem;
}
.plan-features li i { width: 16px; color: var(--neon-green); }
.plan-features li.not-included { color: var(--text-muted); }
.plan-features li.not-included i { color: var(--text-muted); }

/* ─── Testimonials ─────────────────────────────────────────────── */
.testimonial-card {
  padding: 32px;
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  transition: var(--transition); height: 100%;
}
.testimonial-card:hover {
  border-color: rgba(79, 195, 247, 0.2);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow-blue);
}
.testimonial-stars { display: flex; gap: 3px; margin-bottom: 16px; }
.testimonial-stars i { color: #fbbf24; font-size: 0.9rem; }
.testimonial-content { color: var(--text-secondary); font-style: italic; line-height: 1.8; margin-bottom: 24px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  border: 2px solid var(--border-glow); object-fit: cover;
}
.testimonial-name { font-weight: 700; font-size: 0.95rem; }
.testimonial-role { color: var(--text-muted); font-size: 0.8rem; }

/* ─── FAQ ──────────────────────────────────────────────────────── */
.faq-item {
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0;
  background: none; border: none;
  color: var(--text-primary); font-weight: 600; font-size: 1rem;
  text-align: left; cursor: pointer;
  transition: var(--transition);
}
.faq-question:hover { color: var(--neon-blue); }
.faq-question.active { color: var(--neon-blue); }
.faq-icon {
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(79, 195, 247, 0.1);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition); flex-shrink: 0;
}
.faq-question.active .faq-icon { background: var(--neon-blue); color: #fff; }
.faq-question.active .faq-icon i { transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease;
  color: var(--text-secondary); line-height: 1.8;
}
.faq-answer.open { max-height: 500px; padding-bottom: 20px; }

/* ─── Contact Section ──────────────────────────────────────────── */
.contact-form-card {
  padding: 40px;
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
}
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-weight: 600; font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 8px; }
.form-control {
  width: 100%; padding: 14px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-primary); font-size: 0.95rem;
  transition: var(--transition);
  font-family: var(--font-sans);
}
.form-control:focus {
  outline: none;
  border-color: var(--neon-blue);
  box-shadow: 0 0 0 3px rgba(79, 195, 247, 0.15);
  background: rgba(79, 195, 247, 0.05);
}
.form-control::placeholder { color: var(--text-muted); }
select.form-control { cursor: pointer; }
select.form-control option { background: var(--bg-secondary); color: var(--text-primary); }

/* ─── Newsletter Section ───────────────────────────────────────── */
.newsletter-section {
  padding: 60px 0;
  background: linear-gradient(135deg, rgba(79, 195, 247, 0.06), rgba(168, 85, 247, 0.06));
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
.newsletter-form { display: flex; gap: 12px; max-width: 480px; }
.newsletter-input {
  flex: 1; padding: 14px 20px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-color);
  border-radius: 50px; color: var(--text-primary);
  font-size: 0.95rem;
}
.newsletter-input:focus { outline: none; border-color: var(--neon-blue); }

/* ─── Footer ───────────────────────────────────────────────────── */
.site-footer {
  background: rgba(0, 0, 0, 0.4);
  border-top: 1px solid var(--border-color);
  padding: 80px 0 40px;
}
.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.4rem; font-weight: 800;
  color: var(--text-primary); text-decoration: none;
  display: block; margin-bottom: 16px;
}
.footer-logo .bracket { color: var(--neon-blue); }
.footer-description { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; max-width: 280px; }
.footer-heading { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-primary); margin-bottom: 20px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; transition: var(--transition); }
.footer-links a:hover { color: var(--neon-blue); padding-left: 6px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social-link {
  width: 38px; height: 38px;
  background: var(--bg-glass); border: 1px solid var(--border-color);
  border-radius: 50%; color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; font-size: 0.95rem; transition: var(--transition);
}
.footer-social-link:hover { border-color: var(--neon-blue); color: var(--neon-blue); transform: translateY(-3px); }
.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 24px; margin-top: 48px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { color: var(--text-muted); font-size: 0.85rem; }

/* ─── Flash Messages ───────────────────────────────────────────── */
.flash-container { position: fixed; top: 90px; right: 20px; z-index: var(--z-toast); display: flex; flex-direction: column; gap: 10px; }
.flash {
  padding: 14px 20px; border-radius: var(--radius-md);
  font-size: 0.9rem; font-weight: 600;
  display: flex; align-items: center; gap: 10px;
  backdrop-filter: blur(12px);
  animation: slideInRight 0.3s ease;
  max-width: 380px;
}
@keyframes slideInRight { from { transform: translateX(120%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
.flash-success { background: rgba(34, 197, 94, 0.15); border: 1px solid rgba(34, 197, 94, 0.3); color: #22c55e; }
.flash-error { background: rgba(239, 68, 68, 0.15); border: 1px solid rgba(239, 68, 68, 0.3); color: #ef4444; }
.flash-warning { background: rgba(245, 158, 11, 0.15); border: 1px solid rgba(245, 158, 11, 0.3); color: #f59e0b; }

/* ─── Back to Top ──────────────────────────────────────────────── */
.back-to-top {
  position: fixed; bottom: 24px; right: 24px;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--grad-primary);
  border: none; color: #fff; font-size: 1.1rem;
  cursor: pointer; transition: var(--transition);
  opacity: 0; visibility: hidden; z-index: 100;
  box-shadow: 0 4px 20px rgba(79, 195, 247, 0.4);
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(79, 195, 247, 0.5); }

/* ─── Crypto Payment ───────────────────────────────────────────── */
.crypto-card {
  padding: 20px;
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  text-align: center; transition: var(--transition);
  cursor: pointer;
}
.crypto-card:hover { border-color: rgba(79, 195, 247, 0.3); transform: translateY(-4px); }
.crypto-card.active { border-color: var(--neon-blue); background: rgba(79, 195, 247, 0.08); }
.crypto-icon { width: 48px; height: 48px; margin: 0 auto 10px; border-radius: 50%; object-fit: contain; }
.crypto-name { font-weight: 700; font-size: 0.9rem; }
.crypto-symbol { color: var(--text-muted); font-size: 0.78rem; }

.wallet-address {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono); font-size: 0.85rem;
  color: var(--text-secondary);
  word-break: break-all;
}
.btn-copy {
  flex-shrink: 0; padding: 6px 14px;
  background: rgba(79, 195, 247, 0.1);
  border: 1px solid rgba(79, 195, 247, 0.2);
  border-radius: var(--radius-sm);
  color: var(--neon-blue); font-size: 0.8rem; font-weight: 600;
  cursor: pointer; transition: var(--transition);
}
.btn-copy:hover { background: var(--neon-blue); color: #fff; }
.btn-copy.copied { background: var(--neon-green); border-color: var(--neon-green); color: #fff; }

/* ─── Process Steps ────────────────────────────────────────────── */
.process-steps { display: flex; align-items: flex-start; gap: 0; overflow-x: auto; }
.process-step { flex: 1; min-width: 120px; text-align: center; position: relative; }
.process-step:not(:last-child)::after {
  content: '→'; position: absolute; right: -20px; top: 24px;
  color: var(--neon-blue); font-size: 1.2rem;
}
.process-icon {
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(79, 195, 247, 0.15), rgba(168, 85, 247, 0.15));
  border: 2px solid rgba(79, 195, 247, 0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: var(--neon-blue);
  margin: 0 auto 14px; transition: var(--transition);
}
.process-step:hover .process-icon { background: var(--grad-primary); border-color: transparent; color: #fff; }
.process-step-title { font-weight: 700; font-size: 0.9rem; margin-bottom: 6px; }
.process-step-desc { color: var(--text-muted); font-size: 0.78rem; }

/* ─── Blog Cards ───────────────────────────────────────────────── */
.blog-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: var(--transition); height: 100%;
  text-decoration: none; display: block; color: var(--text-primary);
}
.blog-card:hover { border-color: rgba(79, 195, 247, 0.3); transform: translateY(-8px); box-shadow: var(--shadow-glow-blue); color: var(--text-primary); }
.blog-thumb { height: 200px; overflow: hidden; }
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.blog-card:hover .blog-thumb img { transform: scale(1.06); }
.blog-body { padding: 24px; }
.blog-category {
  display: inline-block; padding: 3px 12px; border-radius: 50px;
  background: rgba(79, 195, 247, 0.1); border: 1px solid rgba(79, 195, 247, 0.2);
  color: var(--neon-blue); font-size: 0.72rem; font-weight: 600;
  margin-bottom: 12px;
}
.blog-title { font-size: 1rem; font-weight: 700; line-height: 1.4; margin-bottom: 10px; }
.blog-excerpt { color: var(--text-secondary); font-size: 0.875rem; line-height: 1.6; }
.blog-meta { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border-color); }
.blog-meta-item { display: flex; align-items: center; gap: 5px; color: var(--text-muted); font-size: 0.78rem; }

/* ─── Certifications ───────────────────────────────────────────── */
.cert-card {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 24px;
  background: var(--bg-glass);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: var(--transition);
}
.cert-card:hover { border-color: rgba(79, 195, 247, 0.2); transform: translateX(6px); }
.cert-logo { width: 48px; height: 48px; border-radius: var(--radius-sm); object-fit: contain; flex-shrink: 0; }
.cert-icon {
  width: 48px; height: 48px; border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(79, 195, 247, 0.15), rgba(168, 85, 247, 0.15));
  border: 1px solid rgba(79, 195, 247, 0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--neon-blue); font-size: 1.3rem; flex-shrink: 0;
}
.cert-title { font-weight: 700; font-size: 0.95rem; }
.cert-issuer { color: var(--neon-blue); font-size: 0.8rem; font-weight: 600; }
.cert-date { color: var(--text-muted); font-size: 0.78rem; }

/* ─── Responsive ───────────────────────────────────────────────── */
@media (max-width: 1199px) {
  .hero-illustration img { max-width: 460px; }
}

@media (max-width: 991px) {
  :root { --section-py: 70px; }
  .hero-illustration { display: none; }
  .nav-links { display: none; }
  .pricing-card.featured { transform: scale(1); }
  .pricing-card.featured:hover { transform: translateY(-8px); }
}

@media (max-width: 767px) {
  :root { --section-py: 60px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .about-highlights { grid-template-columns: 1fr; }
  .contact-form-card { padding: 24px; }
  .newsletter-form { flex-direction: column; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .process-steps { padding-bottom: 16px; }
}

/* ─── 4K / Large Screen ─────────────────────────────────────────── */
@media (min-width: 2560px) {
  html { font-size: 18px; }
  .hero-title { font-size: 7rem; }
  :root { --section-py: 140px; }
}

/* ─── Animations ─────────────────────────────────────────────────── */
[data-aos] { transition-property: transform, opacity !important; }

.glow-on-hover:hover {
  box-shadow: 0 0 20px rgba(79, 195, 247, 0.4);
  transition: box-shadow 0.3s ease;
}

.shimmer {
  background: linear-gradient(90deg, rgba(255,255,255,0.03) 25%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.03) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ─── Utility Classes ────────────────────────────────────────────── */
.section-header { margin-bottom: 60px; }
.section-header-flex { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-bottom: 48px; }
.view-all-link { color: var(--neon-blue); text-decoration: none; font-weight: 600; font-size: 0.9rem; display: flex; align-items: center; gap: 6px; transition: var(--transition); }
.view-all-link:hover { color: var(--neon-purple); gap: 10px; }

.tag { display: inline-block; padding: 4px 12px; border-radius: 50px; background: rgba(79, 195, 247, 0.08); border: 1px solid rgba(79, 195, 247, 0.15); color: var(--neon-blue); font-size: 0.78rem; font-weight: 600; cursor: pointer; transition: var(--transition); }
.tag:hover, .tag.active { background: var(--neon-blue); color: #fff; border-color: var(--neon-blue); }

.divider-line {
  height: 1px; background: linear-gradient(90deg, transparent, rgba(79, 195, 247, 0.3), transparent);
  margin: 20px 0;
}

.text-neon-blue { color: var(--neon-blue) !important; }
.text-neon-purple { color: var(--neon-purple) !important; }
.text-neon-green { color: var(--neon-green) !important; }
.border-neon { border-color: var(--border-glow) !important; }
