:root {
  /* Colors - Light Theme (Default) */
  --bg-color: #ffffff;
  --bg-radial: #f0f0f0;
  --text-primary: #000000;
  --text-secondary: #707070;
  --accent: #CBFB45;
  /* Neon Lime */
  --header-bg: rgba(255, 255, 255, 0.85);
  --header-border: #f0f0f0;
  --card-bg: #ffffff;
  --card-border: #f0f0f0;
  --card-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  --modal-bg: #ffffff;
  --modal-overlay: rgba(255, 255, 255, 0.8);
  --input-bg: #f8f8f8;
  --input-border: #eee;
  --footer-border: #f0f0f0;
  --btn-bg: #000000;
  --btn-text: #ffffff;
  --accent-light: rgba(203, 251, 69, 0.4);

  /* Fonts */
  --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

[data-theme="dark"] {
  --bg-color: #0a0a0a;
  --bg-radial: #1f1f1f;
  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --accent: #CBFB45;
  /* Remains the same for contrast */
  --header-bg: rgba(10, 10, 10, 0.85);
  --header-border: #1a1a1a;
  --card-bg: #141414;
  --card-border: #222;
  --card-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  --modal-bg: #181818;
  --modal-overlay: rgba(0, 0, 0, 0.8);
  --input-bg: #1f1f1f;
  --input-border: #2a2a2a;
  --footer-border: #1a1a1a;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --btn-bg: #ffffff;
  --btn-text: #000000;
  --accent-light: rgba(203, 251, 69, 0.2);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-color);
  background-image: radial-gradient(var(--bg-radial) 1px, transparent 1px);
  background-size: 40px 40px;
  color: var(--text-primary);
  line-height: 1.5;
  overflow-x: hidden;
  transition: background-color 0.3s, color 0.3s;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s;
}

/* Header */
/* Header & Navigation */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  position: sticky;
  top: 0;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  transition: padding 0.3s, background 0.3s;
  max-width: 1800px;
  margin: 0 auto;
  width: 100%;
}

header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--header-border);
  transition: background 0.3s ease;
}

.theme-toggle {
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 1.2rem;
}

.theme-toggle:hover {
  transform: rotate(30deg);
  background: var(--accent);
  color: #000;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  flex: 1;
  display: flex;
  align-items: center;
}

.logo-icon {
  display: inline-flex;
  gap: 4px;
  width: 24px;
  height: 24px;
  flex-wrap: wrap;
}

.logo-dot {
  width: 10px;
  height: 10px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: background 0.3s;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  white-space: nowrap;
}

.header-utility {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.5rem;
}

nav ul li a {
  font-weight: 500;
  font-size: 0.9rem;
  position: relative;
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

nav ul li a:hover::after,
nav ul li a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

nav ul li a.active {
  color: var(--text-primary);
  font-weight: 600;
}

.btn-header {
  background: var(--btn-bg);
  color: var(--btn-text) !important;
  padding: 6px 6px 6px 20px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-weight: 500;
  font-size: 0.9rem;
  transition: transform 0.2s, background 0.2s;
  flex-shrink: 0;
}

.btn-header .arrow-circle {
  width: 32px;
  height: 32px;
  background: var(--accent);
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile Menu Toggle (Hidden by default) */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

/* Hero Section Base */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: stretch;
  padding: 2rem 5% 5rem;
  gap: 1rem;
  min-height: 80vh;
  max-width: 1800px;
  margin: 0 auto;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: left;
  padding-top: 6rem;
}

.hero-center {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding-left: 2rem;
  padding-bottom: 8rem;
}

/* Hero Left Content */
.greeting {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  display: block;
}

.name-title {
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  line-height: 0.85;
  font-weight: 700;
  margin-bottom: 2rem;
  letter-spacing: -3px;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 370px;
  margin-bottom: 3.5rem;
  line-height: 1.6;
}

.btn-main {
  background: var(--accent);
  color: #000;
  padding: 8px 8px 8px 24px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 15px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-main:hover {
  transform: scale(1.05);
}

.btn-main.btn-small {
  background: var(--text-primary);
  color: var(--bg-color) !important;
  padding: 0.6rem 1.2rem;
  font-size: 0.85rem;
  font-weight: 600;
  gap: 10px;
  min-width: 120px;
  justify-content: center;
  transition: transform 0.2s, background 0.2s;
}

.btn-main.btn-small .arrow-circle {
  width: 24px;
  height: 24px;
  background: var(--accent);
  color: #000;
}

.btn-main .arrow-circle {
  width: 36px;
  height: 36px;
  background: #000;
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.arrow-circle {
  background: var(--accent);
  color: #000;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

/* Hero Center Card */
.portrait-card {
  position: relative;
  background: var(--card-bg);
  padding: 16px;
  border-radius: 32px;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--card-border);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.portrait-container {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background: var(--input-bg);
}

.portrait-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.social-overlay {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.social-icon {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s;
}

.social-icon:hover {
  background: var(--accent);
  color: #000;
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.play-button {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 60px;
  height: 60px;
  background: var(--accent);
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  z-index: 10;
}

.play-button:hover {
  transform: scale(1.1);
}

.play-button::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.4;
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(1);
    opacity: 0.4;
  }

  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

.availability-status {
  margin-top: 1.5rem;
  background: var(--card-bg);
  padding: 10px 18px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  white-space: nowrap;
  border: 1px solid var(--card-border);
  z-index: 5;
  position: relative;
}

.dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  position: relative;
}

.dot::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: inherit;
  border-radius: 50%;
  animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }

  100% {
    transform: scale(2.5);
    opacity: 0;
  }
}

/* Right Content Adjustments */
.ai-badge {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
  margin-bottom: 0.8rem;
  display: block;
}

.role-title {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 0.95;
  margin-bottom: 2.5rem;
  color: var(--text-primary);
  letter-spacing: -1px;
}

.social-proof {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.avatar-stack {
  display: flex;
  align-items: center;
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 3px solid var(--card-bg);
  margin-left: -10px;
  object-fit: cover;
}

.avatar:first-child {
  margin-left: 0;
}

.stat-pill {
  background: var(--accent);
  padding: 8px 6px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 800;
  color: #000;
  margin-left: 5px;
}

.clients-stat {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.clients-stat strong {
  color: var(--text-primary);
  font-size: 1.1rem;
  display: block;
}

/* Services Page Styles */
.services-section {
  padding: 4rem 5% 8rem;
  max-width: 1800px;
  margin: 0 auto;
}

.services-header {
  margin-bottom: 5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.services-title-block {
  max-width: 600px;
}

.sub-title {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-secondary);
  letter-spacing: 1px;
  margin-bottom: 1rem;
  display: block;
}

.main-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1;
}

.services-intro {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 480px;
}

.services-list {
  display: flex;
  flex-direction: column;
}

.service-item {
  display: grid;
  grid-template-columns: 100px 1fr 60px;
  align-items: center;
  padding: 2.5rem 3%;
  border-bottom: 1px solid var(--card-border);
  transition: all 0.3s;
  cursor: pointer;
  position: relative;
}

.service-item:first-child {
  border-top: 1px solid var(--card-border);
}

.service-item:hover {
  background: var(--input-bg);
}

.service-num {
  width: 44px;
  height: 44px;
  background: var(--input-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.service-content h3 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.service-content p {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 1.2rem;
  max-width: 800px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  padding: 6px 15px;
  border: 1px solid var(--card-border);
  border-radius: 50px;
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.service-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s, background 0.3s;
}

.service-item:hover .service-arrow {
  background: var(--accent);
  transform: rotate(-45deg);
}

@media (max-width: 768px) {
  .services-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }

  .service-item {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .service-arrow {
    position: absolute;
    top: 2.5rem;
    right: 0;
  }

  .service-num {
    margin-bottom: 0.5rem;
  }
}

/* Portfolio Page Styles */
.portfolio-header {
  padding: 2rem 5% 4rem;
  max-width: 1800px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
}

.portfolio-title-block {
  flex: 1;
}

.breadcrumb {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  display: block;
}

.breadcrumb a {
  color: var(--text-secondary);
}

.portfolio-stats-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2rem;
}

.stats-row {
  display: flex;
  gap: 2rem;
}

.stat-item {
  text-align: right;
}

.stat-num {
  font-size: 2rem;
  font-weight: 700;
  display: block;
  line-height: 1;
}

.stat-num span {
  color: var(--accent);
}

.stat-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Filters */
.filters-container {
  padding: 0 5% 4rem;
  max-width: 1800px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE/Edge */
  -webkit-overflow-scrolling: touch;
}

.filters-container::-webkit-scrollbar {
  display: none;
  /* Chrome/Safari */
}

.filter-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  flex-shrink: 0;
}

.filter-btn {
  padding: 10px 24px;
  border-radius: 50px;
  background: #f8f8f8;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s;
}

.filter-btn.active {
  background: var(--accent);
  color: #000;
}

.filter-btn:not(.active):hover {
  background: var(--card-border);
}

/* Project Cards */
.projects-grid {
  padding: 0 5% 6rem;
  max-width: 1800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.project-card {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  background: var(--card-bg);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--card-border);
}

.project-image {
  position: relative;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .project-image img {
  transform: scale(1.05);
}

.project-badge {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  background: var(--accent);
  padding: 6px 15px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.project-info {
  padding: 3.5rem;
  display: flex;
  flex-direction: column;
}

.project-cat {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
}

.project-info h2 {
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 2rem;
}

.project-info p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 3rem;
}

.project-meta {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.meta-item label {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  color: #ccc;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.meta-item span {
  font-weight: 700;
  font-size: 0.9rem;
}

.project-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.project-tags {
  display: flex;
  gap: 10px;
}

.btn-circle {
  width: 50px;
  height: 50px;
  background: #000;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, transform 0.3s;
}

.btn-circle:hover {
  background: var(--accent);
  color: #000;
  transform: rotate(-45deg);
}

@media (max-width: 1200px) {
  .project-card {
    grid-template-columns: 1fr;
  }

  .project-info {
    padding: 3rem;
  }
}

@media (max-width: 768px) {
  .portfolio-header {
    flex-direction: column;
  }

  .portfolio-stats-block {
    align-items: flex-start;
  }

  .project-info h2 {
    font-size: 1.8em;
  }

  .project-meta {
    grid-template-columns: 1fr 1.2fr;
  }
}

/* Modal / Popup Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--modal-overlay);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: var(--modal-bg);
  width: 95%;
  max-width: 500px;
  border-radius: 24px;
  padding: 0;
  box-shadow: var(--card-shadow);
  position: relative;
  transform: translateY(40px) scale(0.95);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid var(--card-border);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.modal-overlay.active .modal-container {
  transform: translateY(0) scale(1);
}

/* Modal Header (Dark) */
.modal-header {
  padding: 1.8rem 2rem;
  background: #0a0a0a;
  color: #fff;
  position: relative;
  background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.close-modal {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.close-modal:hover {
  background: rgba(255, 255, 255, 0.2);
}

.modal-header .sub-title {
  color: #999;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 0.8rem;
}

.modal-header .sub-title::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #00C853;
  border-radius: 50%;
}

.modal-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  line-height: 1.2;
}

.modal-header p {
  color: #777;
  font-size: 0.85rem;
  line-height: 1.4;
  margin-bottom: 0;
}

.status-pill {
  display: none;
  /* Hide to make it more concise */
}

/* Modal Body (Form) */
.modal-body {
  padding: 1.5rem 2rem 2rem;
  overflow-y: auto;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.2rem;
}

@media (max-width: 500px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
}

.form-group label {
  display: block;
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-wrapper i {
  position: absolute;
  left: 1rem;
  color: var(--text-secondary);
  width: 16px;
  height: 16px;
}

.form-input,
.form-textarea {
  width: 100%;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  padding: 0.7rem 1rem 0.7rem 2.8rem;
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text-primary);
  transition: all 0.3s;
}

.form-textarea {
  padding: 0.8rem 1rem;
  min-height: 80px;
  resize: none;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--modal-bg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-hint {
  display: block;
  font-size: 0.7rem;
  color: var(--text-secondary);
  margin-top: 0.4rem;
}

/* Project Type Grid */
.type-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 0.5rem;
}

.type-btn {
  padding: 5px 12px;
  background: var(--input-bg);
  border: 1px solid var(--card-border);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.3s;
}

.type-btn:hover {
  border-color: #ddd;
}

.type-btn.active {
  background: var(--text-primary);
  color: var(--bg-color);
  border-color: var(--text-primary);
}

.char-count {
  display: block;
  text-align: right;
  font-size: 0.7rem;
  color: var(--text-secondary);
  margin-top: 0.3rem;
}

/* Form Footer */
.modal-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  gap: 1.5rem;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.checkbox-group input {
  margin-top: 2px;
  width: 14px;
  height: 14px;
  cursor: pointer;
}

.checkbox-group label {
  font-size: 0.65rem;
  color: var(--text-secondary);
  line-height: 1.3;
  cursor: pointer;
}

.checkbox-group label a {
  text-decoration: underline;
  color: var(--text-secondary);
}

.btn-submit {
  background: var(--text-primary);
  color: var(--bg-color);
  border-radius: 50px;
  padding: 1rem 1.8rem;
  font-weight: 700;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
}

.btn-submit:hover {
  background: #222;
  transform: translateY(-2px);
}

.btn-submit i {
  width: 24px;
  height: 24px;
  background: var(--accent);
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

@media (max-width: 580px) {

  .modal-header,
  .modal-body {
    padding: 1.5rem;
  }

  .modal-header h2 {
    font-size: 1.5rem;
  }

  .modal-footer {
    flex-direction: column-reverse;
    gap: 1rem;
    align-items: stretch;
  }

  .checkbox-group {
    max-width: 100%;
  }

  .btn-submit {
    width: 100%;
    justify-content: center;
  }
}

/* Video Modal */
#video-modal .video-modal-container {
  width: 90%;
  max-width: 400px;
  /* Shorts are vertical */
  aspect-ratio: 9 / 16;
  background: #000;
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.4);
  transform: translateY(40px) scale(0.95);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

#video-modal.active .video-modal-container {
  transform: translateY(0) scale(1);
}

.video-wrapper {
  width: 100%;
  height: 100%;
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
}

#close-video-modal {
  z-index: 10;
  top: 1rem;
  right: 1rem;
  background: rgba(0, 0, 0, 0.5);
}

#close-video-modal:hover {
  background: rgba(0, 0, 0, 0.7);
}

/* Case Study / Project Page Styles */
.project-detail {
  padding: 4rem 5% 8rem;
  max-width: 1800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 6rem;
}

.case-content {
  display: flex;
  flex-direction: column;
  gap: 6rem;
}

.case-section {
  max-width: 800px;
}

.case-badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--input-bg);
  border-radius: 50px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-secondary);
  letter-spacing: 1px;
  margin-bottom: 2rem;
  border: 1px solid var(--card-border);
}

.case-section h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 2rem;
  line-height: 1.1;
}

.case-section p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

/* Process List */
.process-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.process-item {
  display: flex;
  gap: 1.5rem;
}

.process-num {
  width: 32px;
  height: 32px;
  background: var(--text-primary);
  color: var(--bg-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 4px;
}

.process-info h4 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.process-info p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* Widgets */
.case-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.widget {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: var(--card-shadow);
}

.widget h4 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

/* Tools Tags */
.tool-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tool-tag {
  padding: 8px 16px;
  background: var(--input-bg);
  border: 1px solid var(--card-border);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.tool-tag.active {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}

/* KPIs / Metrics */
.metrics-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.metric-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.metric-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.metric-value {
  font-size: 1.2rem;
  font-weight: 800;
}

/* Progress Section */
.progress-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.progress-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.progress-label-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 600;
}

.progress-label-row span:last-child {
  color: var(--text-secondary);
}

.progress-bar-bg {
  width: 100%;
  height: 6px;
  background: var(--input-bg);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--card-border);
}

.progress-bar-fill {
  height: 100%;
  background: var(--text-primary);
  border-radius: 10px;
}

.progress-bar-fill.accent {
  background: var(--accent);
}

.project-placeholder {
  background: var(--input-bg);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-weight: 600;
}

.btn-full {
  width: 100%;
}

/* Sidebar CTA */
.cta-widget {
  background: var(--text-primary);
  color: var(--bg-color);
  border: none;
}

.cta-widget h4 {
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.cta-widget p {
  color: var(--bg-color);
  opacity: 0.7;
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

@media (max-width: 1200px) {
  .project-detail {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .case-sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .case-sidebar {
    grid-template-columns: 1fr;
  }

  .case-section h2 {
    font-size: 1.8rem;
  }
}

/* About Page Styles */
.about-grid {
  padding: 8rem 5% 10rem;
  max-width: 1800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 12rem;
  align-items: start;
}

.about-portrait {
  position: sticky;
  top: 120px;
}

.about-content h2 {
  font-size: 3.8rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 4.5rem;
  text-transform: none;
  letter-spacing: -2px;
}

.about-section {
  margin-bottom: 6rem;
}

.about-section h3 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #999;
  letter-spacing: 2px;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 15px;
}

.about-section h3::after {
  content: '';
  height: 1px;
  background: var(--card-border);
  flex: 1;
}

.exp-list {
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.exp-item {
  display: flex;
  justify-content: flex-start;
  gap: 1rem;
}

.exp-year {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-secondary);
  width: 140px;
  flex-shrink: 0;
  letter-spacing: 1px;
}

.exp-info h4 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.exp-info span {
  display: block;
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.skill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 2rem;
}

.skill-cat h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.skill-cat ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.skill-cat li {
  font-size: 0.95rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.skill-cat li::before {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
}

/* Blog Page Styles */
.blog-grid {
  padding: 0 5% 8rem;
  max-width: 1800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 3rem;
}

.blog-card {
  background: var(--card-bg);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--card-border);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
}

.blog-img {
  height: 240px;
  background: var(--input-bg);
  position: relative;
  overflow: hidden;
}

.blog-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.blog-card:hover .blog-img img {
  transform: scale(1.05);
}

.blog-meta {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  display: flex;
  gap: 10px;
}

.blog-tag {
  padding: 5px 12px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  color: #fff;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.blog-info {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-date {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.blog-info h3 {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  line-height: 1.3;
}

.blog-info p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.blog-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.read-more {
  font-size: 0.9rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
}

.read-more i {
  color: var(--accent);
}

@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .about-portrait {
    position: static;
    max-width: 500px;
    margin: 0 auto;
  }

  .about-content h2 {
    font-size: 2.5rem;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .exp-item {
    flex-direction: column;
    gap: 0.5rem;
  }

  .exp-year {
    margin-bottom: 0.5rem;
  }
}

/* Footer Styles */
footer {
  padding: 1.5rem 5%;
  border-top: 1px solid var(--footer-border);
  max-width: 1800px;
  margin: 0 auto;
  width: 100%;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.copyright {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-link {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 600;
  transition: color 0.3s;
}

.footer-link:hover {
  color: var(--text-primary);
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Mobile & Tablet Optimizations */
/* Tablet & Small Laptops */
@media (max-width: 1280px) {
  .hero {
    grid-template-columns: 1fr 1.4fr 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  nav ul {
    gap: 1.2rem;
  }

  .filters-container {
    padding: 0 5% 2.5rem;
    gap: 0.8rem;
    margin: 0 -5%;
    /* Negative margin to make it full-width */
    padding-left: 5%;
    padding-right: 5%;
    width: calc(100% + 10%);
  }

  .filter-label {
    display: none;
    /* Hide label on mobile to save space */
  }

  .filter-btn {
    padding: 8px 18px;
    font-size: 0.85rem;
  }

  /* Modal Mobile Adaptivity */
  .modal-container {
    padding: 2rem 1.5rem;
    width: 95%;
    max-height: 95vh;
    border-radius: 24px;
    overflow-y: auto;
  }

  .modal-header h2 {
    font-size: 2.2rem;
    line-height: 1.1;
  }

  .modal-body {
    padding: 1.5rem 0;
  }

  .close-modal {
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
  }

  .btn-submit {
    width: 100%;
    justify-content: center;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 2rem;
    gap: 4rem;
    text-align: center;
  }

  .hero-left,
  .hero-right {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
  }

  .hero-left {
    order: 2;
  }

  .hero-center {
    order: 1;
  }

  .hero-right {
    order: 3;
    align-items: center;
    padding-left: 0;
  }

  .hero-desc {
    margin: 0 auto 2rem;
  }

  .avatar-stack {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  header {
    padding: 1rem 5%;
  }

  nav {
    display: none;
    /* Hide default nav */
  }

  .menu-toggle {
    display: block;
    color: var(--text-primary);
  }

  /* Mobile Nav Overlay State (to be toggled via JS) */
  header.nav-active nav {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-color);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: background 0.3s;
  }

  header.nav-active nav ul {
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
  }

  header.nav-active nav ul li a {
    font-size: 1.8rem;
    font-weight: 700;
  }

  .hero {
    flex-direction: column;
    padding: 2rem 5% 5rem;
    text-align: center;
  }

  .hero-left,
  .hero-center,
  .hero-right {
    width: 100%;
    max-width: 500px;
  }

  .hero-center {
    order: -1;
    margin-bottom: 2rem;
  }

  .name-title {
    font-size: 3.5rem;
  }

  .hero-desc {
    margin: 0 auto 2.5rem;
  }

  .hero-right {
    margin-top: 3rem;
  }

  .role-title {
    font-size: 2.8rem;
    margin-bottom: 2rem;
  }

  .avatar-stack {
    justify-content: center;
  }

  .play-button {
    width: 60px;
    height: 60px;
    bottom: 1.5rem;
    right: 1.5rem;
  }

  .social-overlay {
    top: 1rem;
    right: 1rem;
    gap: 0.5rem;
  }

  .social-icon {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 480px) {
  .name-title {
    font-size: 2.8rem;
  }

  .role-title {
    font-size: 2.2rem;
  }

  .btn-main {
    width: 100%;
    justify-content: center;
  }

  .portrait-card {
    padding: 12px;
  }
}

/* --- Contact Page Styles --- */
.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  padding: 0 5% 6rem;
  max-width: 1800px;
  margin: 0 auto;
}

.contact-info-column {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.contact-method-group {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.contact-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-shadow);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--input-bg);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

[data-theme="dark"] .contact-icon {
  background: #1a1a1a;
}

.contact-text h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
  margin-bottom: 0.3rem;
}

.contact-text p {
  font-size: 1.1rem;
  font-weight: 600;
}

.map-container {
  width: 100%;
  height: 350px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--card-border);
  background: var(--input-bg);
  position: relative;
}

.contact-form-card {
  background: var(--card-bg);
  padding: 3.5rem;
  border-radius: 32px;
  border: 1px solid var(--card-border);
  box-shadow: var(--card-shadow);
}

.form-header {
  margin-bottom: 2.5rem;
}

.form-header h2 {
  font-size: 2.5rem;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (max-width: 1024px) {
  .contact-page-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-info-column {
    order: 2;
  }

  .contact-form-card {
    order: 1;
  }
}

/* --- Premium Blog Post Styles --- */
.progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: transparent;
  z-index: 2000;
}

.progress-bar {
  height: 100%;
  background: var(--accent);
  width: 0%;
}

.post-hero {
  position: relative;
  min-height: 60vh;
  padding: 120px 5% 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--bg-color);
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, var(--accent-light) 0%, transparent 70%);
  opacity: 0.1;
  pointer-events: none;
}

.hero-content-wrapper {
  max-width: 1000px;
  position: relative;
  z-index: 2;
}

.btn-back-glass {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 3rem;
  transition: all 0.3s ease;
}

.btn-back-glass:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(-5px);
}

.post-category-pill {
  display: inline-block;
  padding: 6px 16px;
  background: var(--accent);
  color: #000;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 50px;
  margin-bottom: 2rem;
}

.post-main-title {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 2.5rem;
  letter-spacing: -2px;
}

.post-meta-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.95rem;
}

.author-block {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-thumb {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--accent);
}

.meta-sep {
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.5;
}

.post-body {
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 10rem;
}

.post-intro-image {
  width: 100%;
  aspect-ratio: 21/9;
  border-radius: 40px;
  overflow: hidden;
  margin-top: -40px;
  margin-bottom: 5rem;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--card-border);
}

.image-placeholder {
  width: 100%;
  height: 100%;
  background: var(--input-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  font-weight: 900;
  color: var(--accent);
  opacity: 0.4;
  letter-spacing: 15px;
}

.post-readable-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--text-primary);
}

.lead-text {
  font-size: 1.6rem;
  line-height: 1.5;
  color: var(--text-primary);
  font-weight: 500;
  margin-bottom: 3rem;
}

.post-readable-content h2 {
  font-size: 2.5rem;
  margin: 5rem 0 2rem;
  letter-spacing: -1px;
}

.post-readable-content h3 {
  font-size: 1.8rem;
  margin: 3rem 0 1.5rem;
}

.post-readable-content p {
  margin-bottom: 2rem;
}

.post-quote-premium {
  margin: 5rem -50px;
  padding: 3rem 50px;
  border-left: 6px solid var(--accent);
  background: var(--input-bg);
  border-radius: 0 32px 32px 0;
  position: relative;
}

.post-quote-premium p {
  font-size: 1.8rem;
  font-style: italic;
  font-weight: 500;
  margin: 0;
  line-height: 1.4;
}

.refined-list {
  list-style: none;
  padding: 0;
  margin: 3rem 0;
}

.refined-list li {
  position: relative;
  padding-left: 35px;
  margin-bottom: 1.5rem;
}

.refined-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 18px;
  height: 2px;
  background: var(--accent);
}

.post-article-footer {
  max-width: 800px;
  margin: 8rem auto 0;
  padding-top: 4rem;
  border-top: 1px solid var(--card-border);
  text-align: center;
}

.share-title {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  letter-spacing: 2px;
}

.share-row {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.share-icon-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--input-bg);
  border: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  transition: all 0.3s;
}

.share-icon-btn:hover {
  background: var(--accent);
  color: #000;
  transform: translateY(-5px);
  border-color: var(--accent);
}

@media (max-width: 1024px) {
  .post-hero {
    min-height: 50vh;
  }

  .post-intro-image {
    border-radius: 0;
    margin-top: 0;
  }
}

@media (max-width: 768px) {
  .post-main-title {
    font-size: 2.8rem;
  }

  .post-quote-premium {
    margin: 4rem 0;
    padding: 2rem;
  }

  .post-quote-premium p {
    font-size: 1.4rem;
  }

  .post-readable-content {
    font-size: 1.15rem;
  }
}



/* --- Style Guide Styles --- */
.style-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 5%;
}

.style-section {
  margin-bottom: 100px;
}

.style-section h2.section-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  border-bottom: 1px solid var(--card-border);
  padding-bottom: 10px;
}

.color-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.color-card {
  border: 1px solid var(--card-border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--card-bg);
}

.color-swatch {
  height: 100px;
  width: 100%;
}

.color-info {
  padding: 15px;
}

.color-name {
  font-weight: 700;
  display: block;
  margin-bottom: 5px;
}

.color-value {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.font-demo {
  margin-bottom: 30px;
}

.font-label {
  display: block;
  font-size: 0.7rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: #000;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
  }
}

/* Footer Global Styles */
footer {
  padding: 3rem 5%;
  border-top: 1px solid var(--footer-border);
  background: var(--bg-color);
  width: 100%;
}

.footer-container {
  max-width: 1800px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.copyright {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-link {
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: color 0.3s;
}

.footer-link:hover {
  color: var(--accent);
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }
}