@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=Inter:wght@400;500;600&display=swap');

:root {
  --bg-dark: #0a0a0c;
  --bg-panel: rgba(255, 255, 255, 0.03);
  --bg-panel-hover: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.08);
  --text-main: #f3f3f3;
  --text-muted: #a1a1aa;

  --accent-1: #FF5D5D;
  --accent-2: #C85A3A;
  --accent-glow: rgba(255, 93, 93, 0.4);

  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-btn: 12px;

  --font-display: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

/* Ambient Glowing Orbs Background */
body::before,
body::after {
  content: '';
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
  opacity: 0.15;
  animation: floatOrb 20s infinite alternate ease-in-out;
}

body::before {
  background: var(--accent-1);
  top: -10%;
  left: -10%;
}

body::after {
  background: #7E22CE;
  bottom: -10%;
  right: -10%;
  animation-delay: -10s;
}

@keyframes floatOrb {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(50px, 50px) scale(1.2);
  }
}

a {
  color: inherit;
  text-decoration: none;
  transition: 0.3s;
}

img {
  max-width: 100%;
  border-radius: var(--radius-md);
}

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

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

/* Glass Header */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  background: rgba(10, 10, 12, 0.6);
  border-bottom: 1px solid var(--border-light);
  padding: 16px 0;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.logo {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo span {
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
  font-weight: 500;
  font-size: 15px;
}

.nav-links a:not(.btn-glass):hover {
  color: var(--accent-1);
}

/* Buttons */
.btn-glass {
  background: var(--bg-panel);
  border: 1px solid var(--border-light);
  padding: 10px 20px;
  border-radius: var(--radius-btn);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-weight: 600;
  font-family: var(--font-body);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: white;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-glass:hover {
  background: var(--bg-panel-hover);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  color: white;
  padding: 14px 28px;
  border-radius: var(--radius-btn);
  font-weight: 600;
  font-family: var(--font-body);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px var(--accent-glow);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 32px var(--accent-glow);
  filter: brightness(1.1);
}

/* Hero Section */
.hero {
  padding: 100px 0 80px;
  text-align: center;
  position: relative;
}

.hero-badge {
  display: inline-block;
  background: var(--bg-panel);
  border: 1px solid var(--border-light);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent-1);
  margin-bottom: 24px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.hero p {
  font-size: clamp(18px, 2vw, 22px);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 40px;
}

/* Glassmorphic Email Form */
.email-capture {
  background: var(--bg-panel);
  border: 1px solid var(--border-light);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  padding: 8px;
  border-radius: var(--radius-md);
  display: flex;
  gap: 8px;
  max-width: 480px;
  margin: 0 auto;
  position: relative;
  transition: 0.3s border-color;
}

.email-capture:focus-within {
  border-color: var(--accent-1);
  box-shadow: 0 0 0 4px rgba(255, 93, 93, 0.1);
}

.email-capture input {
  background: transparent;
  border: none;
  color: white;
  padding: 12px 16px;
  font-size: 16px;
  font-family: inherit;
  flex: 1;
  outline: none;
  min-width: 0;
}

.email-capture input::placeholder {
  color: #666;
}

.form-msg {
  display: none;
  margin-top: 16px;
  font-weight: 500;
  font-size: 15px;
}

.form-msg.success {
  color: #4ADE80;
  display: block;
  animation: slideUp 0.3s;
}

.form-msg.error {
  color: #F87171;
  display: block;
  animation: slideUp 0.3s;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

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

/* Article Cards Grid */
.section-title {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 800;
  margin: 80px 0 40px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--border-light), transparent);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 32px;
}

.card {
  background: var(--bg-panel);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0s;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, transparent 100%);
  z-index: 0;
}

.card>* {
  position: relative;
  z-index: 1;
}

.card:hover,
.card.reveal.active:hover {
  transform: translateY(-12px) scale(1.05);
  background: var(--bg-panel-hover);
  border-color: rgba(255, 93, 93, 0.5);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 35px rgba(255, 93, 93, 0.25);
  z-index: 10;
}

.card-badge {
  align-self: flex-start;
  background: rgba(255, 93, 93, 0.1);
  color: var(--accent-1);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.card h3 {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.3;
  font-weight: 700;
  margin-bottom: 12px;
}

.card p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 24px;
  flex: 1;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-light);
  padding-top: 20px;
  font-size: 14px;
  color: var(--text-main);
  font-weight: 600;
}

/* Category Pills */
.cat-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.cat-pill {
  background: var(--bg-panel);
  border: 1px solid var(--border-light);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-main);
  transition: 0.3s;
  white-space: nowrap;
}

.cat-pill:hover {
  background: var(--accent-1);
  border-color: var(--accent-1);
  transform: scale(1.02);
}

.cat-pill span {
  font-size: 24px;
}

/* Article Typography (The Reading Experience) */
.article-header {
  padding: 80px 0 60px;
  text-align: center;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 60px;
}

.article-header h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.15;
  letter-spacing: -1px;
  margin: 24px 0;
}

.article-meta {
  color: var(--text-muted);
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.prose {
  font-size: 18px;
  line-height: 1.8;
  color: #d4d4d8;
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 32px;
  color: white;
  margin: 60px 0 24px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.prose h3 {
  font-size: 24px;
  color: white;
  margin: 40px 0 16px;
  font-weight: 600;
}

.prose p {
  margin-bottom: 24px;
}

.prose ul,
.prose ol {
  margin: 0 0 24px 24px;
  padding: 0;
}

.prose li {
  margin-bottom: 12px;
}

.prose a {
  color: var(--accent-1);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(255, 93, 93, 0.3);
  text-underline-offset: 4px;
}

.prose a:hover {
  text-decoration-color: var(--accent-1);
}

/* Beautiful Product Boxes inside articles */
.prose blockquote {
  background: var(--bg-panel);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 32px;
  margin: 40px 0;
  position: relative;
}

.prose blockquote::before {
  content: '💡';
  position: absolute;
  top: -20px;
  left: 32px;
  background: var(--bg-dark);
  font-size: 24px;
  padding: 0 8px;
}

.prose blockquote p {
  margin: 0;
  font-size: 19px;
  font-style: italic;
  color: white;
}

/* Inline CTA */
.inline-cta {
  background: linear-gradient(135deg, rgba(200, 90, 58, 0.1), rgba(255, 93, 93, 0.05));
  border: 1px solid rgba(255, 93, 93, 0.2);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  margin: 60px 0;
}

.inline-cta h3 {
  margin: 0 0 16px;
  color: white;
  border: none;
  font-size: 24px;
}

.inline-cta p {
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* Footer */
footer {
  background: rgba(0, 0, 0, 0.4);
  border-top: 1px solid var(--border-light);
  padding: 80px 0 40px;
  margin-top: 100px;
}

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

.footer-brand p {
  color: var(--text-muted);
  font-size: 15px;
  margin-top: 20px;
  max-width: 300px;
}

.footer-links h4 {
  font-family: var(--font-display);
  font-size: 18px;
  color: white;
  margin-bottom: 24px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 15px;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  border-top: 1px solid var(--border-light);
  padding-top: 40px;
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 42px;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .nav-links {
    display: none;
  }

  /* Mobile menu simplified */
}