/* ============================================
   ALBACARPATIA.SHOP — Unique Bio-Neon Sage Theme
   Modern, clean, fully responsive, no images
   Unique layout: Split Hero + Asymmetric Grid + Sticky Sidebar
   ============================================ */

:root {
  --bg: #F8FAF9;
  --surface: #FFFFFF;
  --accent: #059669;
  --accent-light: #10B981;
  --neon: #34D399;
  --text: #0F172A;
  --text-muted: #475569;
  --border: #E2E8F0;
  --sand: #FEFCE8;
  --lavender: #F0E6FF;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 10px 15px -3px rgb(15 23 42 / 0.06), 0 4px 6px -4px rgb(15 23 42 / 0.06);
  --shadow-hover: 0 20px 25px -5px rgb(15 23 42 / 0.08), 0 8px 10px -6px rgb(15 23 42 / 0.08);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.75;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

h1 { font-size: 3.2rem; letter-spacing: -0.025em; }
h2 { font-size: 2.1rem; letter-spacing: -0.02em; }
h3 { font-size: 1.45rem; }
h4 { font-size: 1.15rem; }

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

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

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

/* Header & Navigation */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 250, 249, 0.96);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--text);
}

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

.nav-links {
  display: flex;
  gap: 2.25rem;
  align-items: center;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.97rem;
  color: var(--text);
  padding: 0.5rem 0;
  position: relative;
}

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

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

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

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--text);
  border-radius: 3px;
  transition: var(--transition);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 2rem;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow);
}

.mobile-menu.active {
  display: flex;
}

/* Hero Split Screen */
.hero {
  min-height: 92vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  gap: 4rem;
}

.hero-content {
  padding-right: 2rem;
}

.hero-content h1 {
  font-size: 3.8rem;
  margin-bottom: 1.5rem;
  line-height: 1.05;
}

.hero-content .tagline {
  font-size: 1.35rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 520px;
}

.hero-content .intro-lead {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text);
  max-width: 560px;
}

.hero-visual {
  background: linear-gradient(145deg, #059669 0%, #10B981 45%, #34D399 100%);
  border-radius: var(--radius);
  min-height: 520px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-hover);
}

.hero-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.35) 0%, transparent 60%);
}

.hero-visual .visual-content {
  text-align: center;
  color: white;
  z-index: 2;
  padding: 3rem 2.5rem;
}

.hero-visual .visual-content .quote {
  font-size: 1.65rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.hero-visual .visual-content .author {
  font-size: 0.95rem;
  opacity: 0.9;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Main Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem 6rem;
}

/* Long Intro Section */
.intro-section {
  max-width: 820px;
  margin: 5rem auto 4rem;
}

.intro-section h2 {
  margin-bottom: 2rem;
  color: var(--accent);
}

.intro-section p {
  font-size: 1.08rem;
  color: var(--text);
}

/* Articles Section with Asymmetric Grid */
.articles-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.articles-header h2 {
  margin: 0;
}

.grid-asymmetric {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

@media (min-width: 1024px) {
  .grid-asymmetric {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid-asymmetric .card:first-child {
    grid-column: span 2;
  }
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.card-accent {
  height: 7px;
  width: 100%;
}

.card-accent.accent-1 { background: linear-gradient(to right, #059669, #10B981); }
.card-accent.accent-2 { background: linear-gradient(to right, #7C3AED, #A855F7); }
.card-accent.accent-3 { background: linear-gradient(to right, #D97706, #F59E0B); }
.card-accent.accent-4 { background: linear-gradient(to right, #0891B2, #06B6D4); }
.card-accent.accent-5 { background: linear-gradient(to right, #BE185D, #EC4899); }
.card-accent.accent-6 { background: linear-gradient(to right, #4F46E5, #6366F1); }
.card-accent.accent-7 { background: linear-gradient(to right, #059669, #34D399); }
.card-accent.accent-8 { background: linear-gradient(to right, #854D0E, #CA8A04); }

.card-body {
  padding: 1.75rem 1.85rem 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-body h3 {
  margin-bottom: 1rem;
  font-size: 1.35rem;
  line-height: 1.3;
}

.card-body .excerpt {
  flex: 1;
  color: var(--text-muted);
  font-size: 0.99rem;
  line-height: 1.7;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.card-meta .dot {
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
}

.read-more {
  margin-top: 1.5rem;
  align-self: flex-start;
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
  padding: 0.65rem 1.65rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: var(--transition);
}

.read-more:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-1px);
}

.full-text {
  display: none;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px dashed var(--border);
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.75;
}

.full-text.active {
  display: block;
}

/* Sidebar */
.sidebar {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  position: sticky;
  top: 100px;
  height: fit-content;
}

.sidebar h4 {
  margin-bottom: 1.25rem;
  font-size: 1.1rem;
  color: var(--accent);
}

.categories {
  list-style: none;
}

.categories li {
  margin-bottom: 0.65rem;
}

.categories a {
  display: block;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 0.95rem;
  transition: var(--transition);
}

.categories a:hover {
  background: var(--lavender);
  color: var(--accent);
  transform: translateX(4px);
}

.bio-box {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.bio-box p {
  font-size: 0.95rem;
  line-height: 1.65;
}

/* Layout for articles + sidebar */
.articles-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-top: 3rem;
}

@media (min-width: 1024px) {
  .articles-layout {
    grid-template-columns: 1fr 320px;
  }
}

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

label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

input, textarea, select {
  width: 100%;
  padding: 0.95rem 1.2rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition);
  background: var(--surface);
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.1);
}

textarea {
  min-height: 160px;
  resize: vertical;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--accent);
  color: white;
  padding: 1rem 2.25rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn:hover {
  background: #047857;
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgb(5 150 105 / 0.3);
}

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

.btn-secondary:hover {
  background: var(--accent);
  color: white;
}

/* Footer */
footer {
  background: #0F172A;
  color: #CBD5E1;
  padding: 5rem 2rem 3rem;
  margin-top: 6rem;
}

.footer-content {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 3rem;
}

.footer-col h5 {
  color: white;
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}

.footer-col p, .footer-col a {
  color: #94A3B8;
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-col a:hover {
  color: var(--neon);
}

.footer-bottom {
  max-width: 1280px;
  margin: 4rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid #334155;
  text-align: center;
  font-size: 0.85rem;
  color: #64748B;
}

.footer-bottom a {
  color: #94A3B8;
  margin: 0 0.5rem;
}

/* Thank you & Legal pages */
.legal-container {
  max-width: 820px;
  margin: 4rem auto;
  padding: 0 2rem;
}

.legal-container h1 {
  margin-bottom: 0.5rem;
}

.legal-container .last-updated {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 3rem;
}

.legal-container h2 {
  margin: 3rem 0 1.25rem;
  color: var(--accent);
  font-size: 1.55rem;
}

.legal-container ul {
  margin: 1.25rem 0 2rem 1.5rem;
}

.legal-container li {
  margin-bottom: 0.6rem;
  color: var(--text-muted);
}

.disclaimer {
  background: var(--sand);
  border-left: 5px solid #D97706;
  padding: 1.75rem;
  border-radius: var(--radius-sm);
  margin: 2.5rem 0;
  font-size: 0.97rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 3rem;
    padding-bottom: 4rem;
  }
  
  .hero-content {
    padding-right: 0;
    text-align: center;
  }
  
  .hero-content .tagline,
  .hero-content .intro-lead {
    max-width: 100%;
  }
  
  .hero-visual {
    min-height: 380px;
    margin-top: 2.5rem;
  }
  
  .grid-asymmetric {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .hamburger {
    display: flex;
  }
  
  h1 { font-size: 2.65rem; }
  h2 { font-size: 1.85rem; }
  
  .card-body {
    padding: 1.5rem 1.5rem 1.75rem;
  }
  
  .articles-layout {
    grid-template-columns: 1fr;
  }
  
  .sidebar {
    position: static;
    margin-top: 2rem;
  }
}

/* Subtle animations */
.card, .btn, .read-more {
  will-change: transform;
}

/* Print friendly (for policies) */
@media print {
  header, .hero-visual, .sidebar, footer, .read-more { display: none; }
  .card { box-shadow: none; border: 1px solid #ccc; }
}