/* ==========================================================================
   Avruta Website Styles
   A clean, editorial design for serious readers
   ========================================================================== */

/* --------------------------------------------------------------------------
   Variables
   -------------------------------------------------------------------------- */
:root {
  /* Colors - warm, sophisticated palette */
  --color-bg: #FDFCFB;
  --color-bg-alt: #F7F5F3;
  --color-text: #1a1a1a;
  --color-text-secondary: #5c5c5c;
  --color-text-muted: #8c8c8c;
  --color-accent: #2563eb;
  --color-accent-hover: #1d4ed8;
  --color-border: #e5e2df;
  --color-highlight: #fef3c7;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Newsreader', Georgia, 'Times New Roman', serif;

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

  /* Layout */
  --container-max: 1100px;
  --container-narrow: 720px;
}

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

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 var(--space-sm);
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.2;
}

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

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.15s ease;
}

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

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

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

.section {
  padding: var(--space-2xl) 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
}

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

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

.nav a {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
}

.nav a:hover {
  color: var(--color-text);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.15s ease;
  cursor: pointer;
  border: none;
}

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

.btn-primary:hover {
  background: #333;
  color: white;
}

.btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  padding: var(--space-2xl) 0;
  text-align: center;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 500;
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}

.hero-title .highlight {
  color: var(--color-accent);
}

.hero-subtitle {
  max-width: 600px;
  margin: 0 auto var(--space-lg);
  font-size: 1.25rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

.hero-note {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.hero-note a {
  color: var(--color-text-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hero-note a:hover {
  color: var(--color-text-secondary);
}

/* --------------------------------------------------------------------------
   Two Column Layout
   -------------------------------------------------------------------------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}

@media (max-width: 768px) {
  .two-col {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

.section-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}

.lead {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  line-height: 1.4;
  color: var(--color-text);
}

/* --------------------------------------------------------------------------
   Section Titles
   -------------------------------------------------------------------------- */
.section-title {
  font-size: 2.25rem;
  text-align: center;
  margin-bottom: var(--space-md);
}

.section-intro {
  max-width: var(--container-narrow);
  margin: 0 auto var(--space-xl);
  text-align: center;
  font-size: 1.1rem;
  color: var(--color-text-secondary);
}

/* --------------------------------------------------------------------------
   Steps
   -------------------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

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

.step {
  text-align: center;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-sm);
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--color-accent);
  background: var(--color-highlight);
  border-radius: 50%;
}

.step h3 {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.step p {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   Features Grid
   -------------------------------------------------------------------------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

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

.feature h3 {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.feature p {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  margin: 0;
}

/* --------------------------------------------------------------------------
   Privacy Grid
   -------------------------------------------------------------------------- */
.privacy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-lg);
}

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

.privacy-item h3 {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
}

.privacy-item p {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  margin: 0;
}

/* --------------------------------------------------------------------------
   CTA Section
   -------------------------------------------------------------------------- */
.section-cta {
  text-align: center;
  background: var(--color-text);
  color: white;
  padding: var(--space-2xl) 0;
}

.section-cta h2 {
  font-size: 2.5rem;
  color: white;
  margin-bottom: var(--space-sm);
}

.section-cta > .container > p:first-of-type {
  font-size: 1.2rem;
  opacity: 0.85;
  margin-bottom: var(--space-lg);
}

.section-cta .btn-primary {
  background: white;
  color: var(--color-text);
}

.section-cta .btn-primary:hover {
  background: var(--color-bg-alt);
  color: var(--color-text);
}

.cta-note {
  margin-top: var(--space-md);
  font-size: 0.9rem;
  opacity: 0.7;
}

.cta-note a {
  color: white;
  text-decoration: underline;
  opacity: 0.9;
}

.cta-note a:hover {
  opacity: 1;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--color-bg-alt);
  padding: var(--space-xl) 0 var(--space-lg);
  border-top: 1px solid var(--color-border);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-lg);
}

@media (max-width: 640px) {
  .footer-inner {
    flex-direction: column;
    gap: var(--space-md);
  }
}

.footer-brand .logo {
  display: block;
  margin-bottom: var(--space-xs);
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin: 0;
}

.footer-links {
  display: flex;
  gap: var(--space-md);
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}

.footer-bottom {
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin: 0;
}

.footer-bottom em {
  font-style: italic;
}

/* --------------------------------------------------------------------------
   Mobile Menu (future enhancement)
   -------------------------------------------------------------------------- */
@media (max-width: 640px) {
  .nav {
    display: none;
  }
}
