/* AER INV AS - Unique Modern Blog Design | Green-Red Palette | Asymmetric + Grid+Sidebar Layout | Fully Responsive | No Images - Pure Color & Typography */

:root {
  --green-deep: #14532d;
  --green-mid: #166534;
  --green-light: #4ade80;
  --green-pale: #dcfce7;
  --red-deep: #9f1239;
  --red-mid: #b91c1c;
  --red-light: #fda4af;
  --red-pale: #fee2e2;
  --bg-cream: #fefce8;
  --bg-warm: #f8fafc;
  --card: #ffffff;
  --text-dark: #1e293b;
  --text-muted: #475569;
  --text-light: #64748b;
  --border: #e2e8f0;
  --radius: 20px;
  --shadow-soft: 0 10px 15px -3px rgb(0 0 0 / 0.05), 0 4px 6px -4px rgb(0 0 0 / 0.05);
  --shadow-hover: 0 20px 25px -5px rgb(0 0 0 / 0.08), 0 8px 10px -6px rgb(0 0 0 / 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-cream);
  color: var(--text-dark);
  line-height: 1.7;
  font-size: 17px;
}

/* Unique Header - Asymmetric nav with accent */
header {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-soft);
}

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

.logo {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -1.5px;
  color: var(--green-deep);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo::before {
  content: "●";
  color: var(--red-deep);
  font-size: 1.4rem;
}

nav ul {
  display: flex;
  gap: 2.25rem;
  list-style: none;
}

nav a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.97rem;
  transition: all 0.2s ease;
  position: relative;
}

nav a:hover {
  color: var(--red-deep);
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--green-mid), var(--red-mid));
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

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

.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--green-deep);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (max-width: 768px) {
  .hamburger { display: flex; }
  nav ul {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 1.25rem;
    box-shadow: var(--shadow-soft);
    display: none;
    border-top: 1px solid var(--border);
  }
  nav ul.show { display: flex; }
}

/* Hero Section - Split asymmetric with CSS geometric shapes (no images) */
.hero {
  background: linear-gradient(135deg, #fefce8 0%, #f0fdf4 100%);
  min-height: 92vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  border-bottom: 12px solid var(--green-deep);
}

.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 3rem; }
}

.hero-content h1 {
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--green-deep);
  margin-bottom: 1.35rem;
  letter-spacing: -2.5px;
}

.hero-content .subtitle {
  font-size: 1.35rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 2.25rem;
  line-height: 1.55;
}

.cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--green-deep);
  color: white;
  box-shadow: 0 10px 15px -3px rgb(20 83 45 / 0.3);
}

.btn-primary:hover {
  background: #0f3d22;
  transform: translateY(-3px);
  box-shadow: 0 20px 25px -5px rgb(20 83 45 / 0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--red-deep);
  border: 2.5px solid var(--red-deep);
  font-weight: 700;
}

.btn-secondary:hover {
  background: var(--red-pale);
  transform: translateY(-2px);
}

/* Unique CSS Geometric Art in Hero (color only, asymmetric shapes) */
.hero-visual {
  position: relative;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shape {
  position: absolute;
  border-radius: 9999px;
  opacity: 0.85;
  transition: transform 0.4s ease;
}

.shape-1 {
  width: 280px;
  height: 280px;
  background: linear-gradient(145deg, var(--green-mid), var(--green-pale));
  top: 12%;
  right: 18%;
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.15);
  animation: float 8s ease-in-out infinite;
}

.shape-2 {
  width: 190px;
  height: 190px;
  background: linear-gradient(210deg, var(--red-mid), var(--red-pale));
  bottom: 18%;
  left: 12%;
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.12);
  animation: float 11s ease-in-out infinite reverse;
}

.shape-3 {
  width: 95px;
  height: 95px;
  background: var(--green-deep);
  top: 38%;
  left: 32%;
  box-shadow: 0 10px 10px -3px rgb(0 0 0 / 0.1);
  animation: float 6s ease-in-out infinite;
}

.shape-4 {
  width: 42px;
  height: 42px;
  background: var(--red-deep);
  bottom: 32%;
  right: 28%;
  box-shadow: 0 10px 10px -3px rgb(0 0 0 / 0.1);
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-25px) rotate(8deg); }
}

@media (max-width: 900px) {
  .hero-visual { height: 380px; margin-top: 2rem; }
  .shape-1 { width: 210px; height: 210px; }
  .shape-2 { width: 140px; height: 140px; }
}

/* Long Intro Text Section - Unique bordered accent */
.intro-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 5rem 2rem 3.5rem;
}

.intro-section h2 {
  font-size: 2.35rem;
  font-weight: 800;
  color: var(--green-deep);
  margin-bottom: 1.75rem;
  position: relative;
  display: inline-block;
}

.intro-section h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 68px;
  height: 5px;
  background: linear-gradient(to right, var(--red-deep), var(--green-mid));
  border-radius: 999px;
}

.intro-text {
  font-size: 1.08rem;
  color: var(--text-dark);
  max-width: 860px;
  line-height: 1.85;
}

.intro-text p {
  margin-bottom: 1.35rem;
}

.intro-text p:last-child {
  margin-bottom: 0;
}

/* Articles Section with Asymmetric Grid + Sidebar Layout (unique variant) */
.articles-wrapper {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem 6rem;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3.5rem;
}

@media (max-width: 1024px) {
  .articles-wrapper { grid-template-columns: 1fr; }
}

.main-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 1.85rem;
  align-items: start;
}

/* Asymmetric cards - some span full, varied accents */
.article-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 2rem 1.85rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.2s;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

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

.article-card.accent-green::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: var(--green-mid);
}

.article-card.accent-red::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: var(--red-mid);
}

.article-card.wide {
  grid-column: span 1;
}

@media (min-width: 900px) {
  .article-card.wide { grid-column: span 2; }
}

.article-card .meta {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: 0.85rem;
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.article-card h3 {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--green-deep);
  margin-bottom: 1rem;
}

.article-card .excerpt {
  color: var(--text-muted);
  font-size: 0.99rem;
  line-height: 1.7;
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

.article-card .read-more {
  color: var(--red-deep);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
}

.article-card .read-more:hover {
  gap: 12px;
}

/* Sidebar - Sticky, unique card style */
.sidebar {
  position: sticky;
  top: 110px;
  align-self: start;
}

.sidebar-card {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border);
  margin-bottom: 2rem;
}

.sidebar-card h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--green-deep);
  margin-bottom: 1.35rem;
  padding-bottom: 0.75rem;
  border-bottom: 3px solid var(--green-pale);
}

.sidebar-card ul {
  list-style: none;
}

.sidebar-card li {
  padding: 0.65rem 0;
  border-bottom: 1px dashed var(--border);
}

.sidebar-card li:last-child {
  border-bottom: none;
}

.sidebar-card a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.sidebar-card a:hover {
  color: var(--red-deep);
}

.tag {
  display: inline-block;
  background: var(--green-pale);
  color: var(--green-deep);
  font-size: 0.75rem;
  padding: 4px 14px;
  border-radius: 999px;
  margin: 4px 4px 4px 0;
  font-weight: 600;
}

/* Contact Form Unique Styling */
.contact-form {
  max-width: 720px;
  margin: 0 auto;
}

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

.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.55rem;
  color: var(--text-dark);
  font-size: 0.97rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--border);
  border-radius: 14px;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.2s ease;
  background: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green-mid);
  box-shadow: 0 0 0 4px var(--green-pale);
}

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

.submit-btn {
  width: 100%;
  padding: 16px;
  font-size: 1.1rem;
  font-weight: 800;
  background: linear-gradient(90deg, var(--green-deep), #166534);
  color: white;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 15px -3px rgb(20 83 45 / 0.35);
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 25px -5px rgb(20 83 45 / 0.4);
}

/* Thank You & Legal Pages */
.thankyou-hero, .legal-hero {
  background: linear-gradient(to bottom, #fefce8, #f0fdf4);
  padding: 4.5rem 2rem 3rem;
  text-align: center;
  border-bottom: 8px solid var(--green-deep);
}

.thankyou-hero h1, .legal-hero h1 {
  font-size: 3rem;
  font-weight: 800;
  color: var(--green-deep);
}

.legal-content, .thankyou-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 4rem 2rem;
  font-size: 1.02rem;
  line-height: 1.85;
}

.legal-content h2 {
  font-size: 1.65rem;
  color: var(--green-deep);
  margin: 2.75rem 0 1rem;
  font-weight: 800;
}

.legal-content h3 {
  font-size: 1.25rem;
  color: var(--red-deep);
  margin: 1.85rem 0 0.75rem;
  font-weight: 700;
}

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

.legal-content li {
  margin-bottom: 0.55rem;
}

.disclaimer {
  background: var(--red-pale);
  border-left: 6px solid var(--red-deep);
  padding: 1.5rem 1.75rem;
  border-radius: 12px;
  margin: 2.5rem 0;
  font-size: 0.95rem;
}

/* Footer Unique */
footer {
  background: var(--green-deep);
  color: #e0f0e0;
  padding: 4rem 2rem 2.5rem;
  font-size: 0.95rem;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
}

@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
}

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

.footer-col a {
  color: #c1d9c1;
  text-decoration: none;
  display: block;
  margin-bottom: 0.55rem;
  transition: color 0.2s;
}

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

.footer-bottom {
  max-width: 1280px;
  margin: 3.5rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.85;
}

/* Misc */
.section-title {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--green-deep);
  margin-bottom: 2.25rem;
  text-align: center;
}

.highlight {
  background: linear-gradient(90deg, var(--green-pale), transparent);
  padding: 2px 6px;
  border-radius: 4px;
}

/* Print & Accessibility */
@media print {
  header, .sidebar, footer, .cta-group { display: none; }
}