/* =====================================================
   Capitalframework Magazine - Style Sheet
   Modern Financial Education Magazine
   ===================================================== */

/* CSS Custom Properties (Design Tokens) */
:root {
  /* Primary Palette */
  --ink-violet: #1B163F;
  --arctic-cyan: #4DEBFF;
  --coral-pulse: #FF4F7A;
  --lime-accent: #B9FF4A;
  --warm-paper: #F6EBDD;
  --graphite: #0F172A;
  
  /* Semantic Colors */
  --color-primary: var(--ink-violet);
  --color-secondary: var(--arctic-cyan);
  --color-accent: var(--coral-pulse);
  --color-highlight: var(--lime-accent);
  --color-background: var(--warm-paper);
  --color-text: var(--graphite);
  
  /* Glass Effect */
  --glass-bg: rgba(27, 22, 63, 0.08);
  --glass-border: rgba(77, 235, 255, 0.3);
  --glass-shadow: 0 8px 32px rgba(15, 23, 42, 0.12);
  
  /* Typography */
  --font-primary: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-heading: Georgia, 'Times New Roman', serif;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-xxl: 5rem;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Container */
  --container-max: 1200px;
  --container-narrow: 900px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-primary);
  background-color: var(--color-background);
  color: var(--color-text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  max-width: 100vw;
}

/* Grain Texture Overlay */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.03;
  z-index: 1000;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

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

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }

p {
  margin-bottom: var(--space-sm);
}

a {
  color: var(--coral-pulse);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover, a:focus {
  color: var(--arctic-cyan);
}

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

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container--narrow {
  max-width: var(--container-narrow);
}

/* =====================================================
   HEADER & NAVIGATION
   ===================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(246, 235, 221, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
  transition: box-shadow var(--transition-normal);
}

.header:hover {
  box-shadow: var(--glass-shadow);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-sm) var(--space-md);
  max-width: var(--container-max);
  margin: 0 auto;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--ink-violet);
  text-decoration: none;
  letter-spacing: -0.02em;
  transition: color var(--transition-fast);
}

.logo:hover {
  color: var(--coral-pulse);
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-xs);
}

.nav__toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink-violet);
  margin: 5px 0;
  transition: var(--transition-fast);
}

.nav__list {
  display: flex;
  list-style: none;
  gap: var(--space-md);
}

.nav__link {
  color: var(--graphite);
  font-weight: 500;
  padding: var(--space-xs) 0;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--coral-pulse);
  transition: width var(--transition-normal);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

.nav__link:hover,
.nav__link.active {
  color: var(--coral-pulse);
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .nav__toggle {
    display: block;
    z-index: 110;
  }
  
  .nav__list {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--warm-paper);
    flex-direction: column;
    padding: 80px var(--space-lg) var(--space-lg);
    transition: right var(--transition-normal);
    box-shadow: -5px 0 30px rgba(0,0,0,0.1);
  }
  
  .nav__list.active {
    right: 0;
  }
  
  .nav__overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.5);
    z-index: 90;
  }
  
  .nav__overlay.active {
    display: block;
  }
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(80px + var(--space-xl)) 0 var(--space-xl);
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--warm-paper) 0%, rgba(77, 235, 255, 0.1) 50%, var(--warm-paper) 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: 0;
  width: 70%;
  height: 150%;
  background: radial-gradient(ellipse, rgba(77, 235, 255, 0.15) 0%, transparent 70%);
  animation: pulse 8s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse, rgba(255, 79, 122, 0.1) 0%, transparent 60%);
  animation: pulse 10s ease-in-out infinite reverse;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

.hero__content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}

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

.hero__text {
  max-width: 600px;
}

.hero__subtitle {
  display: inline-block;
  background: var(--coral-pulse);
  color: white;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-md);
}

.hero__title {
  margin-bottom: var(--space-md);
}

.hero__title span {
  color: var(--coral-pulse);
}

.hero__description {
  font-size: 1.125rem;
  color: var(--graphite);
  margin-bottom: var(--space-lg);
  opacity: 0.85;
}

.hero__image {
  position: relative;
}

.hero__image img {
  border-radius: var(--radius-xl);
  box-shadow: var(--glass-shadow);
  transform: rotate(2deg);
  transition: transform var(--transition-normal);
}

.hero__image:hover img {
  transform: rotate(0deg) scale(1.02);
}

.hero__image::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: 20px;
  bottom: 20px;
  border: 3px solid var(--arctic-cyan);
  border-radius: var(--radius-xl);
  z-index: -1;
}

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-lg);
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.btn--primary {
  background: var(--ink-violet);
  color: white;
}

.btn--primary:hover {
  background: var(--coral-pulse);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 79, 122, 0.3);
}

.btn--secondary {
  background: transparent;
  color: var(--ink-violet);
  border: 2px solid var(--ink-violet);
}

.btn--secondary:hover {
  background: var(--ink-violet);
  color: white;
}

.btn--accent {
  background: var(--coral-pulse);
  color: white;
}

.btn--accent:hover {
  background: var(--ink-violet);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(27, 22, 63, 0.3);
}

.btn--lime {
  background: var(--lime-accent);
  color: var(--graphite);
}

.btn--lime:hover {
  background: var(--arctic-cyan);
  transform: translateY(-2px);
}

/* =====================================================
   DIAGONAL DIVIDER
   ===================================================== */
.diagonal-divider {
  position: relative;
  height: 80px;
  overflow: hidden;
}

.diagonal-divider::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--ink-violet);
  transform: skewY(-2deg);
  transform-origin: top left;
}

.diagonal-divider--reverse::before {
  transform: skewY(2deg);
  transform-origin: top right;
}

.diagonal-divider--cyan::before {
  background: var(--arctic-cyan);
}

.diagonal-divider--coral::before {
  background: var(--coral-pulse);
}

/* =====================================================
   GLASS CARDS
   ===================================================== */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  backdrop-filter: blur(10px);
  box-shadow: var(--glass-shadow);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

/* Grain texture on cards */
.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.05;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
}

.glass-card__icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--coral-pulse), var(--arctic-cyan));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  font-size: 1.5rem;
}

.glass-card__title {
  margin-bottom: var(--space-sm);
}

.glass-card__text {
  opacity: 0.8;
}

/* =====================================================
   SECTIONS
   ===================================================== */
.section {
  padding: var(--space-xxl) 0;
  position: relative;
  overflow-x: hidden;
}

.section--dark {
  background: var(--ink-violet);
  color: var(--warm-paper);
}

.section--dark h2,
.section--dark h3 {
  color: var(--warm-paper);
}

.section--gradient {
  background: linear-gradient(180deg, var(--warm-paper) 0%, rgba(77, 235, 255, 0.08) 100%);
}

.section__header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.section__subtitle {
  display: inline-block;
  color: var(--coral-pulse);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.875rem;
  margin-bottom: var(--space-sm);
}

.section__title {
  margin-bottom: var(--space-sm);
}

.section__description {
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.8;
}

/* =====================================================
   ABOUT MAGAZINE SECTION
   ===================================================== */
.about-magazine {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
}

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

.about-magazine__image {
  position: relative;
}

.about-magazine__image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow);
}

.about-magazine__image::after {
  content: '';
  position: absolute;
  bottom: -15px;
  right: -15px;
  width: 60%;
  height: 60%;
  background: var(--lime-accent);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: 0.5;
}

.about-magazine__content h2 {
  margin-bottom: var(--space-md);
}

.about-magazine__list {
  list-style: none;
  margin-top: var(--space-md);
}

.about-magazine__list li {
  padding: var(--space-xs) 0;
  padding-left: var(--space-lg);
  position: relative;
}

.about-magazine__list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--coral-pulse);
  font-weight: bold;
}

/* =====================================================
   HOW IT HELPS SECTION
   ===================================================== */
.helps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
}

/* =====================================================
   SERVICES SECTION
   ===================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-lg);
}

.service-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center;
  border: 2px solid transparent;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--coral-pulse), var(--arctic-cyan));
}

.service-card:hover {
  border-color: var(--arctic-cyan);
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
}

.service-card__price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--ink-violet);
  margin: var(--space-md) 0;
}

.service-card__price span {
  font-size: 1rem;
  opacity: 0.6;
}

.service-card__features {
  list-style: none;
  text-align: left;
  margin: var(--space-md) 0;
}

.service-card__features li {
  padding: var(--space-xs) 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.service-card__features li:last-child {
  border-bottom: none;
}

/* =====================================================
   FEATURED ISSUES
   ===================================================== */
.issues-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.issue-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--glass-shadow);
  transition: transform var(--transition-normal);
}

.issue-card:hover {
  transform: scale(1.02);
}

.issue-card__image {
  height: 200px;
  overflow: hidden;
}

.issue-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.issue-card:hover .issue-card__image img {
  transform: scale(1.1);
}

.issue-card__content {
  padding: var(--space-md);
}

.issue-card__tag {
  display: inline-block;
  background: rgba(77, 235, 255, 0.2);
  color: var(--ink-violet);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: var(--space-sm);
}

.issue-card__title {
  font-size: 1.25rem;
  margin-bottom: var(--space-xs);
}

/* =====================================================
   TESTIMONIALS
   ===================================================== */
.testimonials-slider {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-lg);
}

.testimonial {
  background: white;
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  position: relative;
}

.testimonial::before {
  content: '"';
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  font-size: 4rem;
  font-family: var(--font-heading);
  color: var(--arctic-cyan);
  opacity: 0.3;
  line-height: 1;
}

.testimonial__text {
  position: relative;
  z-index: 1;
  font-style: italic;
  margin-bottom: var(--space-md);
  padding-top: var(--space-lg);
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.testimonial__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--coral-pulse), var(--lime-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: white;
}

.testimonial__name {
  font-weight: 600;
  color: var(--ink-violet);
}

.testimonial__role {
  font-size: 0.875rem;
  opacity: 0.7;
}

/* =====================================================
   FAQ SECTION
   ===================================================== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
  overflow: hidden;
  border: 1px solid rgba(77, 235, 255, 0.2);
}

.faq-item__question {
  width: 100%;
  padding: var(--space-md);
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-violet);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background var(--transition-fast);
}

.faq-item__question:hover {
  background: rgba(77, 235, 255, 0.05);
}

.faq-item__icon {
  font-size: 1.5rem;
  color: var(--coral-pulse);
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-item__icon {
  transform: rotate(45deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
}

.faq-item.active .faq-item__answer {
  max-height: 300px;
}

.faq-item__answer-inner {
  padding: 0 var(--space-md) var(--space-md);
  opacity: 0.8;
}

/* =====================================================
   ORDER FORM
   ===================================================== */
.order-section {
  background: var(--ink-violet);
  color: var(--warm-paper);
}

.order-form {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  margin-bottom: var(--space-xs);
  font-weight: 600;
  color: var(--ink-violet);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: var(--space-sm);
  font-family: var(--font-primary);
  font-size: 1rem;
  border: 2px solid rgba(15, 23, 42, 0.1);
  border-radius: var(--radius-md);
  background: var(--warm-paper);
  color: var(--graphite);
  transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--arctic-cyan);
}

.form-group input::placeholder {
  color: rgba(15, 23, 42, 0.4);
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 4px;
  accent-color: var(--coral-pulse);
}

.checkbox-group label {
  font-weight: 400;
  color: var(--graphite);
  font-size: 0.9rem;
}

.checkbox-group a {
  color: var(--coral-pulse);
  text-decoration: underline;
}

.form-submit {
  margin-top: var(--space-lg);
}

.form-submit .btn {
  width: 100%;
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  background: var(--graphite);
  color: var(--warm-paper);
  padding: var(--space-xxl) 0 var(--space-lg);
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer__brand .logo {
  color: var(--warm-paper);
  margin-bottom: var(--space-md);
  display: inline-block;
}

.footer__brand p {
  opacity: 0.7;
  max-width: 300px;
}

.footer__title {
  color: var(--arctic-cyan);
  font-size: 1rem;
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer__links {
  list-style: none;
}

.footer__links li {
  margin-bottom: var(--space-xs);
}

.footer__links a {
  color: var(--warm-paper);
  opacity: 0.7;
  transition: opacity var(--transition-fast);
}

.footer__links a:hover {
  opacity: 1;
  color: var(--arctic-cyan);
}

.footer__contact p {
  margin-bottom: var(--space-xs);
  opacity: 0.8;
}

.footer__contact a {
  color: var(--arctic-cyan);
}

.footer__bottom {
  border-top: 1px solid rgba(246, 235, 221, 0.1);
  padding-top: var(--space-lg);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  font-size: 0.875rem;
  opacity: 0.6;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer__legal a {
  color: var(--warm-paper);
}

/* =====================================================
   COOKIE BANNER
   ===================================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--graphite);
  color: var(--warm-paper);
  padding: var(--space-md);
  z-index: 1000;
  box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(100%);
  transition: opacity var(--transition-normal), transform var(--transition-normal);
}

.cookie-banner.visible {
  opacity: 1;
  transform: translateY(0);
}

.cookie-banner__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.cookie-banner__text {
  flex: 1;
  min-width: 280px;
}

.cookie-banner__text a {
  color: var(--arctic-cyan);
}

.cookie-banner__btn {
  background: var(--lime-accent);
  color: var(--graphite);
  border: none;
  padding: var(--space-sm) var(--space-lg);
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background var(--transition-fast);
}

.cookie-banner__btn:hover {
  background: var(--arctic-cyan);
}

/* =====================================================
   PAGE HEADERS
   ===================================================== */
.page-header {
  padding: calc(80px + var(--space-xl)) 0 var(--space-xl);
  background: linear-gradient(135deg, var(--ink-violet) 0%, rgba(27, 22, 63, 0.9) 100%);
  color: var(--warm-paper);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(ellipse at center right, rgba(77, 235, 255, 0.2) 0%, transparent 70%);
}

.page-header h1 {
  color: var(--warm-paper);
  position: relative;
  z-index: 1;
}

.page-header .breadcrumb {
  margin-top: var(--space-sm);
  opacity: 0.7;
  position: relative;
  z-index: 1;
}

.page-header .breadcrumb a {
  color: var(--arctic-cyan);
}

/* =====================================================
   CONTENT PAGES (Policy, Terms, etc.)
   ===================================================== */
.content-page {
  padding: var(--space-xxl) 0;
}

.content-page h2 {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-xs);
  border-bottom: 2px solid var(--arctic-cyan);
}

.content-page h3 {
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
}

.content-page p {
  margin-bottom: var(--space-md);
  line-height: 1.8;
}

.content-page ul, .content-page ol {
  margin-bottom: var(--space-md);
  padding-left: var(--space-lg);
}

.content-page li {
  margin-bottom: var(--space-xs);
}

/* =====================================================
   THANK YOU PAGE
   ===================================================== */
.thank-you {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-xxl) var(--space-md);
}

.thank-you__icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--lime-accent), var(--arctic-cyan));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  font-size: 3rem;
}

.thank-you h1 {
  margin-bottom: var(--space-md);
}

.thank-you p {
  max-width: 500px;
  margin: 0 auto var(--space-lg);
  opacity: 0.8;
}

/* =====================================================
   CONTACT PAGE
   ===================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
}

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

.contact-info__item {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.contact-info__icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--coral-pulse), var(--arctic-cyan));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.25rem;
}

.contact-info__text h3 {
  margin-bottom: var(--space-xs);
  font-size: 1.1rem;
}

/* =====================================================
   PRICING PAGE
   ===================================================== */
.pricing-table {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.pricing-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  text-align: center;
  position: relative;
  transition: transform var(--transition-normal);
  border: 2px solid transparent;
}

.pricing-card:hover {
  transform: translateY(-10px);
  border-color: var(--arctic-cyan);
}

.pricing-card--featured {
  border-color: var(--coral-pulse);
  transform: scale(1.05);
}

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

.pricing-card__badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--coral-pulse);
  color: white;
  padding: var(--space-xs) var(--space-md);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.pricing-card__name {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
}

.pricing-card__price {
  font-size: 3rem;
  font-weight: 700;
  color: var(--ink-violet);
}

.pricing-card__price span {
  font-size: 1rem;
  opacity: 0.6;
}

.pricing-card__description {
  margin: var(--space-md) 0;
  opacity: 0.7;
}

.pricing-card__features {
  list-style: none;
  text-align: left;
  margin-bottom: var(--space-lg);
}

.pricing-card__features li {
  padding: var(--space-xs) 0;
  padding-left: var(--space-lg);
  position: relative;
}

.pricing-card__features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--lime-accent);
  font-weight: bold;
}

/* =====================================================
   MARQUEE ANIMATION
   ===================================================== */
.marquee {
  overflow: hidden;
  background: var(--ink-violet);
  padding: var(--space-sm) 0;
  white-space: nowrap;
  max-width: 100%;
}

.marquee__content {
  display: inline-block;
  animation: marquee 30s linear infinite;
}

.marquee__item {
  display: inline-block;
  padding: 0 var(--space-xl);
  color: var(--arctic-cyan);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =====================================================
   ACCESSIBILITY
   ===================================================== */
.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;
}

:focus-visible {
  outline: 3px solid var(--arctic-cyan);
  outline-offset: 2px;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--coral-pulse);
  color: white;
  padding: var(--space-sm) var(--space-md);
  z-index: 1000;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 0;
}

/* =====================================================
   UTILITIES
   ===================================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-sm); }
.mt-2 { margin-top: var(--space-md); }
.mt-3 { margin-top: var(--space-lg); }
.mt-4 { margin-top: var(--space-xl); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-sm); }
.mb-2 { margin-bottom: var(--space-md); }
.mb-3 { margin-bottom: var(--space-lg); }
.mb-4 { margin-bottom: var(--space-xl); }

/* =====================================================
   ANIMATIONS
   ===================================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }

/* Reveal on scroll placeholder (CSS only hint) */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* =====================================================
   PRINT STYLES
   ===================================================== */
@media print {
  .header, .footer, .cookie-banner {
    display: none;
  }
  
  body {
    background: white;
    color: black;
  }
  
  a {
    color: black;
    text-decoration: underline;
  }
}

