/* ==========================================================================
   SaraStem - Main Stylesheet
   Replicating Neve theme design exactly
   ========================================================================== */

/* ---------- Custom Font ---------- */
@font-face {
  font-family: 'Soul Signature';
  src: url('/fonts/soul-signature.woff2') format('woff2'),
       url('/fonts/soul-signature.woff') format('woff'),
       url('/fonts/soul-signature.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ---------- CSS Variables ---------- */
:root {
  --nv-primary-accent: #2f5aae;
  --nv-secondary-accent: #000000;
  --nv-site-bg: #ffffff;
  --nv-light-bg: #f0f0f0;
  --nv-dark-bg: #ce5e51;
  --nv-text-color: #000000;
  --nv-text-dark-bg: #ffffff;
  --nv-c-1: #fedca8;
  --nv-c-2: #cccccc;
  --color-primary: #2f5aae;
  --color-secondary: #ce5e51;
  --color-white: #ffffff;
  --color-black: #000000;
  --color-text: #000000;
  --color-light-gray: #f0f0f0;
  --color-medium-gray: #cccccc;
  --font-body: 'Open Sans', sans-serif;
  --font-signature: 'Soul Signature', cursive;
  --container-width: 1170px;
  --header-height: 60px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0px;
}

@media (min-width: 576px) {
  body { font-size: 16px; line-height: 1.6; }
}
@media (min-width: 960px) {
  body { font-size: 16px; line-height: 1.9; }
}

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

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

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-body);
  font-weight: 900;
  line-height: 1.3em;
  color: var(--color-black);
  margin-bottom: 0.5em;
  text-transform: uppercase;
}

h1 { font-size: 30px; }
h2 { font-size: 25px; }
h3 { font-size: 18px; }
h4 { font-size: 18px; }
h5 { font-size: 14px; }
h6 { font-size: 12px; }

@media (min-width: 576px) {
  h1 { font-size: 35px; }
  h3 { font-size: 20px; }
}
@media (min-width: 960px) {
  h1 { font-size: 55px; }
  h4 { font-size: 25px; }
}

p {
  margin-bottom: 1em;
}

ul, ol {
  margin-bottom: 1em;
  padding-left: 1.5em;
}

/* ---------- Container ---------- */
.container {
  max-width: 748px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 576px) {
  .container { max-width: 992px; }
}
@media (min-width: 960px) {
  .container { max-width: 1170px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 12px 28px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 2px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  text-decoration: none;
  line-height: 1.4;
}

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

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

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

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

.btn-outline {
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

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

.btn-cta {
  background-color: var(--color-secondary);
  color: var(--color-white);
  border-color: var(--color-secondary);
  font-size: 12px;
  padding: 8px 20px;
}

.btn-cta:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 13px;
}

/* ---------- Social Bar ---------- */
.social-bar {
  background-color: var(--color-primary);
  padding: 6px 0;
}

.social-icons {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
}

.social-icons a {
  color: var(--color-white);
  font-size: 14px;
  opacity: 0.85;
  transition: var(--transition);
}

.social-icons a:hover {
  opacity: 1;
  color: var(--color-white);
  transform: translateY(-1px);
}

/* ---------- Main Navigation ---------- */
.main-nav {
  background-color: var(--color-white);
  padding: 10px 0;
  border-bottom: 1px solid var(--color-light-gray);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: var(--transition);
}

.main-nav.is-sticky {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo-link {
  flex-shrink: 0;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.logo-img {
  max-width: 160px;
  width: auto;
  height: auto;
}

@media (min-width: 576px) {
  .logo-img { max-width: 200px; }
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 0;
  margin: 0;
  padding: 0;
}

.nav-item {
  margin: 0;
}

.nav-link {
  display: block;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-black);
  text-transform: none;
  transition: var(--transition);
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--color-primary);
}

.nav-cta {
  margin-left: 10px;
  white-space: nowrap;
}

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

.hamburger-line {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--color-black);
  transition: var(--transition);
}

/* Mobile Sidebar */
.mobile-sidebar {
  position: fixed;
  top: 0;
  right: -360px;
  width: 360px;
  max-width: 85vw;
  height: 100vh;
  background-color: var(--color-white);
  z-index: 200;
  transition: right 0.3s ease;
  overflow-y: auto;
}

.mobile-sidebar.is-open {
  right: 0;
}

.mobile-sidebar-inner {
  padding: 30px;
}

.mobile-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 32px;
  cursor: pointer;
  color: var(--color-black);
  line-height: 1;
}

.mobile-menu {
  list-style: none;
  padding: 0;
  margin: 40px 0 30px;
}

.mobile-menu li {
  border-bottom: 1px solid var(--color-light-gray);
}

.mobile-menu a {
  display: block;
  padding: 14px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-black);
}

.mobile-menu a:hover {
  color: var(--color-primary);
}

.mobile-cta {
  display: block;
  text-align: center;
  margin-bottom: 25px;
}

.mobile-social {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.mobile-social a {
  color: var(--color-primary);
  font-size: 18px;
}

.mobile-social a:hover {
  color: var(--color-secondary);
}

.mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 199;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.mobile-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

/* ---------- Page Hero ---------- */
.page-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 100px 0;
  text-align: center;
}

.page-hero-overlay {
  position: relative;
  z-index: 1;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(47, 90, 174, 0.8);
}

.hero-subtitle {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.hero-title {
  font-size: 3rem;
  font-weight: 900;
  color: var(--color-white);
  text-transform: uppercase;
}

/* Page Header (simple) */
.page-header {
  background-color: var(--color-primary);
  padding: 50px 0;
  text-align: center;
}

.page-title {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--color-white);
  text-transform: uppercase;
}

/* ---------- Homepage Specific ---------- */
.home-hero {
  padding: 60px 0;
  text-align: center;
}

.home-hero-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
}

.home-hero-image {
  flex: 0 0 200px;
}

.home-hero-image img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
}

.home-hero-text {
  flex: 1;
}

.home-hero-text .signature {
  font-family: var(--font-signature);
  font-size: 3rem;
  color: var(--color-primary);
  margin-bottom: 5px;
  font-weight: normal;
}

.home-hero-text .username {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--color-black);
  margin-bottom: 10px;
}

.home-hero-text .tagline {
  font-size: 1.1rem;
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 15px;
  font-style: italic;
}

.home-hero-text .bio {
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text);
}

/* Home Hero Social Icons */
.home-hero-social {
  display: flex;
  gap: 16px;
  margin-top: 15px;
}

.home-hero-social a {
  color: var(--color-primary);
  font-size: 20px;
  transition: var(--transition);
}

.home-hero-social a:hover {
  color: var(--color-secondary);
}

/* Home Sections */
.home-section {
  padding: 50px 0;
}

.home-section:nth-child(even) {
  background-color: var(--color-light-gray);
}

.home-section-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-primary);
  text-transform: uppercase;
  margin-bottom: 25px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--color-secondary);
  display: inline-block;
}

/* Two column layout */
.two-col {
  display: flex;
  gap: 40px;
  align-items: center;
}

.two-col > * {
  flex: 1 1 50%;
}

.two-col-reverse {
  flex-direction: row-reverse;
}

/* Table of Contents */
.toc-container {
  background-color: var(--color-white);
  border: 1px solid var(--color-medium-gray);
  border-radius: 5px;
  padding: 25px 30px;
  margin-bottom: 40px;
}

.toc-container h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: 15px;
  text-transform: uppercase;
}

.toc-container ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc-container li {
  padding: 4px 0;
}

.toc-container a {
  font-size: 14px;
  color: var(--color-primary);
  font-weight: 600;
}

.toc-container a:hover {
  color: var(--color-secondary);
}

/* ---------- About Page ---------- */
.about-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 120px 0;
  text-align: center;
}

.about-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(47, 90, 174, 0.85);
}

.about-hero-content {
  position: relative;
  z-index: 1;
}

.about-hero .subtitle {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 10px;
}

.about-hero h1 {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--color-white);
  text-transform: uppercase;
}

/* Bio intro */
.bio-intro {
  padding: 40px 0 0;
  text-align: center;
}

.bio-intro p {
  font-size: 16px;
  line-height: 1.9;
  max-width: 800px;
  margin: 0 auto 20px;
}

/* Bio facts */
.bio-facts {
  padding: 60px 0;
}

.bio-fact {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-bottom: 60px;
}

.bio-fact:nth-child(even) {
  flex-direction: row-reverse;
}

.bio-fact-image {
  flex: 0 0 45%;
  text-align: center;
}

.bio-fact-image img {
  max-width: 300px;
  margin: 0 auto;
  filter: drop-shadow(3px 3px 6px rgba(0, 0, 0, 0.15));
}

.bio-fact-text {
  flex: 0 0 55%;
}

.bio-fact-text h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 15px;
}

.bio-fact-text p {
  font-size: 15px;
  line-height: 1.9;
}

/* Stats Counter */
.stats-section {
  background-color: var(--color-primary);
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-item {
  color: var(--color-white);
}

.stat-number {
  font-size: 3rem;
  font-weight: 900;
  display: block;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.85;
}

/* Timeline */
.timeline-section {
  padding: 60px 0;
}

.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 3px;
  background-color: var(--color-primary);
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
  padding-left: 30px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -31px;
  top: 5px;
  width: 14px;
  height: 14px;
  background-color: var(--color-secondary);
  border-radius: 50%;
  border: 3px solid var(--color-white);
}

.timeline-item h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 5px;
}

.timeline-item .period {
  font-size: 13px;
  color: var(--color-secondary);
  font-weight: 700;
  margin-bottom: 8px;
}

.timeline-item p {
  font-size: 14px;
  line-height: 1.7;
}

/* Skills */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  text-align: center;
  padding: 40px 0;
}

.skill-item {
  padding: 20px;
  border-radius: 8px;
  background-color: var(--color-white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
}

.skill-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
}

.skill-item i {
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.skill-item span {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text);
}

/* ---------- Strategies Page ---------- */
.strategy-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 40px;
}

.strategy-feature-tag {
  display: inline-block;
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 8px 18px;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.community-cta {
  text-align: center;
  padding: 40px 0;
}

.strategy-card {
  display: flex;
  gap: 30px;
  align-items: center;
  background-color: var(--color-white);
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  padding: 30px;
  margin-bottom: 30px;
  transition: var(--transition);
}

.strategy-card:hover {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
}

.strategy-card-image {
  flex: 0 0 250px;
}

.strategy-card-image img {
  border-radius: 5px;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.15);
}

.strategy-card-body {
  flex: 1;
}

.strategy-card-body .strategy-number {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-secondary);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.strategy-card-body h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-primary);
  margin: 8px 0 12px;
}

.strategy-card-body p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 15px;
}

.strategy-highlight {
  display: inline-block;
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 4px 12px;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 15px;
}

/* ---------- Setup Page ---------- */
.setup-section {
  padding: 40px 0;
}

.setup-category-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-primary);
  text-transform: uppercase;
  border-bottom: 3px solid var(--color-secondary);
  padding-bottom: 10px;
  margin-bottom: 30px;
}

.product-item {
  display: flex;
  gap: 25px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-light-gray);
}

.product-item:last-child {
  border-bottom: none;
}

.product-info h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: 5px;
}

.product-info p {
  font-size: 14px;
  color: var(--color-text);
  margin-bottom: 8px;
}

.product-info .affiliate-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-secondary);
}

.product-info .affiliate-link:hover {
  color: var(--color-primary);
}

/* Books list */
.books-list {
  counter-reset: book-counter;
}

.book-item {
  counter-increment: book-counter;
  padding: 12px 0;
  border-bottom: 1px solid var(--color-light-gray);
}

.book-item::before {
  content: counter(book-counter) ".";
  font-weight: 800;
  color: var(--color-primary);
  margin-right: 10px;
}

.book-item a {
  font-weight: 600;
}

/* ---------- Blog Grid ---------- */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 40px 0;
}

.post-card {
  background-color: var(--color-white);
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: var(--transition);
}

.post-card:hover {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
  transform: translateY(-3px);
}

.post-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.post-card-body {
  padding: 20px;
}

.post-card-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.post-card-title a {
  color: var(--color-black);
}

.post-card-title a:hover {
  color: var(--color-primary);
}

.post-card-excerpt {
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.6;
  margin-bottom: 15px;
}

/* ---------- Blog Post Content ---------- */
.blog-post-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0 60px;
}

.blog-post-content h2 {
  font-size: 1.6rem;
  margin-top: 40px;
  margin-bottom: 15px;
  color: var(--color-primary);
}

.blog-post-content h3 {
  font-size: 1.3rem;
  margin-top: 30px;
  margin-bottom: 12px;
}

.blog-post-content p {
  font-size: 16px;
  line-height: 1.8;
}

.blog-post-content img {
  border-radius: 5px;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.1);
  margin: 20px auto;
}

.blog-post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.blog-post-content th,
.blog-post-content td {
  padding: 10px 15px;
  border: 1px solid var(--color-medium-gray);
  text-align: left;
  font-size: 14px;
}

.blog-post-content th {
  background-color: var(--color-primary);
  color: var(--color-white);
  font-weight: 700;
}

.blog-post-content tr:nth-child(even) {
  background-color: var(--color-light-gray);
}

/* TOC in blog */
.toc {
  background-color: var(--color-light-gray);
  border-left: 4px solid var(--color-primary);
  padding: 20px 25px;
  margin-bottom: 30px;
  border-radius: 0 5px 5px 0;
}

.toc h3 {
  font-size: 1rem;
  margin-bottom: 10px;
  color: var(--color-black);
}

.toc ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.toc li {
  padding: 3px 0;
}

.toc a {
  font-size: 14px;
  font-weight: 600;
}

/* Blog post footer */
.blog-post-footer {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 2px solid var(--color-light-gray);
}

.share-buttons {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: var(--color-white);
  transition: var(--transition);
}

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

.post-newsletter {
  margin-top: 30px;
  background-color: var(--color-light-gray);
  padding: 30px;
  border-radius: 5px;
}

/* ---------- Forms ---------- */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--color-black);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: 14px;
  border: 1px solid var(--color-medium-gray);
  border-radius: 3px;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(47, 90, 174, 0.2);
}

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

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.form-checkbox input {
  width: auto;
  margin-top: 3px;
}

/* ---------- Legal Pages ---------- */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 0 60px;
}

.legal-content h2 {
  font-size: 1.4rem;
  margin-top: 30px;
  color: var(--color-primary);
}

.legal-content p {
  font-size: 15px;
  line-height: 1.8;
}

/* ---------- Page Content ---------- */
.page-content {
  padding: 40px 0 60px;
}

.page-content h2 {
  color: var(--color-primary);
}

/* ---------- Footer ---------- */
.site-footer {
  background-color: var(--nv-dark-bg);
  color: var(--color-white);
  padding: 50px 0 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  height: 70px;
  width: auto;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 400px;
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
  transition: var(--transition);
}

.footer-social a:hover {
  color: var(--color-white);
}

.footer-legal {
  padding: 25px 0;
  text-align: center;
}

.legal-links {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
  margin-bottom: 15px;
}

.legal-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.legal-links a:hover {
  color: var(--color-white);
}

.copyright {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 5px;
}

.credits {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

.credits a {
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- Cookie Banner ---------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #2d2d44;
  color: var(--color-white);
  padding: 20px;
  z-index: 300;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.cookie-content {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cookie-content p {
  font-size: 13px;
  margin: 0;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

.cookie-content a {
  color: var(--color-white);
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-accept {
  background-color: var(--color-primary);
  color: var(--color-white);
  border: none;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 3px;
  cursor: pointer;
}

.cookie-reject {
  background-color: transparent;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 3px;
  cursor: pointer;
}

/* ---------- Social Grid (Homepage) ---------- */
.social-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 25px;
}

.social-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 25px 15px;
  background-color: var(--color-white);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  color: var(--color-primary);
  text-decoration: none;
}

.social-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
  color: var(--color-secondary);
}

.social-card i {
  font-size: 2rem;
}

.social-card span {
  font-size: 14px;
  font-weight: 700;
}

@media (max-width: 960px) {
  .social-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 576px) {
  .social-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Form success message */
.form-success {
  color: #27ae60;
  font-weight: 700;
  font-size: 16px;
  text-align: center;
  padding: 20px;
}

/* ---------- Misc Utility Classes ---------- */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-primary { color: var(--color-primary); }
.text-secondary { color: var(--color-secondary); }
.text-white { color: var(--color-white); }
.bg-primary { background-color: var(--color-primary); }
.bg-secondary { background-color: var(--color-secondary); }
.bg-light { background-color: var(--color-light-gray); }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 15px; }
.mt-2 { margin-top: 30px; }
.mt-3 { margin-top: 45px; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 15px; }
.mb-2 { margin-bottom: 30px; }
.mb-3 { margin-bottom: 45px; }
.py-1 { padding-top: 15px; padding-bottom: 15px; }
.py-2 { padding-top: 30px; padding-bottom: 30px; }
.py-3 { padding-top: 60px; padding-bottom: 60px; }

.drop-shadow {
  filter: drop-shadow(3px 3px 8px rgba(0, 0, 0, 0.2));
}

.rounded {
  border-radius: 5px;
}

.img-circle {
  border-radius: 50%;
}

/* Banner image with link */
.banner-link img {
  width: 100%;
  border-radius: 5px;
  box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.banner-link img:hover {
  box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .nav-menu,
  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .two-col {
    flex-direction: column;
  }

  .two-col-reverse {
    flex-direction: column;
  }

  .bio-fact,
  .bio-fact:nth-child(even) {
    flex-direction: column;
  }

  .bio-fact-image,
  .bio-fact-text {
    flex: 1 1 100%;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .strategy-card {
    flex-direction: column;
  }

  .strategy-card-image {
    flex: none;
    width: 100%;
  }

  .home-hero-inner {
    flex-direction: column;
    text-align: center;
  }

  .hero-title {
    font-size: 2rem;
  }

  .about-hero h1 {
    font-size: 2.5rem;
  }

  .skills-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 576px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }

  .container {
    padding: 0 15px;
  }

  .posts-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .stat-number {
    font-size: 2.2rem;
  }

  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-title {
    font-size: 1.6rem;
  }

  .about-hero h1 {
    font-size: 1.8rem;
  }

  .page-hero {
    padding: 60px 0;
  }

  .home-hero-text .username {
    font-size: 1.8rem;
  }

  .home-hero-text .signature {
    font-size: 2rem;
  }

  .legal-links {
    flex-direction: column;
    gap: 10px;
  }
}

/* ==========================================================================
   LINKTREE-STYLE HOMEPAGE — Final design
   B gradient bg + A centered hero/bio + A social circles + A cards + C pills
   ========================================================================== */

.lt-hero {
  padding: 50px 20px 30px;
  text-align: center;
  background: linear-gradient(180deg, #eef2f9 0%, #ffffff 100%);
}

.lt-hero-inner {
  max-width: 600px;
  margin: 0 auto;
}

.lt-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--color-primary);
  box-shadow: 0 4px 20px rgba(47, 90, 174, 0.18);
  margin: 0 auto 18px;
}

.lt-username {
  font-family: var(--font-body);
  font-size: 2rem;
  font-weight: 900;
  color: var(--color-black);
  text-transform: none;
  margin-bottom: 6px;
  letter-spacing: -0.5px;
}

.lt-tagline {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-primary);
  font-style: italic;
  margin-bottom: 20px;
}

.lt-bio {
  text-align: left;
  background-color: #f8f9fa;
  border-radius: 0 12px 12px 0;
  padding: 20px 24px;
  margin-bottom: 22px;
  border-left: 3px solid var(--color-primary);
}

.lt-bio p {
  font-size: 14px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 8px;
}

.lt-bio p:last-child {
  margin-bottom: 0;
}

.lt-bio strong {
  color: var(--color-black);
}

.lt-social {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.lt-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: var(--color-white);
  font-size: 15px;
  transition: all 0.25s ease;
  text-decoration: none;
}

.lt-social a:hover {
  background-color: var(--color-secondary);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.lt-links {
  padding: 10px 20px 60px;
  background-color: var(--color-white);
}

.lt-links-inner {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lt-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background-color: var(--color-white);
  border: 1px solid #e8eaed;
  border-radius: 12px;
  text-decoration: none;
  color: var(--color-text);
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.lt-card:hover {
  border-color: var(--color-primary);
  box-shadow: 0 4px 14px rgba(47, 90, 174, 0.1);
  transform: translateY(-1px);
  color: var(--color-text);
}

.lt-card-featured {
  border: 2px solid var(--color-secondary);
  background: #fffaf9;
}

.lt-card-featured:hover {
  border-color: var(--color-secondary);
  box-shadow: 0 4px 14px rgba(206, 94, 81, 0.12);
}

.lt-card-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 17px;
}

.lt-card-content {
  flex: 1;
  min-width: 0;
}

.lt-card-title {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-black);
  line-height: 1.4;
}

.lt-card-desc {
  display: block;
  font-size: 11px;
  color: #888;
  line-height: 1.4;
  margin-top: 3px;
}

.lt-card-arrow {
  flex-shrink: 0;
  font-size: 11px;
  color: #ccc;
  transition: all 0.2s ease;
}

.lt-card:hover .lt-card-arrow {
  color: var(--color-primary);
  transform: translateX(2px);
}

.lt-category {
  padding: 16px 0 4px;
  text-align: center;
}

.lt-category span {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  color: var(--color-primary);
  background: rgba(47, 90, 174, 0.08);
  padding: 6px 18px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@media (max-width: 576px) {
  .lt-hero {
    padding: 35px 15px 20px;
  }

  .lt-avatar {
    width: 110px;
    height: 110px;
  }

  .lt-username {
    font-size: 1.6rem;
  }

  .lt-bio {
    padding: 16px 18px;
  }

  .lt-bio p {
    font-size: 13px;
  }

  .lt-social a {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }

  .lt-links {
    padding: 10px 15px 40px;
  }

  .lt-card {
    padding: 12px 14px;
    gap: 12px;
  }

  .lt-card-icon {
    width: 38px;
    height: 38px;
    font-size: 15px;
  }

  .lt-card-title {
    font-size: 12px;
  }

  .lt-category span {
    font-size: 10px;
    padding: 5px 14px;
  }
}
