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

:root {
  --bg-primary: #130f1a;
  --bg-secondary: #1b1524;
  --bg-tertiary: #251e33;
  --text-primary: #ffffff;
  --text-secondary: #b3a9c9;
  --color-gold: #e5c158;
  --color-gold-hover: #f3e5ab;
  --color-red: #e23653;
  --color-red-hover: #f84f6b;
  --glass-bg: rgba(27, 21, 36, 0.7);
  --glass-border: rgba(229, 193, 88, 0.15);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.5);
  --font-title: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.25;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 1.85rem;
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
  position: relative;
  display: inline-block;
}

h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 40px;
  height: 3px;
  background-color: var(--color-gold);
  border-radius: 2px;
}

h3 {
  font-size: 1.35rem;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--color-gold);
}

p {
  margin-bottom: 1.25rem;
  color: var(--text-secondary);
}

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

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

/* Shared Layout Components */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header & Glassmorphism Navigation */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  transition: background var(--transition-normal), padding var(--transition-normal);
  padding: 0.75rem 0;
}

.main-header.scrolled {
  background: rgba(19, 15, 26, 0.95);
  padding: 0.5rem 0;
}

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

.logo-link {
  display: flex;
  align-items: center;
}

.logo-svg {
  height: 40px;
  width: auto;
}

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

.nav-link {
  font-family: var(--font-title);
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-gold);
  transition: width var(--transition-fast);
}

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

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

.cta-header-btn {
  background-color: var(--color-red);
  color: var(--text-primary);
  padding: 0.5rem 1.25rem;
  border-radius: 4px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.9rem;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
  box-shadow: var(--shadow-sm);
  display: inline-block;
}

.cta-header-btn:hover {
  background-color: var(--color-red-hover);
  color: var(--text-primary);
  transform: translateY(-1px);
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section (For Landing Pages) */
.hero-section {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 0 4rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(19, 15, 26, 0.85) 0%,
    rgba(19, 15, 26, 0.75) 50%,
    rgba(19, 15, 26, 0.95) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: 3rem;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-bottom: 2rem;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

.hero-cta {
  background-color: var(--color-red);
  color: var(--text-primary);
  padding: 1rem 2.5rem;
  border-radius: 6px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(226, 54, 83, 0.4);
  transition: background-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
  display: inline-block;
}

.hero-cta:hover {
  background-color: var(--color-red-hover);
  color: var(--text-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(226, 54, 83, 0.6);
}

/* Page Intro Section (For Non-Landing Pages) */
.page-intro {
  padding: 8rem 0 3rem;
  background-color: var(--bg-secondary);
  border-bottom: 1px solid rgba(229, 193, 88, 0.05);
}

/* Main Content & Sections */
.content-section {
  padding: 4rem 0;
}

.content-section:nth-of-type(even) {
  background-color: var(--bg-secondary);
}

/* Feature/Benefit Grids */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.feature-card {
  background-color: var(--bg-tertiary);
  border: 1px solid rgba(229, 193, 88, 0.05);
  border-radius: 8px;
  padding: 2rem;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(229, 193, 88, 0.2);
  box-shadow: var(--shadow-lg);
}

.feature-card h3 {
  margin-top: 0;
  margin-bottom: 1rem;
}

/* Trust Stripes & Elements */
.trust-strip {
  background: linear-gradient(90deg, #1b1524 0%, #251e33 50%, #1b1524 100%);
  padding: 1.5rem 0;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  text-align: center;
}

.trust-items {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.trust-item {
  font-family: var(--font-title);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-gold);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.trust-item svg {
  fill: currentColor;
  width: 18px;
  height: 18px;
}

/* Supporting Images Layout */
.section-image-wrapper {
  margin: 2rem 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(229, 193, 88, 0.1);
  box-shadow: var(--shadow-sm);
}

.section-image {
  width: 100%;
  height: auto;
  max-height: 450px;
  object-fit: cover;
  display: block;
}

.section-image-caption {
  background-color: var(--bg-tertiary);
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  border-top: 1px solid rgba(229, 193, 88, 0.05);
}

/* Form Styles (Register & Login Mockups) */
.form-card {
  max-width: 480px;
  margin: 2rem auto;
  background-color: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  padding: 2.5rem;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-family: var(--font-title);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--color-gold);
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: var(--bg-primary);
  border: 1px solid rgba(229, 193, 88, 0.2);
  border-radius: 4px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition-fast), outline var(--transition-fast);
}

.form-input:focus {
  border-color: var(--color-gold);
  outline: none;
}

.form-submit-btn {
  width: 100%;
  background-color: var(--color-red);
  color: var(--text-primary);
  border: none;
  padding: 0.85rem;
  border-radius: 4px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background-color var(--transition-fast);
}

.form-submit-btn:hover {
  background-color: var(--color-red-hover);
}

/* FAQ Accordions / Details Styles */
.faq-container {
  max-width: 800px;
  margin: 2rem auto 0;
}

.faq-item {
  background-color: var(--bg-secondary);
  border: 1px solid rgba(229, 193, 88, 0.05);
  border-radius: 6px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item:hover {
  border-color: rgba(229, 193, 88, 0.2);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  text-align: left;
  color: var(--text-primary);
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--color-gold);
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-question::after {
  content: '−';
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
  background-color: var(--bg-tertiary);
}

.faq-answer-content {
  padding: 1.5rem;
}

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

/* Footer styling */
.main-footer {
  background-color: #0b080f;
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(229, 193, 88, 0.1);
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-column h3 {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-top: 0;
  margin-bottom: 1.25rem;
}

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

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--color-gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-legal-note {
  font-size: 0.8rem;
  color: rgba(179, 169, 201, 0.6);
  max-width: 600px;
}

/* Utility classes */
.text-center { text-align: center; }
.margin-top-lg { margin-top: 3rem; }
.flex-center { display: flex; justify-content: center; align-items: center; }

/* Responsive adjustments */
@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.5rem; }
  
  .mobile-nav-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 60px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 60px);
    background-color: var(--bg-primary);
    flex-direction: column;
    align-items: center;
    padding: 3rem 1.5rem;
    transition: left var(--transition-normal);
    z-index: 999;
    border-top: 1px solid var(--glass-border);
  }
  
  .nav-menu.open {
    left: 0;
  }
  
  .hero-content h1 { font-size: 2.2rem; }
  .hero-content p { font-size: 1rem; }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
