/* ============================================
   SUGAR DATING SUOMI - Premium Stylesheet
   Scandinavian Dark Premium Design
   ============================================ */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600&family=Bodoni+Moda:ital,opsz,wght@0,6..96,400;0,6..96,500;0,6..96,600;1,6..96,400&display=swap');

/* ============================================
   CSS VARIABLES (Design Tokens)
   ============================================ */
:root {
  /* Colors */
  --color-primary: #e8e4e0;
  --color-secondary: #bfbcb9;
  --color-accent: #d8af72;
  --color-inverse: #262422;
  --color-base-dark: #0d0c0b;
  --color-surface-glass: rgba(20, 18, 16, 0.65);
  --color-base-light: #e8e4e0;
  --color-border: rgba(216, 175, 114, 0.2);
  --color-border-subtle: rgba(255, 255, 255, 0.06);

  /* Typography */
  --font-display: 'Bodoni Moda', 'Playfair Display', serif;
  --font-body: 'Outfit', 'Inter', sans-serif;

  /* Font Sizes */
  --text-hero: clamp(3rem, 8vw, 7rem);
  --text-h1: clamp(2.5rem, 5vw, 4rem);
  --text-h2: clamp(1.75rem, 3.5vw, 2.5rem);
  --text-h3: clamp(1.25rem, 2.5vw, 1.75rem);
  --text-h4: 1.25rem;
  --text-body: 1rem;
  --text-small: 0.875rem;
  --text-caption: 0.75rem;

  /* Spacing */
  --section-padding-y: 120px;
  --section-padding-y-sm: 80px;
  --container-padding-x: 5vw;
  --container-max: 1280px;
  --grid-gap: 24px;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 100px;

  /* Transitions */
  --transition-default: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Z-index */
  --z-nav: 1000;
  --z-modal: 1100;
  --z-toast: 1200;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: var(--text-body);
  line-height: 1.6;
  color: var(--color-primary);
  background-color: var(--color-base-dark);
  overflow-x: hidden;
}

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

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

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

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

ul, ol {
  list-style: none;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--color-primary);
}

h1 {
  font-size: var(--text-hero);
}

h2 {
  font-size: var(--text-h1);
  letter-spacing: -0.01em;
}

h3 {
  font-size: var(--text-h2);
}

h4 {
  font-size: var(--text-h3);
}

p {
  color: var(--color-secondary);
  line-height: 1.7;
}

.text-accent {
  color: var(--color-accent);
}

.text-gradient {
  background: linear-gradient(135deg, var(--color-accent) 0%, #f0d4a8 50%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.caption {
  font-size: var(--text-caption);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-accent);
}

/* ============================================
   LAYOUT UTILITIES
   ============================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-padding-x);
  padding-right: var(--container-padding-x);
}

.container-narrow {
  max-width: 900px;
}

.container-wide {
  max-width: 1440px;
}

.section {
  padding-top: var(--section-padding-y);
  padding-bottom: var(--section-padding-y);
  position: relative;
}

.section-dark {
  background-color: var(--color-base-dark);
}

.section-light {
  background-color: var(--color-base-light);
  color: var(--color-inverse);
}

.section-light h1,
.section-light h2,
.section-light h3,
.section-light h4 {
  color: var(--color-inverse);
}

.section-light p {
  color: rgba(38, 36, 34, 0.7);
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.text-center {
  text-align: center;
}

.grid {
  display: grid;
  gap: var(--grid-gap);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid-6 {
  grid-template-columns: repeat(6, 1fr);
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  padding: 20px var(--container-padding-x);
  transition: var(--transition-slow);
  background: transparent;
}

.nav.scrolled {
  background: rgba(13, 12, 11, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border-subtle);
}

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

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--color-primary);
  letter-spacing: 0.05em;
}

.nav-logo span {
  color: var(--color-accent);
}

.nav-links {
  display: flex;
  gap: 40px;
  align-items: center;
}

.nav-link {
  font-size: var(--text-small);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-secondary);
  position: relative;
  padding: 4px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-accent);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--color-primary);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  font-size: var(--text-small);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  transition: var(--transition-default);
}

.nav-cta:hover {
  background: var(--color-accent);
  color: var(--color-base-dark);
  border-color: var(--color-accent);
}

/* Mobile Nav */
.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}

.nav-mobile-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--color-primary);
  transition: var(--transition-default);
}

.nav-mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 5px);
}

.nav-mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -5px);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background: var(--color-base-dark);
  z-index: 999;
  padding: 100px 40px 40px;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  gap: 30px;
  border-left: 1px solid var(--color-border-subtle);
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu a {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-primary);
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border-subtle);
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-default);
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition-default);
  border: 1.5px solid transparent;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-base-dark);
  border-color: var(--color-accent);
}

.btn-primary:hover {
  background: transparent;
  color: var(--color-accent);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-border);
}

.btn-outline:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--color-secondary);
  border-color: transparent;
  padding: 10px 20px;
}

.btn-ghost:hover {
  color: var(--color-primary);
}

.btn-sm {
  padding: 10px 24px;
  font-size: var(--text-caption);
}

.btn-lg {
  padding: 18px 40px;
  font-size: var(--text-small);
}

/* ============================================
   GLASSMORPHISM CARDS
   ============================================ */
.glass-card {
  position: relative;
  background: var(--color-surface-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px;
  overflow: hidden;
  transition: var(--transition-default);
}

.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    var(--shimmer-angle, 0deg),
    rgba(216, 175, 114, 0.1) 0%,
    rgba(216, 175, 114, 0.4) 40%,
    rgba(255, 255, 255, 0.6) 50%,
    rgba(216, 175, 114, 0.4) 60%,
    rgba(216, 175, 114, 0.1) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  animation: shimmer-rotate 5s linear infinite;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.glass-card:hover::before {
  opacity: 1;
}

.glass-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-border);
}

@keyframes shimmer-rotate {
  0% { --shimmer-angle: 0deg; }
  100% { --shimmer-angle: 360deg; }
}

@property --shimmer-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

/* Standard Card (no glass) */
.card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition-default);
}

.card:hover {
  border-color: var(--color-border);
  transform: translateY(-4px);
}

.role-preview-section .card {
  position: relative;
  padding: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
  transition: var(--transition-default);
}

.role-preview-section .card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.24) 0%,
    rgba(216, 175, 114, 0.2) 38%,
    rgba(255, 255, 255, 0.06) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.role-preview-section .card:hover {
  border-color: rgba(216, 175, 114, 0.22);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.34);
}

.role-preview-section .card:hover::before {
  opacity: 1;
}

.role-preview-item {
  position: relative;
  display: block;
  aspect-ratio: 5 / 6;
  border-radius: inherit;
}

.role-preview-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 0;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.role-preview-section .card:hover .role-preview-image {
  transform: scale(1.05);
}

.role-preview-content {
  position: absolute;
  inset: 0;
  width: 100%;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(
    to top,
    rgba(13, 12, 11, 0.96) 0%,
    rgba(13, 12, 11, 0.58) 45%,
    transparent 78%
  );
  isolation: isolate;
}

.role-preview-content::before {
  content: '';
  position: absolute;
  inset: 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 0.65;
  pointer-events: none;
  mask: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 65%);
}

.role-preview-content h4 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.role-preview-content p {
  font-size: var(--text-small);
  line-height: 1.5;
  color: var(--color-secondary);
}

.role-preview-content .btn-ghost {
  color: var(--color-primary);
}

.card-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(216, 175, 114, 0.1);
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 1.25rem;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 120px var(--container-padding-x) 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(13, 12, 11, 0.4) 0%,
    rgba(13, 12, 11, 0.7) 50%,
    var(--color-base-dark) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  text-align: center;
}

.hero-caption {
  font-size: var(--text-caption);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.5rem, 5.8vw, 5rem);
  margin-bottom: 24px;
  line-height: 1.05;
}

.hero-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--color-secondary);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Hero for sub-pages */
.hero-sub {
  min-height: 60vh;
  padding-top: 140px;
  padding-bottom: 60px;
}

.hero-sub h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
}

/* ============================================
   IMAGE CARDS (Cities, Profiles)
   ============================================ */
.img-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
}

.img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.img-card:hover img {
  transform: scale(1.05);
}

.img-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(13, 12, 11, 0.95) 0%,
    rgba(13, 12, 11, 0.4) 40%,
    transparent 70%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  transition: var(--transition-default);
}

.img-card:hover .img-card-overlay {
  background: linear-gradient(
    to top,
    rgba(13, 12, 11, 0.98) 0%,
    rgba(13, 12, 11, 0.6) 50%,
    transparent 80%
  );
}

.img-card-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.img-card-desc {
  font-size: var(--text-small);
  color: var(--color-secondary);
  line-height: 1.5;
}

/* City Card (wider aspect) */
.city-card {
  aspect-ratio: 4/3;
}

/* ============================================
   USER PROFILE CARDS (Popular Members)
   ============================================ */
.profile-card {
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 28px 28px;
  text-align: center;
  transition: var(--transition-default);
  overflow: hidden;
}

.profile-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    var(--shimmer-angle, 0deg),
    rgba(216, 175, 114, 0.08) 0%,
    rgba(216, 175, 114, 0.3) 40%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(216, 175, 114, 0.3) 60%,
    rgba(216, 175, 114, 0.08) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  animation: shimmer-rotate 5s linear infinite;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.profile-card:hover::before {
  opacity: 1;
}

.profile-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-border);
  background: rgba(255, 255, 255, 0.035);
}

.profile-avatar {
  width: clamp(128px, 22vw, 156px);
  aspect-ratio: 4 / 5;
  border-radius: 22px;
  margin: 0 auto 20px;
  overflow: hidden;
  border: 2px solid var(--color-border);
  position: relative;
  z-index: 1;
  transition: var(--transition-default);
}

.profile-card:hover .profile-avatar {
  border-color: var(--color-accent);
  box-shadow: 0 0 20px rgba(216, 175, 114, 0.15);
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.profile-verified {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  bottom: 8px;
  right: 8px;
  border: 2px solid var(--color-base-dark);
}

.profile-verified svg {
  width: 13px;
  height: 13px;
  stroke: var(--color-base-dark);
  stroke-width: 2.5;
}

.profile-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--color-primary);
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}

.profile-meta {
  font-size: var(--text-small);
  color: var(--color-secondary);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.profile-meta svg {
  width: 13px;
  height: 13px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 4px;
  stroke: var(--color-accent);
  fill: none;
  stroke-width: 2;
}

.profile-bio {
  font-size: var(--text-small);
  color: var(--color-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.profile-tags {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.profile-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(216, 175, 114, 0.08);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  font-size: var(--text-caption);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-accent);
}

.profile-tag.role-daddy { background: rgba(100, 149, 237, 0.08); color: #7ba3e0; border-color: rgba(100, 149, 237, 0.2); }
.profile-tag.role-baby { background: rgba(216, 175, 114, 0.08); color: var(--color-accent); border-color: var(--color-border); }
.profile-tag.role-mommy { background: rgba(221, 160, 221, 0.08); color: #c49ac4; border-color: rgba(221, 160, 221, 0.2); }

.profile-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-caption);
  color: var(--color-secondary);
  margin-top: 16px;
  position: relative;
  z-index: 1;
}

.profile-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #6ecb85;
  box-shadow: 0 0 6px rgba(110, 203, 133, 0.4);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

/* ============================================
   ROLE CARDS (Sugar Daddy, Baby, etc.)
   ============================================ */
.role-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: center;
  min-height: 500px;
}

.role-card:nth-child(even) .role-card-image {
  order: 2;
}

.role-card-image {
  position: relative;
  height: 100%;
  min-height: 400px;
  overflow: hidden;
}

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

.role-card-content {
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.role-card-content h3 {
  margin-bottom: 16px;
}

.role-card-content p {
  margin-bottom: 24px;
}

/* ============================================
   TESTIMONIAL CARDS
   ============================================ */
.testimonial-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  transition: var(--transition-default);
}

.testimonial-card:hover {
  border-color: var(--color-border);
}

.testimonial-card::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 6rem;
  color: var(--color-accent);
  opacity: 0.3;
  position: absolute;
  top: 10px;
  left: 20px;
  line-height: 1;
}

.testimonial-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-primary);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent), #f0d4a8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--color-base-dark);
}

.testimonial-name {
  font-weight: 500;
  color: var(--color-primary);
  font-size: var(--text-small);
}

.testimonial-role {
  font-size: var(--text-caption);
  color: var(--color-secondary);
}

/* ============================================
   FAQ ACCORDION
   ============================================ */
.faq-item {
  border-bottom: 1px solid var(--color-border-subtle);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  text-align: left;
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: 400;
  color: var(--color-primary);
  cursor: pointer;
  transition: var(--transition-default);
}

.faq-question:hover {
  color: var(--color-accent);
}

.faq-question-text {
  padding-right: 20px;
}

.faq-icon {
  width: 24px;
  height: 24px;
  position: relative;
  flex-shrink: 0;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--color-accent);
  transition: var(--transition-default);
}

.faq-icon::before {
  width: 12px;
  height: 1.5px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-icon::after {
  width: 1.5px;
  height: 12px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq-item.active .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-inner {
  padding-bottom: 24px;
  color: var(--color-secondary);
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

/* ============================================
   FORMS
   ============================================ */
.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: var(--text-small);
  font-weight: 400;
  color: var(--color-secondary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-input {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: var(--text-body);
  color: var(--color-primary);
  transition: var(--transition-default);
}

.form-input::placeholder {
  color: rgba(191, 188, 185, 0.4);
}

.form-input:focus {
  outline: none;
  border-color: var(--color-accent);
  background: rgba(255, 255, 255, 0.05);
}

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

.form-input.error {
  border-color: #c75a5a;
}

.form-error {
  font-size: var(--text-caption);
  color: #c75a5a;
  margin-top: 6px;
}

/* Login Form */
.login-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px var(--container-padding-x);
}

.login-card {
  width: 100%;
  max-width: 440px;
  background: var(--color-surface-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  padding: 48px;
}

.login-logo {
  text-align: center;
  margin-bottom: 40px;
}

.login-logo h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
}

.login-logo h2 span {
  color: var(--color-accent);
}

/* ============================================
   BLOG CARDS
   ============================================ */
.blog-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--color-border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-default);
}

.blog-card:hover {
  border-color: var(--color-border);
  transform: translateY(-4px);
}

.blog-card-image {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}

.blog-card-content {
  padding: 28px;
}

.blog-card-meta {
  font-size: var(--text-caption);
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.blog-card h4 {
  font-family: var(--font-display);
  font-size: var(--text-h4);
  margin-bottom: 12px;
  color: var(--color-primary);
}

.blog-card p {
  font-size: var(--text-small);
  color: var(--color-secondary);
  line-height: 1.6;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: rgba(255, 255, 255, 0.03);
  border-top: 1px solid var(--color-border-subtle);
  padding: 80px var(--container-padding-x) 40px;
}

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

.footer-brand h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.footer-brand h3 span {
  color: var(--color-accent);
}

.footer-brand p {
  font-size: var(--text-small);
  max-width: 300px;
}

.footer-column h4 {
  font-family: var(--font-body);
  font-size: var(--text-caption);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.footer-column a {
  display: block;
  font-size: var(--text-small);
  color: var(--color-secondary);
  padding: 6px 0;
  transition: var(--transition-default);
}

.footer-column a:hover {
  color: var(--color-accent);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid var(--color-border-subtle);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: var(--text-caption);
  color: rgba(191, 188, 185, 0.5);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: var(--text-caption);
  color: rgba(191, 188, 185, 0.5);
}

/* ============================================
   MARQUEE
   ============================================ */
.marquee {
  overflow: hidden;
  white-space: nowrap;
  padding: 40px 0;
}

.marquee-track {
  display: inline-flex;
  animation: marquee-scroll 30s linear infinite;
}

.marquee-text {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6rem);
  color: transparent;
  -webkit-text-stroke: 1px var(--color-border);
  padding-right: 60px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

/* ============================================
   ICONS (SVG Inline)
   ============================================ */
.icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  vertical-align: middle;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.mb-8 { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-20 { margin-bottom: 20px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-40 { margin-bottom: 40px; }
.mb-60 { margin-bottom: 60px; }

.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }

.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }
.gap-40 { gap: 40px; }

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.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; }

/* Fade in only (no translate) */
.reveal-fade {
  opacity: 0;
  transition: opacity 1s ease;
}

.reveal-fade.visible {
  opacity: 1;
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  background: var(--color-surface-glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--color-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  font-size: 1.25rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition-default);
  z-index: 100;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--color-accent);
  color: var(--color-base-dark);
}

/* ============================================
   STEP CARDS (How It Works)
   ============================================ */
.step-card {
  text-align: center;
  padding: 40px 24px;
}

.step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(216, 175, 114, 0.1);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-accent);
  margin: 0 auto 24px;
}

.step-card h4 {
  margin-bottom: 12px;
}

/* Connecting line between steps */
.steps-container {
  position: relative;
}

.steps-container::before {
  content: '';
  position: absolute;
  top: 70px;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border), transparent);
}

/* ============================================
   LIST STYLES
   ============================================ */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-list-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.feature-list-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(216, 175, 114, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-list-icon svg {
  width: 12px;
  height: 12px;
  stroke: var(--color-accent);
}

.feature-list-text {
  font-size: var(--text-body);
  color: var(--color-secondary);
  line-height: 1.6;
}

/* ============================================
   SECTION HEADER
   ============================================ */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-header-left {
  text-align: left;
  margin: 0 0 60px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.1rem;
}

/* ============================================
   DIVIDER
   ============================================ */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-border-subtle), transparent);
  margin: 0 auto;
  max-width: 200px;
}

/* ============================================
   BREADCRUMBS
   ============================================ */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  font-size: var(--text-caption);
  color: var(--color-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

.breadcrumbs-sep {
  color: var(--color-border);
}

/* ============================================
   CONTENT STYLES (For policy pages)
   ============================================ */
.content-page {
  padding-top: 140px;
  padding-bottom: 80px;
  min-height: 100vh;
}

.content-page h2 {
  margin-top: 48px;
  margin-bottom: 20px;
}

.content-page h3 {
  margin-top: 32px;
  margin-bottom: 16px;
}

.content-page p {
  margin-bottom: 16px;
}

.content-page ul {
  margin-bottom: 20px;
  padding-left: 24px;
  list-style: disc;
}

.content-page ul li {
  color: var(--color-secondary);
  margin-bottom: 8px;
  line-height: 1.6;
}

/* ============================================
   PAGE TRANSITION OVERLAY
   ============================================ */
.page-transition {
  position: fixed;
  inset: 0;
  background: var(--color-base-dark);
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.page-transition.active {
  opacity: 1;
  pointer-events: all;
}

/* ============================================
   STAT CARDS
   ============================================ */
.stat-card {
  text-align: center;
  padding: 32px;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: var(--text-small);
  color: var(--color-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }

  .nav-mobile-toggle {
    display: flex;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-6 {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

  .role-card:nth-child(even) .role-card-image {
    order: 0;
  }

  .role-card-image {
    min-height: 300px;
  }

  .role-card-content {
    padding: 40px;
  }

  .steps-container::before {
    display: none;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding-y: 80px;
    --container-padding-x: 20px;
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .grid-6 {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    min-height: 90vh;
    padding-top: 100px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 300px;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .role-card-content {
    padding: 32px 24px;
  }

  .mobile-menu {
    max-width: 100%;
  }

  .login-card {
    padding: 32px 24px;
  }

  .section-header p {
    font-size: 1rem;
  }

  .marquee-text {
    font-size: clamp(2rem, 6vw, 3rem);
  }

  .role-preview-item {
    aspect-ratio: 5 / 6;
  }

  .role-preview-content {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: clamp(1.9rem, 8.5vw, 2.7rem);
  }

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

  .glass-card {
    padding: 24px;
  }

  .testimonial-card {
    padding: 28px 20px;
  }
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .marquee-track {
    animation: none;
  }

  .reveal,
  .reveal-fade {
    opacity: 1;
    transform: none;
  }
}

/* ============================================
   SELECTION COLOR
   ============================================ */
::selection {
  background: rgba(216, 175, 114, 0.3);
  color: var(--color-primary);
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-base-dark);
}

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

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