/*
Main Stylesheet for lonestarstate.ai Static Site
Re-usable: yes
Re-Run Safe: yes
Description: Complete CSS stylesheet that replicates all Tailwind CSS classes used in the Next.js version.
Includes: Typography, layout, colors, spacing, responsive design, and component styles.
Uses CSS custom properties for maintainability and follows single-responsibility principle.
*/

/* ============================================
   CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   ============================================ */
:root {
  /* Colors - Using black background with white text as per original design */
  --color-bg: #000000;
  --color-text: #ffffff;
  --color-border: rgba(255, 255, 255, 0.1);
  --color-border-hover: rgba(255, 255, 255, 0.2);
  
  /* Typography - Using Geist font family with fallbacks */
  --font-sans: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'Geist Mono', 'Courier New', monospace;
  
  /* Spacing - Using 8px base unit */
  --spacing-base: 8px;
  
  /* Max widths for content containers */
  --max-width-3xl: 48rem;  /* 768px */
  --max-width-6xl: 72rem;  /* 1152px */
  
  /* Border radius */
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.5;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1 {
  font-size: 2.25rem; /* 36px */
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

h2 {
  font-size: 1.5rem; /* 24px */
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

h3 {
  font-size: 1.125rem; /* 18px */
  font-weight: 500;
  line-height: 1.3;
}

p {
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

/* ============================================
   LAYOUT CONTAINERS
   ============================================ */
.container-3xl {
  max-width: var(--max-width-3xl);
  margin-left: auto;
  margin-right: auto;
}

.container-6xl {
  max-width: var(--max-width-6xl);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ============================================
   HEADER STYLES
   ============================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background-color: rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid var(--color-border);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.header-logo {
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.header-nav {
  display: none;
  gap: 1.5rem;
  font-size: 0.875rem;
}

.header-nav a {
  opacity: 0.8;
}

.header-nav a:hover {
  opacity: 1;
}

/* ============================================
   MAIN CONTENT
   ============================================ */
main {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

/* ============================================
   SECTIONS
   ============================================ */
section {
  margin-top: 2rem;
}

.section-hero {
  padding-top: 2.5rem;
  padding-bottom: 4rem;
}

.section-services {
  margin-top: 2rem;
}

.section-cta {
  margin-top: 5rem;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-container {
  text-align: center;
}

.hero-eyebrow {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  opacity: 0.7;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: 2.25rem;
  margin-bottom: 1.25rem;
}

.hero-description {
  margin-top: 1.25rem;
  font-size: 1rem;
  opacity: 0.9;
}

.hero-buttons {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  padding: 0.75rem 1.25rem;
  font-weight: 500;
  transition: opacity 0.2s ease;
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--color-text);
  color: var(--color-bg);
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-secondary {
  border: 1px solid var(--color-border);
  background-color: transparent;
  color: var(--color-text);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

/* ============================================
   CARDS & GRID
   ============================================ */
.card-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  padding: 1.25rem;
  transition: border-color 0.2s ease;
}

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

.card-title {
  font-weight: 500;
  font-size: 1.125rem;
}

.card-description {
  margin-top: 0.5rem;
  opacity: 0.8;
  font-size: 0.875rem;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-box {
  text-align: center;
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  padding: 2rem;
}

.cta-title {
  font-size: 1.25rem;
}

.cta-description {
  margin-top: 0.5rem;
  opacity: 0.85;
}

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

.cta-footer-text {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  opacity: 0.6;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  margin-top: 6rem;
  border-top: 1px solid var(--color-border);
}

.footer-content {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
  font-size: 0.875rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-copyright {
  opacity: 0.8;
}

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

.footer-links a:hover {
  opacity: 1;
}

/* ============================================
   CONTACT & OPTIN PAGES
   ============================================ */
.page-container {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.page-title {
  font-size: 1.875rem;
}

.page-description {
  margin-top: 1rem;
  opacity: 0.9;
}

.content-section {
  margin-top: 2.5rem;
}

.section-title {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.contact-info {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.contact-label {
  opacity: 0.8;
}

.contact-link {
  text-decoration: underline;
  font-weight: 500;
}

.contact-link:hover {
  opacity: 0.8;
}

/* Iframe container for contact form */
.iframe-container {
  margin-top: 1rem;
}

.iframe-container iframe {
  width: 100%;
  height: 600px;
  border: none;
}

/* List styles for optin page */
.content-list {
  margin-top: 0.75rem;
  list-style-type: disc;
  list-style-position: inside;
  opacity: 0.9;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.timestamp {
  margin-top: 3rem;
  font-size: 0.75rem;
  opacity: 0.6;
}

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

.opacity-60 {
  opacity: 0.6;
}

.opacity-70 {
  opacity: 0.7;
}

.opacity-80 {
  opacity: 0.8;
}

.opacity-85 {
  opacity: 0.85;
}

.opacity-90 {
  opacity: 0.9;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-3 {
  margin-top: 0.75rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mt-8 {
  margin-top: 2rem;
}

.mt-10 {
  margin-top: 2.5rem;
}

/* ============================================
   RESPONSIVE DESIGN - TABLET & DESKTOP
   ============================================ */
@media (min-width: 640px) {
  /* Header navigation visible on larger screens */
  .header-nav {
    display: flex;
  }
  
  /* Hero buttons in row on larger screens */
  .hero-buttons {
    flex-direction: row;
  }
  
  /* Card grid - 2 columns on tablets */
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Footer content in row */
  .footer-content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 768px) {
  /* Typography scaling for larger screens */
  h1, .hero-title {
    font-size: 3.75rem; /* 60px */
  }
  
  .page-title {
    font-size: 2.25rem;
  }
  
  h2 {
    font-size: 1.875rem;
  }
  
  .hero-description {
    font-size: 1.125rem;
  }
  
  .cta-title {
    font-size: 1.5rem;
  }
  
  /* Section spacing adjustments */
  .section-hero {
    padding-top: 4rem;
    padding-bottom: 6rem;
  }
}

@media (min-width: 1024px) {
  /* Card grid - 3 columns on desktop */
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ============================================
   PRINT STYLES (ACCESSIBILITY)
   ============================================ */
@media print {
  .header,
  .footer,
  .hero-buttons,
  .cta-buttons {
    display: none;
  }
  
  body {
    background-color: white;
    color: black;
  }
}