/* ============================================
   Apple-Clean Theme for Ghost
   Clean, minimalist design inspired by Apple
   ============================================ */

/* ===== CSS Reset & Base Styles ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Apple-style colors */
  --color-primary: #000000;
  --color-secondary: #1d1d1f;
  --color-tertiary: #86868b;
  --color-accent: #0071e3;
  --color-background: #ffffff;
  --color-surface: #f5f5f7;
  --color-border: #d2d2d7;
  --color-text: #1d1d1f;
  --color-text-light: #86868b;

  /* Typography */
  --font-primary: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "SF Pro Display", -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;

  /* Layout */
  --max-width: 1200px;
  --content-width: 750px;
  --nav-height: 48px;

  /* Animation */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--spacing-sm);
  color: var(--color-primary);
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: var(--spacing-md);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: 1.5rem;
}

p {
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: var(--spacing-sm);
  color: var(--color-text);
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: opacity var(--transition-fast);
}

a:hover {
  opacity: 0.8;
}

/* ===== Navigation ===== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--color-border);
  height: var(--nav-height);
}

.site-nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.site-logo {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-primary);
  transition: opacity var(--transition-fast);
}

.site-logo:hover {
  opacity: 0.6;
}

.site-nav-menu {
  display: flex;
  gap: 0;
  list-style: none;
  margin-left: auto;
}

.site-nav-menu li {
  display: flex;
  align-items: center;
}

.site-nav-menu li:not(:first-child)::before {
  content: "|";
  margin: 0 1rem;
  color: var(--color-border);
  font-weight: 300;
}

.site-nav-menu a {
  color: var(--color-text);
  font-size: 0.875rem;
  font-weight: 400;
  transition: opacity var(--transition-fast);
}

.site-nav-menu a:hover {
  opacity: 0.6;
}

/* ===== Old Hero Section (Replaced by Tech Hero) ===== */
/*
.site-hero {
  padding: var(--spacing-xl) var(--spacing-md);
  text-align: center;
  background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-background) 100%);
}

.site-hero-inner {
  max-width: var(--content-width);
  margin: 0 auto;
}

.site-hero h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  margin-bottom: var(--spacing-md);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.site-hero-description {
  font-size: 1.5rem;
  color: var(--color-text-light);
  max-width: 600px;
  margin: 0 auto var(--spacing-md);
}
*/

/* ===== Main Content ===== */
.site-main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--spacing-lg) var(--spacing-md);
  width: 100%;
}

/* ===== Post Grid ===== */
.post-feed {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin: 0 auto var(--spacing-xl);
  max-width: 1400px;
  width: 100%;
  justify-content: center;
  padding: 0 4vw;
}

.post-card {
  background: var(--color-background);
  border-radius: 18px;
  overflow: hidden;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
  cursor: pointer;
  width: 100%;
  max-width: 100%;
}

/* When only one post, make it larger and centered */
.post-feed .post-card:only-child {
  grid-column: 1 / -1;
  max-width: 800px;
  margin: 0 auto;
}

.post-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.post-card-image-link {
  display: block;
  overflow: hidden;
  border-radius: 18px 18px 0 0;
}

.post-card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

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

.post-card-content {
  padding: var(--spacing-md);
}

.post-card-tags {
  display: flex;
  gap: var(--spacing-xs);
  margin-bottom: var(--spacing-xs);
  flex-wrap: wrap;
}

.post-card-tag {
  font-size: 0.75rem;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.post-card-title {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-xs);
  color: var(--color-primary);
}

.post-card-excerpt {
  color: var(--color-text-light);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: var(--spacing-sm);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card-meta {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-size: 0.875rem;
  color: var(--color-text-light);
}

.post-card-author {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.post-card-author-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

/* ===== Single Post ===== */
.post-full {
  max-width: var(--content-width);
  margin: 0 auto;
}

.post-full-header {
  text-align: center;
  margin-bottom: var(--spacing-lg);
  padding-top: var(--spacing-lg);
}

.post-full-tags {
  display: flex;
  gap: var(--spacing-xs);
  justify-content: center;
  margin-bottom: var(--spacing-sm);
  flex-wrap: wrap;
}

.post-full-tag {
  font-size: 0.875rem;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.post-full-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: var(--spacing-md);
}

.post-full-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-md);
  color: var(--color-text-light);
  margin-bottom: var(--spacing-lg);
}

.post-full-image {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 18px;
  margin-bottom: var(--spacing-lg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.post-full-content {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--color-text);
}

.post-full-content h2,
.post-full-content h3 {
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-md);
}

.post-full-content p {
  margin-bottom: var(--spacing-md);
}

.post-full-content img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin: var(--spacing-lg) 0;
}

.post-full-content blockquote {
  border-left: 4px solid var(--color-accent);
  padding-left: var(--spacing-md);
  margin: var(--spacing-lg) 0;
  font-style: italic;
  color: var(--color-text-light);
  font-size: 1.25rem;
}

.post-full-content code {
  background: var(--color-surface);
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  font-size: 0.9em;
  font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, monospace;
}

.post-full-content pre {
  background: var(--color-secondary);
  color: #fff;
  padding: var(--spacing-md);
  border-radius: 12px;
  overflow-x: auto;
  margin: var(--spacing-lg) 0;
}

.post-full-content pre code {
  background: none;
  padding: 0;
  color: inherit;
}

/* Ghost Editor Card Widths */
.kg-width-wide {
  width: 100%;
  max-width: 1040px;
  margin: var(--spacing-lg) auto;
}

.kg-width-full {
  width: 100vw;
  max-width: 100vw;
  margin: var(--spacing-lg) calc(50% - 50vw);
}

/* ============================================
   FOOTER WITH NAVIGATION LINKS
   ============================================ */

.site-footer {
  padding: 2rem 0;
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

/* Footer navigation links */
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.5rem;
}

.footer-nav a {
  color: #9ca3af;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: #fff;
}

/* Social icons row */
.footer-social {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.footer-social a {
  color: #6b7280;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-social a:hover {
  color: #fff;
}

.footer-social svg {
  width: 20px;
  height: 20px;
}

/* Copyright text */
.footer-copyright {
  font-size: 0.85rem;
  color: #6b7280;
  margin: 0;
  text-align: center;
}

/* ============================================
   FOOTER RESPONSIVE
   ============================================ */

@media (min-width: 1600px) {
  .site-footer-inner {
    max-width: 1600px;
  }
}

@media (min-width: 2000px) {
  .site-footer-inner {
    max-width: 1800px;
  }
}

@media (min-width: 2560px) {
  .site-footer-inner {
    max-width: 2200px;
  }
}

@media (max-width: 768px) {
  .site-footer {
    padding: 1.5rem 0;
  }

  .footer-nav {
    gap: 0.4rem 1rem;
  }

  .footer-nav a {
    font-size: 0.85rem;
  }
}

/* Legacy styles for backwards compatibility */
.site-footer-nav {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
  list-style: none;
  margin-bottom: var(--spacing-md);
  flex-wrap: wrap;
}

.site-footer-nav a {
  color: var(--color-text);
  font-size: 0.875rem;
}

.copyright {
  color: var(--color-text-light);
  font-size: 0.875rem;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--color-accent);
  color: white;
  border-radius: 980px;
  font-size: 1rem;
  font-weight: 500;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  border: none;
  cursor: pointer;
}

.btn:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 113, 227, 0.3);
  opacity: 1;
}

.btn-secondary {
  background: var(--color-surface);
  color: var(--color-primary);
}

/* ===== Pagination ===== */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-xl);
}

.pagination a,
.pagination span {
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  background: var(--color-surface);
  color: var(--color-text);
  font-weight: 500;
  transition: background var(--transition-fast);
}

.pagination a:hover {
  background: var(--color-border);
  opacity: 1;
}

.pagination .current {
  background: var(--color-primary);
  color: white;
}

/* ============================================
   CARD CAROUSEL SECTIONS (Bright-style)
   ============================================ */

.card-carousel-section {
  padding: 4rem 0;
  max-width: 100%;
  overflow: hidden;
}

.carousel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto 2rem;
  padding: 0 4vw;
}

.carousel-title {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0;
}

.carousel-view-all {
  color: var(--color-text-light);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.carousel-view-all:hover {
  color: var(--color-accent);
}

.carousel-container {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4vw;
}

.carousel-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 1rem;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

/* ============================================
   FEATURE CARDS
   ============================================ */

.feature-card {
  flex: 0 0 auto;
  width: 320px;
  background: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: 18px;
  overflow: hidden;
  scroll-snap-align: start;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.feature-card:hover {
  background: var(--color-surface);
  border-color: var(--color-accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.feature-card-image {
  width: 100%;
  height: 180px;
  overflow: hidden;
}

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

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

.feature-card-content {
  padding: 1.25rem;
}

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

.feature-card-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0 0 0.5rem;
  line-height: 1.4;
}

.feature-card-title a {
  color: inherit;
  text-decoration: none;
}

.feature-card-title a:hover {
  color: var(--color-accent);
}

.feature-card-description {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.6;
  margin: 0 0 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.feature-card-meta {
  font-size: 0.8rem;
  color: var(--color-text-light);
}

/* ============================================
   GRID CARD LAYOUT (Alternative to carousel)
   ============================================ */

.card-grid-section {
  padding: 4rem 0;
  max-width: 1400px;
  margin: 0 auto;
  padding-left: 4vw;
  padding-right: 4vw;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

/* ============================================
   ICON CARDS (for features/services)
   ============================================ */

.icon-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 18px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.icon-card:hover {
  background: var(--color-background);
  border-color: var(--color-accent);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

.icon-card-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--color-accent) 0%, #8b5cf6 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.icon-card-icon svg {
  width: 24px;
  height: 24px;
  color: #fff;
}

.icon-card-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0 0 0.5rem;
}

.icon-card-description {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.6;
  margin: 0;
}

/* Dual button row inside icon cards */
.icon-card-buttons {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Small pill button inside card */
.btn-card-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.1rem;
  background: #3b82f6;
  border: none;
  border-radius: 50px;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-card-primary:hover {
  background: #2563eb;
  transform: translateY(-1px);
}

/* Text link inside card */
.btn-card-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: #9ca3af;
  font-size: 0.85rem;
  font-weight: 400;
  text-decoration: none;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-card-secondary:hover {
  color: #fff;
}

.btn-card-secondary .arrow {
  transition: transform 0.25s ease;
}

.btn-card-secondary:hover .arrow {
  transform: translateX(3px);
}

/* ============================================
   CTA BUTTONS (Bright-style)
   ============================================ */

.cta-button-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 2rem 0 3rem;
}

/* Primary button - filled with rounded edges */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  background: var(--color-accent);
  border: 1px solid var(--color-accent);
  border-radius: 50px;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
}

.btn-primary:hover {
  background: #005bb5;
  border-color: #005bb5;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 113, 227, 0.3);
  opacity: 1;
}

/* Secondary button - text with arrow */
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.875rem 0.5rem;
  background: transparent;
  border: none;
  color: var(--color-text-light);
  font-size: 0.95rem;
  font-weight: 400;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
}

.btn-secondary:hover {
  color: var(--color-accent);
  opacity: 1;
}

.btn-secondary .arrow {
  transition: transform 0.25s ease;
}

.btn-secondary:hover .arrow {
  transform: translateX(3px);
}

/* ============================================
   ICON CARD UPDATES - Add Learn More Link
   ============================================ */

.icon-card {
  display: flex;
  flex-direction: column;
}

.icon-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.icon-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
  color: var(--color-accent);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.25s ease;
}

.icon-card-link:hover {
  color: #005bb5;
  opacity: 1;
}

.icon-card-link .arrow {
  transition: transform 0.25s ease;
}

.icon-card-link:hover .arrow {
  transform: translateX(3px);
}

/* Make entire card clickable (optional) */
.icon-card-clickable {
  cursor: pointer;
}

.icon-card-clickable:hover {
  border-color: var(--color-accent);
}

/* ===== Responsive Design ===== */

/* Large screens (1600px and up) */
@media (min-width: 1600px) {
  .site-main,
  .site-nav-inner,
  .site-hero-inner,
  .site-footer-inner,
  .carousel-container,
  .carousel-header,
  .card-grid-section {
    max-width: 1600px;
  }

  .post-feed {
    max-width: 1600px;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2.5rem;
  }

  .feature-card {
    width: 360px;
  }
}

/* Extra large screens (2000px and up) */
@media (min-width: 2000px) {
  .site-main,
  .site-nav-inner,
  .site-hero-inner,
  .site-footer-inner,
  .carousel-container,
  .carousel-header,
  .card-grid-section {
    max-width: 1800px;
  }

  .post-feed {
    max-width: 1800px;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 3rem;
  }

  .feature-card {
    width: 400px;
  }
}

/* Ultra-wide screens (2560px and up) */
@media (min-width: 2560px) {
  .site-main,
  .site-nav-inner,
  .site-hero-inner,
  .site-footer-inner,
  .carousel-container,
  .carousel-header,
  .card-grid-section {
    max-width: 2200px;
  }

  .post-feed {
    max-width: 2200px;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
  }

  .feature-card {
    width: 450px;
  }
}

/* Mobile and tablet */
@media (max-width: 768px) {
  :root {
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
  }

  .site-nav-inner {
    padding: 0 var(--spacing-sm);
  }

  .site-nav-menu {
    gap: var(--spacing-sm);
  }

  .post-feed {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
    padding: 0 var(--spacing-sm);
  }

  .site-hero {
    padding: var(--spacing-lg) var(--spacing-sm);
  }

  .site-main {
    padding: var(--spacing-md) var(--spacing-sm);
  }

  .carousel-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .feature-card {
    width: 280px;
  }

  .card-carousel-section,
  .card-grid-section {
    padding: 2rem 0;
  }

  .cta-button-row {
    flex-direction: column;
    gap: 1rem;
  }

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

/* ===== Animations ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn var(--transition-smooth) ease-out;
}

/* ===== Loading States ===== */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

/* ===== Utility Classes ===== */
.text-center {
  text-align: center;
}

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

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

/* ===== Dark Mode Support (Optional) ===== */
@media (prefers-color-scheme: dark) {
  :root {
    --color-primary: #f5f5f7;
    --color-secondary: #e8e8ed;
    --color-background: #000000;
    --color-surface: #1d1d1f;
    --color-border: #424245;
    --color-text: #f5f5f7;
    --color-text-light: #a1a1a6;
  }

  .site-nav {
    background: rgba(0, 0, 0, 0.8);
  }

  .post-card {
    background: var(--color-surface);
  }
}

/* Custom: Reduce homepage title size only */
.home-template .site-hero .site-hero-inner h1 {
  font-size: clamp(1.5rem, 3vw, 2.5rem) !important;
}

/* Social Media Icons in Footer */
.social-links {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-surface);
  color: var(--color-text);
  transition: all var(--transition-fast);
}

.social-links a:hover {
  background: var(--color-primary);
  color: var(--color-background);
  transform: translateY(-2px);
  opacity: 1;
}

.social-links svg {
  width: 20px;
  height: 20px;
}

/* ============================================
   FAQ ACCORDION SECTION
   ============================================ */

.faq-section {
  padding: 4rem 0;
  max-width: 800px;
  margin: 0 auto;
  padding-left: 4vw;
  padding-right: 4vw;
}

.faq-header {
  text-align: center;
  margin-bottom: 3rem;
}

.faq-badge {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 50px;
  color: #60a5fa;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.faq-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.75rem;
}

.faq-subtitle {
  font-size: 1rem;
  color: #9ca3af;
  margin: 0;
}

.faq-subtitle a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.faq-subtitle a:hover {
  color: #3b82f6;
}

/* Accordion container */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Individual FAQ item */
.faq-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

/* Hover state - blue border */
.faq-item:hover {
  border-color: rgba(59, 130, 246, 0.5);
  background: rgba(255, 255, 255, 0.04);
}

/* Active/expanded state - subtle border (no blue) */
.faq-item.active {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
}

/* Active + hover - blue border on hover */
.faq-item.active:hover {
  border-color: rgba(59, 130, 246, 0.5);
}

/* Question button */
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 1rem;
}

.faq-question-text {
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
  line-height: 1.5;
  margin: 0;
}

/* Chevron icon */
.faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: #6b7280;
  transition: transform 0.3s ease, color 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: #fff;
}

/* Answer panel */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

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

.faq-answer-content {
  padding: 0 1.5rem 1.5rem;
  font-size: 0.95rem;
  color: #9ca3af;
  line-height: 1.7;
}

.faq-answer-content p {
  margin: 0;
}

.faq-answer-content p + p {
  margin-top: 1rem;
}

.faq-answer-content a {
  color: #3b82f6;
  text-decoration: none;
}

.faq-answer-content a:hover {
  text-decoration: underline;
}

/* ============================================
   FAQ RESPONSIVE
   ============================================ */

@media (min-width: 1600px) {
  .faq-section {
    max-width: 900px;
  }
}

@media (max-width: 768px) {
  .faq-section {
    padding: 2rem 0;
  }

  .faq-title {
    font-size: 1.75rem;
  }

  .faq-question {
    padding: 1rem 1.25rem;
  }

  .faq-answer-content {
    padding: 0 1.25rem 1.25rem;
  }
}

/* ============================================
   GHOST PORTAL MODAL - DARK THEME OVERRIDE
   ============================================ */

/* Target the Portal iframe container */
.gh-portal-popup-wrapper {
  background: rgba(0, 0, 0, 0.8) !important;
}

/* Main modal container */
.gh-portal-popup-container {
  background: #0a0a0a !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 16px !important;
}

/* Modal title */
.gh-portal-popup-container .gh-portal-main-title {
  color: #fff !important;
}

/* Input labels */
.gh-portal-popup-container label {
  color: #9ca3af !important;
}

/* Input fields */
.gh-portal-popup-container input[type="text"],
.gh-portal-popup-container input[type="email"],
.gh-portal-popup-container input[type="password"] {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #fff !important;
  border-radius: 8px !important;
}

.gh-portal-popup-container input::placeholder {
  color: #6b7280 !important;
}

.gh-portal-popup-container input:focus {
  border-color: rgba(59, 130, 246, 0.5) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important;
}

/* Primary button (Sign up) */
.gh-portal-popup-container .gh-portal-btn-main,
.gh-portal-popup-container .gh-portal-btn-primary {
  background: #3b82f6 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 8px !important;
  transition: all 0.2s ease !important;
}

.gh-portal-popup-container .gh-portal-btn-main:hover,
.gh-portal-popup-container .gh-portal-btn-primary:hover {
  background: #2563eb !important;
}

/* Secondary links (Already a member? Sign in) */
.gh-portal-popup-container .gh-portal-signin-link,
.gh-portal-popup-container .gh-portal-link,
.gh-portal-popup-container a {
  color: #3b82f6 !important;
}

.gh-portal-popup-container .gh-portal-signin-link:hover,
.gh-portal-popup-container .gh-portal-link:hover,
.gh-portal-popup-container a:hover {
  color: #60a5fa !important;
}

/* Text content */
.gh-portal-popup-container p,
.gh-portal-popup-container span,
.gh-portal-popup-container .gh-portal-text {
  color: #9ca3af !important;
}

/* Close button */
.gh-portal-popup-container .gh-portal-closeicon {
  color: #6b7280 !important;
}

.gh-portal-popup-container .gh-portal-closeicon:hover {
  color: #fff !important;
}

/* Plan/tier selection cards if visible */
.gh-portal-popup-container .gh-portal-product-card {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 12px !important;
}

.gh-portal-popup-container .gh-portal-product-card:hover {
  border-color: rgba(59, 130, 246, 0.5) !important;
}

.gh-portal-popup-container .gh-portal-product-card.selected {
  border-color: #3b82f6 !important;
}

/* Product/plan name */
.gh-portal-popup-container .gh-portal-product-name {
  color: #fff !important;
}

/* Price text */
.gh-portal-popup-container .gh-portal-product-price {
  color: #fff !important;
}

/* Benefits list */
.gh-portal-popup-container .gh-portal-product-benefit {
  color: #9ca3af !important;
}

/* Checkbox styling */
.gh-portal-popup-container input[type="checkbox"] {
  accent-color: #3b82f6 !important;
}

/* Error messages */
.gh-portal-popup-container .gh-portal-error {
  color: #ef4444 !important;
}

/* ============================================
   PAGE TEMPLATE STYLES
   ============================================ */

.page-article {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 4vw;
}

.page-header {
  margin-bottom: 2rem;
  text-align: center;
}

.page-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.page-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #d1d5db;
}

.page-content h2,
.page-content h3,
.page-content h4 {
  color: #fff;
  margin-top: 2rem;
}

.page-content a {
  color: #3b82f6;
}

.page-content a:hover {
  color: #60a5fa;
}

/* ============================================
   TAG/AUTHOR ARCHIVE STYLES
   ============================================ */

.tag-header,
.author-header {
  text-align: center;
  padding: 4rem 4vw 2rem;
}

.tag-title,
.author-name {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.5rem;
}

.tag-description,
.author-bio {
  color: #9ca3af;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.author-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin-bottom: 1rem;
}

/* ============================================
   ERROR PAGE STYLES
   ============================================ */

.error-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  text-align: center;
}

.error-content {
  padding: 2rem;
}

.error-code {
  font-size: 8rem;
  font-weight: 700;
  color: #3b82f6;
  margin: 0;
  line-height: 1;
}

.error-message {
  font-size: 1.25rem;
  color: #9ca3af;
  margin: 1rem 0 2rem;
}

.error-link {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: #3b82f6;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.error-link:hover {
  background: #2563eb;
}

/* ============================================
   ABOUT PAGE STYLES
   ============================================ */

.about-page {
  overflow-x: hidden;
}

/* ============================================
   ABOUT HERO
   ============================================ */

.about-hero {
  padding: 6rem 4vw 4rem;
  text-align: center;
}

.about-hero-inner {
  max-width: 800px;
  margin: 0 auto;
}

.about-badge,
.section-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 50px;
  color: #60a5fa;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.about-hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin: 0 0 1.5rem;
  letter-spacing: -0.02em;
}

.about-hero-subtitle {
  font-size: 1.25rem;
  color: #9ca3af;
  line-height: 1.7;
  margin: 0;
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   STATS BAR
   ============================================ */

.about-stats {
  padding: 0 4vw;
  margin-bottom: 4rem;
}

.about-stats-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  padding: 2rem 3rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0.5rem 1.5rem;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: #3b82f6;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.85rem;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
}

/* ============================================
   STORY SECTION
   ============================================ */

.about-story {
  padding: 4rem 4vw;
}

.about-story-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.story-content .section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin: 0 0 1.5rem;
}

.story-content p {
  font-size: 1.05rem;
  color: #9ca3af;
  line-height: 1.8;
  margin: 0 0 1rem;
}

.story-content p:last-child {
  margin-bottom: 0;
}

.story-visual {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.visual-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.visual-card:hover {
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateY(-4px);
}

.visual-icon {
  width: 56px;
  height: 56px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.visual-icon svg {
  width: 28px;
  height: 28px;
  color: #3b82f6;
}

.visual-icon.accent {
  background: rgba(139, 92, 246, 0.1);
}

.visual-icon.accent svg {
  color: #a78bfa;
}

.visual-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 0.5rem;
}

.visual-card p {
  font-size: 0.95rem;
  color: #9ca3af;
  line-height: 1.6;
  margin: 0;
}

/* ============================================
   EXPERTISE SECTION
   ============================================ */

.about-expertise {
  padding: 4rem 4vw;
  background: rgba(255, 255, 255, 0.01);
}

.about-expertise-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.expertise-header {
  text-align: center;
  margin-bottom: 3rem;
}

.expertise-header .section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.75rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #9ca3af;
  margin: 0;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.expertise-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.expertise-card:hover {
  border-color: rgba(59, 130, 246, 0.4);
  background: rgba(255, 255, 255, 0.04);
}

.expertise-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.expertise-icon svg {
  width: 24px;
  height: 24px;
  color: #fff;
}

.expertise-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 0.75rem;
}

.expertise-card > p {
  font-size: 0.95rem;
  color: #9ca3af;
  line-height: 1.6;
  margin: 0 0 1.25rem;
}

.expertise-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.expertise-tags li {
  padding: 0.35rem 0.75rem;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 500;
  color: #60a5fa;
}

/* ============================================
   VALUES SECTION
   ============================================ */

.about-values {
  padding: 4rem 4vw;
}

.about-values-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.values-header {
  text-align: center;
  margin-bottom: 3rem;
}

.values-header .section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

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

.value-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.value-number {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #3b82f6;
  margin-bottom: 0.75rem;
}

.value-item h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 0.5rem;
}

.value-item p {
  font-size: 0.95rem;
  color: #9ca3af;
  line-height: 1.6;
  margin: 0;
}

/* ============================================
   CTA SECTION
   ============================================ */

.about-cta {
  padding: 5rem 4vw;
  text-align: center;
}

.about-cta-inner {
  max-width: 600px;
  margin: 0 auto;
  padding: 4rem;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 24px;
}

.about-cta h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.75rem;
}

.about-cta p {
  font-size: 1.1rem;
  color: #9ca3af;
  margin: 0 0 2rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary-large {
  display: inline-flex;
  align-items: center;
  padding: 1rem 2rem;
  background: #3b82f6;
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 10px;
  transition: all 0.25s ease;
}

.btn-primary-large:hover {
  background: #2563eb;
  transform: translateY(-2px);
}

.btn-secondary-large {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 1rem 1.5rem;
  background: transparent;
  color: #9ca3af;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-secondary-large:hover {
  color: #fff;
}

.btn-secondary-large .arrow {
  transition: transform 0.25s ease;
}

.btn-secondary-large:hover .arrow {
  transform: translateX(4px);
}

/* ============================================
   ABOUT PAGE RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
  .about-story-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .story-visual {
    flex-direction: row;
  }

  .visual-card {
    flex: 1;
  }
}

@media (max-width: 768px) {
  .about-hero {
    padding: 4rem 4vw 3rem;
  }

  .about-hero-title {
    font-size: 2.25rem;
  }

  .about-hero-subtitle {
    font-size: 1.1rem;
  }

  .about-stats-inner {
    flex-direction: column;
    gap: 1rem;
    padding: 2rem;
  }

  .stat-divider {
    width: 60px;
    height: 1px;
  }

  .story-visual {
    flex-direction: column;
  }

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

  .values-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .about-cta-inner {
    padding: 2.5rem 1.5rem;
  }

  .about-cta h2 {
    font-size: 1.5rem;
  }

  .cta-buttons {
    flex-direction: column;
  }
}

@media (min-width: 1600px) {
  .about-story-inner,
  .about-expertise-inner,
  .about-values-inner {
    max-width: 1400px;
  }
}

@media (min-width: 2000px) {
  .about-story-inner,
  .about-expertise-inner,
  .about-values-inner {
    max-width: 1600px;
  }
}

/* ============================================
   CONTACT PAGE STYLES
   ============================================ */

.contact-page {
  overflow-x: hidden;
}

/* ============================================
   CONTACT HERO
   ============================================ */

.contact-hero {
  padding: 6rem 4vw 4rem;
  text-align: center;
}

.contact-hero-inner {
  max-width: 700px;
  margin: 0 auto;
}

.contact-hero-title {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
}

.contact-hero-subtitle {
  font-size: 1.2rem;
  color: #9ca3af;
  line-height: 1.7;
  margin: 0;
}

/* ============================================
   CONTACT MAIN SECTION
   ============================================ */

.contact-main {
  padding: 0 4vw 4rem;
}

.contact-main-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4rem;
  align-items: start;
}

/* ============================================
   CONTACT FORM
   ============================================ */

.contact-form-wrapper {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 2.5rem;
}

.contact-form-header {
  margin-bottom: 2rem;
}

.contact-form-header h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 0.5rem;
}

.contact-form-header p {
  font-size: 0.95rem;
  color: #9ca3af;
  margin: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 500;
  color: #d1d5db;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
  padding: 0.875rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #fff;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.25s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #6b7280;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgba(59, 130, 246, 0.5);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%236b7280'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.25rem;
  padding-right: 3rem;
}

.form-group select option {
  background: #1a1a1a;
  color: #fff;
}

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

.form-checkbox {
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
}

.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #3b82f6;
  cursor: pointer;
}

.form-checkbox label {
  font-size: 0.9rem;
  font-weight: 400;
  color: #9ca3af;
  cursor: pointer;
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: #3b82f6;
  border: none;
  border-radius: 10px;
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.25s ease;
  margin-top: 0.5rem;
}

.btn-submit:hover {
  background: #2563eb;
  transform: translateY(-2px);
}

.btn-submit svg {
  width: 20px;
  height: 20px;
  transition: transform 0.25s ease;
}

.btn-submit:hover svg {
  transform: translateX(4px);
}

/* ============================================
   CONTACT INFO SIDEBAR
   ============================================ */

.contact-info-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-card {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  transition: all 0.3s ease;
}

.contact-card:hover {
  border-color: rgba(59, 130, 246, 0.4);
  background: rgba(255, 255, 255, 0.04);
}

.contact-card-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-card-icon svg {
  width: 24px;
  height: 24px;
  color: #3b82f6;
}

.contact-card-content h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 0.25rem;
}

.contact-card-content p {
  font-size: 0.85rem;
  color: #6b7280;
  margin: 0 0 0.5rem;
}

.contact-card-content a,
.contact-card-content span {
  font-size: 0.95rem;
  color: #3b82f6;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-card-content a:hover {
  color: #60a5fa;
}

/* ============================================
   OFFICE HOURS
   ============================================ */

.office-hours {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
}

.office-hours h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 1rem;
}

.office-hours ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.office-hours li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.office-hours li:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.office-hours .day {
  font-size: 0.9rem;
  color: #9ca3af;
}

.office-hours .hours {
  font-size: 0.9rem;
  font-weight: 500;
  color: #fff;
}

.emergency-note {
  display: flex;
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 10px;
}

.emergency-note svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: #f59e0b;
}

.emergency-note p {
  font-size: 0.85rem;
  color: #fbbf24;
  margin: 0;
  line-height: 1.5;
}

/* ============================================
   CONTACT SOCIAL
   ============================================ */

.contact-social {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
}

.contact-social h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 1rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  color: #9ca3af;
  transition: all 0.25s ease;
}

.social-links a:hover {
  background: rgba(59, 130, 246, 0.15);
  border-color: rgba(59, 130, 246, 0.4);
  color: #3b82f6;
}

.social-links svg {
  width: 20px;
  height: 20px;
}

/* ============================================
   CONTACT FAQ SECTION
   ============================================ */

.contact-faq {
  padding: 4rem 4vw;
  background: rgba(255, 255, 255, 0.01);
}

.contact-faq-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.contact-faq-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.contact-faq-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.contact-faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.faq-simple-item {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  transition: all 0.3s ease;
}

.faq-simple-item:hover {
  border-color: rgba(59, 130, 246, 0.4);
}

.faq-simple-item h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 0.75rem;
}

.faq-simple-item p {
  font-size: 0.9rem;
  color: #9ca3af;
  line-height: 1.6;
  margin: 0;
}

/* ============================================
   CONTACT PAGE RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
  .contact-main-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-info-wrapper {
    order: -1;
  }

  .contact-cards {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .contact-card {
    flex: 1;
    min-width: 250px;
  }
}

@media (max-width: 768px) {
  .contact-hero {
    padding: 4rem 4vw 3rem;
  }

  .contact-hero-title {
    font-size: 2rem;
  }

  .contact-form-wrapper {
    padding: 1.5rem;
  }

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

  .contact-cards {
    flex-direction: column;
  }

  .contact-card {
    min-width: 100%;
  }

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

@media (min-width: 1600px) {
  .contact-main-inner,
  .contact-faq-inner {
    max-width: 1400px;
  }
}

@media (min-width: 2000px) {
  .contact-main-inner,
  .contact-faq-inner {
    max-width: 1600px;
  }
}

/* ==========================================================================
   Legal Pages (Privacy Policy, Terms of Service, etc.)
   ========================================================================== */

/* Legal Hero Section */
.legal-page {
  background: var(--background-primary);
}

.legal-hero {
  padding: 8rem 4vw 4rem;
  text-align: center;
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.05) 0%, transparent 100%);
}

.legal-hero-inner {
  max-width: 800px;
  margin: 0 auto;
}

.legal-hero-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 1.5rem 0 1rem;
  letter-spacing: -0.02em;
}

.legal-hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.legal-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--text-tertiary);
}

.legal-separator {
  color: var(--border-primary);
}

.legal-date {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* Legal Content Section */
.legal-content {
  padding: 4rem 4vw;
}

.legal-content-inner {
  max-width: 900px;
  margin: 0 auto;
}

/* Table of Contents */
.legal-toc {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-primary);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 3rem;
}

.legal-toc h2 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-primary);
}

.legal-toc ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem 2rem;
  counter-reset: toc-counter;
}

.legal-toc li {
  counter-increment: toc-counter;
}

.legal-toc li a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  transition: color 0.2s ease;
}

.legal-toc li a::before {
  content: counter(toc-counter) ".";
  color: var(--accent-blue);
  font-weight: 500;
  min-width: 1.5rem;
}

.legal-toc li a:hover {
  color: var(--accent-blue);
}

/* Legal Sections */
.legal-section {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border-primary);
}

.legal-section:last-of-type {
  border-bottom: none;
}

.legal-section h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.section-number {
  color: var(--accent-blue);
  font-weight: 500;
}

.legal-section h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 2rem 0 1rem;
}

.legal-section h3:first-of-type {
  margin-top: 0;
}

.legal-section h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 1.5rem 0 0.75rem;
}

.legal-section p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.legal-section ul,
.legal-section ol {
  margin: 1rem 0 1.5rem;
  padding-left: 1.5rem;
}

.legal-section li {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

.legal-section li strong {
  color: var(--text-primary);
}

.legal-section a {
  color: var(--accent-blue);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.legal-section a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* Cookie Table */
.cookie-table-wrapper {
  overflow-x: auto;
  margin: 1.5rem 0;
}

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.cookie-table th,
.cookie-table td {
  padding: 1rem;
  text-align: left;
  border: 1px solid var(--border-primary);
}

.cookie-table th {
  background: rgba(59, 130, 246, 0.1);
  color: var(--text-primary);
  font-weight: 600;
}

.cookie-table td {
  color: var(--text-secondary);
}

.cookie-table tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.02);
}

/* Legal Notice Box */
.legal-notice {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(234, 179, 8, 0.1);
  border: 1px solid rgba(234, 179, 8, 0.3);
  border-radius: 12px;
  margin: 1.5rem 0;
}

.legal-notice svg {
  width: 24px;
  height: 24px;
  color: #eab308;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.legal-notice p {
  margin: 0;
  color: var(--text-secondary);
}

/* Rights Grid */
.rights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.right-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-primary);
  border-radius: 12px;
  padding: 1.5rem;
  transition: border-color 0.2s ease;
}

.right-item:hover {
  border-color: var(--accent-blue);
}

.right-item h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent-blue);
  margin: 0 0 0.5rem;
}

.right-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

/* Contact Info Box */
.contact-info-box {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.contact-method {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-primary);
  border-radius: 12px;
  padding: 1.5rem;
}

.contact-method h4 {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 0.5rem;
}

.contact-method p {
  font-size: 1rem;
  color: var(--text-primary);
  margin: 0;
}

.contact-method a {
  color: var(--accent-blue);
  text-decoration: none;
}

.contact-method a:hover {
  text-decoration: underline;
}

/* Legal Footer */
.legal-footer {
  padding: 2rem 4vw;
  border-top: 1px solid var(--border-primary);
}

.legal-footer-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.back-to-top:hover {
  color: var(--accent-blue);
}

.back-to-top svg {
  width: 18px;
  height: 18px;
}

.related-policies {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
}

.related-policies span {
  color: var(--text-tertiary);
}

.related-policies a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.related-policies a:hover {
  color: var(--accent-blue);
}

/* Legal Page Responsive */
@media (max-width: 768px) {
  .legal-hero {
    padding: 6rem 4vw 3rem;
  }

  .legal-hero-title {
    font-size: 2rem;
  }

  .legal-meta {
    flex-direction: column;
    gap: 0.5rem;
  }

  .legal-separator {
    display: none;
  }

  .legal-toc ol {
    grid-template-columns: 1fr;
  }

  .legal-section h2 {
    font-size: 1.25rem;
  }

  .rights-grid,
  .contact-info-box {
    grid-template-columns: 1fr;
  }

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

  .related-policies {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (min-width: 1400px) {
  .legal-content-inner {
    max-width: 1000px;
  }
}

@media (min-width: 1800px) {
  .legal-hero-inner {
    max-width: 900px;
  }

  .legal-content-inner {
    max-width: 1100px;
  }

  .legal-hero-title {
    font-size: 3.5rem;
  }
}

/* ============================================
   TERMS OF SERVICE - ADDITIONAL STYLES
   ============================================ */

/* Legal Intro */
.legal-intro {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-primary);
}

.legal-intro p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-intro a {
    color: var(--accent-blue);
    text-decoration: none;
}

.legal-intro a:hover {
    text-decoration: underline;
}

/* Terms Highlight Box */
.terms-highlight {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: 12px;
    margin: 1.5rem 0;
}

.terms-highlight > svg {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: #f59e0b;
    margin-top: 2px;
}

.terms-highlight h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #fbbf24;
    margin: 0 0 0.35rem;
}

.terms-highlight p {
    font-size: 0.95rem;
    color: #fcd34d;
    margin: 0;
    line-height: 1.5;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}

.service-item {
    padding: 1.25rem;
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.service-item:hover {
    border-color: rgba(59, 130, 246, 0.4);
}

.service-item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 0.35rem;
}

.service-item p {
    font-size: 0.9rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

/* Prohibited Grid */
.prohibited-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}

.prohibited-item {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.15);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.prohibited-item:hover {
    border-color: rgba(239, 68, 68, 0.4);
}

.prohibited-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prohibited-icon svg {
    width: 20px;
    height: 20px;
    color: #ef4444;
}

.prohibited-item h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 0.25rem;
}

.prohibited-item > div p {
    font-size: 0.85rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

/* Disclaimer Box */
.disclaimer-box {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin: 1.5rem 0;
}

.disclaimer-box h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 1rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.disclaimer-box p {
    font-size: 0.9rem;
    color: #9ca3af;
    line-height: 1.7;
    margin: 0 0 1rem;
}

.disclaimer-box p:last-child {
    margin-bottom: 0;
}

.disclaimer-box ul {
    margin: 0.5rem 0 0;
    padding-left: 1.25rem;
}

.disclaimer-box li {
    font-size: 0.9rem;
    color: #9ca3af;
    line-height: 1.6;
    margin-bottom: 0.35rem;
}

/* Contact Methods Grid for Terms */
.contact-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.contact-methods .contact-method {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-primary);
    border-radius: 12px;
    padding: 1.5rem;
}

.contact-methods .contact-method h4 {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 0.75rem;
}

.contact-methods .contact-method a {
    color: var(--accent-blue);
    text-decoration: none;
    font-size: 1rem;
}

.contact-methods .contact-method a:hover {
    text-decoration: underline;
}

.contact-methods .contact-method address {
    font-style: normal;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   TERMS RESPONSIVE ADDITIONS
   ============================================ */

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

    .terms-highlight {
        flex-direction: column;
        gap: 0.75rem;
    }

    .prohibited-item {
        flex-direction: column;
        gap: 0.75rem;
    }

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

/* ============================================
   AFFILIATE DISCLOSURE - ADDITIONAL STYLES
   ============================================ */

/* Quick Summary Box */
.disclosure-summary {
    padding: 0 4vw;
    margin-top: -1rem;
}

.disclosure-summary-inner {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 16px;
}

.summary-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: rgba(59, 130, 246, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.summary-icon svg {
    width: 24px;
    height: 24px;
    color: #3b82f6;
}

.summary-content h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 0.5rem;
}

.summary-content p {
    font-size: 1rem;
    color: #93c5fd;
    line-height: 1.7;
    margin: 0;
}

/* Info Callout */
.info-callout {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    margin: 1.5rem 0;
}

.callout-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: rgba(59, 130, 246, 0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.callout-icon svg {
    width: 20px;
    height: 20px;
    color: #3b82f6;
}

.callout-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 0.35rem;
}

.callout-content p {
    font-size: 0.9rem;
    color: #93c5fd;
    margin: 0;
    line-height: 1.6;
}

/* Process Steps */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1.5rem 0;
}

.process-step {
    display: flex;
    gap: 1.25rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.process-step:hover {
    border-color: rgba(59, 130, 246, 0.4);
}

.step-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}

.step-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 0.25rem;
}

.step-content p {
    font-size: 0.9rem;
    color: #9ca3af;
    margin: 0;
    line-height: 1.5;
}

/* Important Note */
.important-note {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 12px;
    margin: 1.5rem 0;
}

.important-note svg {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: #10b981;
}

.important-note p {
    font-size: 0.95rem;
    color: #6ee7b7;
    margin: 0;
    line-height: 1.6;
}

/* Commitment Grid */
.commitment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin: 1.5rem 0;
}

.commitment-item {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.commitment-item:hover {
    border-color: rgba(59, 130, 246, 0.4);
}

.commitment-icon {
    width: 44px;
    height: 44px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.commitment-icon svg {
    width: 22px;
    height: 22px;
    color: #10b981;
}

.commitment-item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 0.5rem;
}

.commitment-item p {
    font-size: 0.9rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.6;
}

/* Partners Grid */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin: 1.5rem 0;
}

.partner-category {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
}

.partner-category h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.partner-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.partner-category li {
    font-size: 0.9rem;
    color: #9ca3af;
    padding: 0.35rem 0;
    padding-left: 1.25rem;
    position: relative;
}

.partner-category li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: #3b82f6;
    border-radius: 50%;
}

/* Identification Methods */
.identification-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1.5rem 0;
}

.method-item {
    display: flex;
    gap: 1.25rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.method-item:hover {
    border-color: rgba(59, 130, 246, 0.4);
}

.method-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.method-icon svg {
    width: 22px;
    height: 22px;
    color: #3b82f6;
}

.method-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 0.35rem;
}

.method-content p {
    font-size: 0.9rem;
    color: #9ca3af;
    margin: 0;
    line-height: 1.6;
}

/* FTC Notice */
.ftc-notice {
    display: flex;
    gap: 1.5rem;
    padding: 1.75rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    margin: 1.5rem 0;
}

.ftc-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ftc-icon svg {
    width: 26px;
    height: 26px;
    color: #10b981;
}

.ftc-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 0.75rem;
}

.ftc-content p {
    font-size: 0.95rem;
    color: #9ca3af;
    margin: 0 0 1rem;
    line-height: 1.7;
}

.ftc-content ul {
    margin: 0;
    padding-left: 1.25rem;
}

.ftc-content li {
    font-size: 0.9rem;
    color: #9ca3af;
    margin-bottom: 0.35rem;
}

/* Amazon Disclosure Box */
.amazon-disclosure-box {
    display: flex;
    gap: 1.5rem;
    padding: 1.75rem;
    background: rgba(255, 153, 0, 0.08);
    border: 1px solid rgba(255, 153, 0, 0.2);
    border-radius: 14px;
    margin: 1.5rem 0;
}

.amazon-logo {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background: rgba(255, 153, 0, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.amazon-logo svg {
    width: 28px;
    height: 28px;
    color: #ff9900;
}

.amazon-content p {
    font-size: 0.95rem;
    color: #fcd34d;
    margin: 0 0 0.75rem;
    line-height: 1.7;
}

.amazon-content p:last-child {
    margin-bottom: 0;
}

/* Choice Options */
.choice-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1.5rem 0;
}

.choice-item {
    display: flex;
    gap: 1.25rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.choice-item:hover {
    border-color: rgba(59, 130, 246, 0.4);
}

.choice-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.choice-icon svg {
    width: 24px;
    height: 24px;
}

.choice-icon.positive {
    background: rgba(16, 185, 129, 0.1);
}

.choice-icon.positive svg {
    color: #10b981;
}

.choice-icon.neutral {
    background: rgba(59, 130, 246, 0.1);
}

.choice-icon.neutral svg {
    color: #3b82f6;
}

.choice-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 0.35rem;
}

.choice-content p {
    font-size: 0.9rem;
    color: #9ca3af;
    margin: 0;
    line-height: 1.6;
}

/* ============================================
   AFFILIATE DISCLOSURE RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .disclosure-summary-inner {
        flex-direction: column;
        text-align: center;
    }

    .summary-icon {
        margin: 0 auto;
    }

    .commitment-grid,
    .partners-grid {
        grid-template-columns: 1fr;
    }

    .process-step,
    .method-item,
    .choice-item {
        flex-direction: column;
        text-align: center;
    }

    .step-number,
    .method-icon,
    .choice-icon {
        margin: 0 auto;
    }

    .ftc-notice,
    .amazon-disclosure-box {
        flex-direction: column;
        text-align: center;
    }

    .ftc-icon,
    .amazon-logo {
        margin: 0 auto;
    }

    .info-callout {
        flex-direction: column;
        text-align: center;
    }

    .callout-icon {
        margin: 0 auto;
    }
}

/* ============================================
   DMCA Policy Page Styles
   ============================================ */

/* DMCA Overview Grid */
.dmca-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.overview-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.overview-card:hover {
    border-color: rgba(59, 130, 246, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.overview-icon {
    width: 48px;
    height: 48px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.overview-card h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.overview-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Requirements List */
.requirements-list {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.requirements-list h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.requirements-list ol {
    list-style: none;
    counter-reset: requirements;
    padding: 0;
    margin: 0;
}

.requirements-list li {
    counter-increment: requirements;
    padding: 0.75rem 0;
    padding-left: 2.5rem;
    position: relative;
    color: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.requirements-list li:last-child {
    border-bottom: none;
}

.requirements-list li::before {
    content: counter(requirements);
    position: absolute;
    left: 0;
    top: 0.75rem;
    width: 24px;
    height: 24px;
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Warning Box */
.warning-box {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.warning-icon {
    width: 40px;
    height: 40px;
    background: rgba(245, 158, 11, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.warning-content h4 {
    color: #f59e0b;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.warning-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Submit Methods */
.submit-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.submit-method {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.submit-method:hover {
    border-color: rgba(59, 130, 246, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.submit-method .method-icon {
    width: 56px;
    height: 56px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto 1rem;
}

.submit-method h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.submit-method p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.submit-method a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
}

.submit-method a:hover {
    color: #60a5fa;
    text-decoration: underline;
}

/* Process Timeline */
.process-timeline {
    position: relative;
    margin: 2rem 0;
    padding-left: 2rem;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #3b82f6, rgba(59, 130, 246, 0.2));
}

.timeline-step {
    position: relative;
    padding: 1.5rem;
    padding-left: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin-bottom: 1rem;
}

.timeline-step:last-child {
    margin-bottom: 0;
}

.timeline-step::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: #3b82f6;
    border-radius: 50%;
    border: 3px solid #0a0a0a;
}

.step-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.step-label {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.step-header h4 {
    color: #fff;
    font-size: 1.05rem;
    margin: 0;
}

.timeline-step p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Counter Notice Box */
.counter-notice-box {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.counter-notice-box h4 {
    color: #10b981;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.counter-notice-box ol {
    list-style: none;
    counter-reset: counter-notice;
    padding: 0;
    margin: 0;
}

.counter-notice-box li {
    counter-increment: counter-notice;
    padding: 0.5rem 0;
    padding-left: 2rem;
    position: relative;
    color: rgba(255, 255, 255, 0.8);
}

.counter-notice-box li::before {
    content: counter(counter-notice);
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 20px;
    height: 20px;
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Policy Box */
.policy-box {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.policy-box h4 {
    color: #ef4444;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.policy-box p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Agent Card */
.agent-card {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 16px;
    padding: 2rem;
    margin: 1.5rem 0;
    text-align: center;
}

.agent-card h4 {
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.agent-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.agent-detail {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.agent-detail .detail-icon {
    width: 32px;
    height: 32px;
    background: rgba(59, 130, 246, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.agent-detail a {
    color: #3b82f6;
    text-decoration: none;
}

.agent-detail a:hover {
    color: #60a5fa;
    text-decoration: underline;
}

/* Safe Harbor Grid */
.safe-harbor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.harbor-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.harbor-item:hover {
    border-color: rgba(59, 130, 246, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.harbor-icon {
    width: 48px;
    height: 48px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.harbor-item h4 {
    color: #fff;
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.harbor-item p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Good Faith List */
.good-faith-list {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.good-faith-list h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.good-faith-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.good-faith-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.good-faith-list li:last-child {
    border-bottom: none;
}

.good-faith-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0.75rem;
    color: #10b981;
    font-weight: 600;
}

/* DMCA Responsive Styles */
@media (max-width: 768px) {
    .dmca-overview-grid,
    .submit-methods,
    .safe-harbor-grid {
        grid-template-columns: 1fr;
    }

    .warning-box {
        flex-direction: column;
        text-align: center;
    }

    .warning-icon {
        margin: 0 auto;
    }

    .process-timeline {
        padding-left: 1.5rem;
    }

    .process-timeline::before {
        left: 10px;
    }

    .timeline-step {
        padding-left: 1.5rem;
    }

    .timeline-step::before {
        left: -1.5rem;
        width: 10px;
        height: 10px;
    }

    .agent-card {
        padding: 1.5rem;
    }

    .agent-detail {
        flex-direction: column;
        gap: 0.5rem;
    }

    .agent-detail .detail-icon {
        margin: 0 auto;
    }
}

/* ============================================
   TECH HERO SECTION
   ============================================ */

.tech-hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 4vw;
    overflow: hidden;
    background: linear-gradient(180deg, #0a0a0a 0%, #0f0f14 100%);
}

/* Background Effects Container */
.hero-bg-effects {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

/* Animated Grid Overlay */
.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(59, 130, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridPulse 8s ease-in-out infinite;
}

@keyframes gridPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Glowing Orbs */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: orbFloat 20s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.4) 0%, transparent 70%);
    top: -20%;
    right: -10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.3) 0%, transparent 70%);
    bottom: -10%;
    left: -5%;
    animation-delay: -7s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.3) 0%, transparent 70%);
    top: 40%;
    left: 30%;
    animation-delay: -14s;
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(20px, 10px) scale(1.02); }
}

/* Floating Geometric Shapes */
.floating-shapes {
    position: absolute;
    inset: 0;
}

.shape {
    position: absolute;
    border: 1px solid rgba(59, 130, 246, 0.2);
    animation: shapeFloat 15s ease-in-out infinite;
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 15%;
    left: 10%;
    border-radius: 12px;
    transform: rotate(45deg);
    animation-delay: 0s;
}

.shape-2 {
    width: 60px;
    height: 60px;
    top: 70%;
    left: 15%;
    border-radius: 50%;
    animation-delay: -3s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    top: 20%;
    right: 15%;
    border-radius: 8px;
    animation-delay: -6s;
}

.shape-4 {
    width: 40px;
    height: 40px;
    bottom: 25%;
    right: 20%;
    border-radius: 50%;
    border-color: rgba(139, 92, 246, 0.2);
    animation-delay: -9s;
}

.shape-5 {
    width: 70px;
    height: 70px;
    top: 50%;
    left: 5%;
    border-radius: 16px;
    transform: rotate(15deg);
    border-color: rgba(6, 182, 212, 0.15);
    animation-delay: -12s;
}

@keyframes shapeFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.6;
    }
}

/* Scan Line Effect */
.scan-line {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.5), transparent);
    animation: scanLine 4s linear infinite;
    opacity: 0.5;
}

@keyframes scanLine {
    0% { top: -10%; }
    100% { top: 110%; }
}

/* Hero Content */
.tech-hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    text-align: center;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1.25rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 50px;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #3b82f6;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

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

.badge-text {
    font-size: 0.85rem;
    font-weight: 500;
    color: #93c5fd;
    letter-spacing: 0.05em;
}

/* Hero Title */
.tech-hero-title {
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin: 0 0 1.5rem;
    letter-spacing: -0.02em;
}

.title-line {
    display: block;
    color: #fff;
    animation: fadeInUp 0.8s ease-out;
}

.title-line:nth-child(1) {
    animation-delay: 0.1s;
}

.title-line:nth-child(2) {
    animation-delay: 0.2s;
}

.tech-hero .gradient-text {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Subtitle */
.tech-hero-subtitle {
    font-size: 1.25rem;
    color: #9ca3af;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    animation: fadeInUp 0.8s ease-out 0.3s backwards;
}

/* Hero CTA Buttons */
.hero-cta-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.hero-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}

.hero-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(59, 130, 246, 0.4);
    color: #fff;
}

.hero-btn-primary svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.hero-btn-primary:hover svg {
    transform: translateX(4px);
}

.hero-btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #d1d5db;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* Hero Stats */
.hero-stats {
    display: inline-flex;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem 2.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    animation: fadeInUp 0.8s ease-out 0.5s backwards;
}

.hero-stats .stat {
    text-align: center;
}

.hero-stats .stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #3b82f6;
    line-height: 1;
}

.hero-stats .stat-label {
    display: block;
    font-size: 0.8rem;
    color: #6b7280;
    margin-top: 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
}

/* Decorative Code Window */
.hero-code-decoration {
    position: absolute;
    bottom: 10%;
    right: 5%;
    z-index: 5;
    animation: floatCode 6s ease-in-out infinite;
    opacity: 0.8;
}

@keyframes floatCode {
    0%, 100% { transform: translateY(0) rotate(2deg); }
    50% { transform: translateY(-15px) rotate(-1deg); }
}

.code-window {
    background: rgba(15, 15, 20, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1rem;
    min-width: 320px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.code-dots {
    display: flex;
    gap: 6px;
    margin-bottom: 0.75rem;
}

.code-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.code-dots span:nth-child(1) { background: #ff5f57; }
.code-dots span:nth-child(2) { background: #ffbd2e; }
.code-dots span:nth-child(3) { background: #28c840; }

.code-content {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.8rem;
    line-height: 1.8;
}

.code-line {
    display: block;
}

.code-keyword { color: #c792ea; }
.code-var { color: #82aaff; }
.code-string { color: #c3e88d; }
.code-func { color: #82aaff; }
.code-comment { color: #546e7a; }

.code-line.typing::after {
    content: '';
    display: inline-block;
    width: 8px;
    height: 14px;
    background: #3b82f6;
    margin-left: 2px;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Fade In Up Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   TECH HERO RESPONSIVE
   ============================================ */

@media (max-width: 1200px) {
    .hero-code-decoration {
        display: none;
    }
}

@media (max-width: 768px) {
    .tech-hero {
        min-height: auto;
        padding: 4rem 4vw;
    }

    .tech-hero-title {
        font-size: 2.25rem;
    }

    .tech-hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-cta-row {
        flex-direction: column;
    }

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

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
    }

    .stat-divider {
        width: 60px;
        height: 1px;
    }

    .shape-1, .shape-3, .shape-5 {
        display: none;
    }
}

@media (min-width: 1600px) {
    .tech-hero-content {
        max-width: 900px;
    }

    .hero-code-decoration {
        right: 10%;
    }
}

@media (min-width: 2000px) {
    .tech-hero-content {
        max-width: 1000px;
    }

    .hero-code-decoration {
        right: 15%;
        bottom: 15%;
    }
}
