* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
}

body {
  background-color: #0a0c0f;
  color: #e2e8f0;
  line-height: 1.6;
  scroll-behavior: smooth;
}

/* modern dark theme variables */
:root {
  --bg-dark: #0a0c0f;
  --bg-card: #14181d;
  --accent: #7b68ee; /* soft violet */
  --accent-glow: rgba(123, 104, 238, 0.4);
  --text-light: #f1f5f9;
  --text-dim: #9ca3af;
  --border-dim: #2d3748;
}

/* container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* header + nav */
header {
  background-color: rgba(10, 12, 15, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid #1e293b;
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo a {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #a78bfa, #7b68ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-decoration: none;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-menu li a {
  color: #e2e8f0;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.2s;
  position: relative;
}

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

/* hamburger (hidden on desktop) */
.hamburger {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #e2e8f0;
  background: transparent;
  border: none;
  z-index: 200;
}

/* mobile nav */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: #14181d;
    width: 70%;
    height: 100vh;
    text-align: center;
    padding: 3rem 0;
    gap: 2.5rem;
    border-right: 1px solid var(--border-dim);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    transition: left 0.3s ease;
    z-index: 99;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li a {
    font-size: 1.2rem;
  }
}

/* Back button for blog pages */
.back-button {
  margin-left: auto;
}

.back-button a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #e2e8f0;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 40px;
  background: rgba(123, 104, 238, 0.1);
  border: 1px solid #293140;
  transition: all 0.2s ease;
}

.back-button a:hover {
  background: var(--accent);
  color: #0a0c0f;
  border-color: var(--accent);
  transform: translateX(-4px);
}

.back-button a:hover i {
  transform: translateX(-2px);
}

.back-button i {
  font-size: 1rem;
  transition: transform 0.2s ease;
}

.back-text {
  display: inline;
}

@media (max-width: 768px) {
  .back-button a {
    padding: 0.5rem 0.75rem;
  }

  .back-text {
    display: none;
  }

  .back-button i {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .back-button a {
    padding: 0.4rem 0.6rem;
  }
}

/* sections general */
section {
  padding: 80px 0;
  border-bottom: 1px solid #1e293b;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 3rem;
  display: inline-block;
  border-left: 6px solid var(--accent);
  padding-left: 1rem;
  letter-spacing: -0.5px;
}

/* hero */
.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.hero-text h1 {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.2;
  background: linear-gradient(to right, #f1f5f9, #cbd5e1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-text .highlight {
  color: var(--accent);
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
}

.hero-text p {
  font-size: 1.2rem;
  color: var(--text-dim);
  margin: 1.5rem 0 2rem;
  max-width: 550px;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: #0a0c0f;
  padding: 0.8rem 2rem;
  border-radius: 40px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 0 15px var(--accent-glow);
  transition: 0.2s;
  border: none;
  cursor: pointer;
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--accent);
  color: #e2e8f0;
  box-shadow: none;
  margin-left: 1rem;
}

.btn-outline:hover {
  background: var(--accent);
  color: #0a0c0f;
}

.hero-avatar {
  width: 280px;
  height: 280px;
  background: linear-gradient(145deg, #1e293b, #0f172a);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  box-shadow: 0 20px 30px -10px rgba(123, 104, 238, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--accent);
}

.hero-avatar i {
  font-size: 8rem;
  color: var(--accent);
  opacity: 0.9;
}

/* about */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.about-card {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 28px;
  border: 1px solid #2d3748;
  box-shadow: 0 15px 25px -12px black;
}

.about-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--accent);
}

.about-card p {
  color: #b0b8c5;
}

/* skills */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
}

.skill-item {
  background: var(--bg-card);
  padding: 1.5rem 1rem;
  border-radius: 20px;
  text-align: center;
  border: 1px solid #27303f;
  transition: transform 0.2s;
}

.skill-item:hover {
  border-color: var(--accent);
  transform: translateY(-5px);
}

.skill-item i {
  font-size: 2.8rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.skill-item span {
  display: block;
  font-weight: 500;
}

/* services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--bg-card);
  border-radius: 24px;
  padding: 2rem 1.5rem;
  border: 1px solid #28303f;
  transition: 0.25s;
}

.service-card:hover {
  border-color: var(--accent);
  box-shadow: 0 10px 25px -8px var(--accent-glow);
}

.service-icon {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 1.2rem;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
}

.service-card p {
  color: var(--text-dim);
  font-size: 0.95rem;
}

/* ===== HOMEPAGE BLOG PREVIEWS ===== */
.blogs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.blog-post {
  background: var(--bg-card);
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid #293140;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-post:hover {
  border-color: var(--accent);
  transform: translateY(-6px);
  box-shadow: 0 15px 30px -12px rgba(123, 104, 238, 0.3);
}

.blog-img {
  height: 180px;
  background: linear-gradient(145deg, #1e293b, #0f172a);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 3rem;
  border-bottom: 1px solid #293140;
  transition: all 0.3s ease;
}

.blog-post:hover .blog-img {
  color: #9b8af0;
  background: linear-gradient(145deg, #232f41, #1a2535);
}

.blog-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-date {
  font-size: 0.85rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.blog-content h3 {
  margin: 0.5rem 0 0.8rem;
  font-size: 1.4rem;
  line-height: 1.4;
  transition: color 0.2s ease;
}

.blog-post:hover .blog-content h3 {
  color: var(--accent);
}

.blog-content p {
  color: var(--text-dim);
  margin-bottom: 1.2rem;
  line-height: 1.6;
  flex: 1;
}

.read-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  transition: gap 0.2s ease;
  margin-top: auto;
  align-self: flex-start;
}

.read-link:hover {
  gap: 0.75rem;
}

.read-link::after {
  content: "→";
  transition: transform 0.2s ease;
}

.read-link:hover::after {
  transform: translateX(4px);
}

/* ===== SINGLE BLOG POST STYLES ===== */
.single-blog-post {
  padding: 60px 0 80px;
  min-height: calc(100vh - 70px - 120px);
}

.single-blog-post .container {
  max-width: 800px;
  margin: 0 auto;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  color: var(--text-dim);
}

.post-date {
  font-size: 1rem;
  letter-spacing: 1px;
  color: var(--accent);
  font-weight: 500;
}

.post-tag {
  background: #1e293b;
  color: var(--accent);
  padding: 0.25rem 1rem;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid #334155;
  transition: all 0.2s ease;
}

.post-tag:hover {
  background: var(--accent);
  color: #0a0c0f;
  border-color: var(--accent);
}

.post-title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 2rem;
  background: linear-gradient(to right, #f1f5f9, #cbd5e1);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.02em;
}

.post-content {
  font-size: 1.15rem;
  color: #d1dae8;
}

.post-content p {
  margin: 1.8rem 0;
}

.post-content p:first-of-type {
  font-size: 1.25rem;
  color: #e2e8f0;
  font-weight: 500;
}

.featured-quote {
  margin: 3rem 0 3rem 2rem;
  padding: 1.5rem 2rem;
  border-left: 6px solid var(--accent);
  background: rgba(123, 104, 238, 0.05);
  border-radius: 0 20px 20px 0;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.5;
  color: #d6e0ef;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.featured-quote p {
  font-style: italic;
  margin: 0;
}

.featured-quote cite {
  display: block;
  margin-top: 1rem;
  font-size: 1rem;
  color: var(--accent);
  font-style: normal;
  font-weight: 500;
}

.post-signoff {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px dashed #334155;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #e2e8f0;
}

.post-signoff i {
  color: var(--accent);
  font-size: 2rem;
}

hr {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, #334155, transparent);
  margin: 2.5rem 0;
}

.footnote {
  color: #6b7b93;
  font-size: 0.95rem;
  border: 1px solid #252f3c;
  border-radius: 40px;
  padding: 0.4rem 1.2rem;
  display: inline-block;
  margin-top: 1rem;
}

/* CTA section */
.cta-section {
  background: linear-gradient(145deg, #141b24, #0f151d);
  border-radius: 60px;
  padding: 4rem 3rem;
  text-align: center;
  border: 1px solid #2a3442;
  margin: 40px 0;
}

.cta-section h2 {
  font-size: 2.6rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.cta-section p {
  color: #a4b1c2;
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.cta-buttons .btn {
  margin: 0 0.5rem 20px;
}

/* footer */
footer {
  background-color: #0b0e12;
  padding: 40px 0;
  border-top: 1px solid #202731;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-copy {
  color: #6f7a8c;
  font-size: 0.95rem;
}

/* Footer links */
.footer-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.footer-link {
  color: #9ca3af;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
  position: relative;
}

.footer-link:hover {
  color: var(--accent);
}

.footer-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--accent);
  transition: width 0.2s ease;
}

.footer-link:hover::after {
  width: 100%;
}

.footer-link-separator {
  color: #3a445b;
  font-size: 0.95rem;
  font-weight: 300;
}

.social-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.social-links a {
  color: #cbd5e1;
  margin-left: 0;
  font-size: 1.4rem;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: transparent;
}

.social-links a:hover {
  color: var(--accent);
  background: rgba(123, 104, 238, 0.1);
  transform: translateY(-2px);
}

/* small touches */
::selection {
  background: var(--accent);
  color: #0a0c0f;
}

/* Responsive footer */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 1.25rem;
  }

  .footer-links {
    justify-content: center;
    order: 2;
  }

  .social-links {
    order: 3;
    justify-content: center;
  }

  .footer-copy {
    order: 1;
  }
}

@media (max-width: 480px) {
  .footer-links {
    flex-direction: column;
    gap: 0.5rem;
  }

  .footer-link-separator {
    display: none;
  }

  .footer-link {
    padding: 0.25rem 0;
  }

  .social-links a {
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .post-title {
    font-size: 2.2rem;
  }

  .featured-quote {
    margin-left: 1rem;
    padding: 1rem 1.5rem;
    font-size: 1.2rem;
  }

  .single-blog-post {
    padding: 40px 0 60px;
  }

  .single-blog-post .container {
    padding: 0 20px;
  }

  .post-content {
    font-size: 1rem;
  }

  .post-content p:first-of-type {
    font-size: 1.1rem;
  }

  .blogs-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .blog-img {
    height: 160px;
  }
}

@media (max-width: 700px) {
  .hero-content {
    flex-direction: column-reverse;
    text-align: center;
  }
  .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  .social-links a {
    margin: 0 1rem;
  }
  .cta-section h2 {
    font-size: 2rem;
  }
  .cta-section {
    padding: 3rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .post-title {
    font-size: 1.8rem;
  }

  .post-meta {
    gap: 0.5rem;
  }

  .post-tag {
    padding: 0.2rem 0.8rem;
    font-size: 0.75rem;
  }

  .featured-quote {
    padding: 1rem;
    font-size: 1.1rem;
  }

  .blog-img {
    height: 140px;
    font-size: 2.5rem;
  }
}

.post-subtitle {
  font-size: 2rem;
  font-weight: 600;
  margin: 3rem 0 1.5rem;
  color: #e2e8f0;
  border-left: 4px solid var(--accent);
  padding-left: 1rem;
}

.post-subtitle:first-of-type {
  margin-top: 1rem;
}

.gear-list {
  list-style: none;
  margin: 1.5rem 0 2.5rem;
  padding: 0;
}

.gear-list li {
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  position: relative;
  color: #d1dae8;
}

.gear-list li::before {
  content: "▹";
  color: var(--accent);
  position: absolute;
  left: 0;
  font-size: 1.2rem;
}

.gear-list li strong {
  color: #e2e8f0;
  font-weight: 600;
}

.youtube-embed {
  margin: 2.5rem 0;
}

.youtube-card {
  background: var(--bg-card);
  border-radius: 24px;
  padding: 1.5rem;
  border: 1px solid #293140;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  transition: all 0.3s ease;
}

.youtube-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 15px 30px -12px rgba(123, 104, 238, 0.3);
}

.youtube-thumbnail {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  background: linear-gradient(145deg, #1e293b, #0f172a);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #334155;
}

.youtube-content {
  flex: 1;
}

.youtube-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: #e2e8f0;
  line-height: 1.4;
}

.youtube-content p {
  color: var(--text-dim);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.youtube-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #ff0000;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: gap 0.2s ease;
}

.youtube-link:hover {
  gap: 0.75rem;
}

@media (max-width: 768px) {
  .post-subtitle {
    font-size: 1.6rem;
    margin: 2.5rem 0 1.25rem;
  }

  .youtube-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .youtube-thumbnail {
    width: 100px;
    height: 100px;
  }

  .gear-list li {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .post-subtitle {
    font-size: 1.4rem;
  }

  .gear-list li {
    padding-left: 1.25rem;
  }
}

/* Notion template specific styles */
.template-preview {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin: 1.5rem 0 1rem;
  background: rgba(123, 104, 238, 0.05);
  padding: 1rem 1.5rem;
  border-radius: 16px;
  border-left: 4px solid var(--accent);
}

.template-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--bg-card);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.5rem;
  border: 1px solid #334155;
}

.template-content {
  flex: 1;
}

.template-description {
  color: #e2e8f0;
  font-size: 1.1rem;
  line-height: 1.5;
  margin: 0;
}

.template-description strong {
  color: var(--accent);
}

.paid-badge {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #0a0c0f;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 30px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-left: 0.5rem;
  display: inline-block;
}

.template-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  margin: 1rem 0 2rem;
  padding: 0.5rem 1rem;
  background: rgba(123, 104, 238, 0.1);
  border-radius: 30px;
  border: 1px solid #334155;
  transition: all 0.2s ease;
}

.template-link:hover {
  background: var(--accent);
  color: #0a0c0f;
  border-color: var(--accent);
  gap: 0.75rem;
}

.template-link i {
  font-size: 0.9rem;
}

.fa-notion {
  background: #ffffff;
  border-radius: 4px;
  padding: 2px;
}

.youtube-card {
  margin: 2rem 0;
}

@media (max-width: 768px) {
  .template-preview {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
  }

  .template-icon {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
  }

  .template-description {
    font-size: 1rem;
  }

  .paid-badge {
    font-size: 0.65rem;
    margin-left: 0;
    margin-top: 0.25rem;
    display: inline-block;
  }
}

@media (max-width: 480px) {
  .template-link {
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
  }
}

/* Image Gallery Styles */
.image-gallery {
  margin: 2rem 0 3rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.gallery-item {
  background: var(--bg-card);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #293140;
  transition: all 0.3s ease;
}

.gallery-item:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 15px 30px -12px rgba(123, 104, 238, 0.3);
}

.gallery-img {
  height: 180px;
  background: linear-gradient(145deg, #1e293b, #0f172a);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 3rem;
  border-bottom: 1px solid #293140;
}

.gallery-caption {
  padding: 1rem;
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

.gallery-nav {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-top: 1rem;
  font-weight: 500;
  letter-spacing: 1px;
}

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

  .gallery-img {
    height: 160px;
  }
}

@media (max-width: 480px) {
  .gallery-caption {
    font-size: 0.85rem;
    padding: 0.75rem;
  }
}
