/* === RESET & BASE === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --navy-dark: #1a1a2e;
  --navy-mid: #16213e;
  --navy-light: #0f3460;
  --red: #e94560;
  --red-glow: rgba(233, 69, 96, 0.3);
  --teal: #4ecdc4;
  --teal-glow: rgba(78, 205, 196, 0.3);
  --white: #ffffff;
  --gray-100: rgba(255,255,255,0.9);
  --gray-200: rgba(255,255,255,0.7);
  --gray-300: rgba(255,255,255,0.5);
  --gray-400: rgba(255,255,255,0.15);
  --gray-500: rgba(255,255,255,0.05);
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --radius: 16px;
  --radius-sm: 10px;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: 0.4s var(--ease);
}
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--font);
  background: var(--navy-dark);
  color: var(--gray-100);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 32px; }

/* === CURSOR GLOW === */
.cursor-glow {
  position: fixed; width: 600px; height: 600px;
  border-radius: 50%; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(78,205,196,0.06) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  transition: opacity 0.6s var(--ease);
  opacity: 0;
}
.cursor-glow.active { opacity: 1; }

/* === NAVIGATION === */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(26, 26, 46, 0.8);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: var(--transition);
}
.nav.scrolled { background: rgba(26, 26, 46, 0.95); border-bottom-color: rgba(255,255,255,0.1); }
.nav-container {
  max-width: 1140px; margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav-logo { font-size: 22px; font-weight: 800; letter-spacing: -0.5px; }
.nav-logo span { color: var(--red); }
.nav-links { display: flex; list-style: none; gap: 36px; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--gray-300);
  transition: color 0.4s var(--ease); position: relative; letter-spacing: 0.02em;
}
.nav-links a:hover { color: var(--white); }
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1.5px;
  background: var(--red); transition: width 0.4s var(--ease-out);
}
.nav-links a:hover::after { width: 100%; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span {
  display: block; width: 22px; height: 1.5px; background: var(--white);
  margin: 5px 0; transition: var(--transition);
}

/* === HERO === */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; padding: 140px 0 100px; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy-mid) 40%, var(--navy-light) 100%);
}
.hero-gradient-orb {
  position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.5;
  animation: orbFloat 12s ease-in-out infinite alternate;
}
.hero-gradient-orb.orb-1 {
  width: 600px; height: 600px; top: -10%; left: -5%;
  background: radial-gradient(circle, rgba(233,69,96,0.15), transparent 70%);
}
.hero-gradient-orb.orb-2 {
  width: 500px; height: 500px; bottom: -10%; right: -5%;
  background: radial-gradient(circle, rgba(78,205,196,0.12), transparent 70%);
  animation-delay: -6s;
}
.hero-gradient-orb.orb-3 {
  width: 300px; height: 300px; top: 40%; left: 50%;
  background: radial-gradient(circle, rgba(15,52,96,0.4), transparent 70%);
  animation-delay: -3s;
}
@keyframes orbFloat {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, -30px) scale(1.1); }
}
/* Grid/dot pattern overlay */
.hero-pattern {
  position: absolute; inset: 0; opacity: 0.3;
  background:
    radial-gradient(circle 1px, rgba(255,255,255,0.12) 100%, transparent 100%) 0 0 / 40px 40px;
}
.hero-content-wrapper {
  position: relative; z-index: 2; text-align: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(233,69,96,0.08); border: 1px solid rgba(233,69,96,0.2);
  border-radius: 24px; padding: 7px 18px; font-size: 12px; font-weight: 600;
  color: var(--red); margin-bottom: 32px; letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero-badge .pulse {
  width: 6px; height: 6px; border-radius: 50%; background: var(--red);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }
.hero-title {
  font-size: clamp(42px, 6vw, 76px); font-weight: 800;
  line-height: 1.05; letter-spacing: -0.03em; margin-bottom: 24px;
  max-width: 800px; margin-left: auto; margin-right: auto;
}
.hero-title span { color: var(--red); }
.hero-subtitle {
  font-size: clamp(16px, 1.8vw, 19px); color: var(--gray-200);
  line-height: 1.7; margin-bottom: 40px; max-width: 580px;
  margin-left: auto; margin-right: auto; font-weight: 400;
}
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 64px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 32px; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 600; transition: all 0.4s var(--ease);
  cursor: pointer; border: none; font-family: var(--font); letter-spacing: 0.01em;
}
.btn-primary {
  background: var(--red); color: var(--white);
  box-shadow: 0 4px 24px var(--red-glow);
}
.btn-primary:hover { background: #d63d56; transform: translateY(-2px); box-shadow: 0 8px 40px var(--red-glow); }
.btn-outline {
  background: rgba(255,255,255,0.04); color: var(--white);
  border: 1px solid rgba(255,255,255,0.15);
}
.btn-outline:hover { border-color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.08); transform: translateY(-2px); }

/* Feature cards — glassmorphism */
.hero-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  max-width: 960px; margin: 0 auto 56px;
}
.float-card {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius); padding: 28px;
  transition: all 0.5s var(--ease-out);
  position: relative; overflow: hidden;
}
.float-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, transparent 50%);
  opacity: 0; transition: opacity 0.5s var(--ease);
}
.float-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,255,255,0.15);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.05);
}
.float-card:hover::before { opacity: 1; }
.float-card.highlight { border-color: rgba(78,205,196,0.2); }
.float-card.highlight:hover { border-color: rgba(78,205,196,0.4); box-shadow: 0 20px 60px rgba(0,0,0,0.3), 0 0 40px rgba(78,205,196,0.08); }
.float-card-icon { font-size: 14px; font-weight: 700; margin-bottom: 12px; color: var(--teal); letter-spacing: 0.05em; font-family: 'Inter', sans-serif; }
.float-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 6px; letter-spacing: -0.01em; }
.float-card p { font-size: 13px; color: var(--gray-300); line-height: 1.6; position: relative; }

/* Social proof */
.social-proof {
  display: flex; align-items: center; gap: 14px; justify-content: center;
  padding-top: 0;
}
.avatar-stack { display: flex; }
.avatar-dot {
  width: 36px; height: 36px; border-radius: 50%;
  border: 2px solid var(--navy-dark); margin-left: -10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700;
}
.avatar-dot:first-child { margin-left: 0; }
.social-proof-text { font-size: 13px; color: var(--gray-300); text-align: left; }
.social-proof-text strong { color: var(--gray-100); }

/* === SECTIONS === */
section { padding: 150px 0; }
.section-title {
  font-size: clamp(32px, 4.5vw, 52px); font-weight: 800;
  text-align: center; margin-bottom: 16px; letter-spacing: -0.03em;
}
.section-title span { color: var(--red); }
.section-subtitle {
  text-align: center; color: var(--gray-200);
  font-size: 17px; max-width: 520px; margin: 0 auto 72px;
  line-height: 1.7;
}

/* === CTA BANNER === */
.cta-banner {
  padding: 0;
  border-top: 1px solid rgba(78,205,196,0.1);
  border-bottom: 1px solid rgba(78,205,196,0.1);
  background: linear-gradient(135deg, rgba(15,52,96,0.4) 0%, rgba(26,26,46,0.8) 50%, rgba(22,33,62,0.5) 100%);
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(78,205,196,0.06), transparent 70%);
}
.cta-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 24px; padding: 56px 0; position: relative;
}
.cta-banner h3 { font-size: 24px; font-weight: 700; margin: 0 0 8px; letter-spacing: -0.02em; }
.cta-banner .cta-sub { color: var(--gray-300); margin: 0; font-size: 15px; }
.cta-badge {
  display: inline-block; background: rgba(78,205,196,0.12); color: var(--teal);
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  padding: 4px 12px; border-radius: 4px; margin-bottom: 10px;
}

/* === BLOG === */
.blog-grid { display: grid; gap: 28px; margin-bottom: 48px; }

/* Featured article — full-width dramatic */
.blog-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  min-height: 400px; display: flex; align-items: flex-end;
  transition: all 0.5s var(--ease-out);
  border: 1px solid rgba(255,255,255,0.06);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 24px 60px rgba(0,0,0,0.4); }
.blog-card .blog-card-image {
  position: absolute; inset: 0;
}
.blog-card .blog-card-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.blog-card:hover .blog-card-image img { transform: scale(1.04); }
.blog-card .blog-card-image::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(26,26,46,0.95) 0%, rgba(26,26,46,0.6) 40%, rgba(26,26,46,0.2) 100%);
}
.blog-card .blog-card-content {
  position: relative; z-index: 2; padding: 48px;
  width: 100%; max-width: 640px;
}
.blog-tag {
  display: inline-block; background: rgba(233,69,96,0.15); color: var(--red);
  font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em;
  padding: 5px 14px; border-radius: 20px; margin-bottom: 16px; width: fit-content;
}
.blog-card-content h3 { font-size: 26px; font-weight: 700; margin-bottom: 12px; line-height: 1.25; letter-spacing: -0.02em; }
.blog-card-content p { color: var(--gray-200); font-size: 15px; line-height: 1.7; margin-bottom: 20px; }
.blog-link {
  color: var(--red); font-weight: 600; font-size: 14px;
  transition: color 0.4s var(--ease); letter-spacing: 0.01em;
}
.blog-link:hover { color: var(--teal); }
.read-time { font-size: 12px; color: var(--gray-300); margin-left: 16px; font-weight: 400; }

/* Mini article cards */
.blog-card-mini {
  display: grid; grid-template-columns: 100px 1fr; gap: 0;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius); overflow: hidden;
  transition: all 0.5s var(--ease-out);
}
.blog-card-mini:hover {
  border-color: rgba(233,69,96,0.3);
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.25);
  background: rgba(255,255,255,0.05);
}
.blog-card-mini .mini-img {
  background: linear-gradient(135deg, var(--navy-light), var(--navy-mid));
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; letter-spacing: 0.15em; color: var(--gray-300);
  transition: background 0.5s var(--ease);
}
.blog-card-mini:hover .mini-img { background: linear-gradient(135deg, rgba(233,69,96,0.15), var(--navy-light)); }
.blog-card-mini .mini-content { padding: 24px; }
.blog-card-mini h3 { font-size: 15px; font-weight: 600; margin-bottom: 6px; line-height: 1.35; letter-spacing: -0.01em; }
.blog-card-mini p { font-size: 13px; color: var(--gray-300); line-height: 1.5; }
.coming-soon-tag {
  display: inline-block; background: rgba(255,255,255,0.06);
  color: var(--gray-300); font-size: 10px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  padding: 3px 10px; border-radius: 4px; margin-bottom: 8px;
}

/* Topics strip */
.topics-strip {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  margin-bottom: 56px;
}
.topic-pill {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px; padding: 8px 20px; font-size: 13px;
  color: var(--gray-300); transition: all 0.4s var(--ease); font-weight: 500;
}
.topic-pill:hover { border-color: var(--teal); color: var(--teal); background: rgba(78,205,196,0.06); }

/* Blog CTA */
.blog-cta {
  text-align: center; padding: 48px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
}
.blog-cta p { color: var(--gray-200); margin-bottom: 24px; font-size: 17px; }

/* === ABOUT === */
.about {
  background: var(--navy-mid);
  position: relative; overflow: hidden;
}
.about::before {
  content: ''; position: absolute; top: 0; right: -20%; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(78,205,196,0.04), transparent 70%);
  border-radius: 50%;
}
.about-content {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: start; max-width: 960px; margin: 0 auto;
}
.about-visual {
  position: relative;
}
.about-quote {
  font-size: 28px; font-weight: 700; line-height: 1.35; letter-spacing: -0.02em;
  color: var(--white); position: relative; padding-left: 24px;
  border-left: 3px solid var(--teal);
}
.about-quote-attr {
  margin-top: 20px; padding-left: 24px;
  font-size: 14px; color: var(--gray-300); font-weight: 500;
}
.about-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px;
}
.about-stat {
  padding: 24px; background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-sm);
}
.about-stat-number {
  font-size: 32px; font-weight: 800; letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.about-stat-number.teal { color: var(--teal); }
.about-stat-number.red { color: var(--red); }
.about-stat-label { font-size: 13px; color: var(--gray-300); }
.about-text {}
.about-lead { font-size: 20px; font-weight: 600; color: var(--white); margin-bottom: 24px; line-height: 1.5; letter-spacing: -0.01em; }
.about-text p { color: var(--gray-200); font-size: 15px; margin-bottom: 18px; line-height: 1.75; }
.about-connect { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.connect-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 18px; background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm); font-size: 13px; color: var(--gray-300);
  transition: all 0.4s var(--ease); font-weight: 500;
}
.connect-link:hover { border-color: rgba(233,69,96,0.3); color: var(--white); background: rgba(255,255,255,0.06); }

/* === FOOTER === */
.footer {
  padding: 64px 0 48px; border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center; position: relative;
}
.back-to-top {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  color: var(--gray-200); font-size: 18px; margin-bottom: 40px;
  transition: all 0.4s var(--ease); cursor: pointer;
}
.back-to-top:hover {
  background: rgba(233,69,96,0.1); border-color: rgba(233,69,96,0.3);
  color: var(--red); transform: translateY(-3px);
}
.footer-logo { font-size: 20px; font-weight: 800; margin-bottom: 8px; letter-spacing: -0.02em; }
.footer-logo span { color: var(--red); }
.footer-tagline { color: var(--gray-300); font-size: 14px; margin-bottom: 24px; }
.footer-links { display: flex; justify-content: center; gap: 28px; margin-bottom: 24px; flex-wrap: wrap; }
.footer-links a { font-size: 13px; color: var(--gray-300); transition: color 0.4s var(--ease); font-weight: 500; }
.footer-links a:hover { color: var(--white); }
.footer-copy { color: rgba(255,255,255,0.3); font-size: 12px; }

/* === ANIMATIONS === */
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }
.reveal.delay-4 { transition-delay: 0.4s; }
.reveal.delay-5 { transition-delay: 0.5s; }

/* Stagger children */
.stagger-children .reveal:nth-child(1) { transition-delay: 0s; }
.stagger-children .reveal:nth-child(2) { transition-delay: 0.1s; }
.stagger-children .reveal:nth-child(3) { transition-delay: 0.2s; }
.stagger-children .reveal:nth-child(4) { transition-delay: 0.3s; }
.stagger-children .reveal:nth-child(5) { transition-delay: 0.35s; }
.stagger-children .reveal:nth-child(6) { transition-delay: 0.4s; }

/* Counter animation */
.counter { display: inline-block; }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .hero-cards { grid-template-columns: 1fr; max-width: 480px; }
  .about-content { grid-template-columns: 1fr; gap: 48px; max-width: 640px; }
}
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; flex-direction: column; position: absolute;
    top: 72px; left: 0; right: 0; background: rgba(26,26,46,0.97);
    backdrop-filter: blur(24px);
    padding: 24px 32px; gap: 16px; border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .nav-links.open { display: flex; }
  section { padding: 100px 0; }
  .hero { padding: 100px 0 60px; min-height: auto; }
  .hero-title { font-size: clamp(36px, 8vw, 48px); }
  .hero-cards { grid-template-columns: 1fr; max-width: 420px; }
  .blog-card { min-height: 320px; }
  .blog-card .blog-card-content { padding: 32px; }
  .blog-card-content h3 { font-size: 22px; }
  .blog-card-mini { grid-template-columns: 80px 1fr; }
  .about-content { grid-template-columns: 1fr; gap: 40px; }
  .about-quote { font-size: 22px; }
  .about-stats { grid-template-columns: 1fr 1fr; gap: 16px; }
  .cta-inner { flex-direction: column; text-align: center; }
}
@media (max-width: 500px) {
  .container { padding: 0 20px; }
  section { padding: 80px 0; }
  .hero-cards { max-width: 100%; }
  .float-card { padding: 22px; }
  .blog-card .blog-card-content { padding: 24px; }
  .blog-card-content h3 { font-size: 20px; }
  .social-proof { flex-direction: column; gap: 10px; }
  .social-proof-text { text-align: center; }
  .about-stats { grid-template-columns: 1fr; }
  .footer-links { gap: 16px; }
}
