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

/* ============================================
   1. CSS CUSTOM PROPERTIES
   ============================================ */
:root {
  --primary: #8b5cf6;
  --accent: #ec4899;
  --bg: #0d0b14;
  --surface: #1a1525;
  --text: #f2f2f5;
  --muted: #a8a3b5;

  --gradient: linear-gradient(135deg, var(--primary), var(--accent));
  --gradient-hero: linear-gradient(135deg, #1a0f2e 0%, #2d1b4e 50%, #1a0f2e 100%);

  --radius: 4px;
  --radius-lg: 8px;

  --shadow-glow: 0 0 40px rgba(139, 92, 246, 0.3);
  --shadow-glow-accent: 0 0 40px rgba(236, 72, 153, 0.3);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3);

  --header-height: 72px;
  --section-padding: 5rem 1.5rem;
  --container-max: 1200px;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   2. RESET & BASE
   ============================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent);
}

ul, ol {
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: var(--radius);
}

/* ============================================
   3. TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

h4 {
  font-size: 1.125rem;
}

p {
  color: var(--muted);
  max-width: 65ch;
}

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

/* ============================================
   4. LAYOUT UTILITIES
   ============================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: var(--section-padding);
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header p {
  margin: 1rem auto 0;
  font-size: 1.125rem;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

/* ============================================
   5. HEADER & NAVIGATION
   ============================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  background: rgba(13, 11, 20, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.header.scrolled {
  background: rgba(13, 11, 20, 0.97);
  border-bottom-color: rgba(168, 163, 181, 0.15);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

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

.logo {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-menu {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-menu a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  transition: color var(--transition);
  position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--text);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: width var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.mobile-menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  transition: background var(--transition);
}

.mobile-menu-toggle:hover {
  background: var(--surface);
}

.mobile-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  position: relative;
  transition: background var(--transition);
}

.mobile-menu-toggle span::before,
.mobile-menu-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--text);
  transition: transform var(--transition);
}

.mobile-menu-toggle span::before {
  top: -7px;
}

.mobile-menu-toggle span::after {
  top: 7px;
}

.mobile-menu-toggle.active span {
  background: transparent;
}

.mobile-menu-toggle.active span::before {
  transform: rotate(45deg);
  top: 0;
}

.mobile-menu-toggle.active span::after {
  transform: rotate(-45deg);
  top: 0;
}

@media (max-width: 767px) {
  .mobile-menu-toggle {
    display: inline-flex;
  }

  .nav-menu {
    display: none;
  }

  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    padding: 1rem;
    border-top: 1px solid var(--muted);
    gap: 0;
  }

  .nav-menu.open a {
    padding: 0.85rem 1rem;
    border-radius: var(--radius);
  }

  .nav-menu.open a:hover {
    background: var(--surface);
  }
}

/* ============================================
   6. PHOTO BACKGROUND OVERLAY
   ============================================ */
.has-photo-bg {
  position: relative;
  isolation: isolate;
}

.has-photo-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.85));
  z-index: 0;
}

.has-photo-bg > * {
  position: relative;
  z-index: 1;
}

/* ============================================
   7. HERO SECTION
   ============================================ */
.hero-section {
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
  background: var(--gradient-hero);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(139, 92, 246, 0.15) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 80%, rgba(236, 72, 153, 0.1) 0%, transparent 50%);
  z-index: 0;
  pointer-events: none;
}

.hero-content {
  max-width: 720px;
  margin: 0 auto;
}

.hero-content h1 {
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

/* ============================================
   8. BUTTONS
   ============================================ */
.btn-primary,
.cta-button,
.form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  background: var(--gradient);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover,
.cta-button:hover,
.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 60px rgba(139, 92, 246, 0.4), 0 0 60px rgba(236, 72, 153, 0.3);
}

.btn-primary:active,
.cta-button:active,
.form-submit:active {
  transform: translateY(0);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  background: transparent;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1px solid rgba(242, 242, 245, 0.25);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}

.btn-secondary:hover {
  border-color: var(--primary);
  background: rgba(139, 92, 246, 0.08);
  transform: translateY(-2px);
}

.btn-secondary:active {
  transform: translateY(0);
}

/* ============================================
   9. FEATURES SECTION
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background: var(--surface);
  border: 1px solid rgba(168, 163, 181, 0.1);
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
  border-color: rgba(139, 92, 246, 0.3);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(139, 92, 246, 0.12);
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  font-size: 1.4rem;
  color: var(--primary);
}

.feature-card h3 {
  margin-bottom: 0.75rem;
}

.feature-card p {
  font-size: 0.925rem;
  line-height: 1.65;
}

/* ============================================
   10. SERVICES SECTION
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-card {
  background: var(--surface);
  border: 1px solid rgba(168, 163, 181, 0.1);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.service-card h3 {
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.925rem;
  margin-bottom: 1.25rem;
}

.service-card .btn-secondary {
  padding: 0.6rem 1.25rem;
  font-size: 0.85rem;
}

/* ============================================
   11. ABOUT SECTION
   ============================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.about-content h2 {
  margin-bottom: 1.25rem;
}

.about-content p {
  margin-bottom: 1rem;
  font-size: 1rem;
}

.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

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

/* ============================================
   12. STATS SECTION
   ============================================ */
.stats-section {
  background: var(--surface);
  border-top: 1px solid rgba(168, 163, 181, 0.08);
  border-bottom: 1px solid rgba(168, 163, 181, 0.08);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  text-align: center;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-item h3 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.35rem;
}

.stat-item p {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 0 auto;
}

/* ============================================
   13. TESTIMONIALS SECTION
   ============================================ */
.testimonial-section {
  background-size: cover;
  background-position: center;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  background: var(--surface);
  border: 1px solid rgba(168, 163, 181, 0.1);
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.testimonial-card .quote {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-card .quote::before {
  content: '"';
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 0;
  vertical-align: -0.4em;
  margin-right: 0.25rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-author img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author-info h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.1rem;
}

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

/* ============================================
   14. CTA SECTION
   ============================================ */
.cta-section {
  text-align: center;
  background: var(--surface);
  border-top: 1px solid rgba(168, 163, 181, 0.08);
}

.cta-section h2 {
  margin-bottom: 1rem;
}

.cta-section p {
  margin: 0 auto 2rem;
  font-size: 1.1rem;
}

/* ============================================
   15. CONTACT SECTION
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-info h3 {
  margin-bottom: 1.5rem;
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.contact-row .icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  color: var(--primary);
  line-height: 1.4;
}

.contact-row .details h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.contact-row .details p {
  font-size: 0.875rem;
}

/* ============================================
   16. FORMS
   ============================================ */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
  width: 100%;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--muted);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--muted);
  opacity: 0.6;
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
}

.form-submit {
  width: 100%;
  margin-top: 0.5rem;
}

@media (min-width: 768px) {
  .form-submit {
    width: auto;
  }
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================================
   17. FOOTER
   ============================================ */
.footer {
  background: #08060e;
  border-top: 1px solid rgba(168, 163, 181, 0.08);
  padding: 4rem 1.5rem 2rem;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  max-width: var(--container-max);
  margin: 0 auto;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-brand .logo {
  margin-bottom: 1rem;
  display: inline-block;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer-column h4 {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.footer-column ul li {
  margin-bottom: 0.65rem;
}

.footer-column ul li a {
  font-size: 0.875rem;
  color: var(--muted);
  transition: color var(--transition);
}

.footer-column ul li a:hover {
  color: var(--text);
}

.footer-bottom {
  max-width: var(--container-max);
  margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(168, 163, 181, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-bottom p {
  font-size: 0.8rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ============================================
   18. COOKIE POPUP
   ============================================ */
.cookie-popup {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  left: 1.5rem;
  max-width: 420px;
  background: var(--surface);
  border: 1px solid rgba(168, 163, 181, 0.15);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
  z-index: 9999;
  transition: transform var(--transition), opacity var(--transition);
}

@media (min-width: 768px) {
  .cookie-popup {
    left: auto;
  }
}

.cookie-popup.hidden {
  transform: translateY(20px);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.cookie-popup h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.cookie-popup p {
  font-size: 0.825rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.cookie-popup .cookie-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.cookie-popup .btn-primary {
  padding: 0.55rem 1.25rem;
  font-size: 0.825rem;
}

.cookie-popup .btn-secondary {
  padding: 0.55rem 1.25rem;
  font-size: 0.825rem;
}

/* ============================================
   19. POLICY PAGES
   ============================================ */
.policy-page {
  padding: 4rem 1.5rem;
}

.policy-page .container {
  max-width: 780px;
}

.policy-page h1 {
  margin-bottom: 0.75rem;
}

.policy-page .last-updated {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 3rem;
}

.policy-page h2 {
  font-size: 1.35rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.policy-page h3 {
  font-size: 1.1rem;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}

.policy-page p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
  line-height: 1.75;
}

.policy-page ul {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.policy-page ul li {
  list-style: disc;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 0.35rem;
}

.policy-page a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.policy-page a:hover {
  color: var(--accent);
}

/* ============================================
   20. PRICING SECTION (BONUS)
   ============================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pricing-card {
  background: var(--surface);
  border: 1px solid rgba(168, 163, 181, 0.1);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}

.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
  position: relative;
}

.pricing-card.featured::before {
  content: 'Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 1rem;
  border-radius: 50px;
}

.pricing-card:hover {
  transform: translateY(-4px);
}

.pricing-card .price {
  font-size: 2.5rem;
  font-weight: 800;
  margin: 1rem 0;
}

.pricing-card .price span {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--muted);
}

.pricing-card ul {
  margin: 1.5rem 0;
  text-align: left;
}

.pricing-card ul li {
  font-size: 0.875rem;
  color: var(--muted);
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(168, 163, 181, 0.06);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pricing-card ul li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 700;
  font-size: 0.8rem;
}

/* ============================================
   21. BLOG / NEWS SECTION
   ============================================ */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.blog-card {
  background: var(--surface);
  border: 1px solid rgba(168, 163, 181, 0.1);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.blog-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-content {
  padding: 1.5rem;
}

.blog-card-content .tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.blog-card-content h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.blog-card-content p {
  font-size: 0.875rem;
  line-height: 1.6;
}

.blog-card-content .meta {
  margin-top: 1rem;
  font-size: 0.775rem;
  color: var(--muted);
}

/* ============================================
   22. UTILITY CLASSES
   ============================================ */
.text-center {
  text-align: center;
}

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

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================
   23. SCROLL-TO-TOP
   ============================================ */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid rgba(168, 163, 181, 0.15);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity var(--transition), transform var(--transition), background var(--transition);
  z-index: 900;
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--primary);
}

/* ============================================
   24. PAGE TRANSITIONS & ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out both;
}

.animate-fade-in {
  animation: fadeIn 0.5s ease-out both;
}

/* ============================================
   25. RESPONSIVE FINE-TUNING
   ============================================ */
@media (max-width: 767px) {
  :root {
    --section-padding: 3.5rem 1.25rem;
  }

  .hero-section {
    min-height: auto;
    padding: 3rem 1.25rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .stats-grid {
    gap: 1.5rem;
  }

  .about-grid {
    gap: 2rem;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .features-grid {
    gap: 1.25rem;
  }
}

@media (min-width: 1024px) {
  :root {
    --section-padding: 6rem 2rem;
  }

  .container {
    padding: 0 2rem;
  }
}

/* ============================================
   26. SELECTION & SCROLLBAR
   ============================================ */
::selection {
  background: rgba(139, 92, 246, 0.35);
  color: var(--text);
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--surface);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--muted);
}

/* ============================================
   27. PRINT STYLES
   ============================================ */
@media print {
  .header,
  .footer,
  .cookie-popup,
  .scroll-top,
  .mobile-menu-toggle {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  .section {
    padding: 2rem 0;
  }
}