@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@1,400;1,600;1,700&display=swap');

/* --- Core Design Tokens --- */
:root {
  --bg-color-solid: #FAFAFA;
  --bg-gradient: linear-gradient(135deg, #FAFAFA 0%, #F5F0FF 100%);
  --text-primary: #1A1A1A;
  --text-secondary: #666666;
  --text-muted: #8C8C8C;
  --accent-color: #7C3AED;
  --accent-glow: rgba(124, 92, 247, 0.12);
  --accent-light: #A855F7;
  --accent-dark: #5b21b6;
  --accent-secondary: #EF4444;
  --accent-secondary-glow: rgba(239, 68, 68, 0.12);
  --white: #ffffff;
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-bg-hover: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(0, 0, 0, 0.08);
  --glass-shadow: 0 20px 50px rgba(0, 0, 0, 0.04);
  --glass-shadow-hover: 0 30px 70px rgba(0, 0, 0, 0.08);
  
  --font-heading: 'Plus Jakarta Sans', 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease-out;
  --border-radius-lg: 24px;
  --border-radius-md: 16px;
  --border-radius-sm: 8px;
}

/* --- Base Reset & Scroll --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--bg-gradient);
  background-attachment: fixed;
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Subtly Grainy Texture Overlay */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  opacity: 0.015;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3e%3cfilter id='noise'%3e%3cturbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3e%3c/filter%3e%3crect width='100%25' height='100%25' filter='url(%23noise)'/%3e%3c/svg%3e");
  pointer-events: none;
  z-index: 9999;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: rgba(243, 239, 252, 0.5);
}
::-webkit-scrollbar-thumb {
  background: var(--accent-light);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-color);
}

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

button, input, select, textarea {
  font-family: inherit;
}

/* --- Reusable Components & Utilities --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  position: relative;
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--glass-shadow);
  transition: var(--transition-smooth);
}

.glass-card:hover {
  background: var(--glass-bg-hover);
  box-shadow: var(--glass-shadow-hover);
  border-color: rgba(255, 255, 255, 0.8);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 500;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
}

.btn-primary {
  background: var(--accent-color);
  color: var(--white);
  box-shadow: 0 8px 24px var(--accent-glow);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--accent-light), var(--accent-dark));
  opacity: 0;
  z-index: -1;
  transition: var(--transition-smooth);
}

.btn-primary:hover {
  box-shadow: 0 12px 28px rgba(124, 58, 237, 0.6);
  transform: translateY(-2px);
}

.btn-primary:hover::before {
  opacity: 1;
}

.btn-secondary {
  background: var(--glass-bg);
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
}

.btn-secondary:hover {
  background: var(--glass-bg-hover);
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.8);
}

.section-tag {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--accent-color);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  display: inline-block;
  padding: 4px 12px;
  background: rgba(124, 58, 237, 0.1);
  border-radius: 50px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin-bottom: 40px;
}

/* Grid layout rules */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-on-scroll.active {
  opacity: 1;
  transform: translateY(0);
}

/* --- 1. Header & Navigation --- */
header {
  position: fixed;
  top: 10px;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-smooth);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 32px;
  height: 70px;
  border-radius: 22px !important; /* 22px border radius */
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: var(--glass-shadow);
  transition: var(--transition-smooth);
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  display: flex;
  align-items: center;
}

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

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition-fast);
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: var(--transition-fast);
}

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

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

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-socials {
  display: flex;
  gap: 12px;
}

.nav-socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 1rem;
  transition: var(--transition-fast);
}

.nav-socials a:hover {
  background: var(--accent-color);
  color: var(--white);
  transform: translateY(-2px);
}

/* Sticky Nav scroll class added in JS */
header.scrolled {
  top: 10px; /* Stays at 10px top offset */
}

header.scrolled .navbar {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-color: rgba(0, 0, 0, 0.12);
  box-shadow: var(--glass-shadow-hover);
}

.mobile-nav-toggle {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
}

/* --- 2. Hero Section --- */
.hero-section {
  min-height: 60vh; /* Compact, not too much larger */
  display: flex;
  align-items: center;
  padding: 140px 0 60px 0; /* Balanced padding */
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hero-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 850px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: 3.4rem; /* Simplified, not too large */
  font-weight: 700; /* Clean, bold layout */
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 24px;
  letter-spacing: -0.015em;
  max-width: 800px;
}

.hero-content h1 span {
  color: var(--text-primary);
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
}

.clicked-highlight {
  background: none !important;
  color: inherit !important;
  padding: 0 !important;
  border-radius: 0 !important;
  display: inline !important;
  box-shadow: none !important;
  -webkit-background-clip: initial !important;
  -webkit-text-fill-color: inherit !important;
  transform: none !important;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  line-height: 1.6;
  max-width: 700px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
  justify-content: center;
}

.social-proof {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  border-top: 1px solid rgba(124, 58, 237, 0.15);
  padding-top: 20px;
  letter-spacing: 0.02em;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* --- Clients Carousel --- */
.clients-carousel-wrapper {
  padding: 16px 0; /* Shorter front banner rectangle, no extra space gap */
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  margin-top: 0;
  margin-bottom: 0;
}

.clients-title {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 0.75rem; /* Smaller and smoother title style */
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  margin-bottom: 10px; /* Reduced vertical space gap */
}

.clients-slider {
  display: flex;
  width: max-content;
  gap: 0;
  animation: slide-left 25s linear infinite;
}

.clients-track {
  display: flex;
  justify-content: flex-start;
  width: max-content;
  gap: 16px;
  padding-right: 16px;
}

.client-item {
  position: relative;
  width: 60px; /* Shorter logo size */
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid #ffffff; /* White border */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.3s ease, 
              box-shadow 0.3s ease;
}

.client-item img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.client-item:hover {
  transform: scale(1.1);
  border-color: #ef4444; /* Hover border becomes #ef4444 */
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.7); /* soft glow */
}

@keyframes slide-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- 3. About Me Section --- */
.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 64px;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.portrait-container {
  position: relative;
  width: 100%;
  max-width: 380px;
  height: 460px;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--glass-shadow);
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.portrait-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: var(--transition-smooth);
}

.about-image-wrapper:hover .portrait-img {
  transform: scale(1.03);
}

/* Glowing/Floating assets behind portrait */
.portrait-backdrop-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.4) 0%, rgba(124, 58, 237, 0) 70%);
  z-index: -1;
  filter: blur(20px);
  animation: float-slow 8s ease-in-out infinite alternate;
}

.floating-design-el {
  position: absolute;
  z-index: 2;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  padding: 10px 16px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.el-1 { top: 10%; left: -5%; animation: float-slow 5s ease-in-out infinite alternate; }
.el-2 { bottom: 15%; right: -5%; animation: float-slow 6s ease-in-out infinite alternate-reverse; }

.about-info-fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 32px 0;
}

.info-field {
  display: flex;
  padding: 14px 20px;
  border-radius: var(--border-radius-md);
  background: rgba(255,255,255,0.25);
  border: 1px solid rgba(255,255,255,0.4);
}

.info-label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--accent-color);
  width: 140px;
  flex-shrink: 0;
}

.info-value {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
}

.about-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

@keyframes float-slow {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-15px) rotate(3deg); }
}

/* --- 4. Services Section --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-bottom: 60px;
}

.service-card {
  padding: 40px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transform-style: preserve-3d;
  transform: perspective(1000px);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--border-radius-md);
  background: rgba(124, 58, 237, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent-color);
  margin-bottom: 24px;
  transform: translateZ(20px);
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 16px;
  transform: translateZ(30px);
}

.service-card p {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 32px;
  flex-grow: 1;
  transform: translateZ(10px);
}

.service-card .btn {
  align-self: flex-start;
  transform: translateZ(25px);
}

/* --- 5. Infinite Thumbnail Sliding Showcase --- */
.thumbnail-gallery-wrapper {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: hidden;
  padding: 20px 0;
}

.filter-container {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 10px 22px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.9rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-btn.active, .filter-btn:hover {
  background: var(--accent-color);
  color: var(--white);
  border-color: var(--accent-color);
  box-shadow: 0 4px 12px var(--accent-glow);
}

.category-tag {
  padding: 10px 22px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.9rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  display: inline-block;
  user-select: none;
  text-align: center;
}

.thumbnail-row {
  display: flex;
  width: max-content;
  gap: 18px;
  padding: 8px 0;
}

.thumbnail-row-left {
  animation: marquee-left 60s linear infinite;
}

.thumbnail-row-right {
  animation: marquee-right 60s linear infinite;
}

.thumbnail-row-container:hover .thumbnail-row {
  animation-play-state: paused;
}

.thumbnail-card {
  width: 260px;
  height: 146px; /* Maintain 16:9 ratio */
  border-radius: 12px; /* 12px rounded corners */
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.thumbnail-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.thumbnail-card:hover {
  transform: scale(1.02); /* scale it slightly (1.02) */
  border-color: #ef4444; /* Neon Red */
  box-shadow: 0 12px 30px rgba(239, 68, 68, 0.25); /* add soft red glow */
}

.thumbnail-card:hover img {
  transform: scale(1.03);
}

/* Responsive visibility rules for the rows */
#thumb-row-container-1 { display: block; }
#thumb-row-container-2 { display: block; }
#thumb-row-container-3 { display: block; }

@media (max-width: 1024px) {
  /* Tablet: Keep all 3 rows in motion */
  #thumb-row-container-3 {
    display: block;
  }
  .thumbnail-card {
    width: 230px;
    height: 129px; /* 16:9 for 230px */
  }
}

@media (max-width: 768px) {
  /* Mobile: Keep all 3 rows in motion */
  #thumb-row-container-2,
  #thumb-row-container-3 {
    display: block;
  }
  .thumbnail-card {
    width: 220px;
    height: 124px; /* 16:9 for 220px */
  }
}

@keyframes marquee-left {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

@keyframes marquee-right {
  0% { transform: translate3d(-50%, 0, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(18, 14, 28, 0.95);
  backdrop-filter: blur(20px);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  width: 90%;
  max-width: 1000px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.lightbox-close {
  position: absolute;
  top: -50px;
  right: 0;
  font-size: 2rem;
  color: var(--white);
  cursor: pointer;
  background: none;
  border: none;
}

.lightbox-media {
  width: 100%;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
  background: #000;
  aspect-ratio: 16/9;
}

.lightbox-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lightbox-info {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 24px;
  border-radius: var(--border-radius-md);
  color: var(--white);
}

.lightbox-info h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.lightbox-details {
  display: flex;
  gap: 32px;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
}

.lightbox-details span strong {
  color: var(--accent-light);
}

/* --- 6. Thumbnail Case Studies and Results --- */
.case-studies-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-top: 20px;
}

.case-study-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  padding: 40px;
  align-items: center;
}

.case-study-visual {
  position: relative;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--glass-shadow);
  border: 1px solid var(--glass-border);
  aspect-ratio: 16/9;
  background: #000;
}

.case-study-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.case-study-info h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.case-study-strategy {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 24px;
  background: rgba(255,255,255,0.2);
  padding: 16px 20px;
  border-radius: var(--border-radius-md);
  border-left: 4px solid var(--accent-color);
}

.case-study-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.metric-box {
  background: rgba(255,255,255,0.25);
  border: 1px solid rgba(255,255,255,0.4);
  padding: 16px;
  border-radius: var(--border-radius-md);
  text-align: center;
}

.metric-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.metric-val {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.metric-val span {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: line-through;
  margin-right: 6px;
}

.metric-val.highlight {
  color: var(--accent-color);
}

.case-study-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* Dynamic Case Study Showcase Card styles */
.case-study-showcase-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  padding: 40px;
  border-radius: var(--border-radius-lg);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  margin-bottom: 40px;
  align-items: center;
  transition: var(--transition-smooth);
}

.case-study-image {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--glass-border);
  aspect-ratio: 16/9;
}

.case-study-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.case-study-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.case-study-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.3;
}

.case-study-strategy {
  background: var(--accent-glow);
  border-left: 4px solid var(--accent-color);
  padding: 14px 18px;
  border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
}

.case-study-strategy h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 4px;
}

.case-study-strategy p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.case-study-metrics-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}

.case-study-metric-item {
  background: rgba(255, 255, 255, 0.45);
  padding: 10px 14px;
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
}

.case-study-metric-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
  margin-bottom: 2px;
}

.case-study-metric-value {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}

.case-study-metric-value span {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-right: 4px;
}

.case-study-metric-value.highlight {
  color: var(--accent-color);
}

@media (max-width: 768px) {
  .case-study-showcase-card {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 24px;
  }
}

/* --- 7. Social Media Creatives Section --- */
.masonry-grid {
  columns: 3 320px;
  column-gap: 24px;
  width: 100%;
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 24px;
  overflow: hidden;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  cursor: pointer;
  position: relative;
  transition: var(--transition-smooth);
}

.masonry-item img {
  width: 100%;
  display: block;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.masonry-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 16px 36px rgba(109, 40, 217, 0.1);
}

.masonry-item:hover img {
  transform: scale(1.04);
}

.masonry-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(31,26,46,0.95) 0%, rgba(31,26,46,0.3) 70%, rgba(31,26,46,0) 100%);
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  transition: var(--transition-fast);
  z-index: 2;
}

.masonry-item:hover .masonry-overlay {
  opacity: 1;
}

/* --- 8. Testimonial Section --- */
.orbital-bg-gravity {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
  animation: float-slow 30s ease-in-out infinite alternate;
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.testimonial-orbit-container:hover .orbital-bg-gravity {
  opacity: 0.28;
}

.orbital-bg-gravity.clicked-highlight {
  opacity: 0.45 !important;
}

@keyframes float-slow {
  0% { transform: scale(1) translateY(0) rotate(0deg); }
  100% { transform: scale(1.08) translateY(-15px) rotate(3deg); }
}

.testimonial-orbit-container {
  position: relative;
  height: 680px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.orbital-bg-graphic {
  position: absolute;
  width: 580px;
  height: 580px;
  border: 1.5px dashed rgba(124, 58, 237, 0.15);
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
  animation: spin-slow 60s linear infinite;
}

.orbital-bg-graphic-2 {
  position: absolute;
  width: 380px;
  height: 380px;
  border: 1.5px dashed rgba(124, 58, 237, 0.15);
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
  animation: spin-slow-reverse 45s linear infinite;
}

/* Center Phone Video Mockup */
.center-video-mockup {
  position: relative;
  width: 280px;
  height: 500px;
  border-radius: 40px;
  background: #000;
  box-shadow: 0 25px 50px -12px rgba(109, 40, 217, 0.25), 0 0 0 12px rgba(255,255,255,0.45);
  border: 4px solid var(--text-primary);
  overflow: hidden;
  z-index: 10;
  transition: var(--transition-smooth);
}

.center-video-mockup:hover {
  transform: scale(1.02);
  box-shadow: 0 35px 60px -12px rgba(109, 40, 217, 0.35), 0 0 0 12px rgba(255,255,255,0.65);
}

.center-video-mockup iframe, .center-video-mockup video {
  width: 100%;
  height: 100%;
  border: none;
  object-fit: cover;
}

/* Orbital Review Card positions (updated in JS) */
.orbital-card {
  position: absolute;
  width: 250px;
  height: 140px; /* fit card aspect ratio */
  z-index: 5;
  cursor: pointer;
  transform-origin: center center;
  transition: opacity 0.3s ease, transform 0.1s ease; /* fast updating for orbit */
}

.orbital-card-inner {
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  background: var(--glass-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.orbital-card:hover .orbital-card-inner {
  border-color: rgba(124, 58, 237, 0.4);
  box-shadow: 0 10px 30px rgba(124, 58, 237, 0.18);
}

.orbital-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

.testimonial-mobile-slider {
  display: none; /* Active only on mobile */
  width: 100%;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 20px 0;
}

@keyframes spin-slow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes spin-slow-reverse {
  0% { transform: rotate(360deg); }
  100% { transform: rotate(0deg); }
}

/* --- 9. Creative Process Section --- */
.process-timeline {
  position: relative;
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

/* Timeline connecting line */
.process-timeline::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 10%;
  width: 80%;
  height: 3px;
  background: rgba(124, 58, 237, 0.15);
  z-index: 1;
}

.process-timeline-progress {
  position: absolute;
  top: 40px;
  left: 10%;
  width: 0%; /* Animate in JS on scroll */
  height: 3px;
  background: var(--accent-color);
  z-index: 2;
  box-shadow: 0 0 10px var(--accent-glow);
  transition: width 0.5s ease;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 3;
}

.process-node {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 2px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px auto;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
  box-shadow: var(--glass-shadow);
  transition: var(--transition-smooth);
}

.process-step:hover .process-node {
  background: var(--accent-color);
  color: var(--white);
  border-color: var(--accent-color);
  transform: scale(1.1);
  box-shadow: 0 8px 24px var(--accent-glow);
}

.process-step h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  padding: 0 10px;
}

/* --- 10. Shop Link / Preview Block (If home preview is active) --- */
.shop-preview-block {
  text-align: center;
  padding: 60px;
}

/* --- 11. Contact Section --- */
#contact {
  background: linear-gradient(135deg, rgba(15, 10, 25, 0.96) 0%, rgba(30, 18, 50, 0.98) 100%);
  border-top: 1px solid rgba(124, 58, 237, 0.15);
  border-bottom: 1px solid rgba(124, 58, 237, 0.15);
  padding: 100px 0;
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-info #contact-title {
  color: #ffffff; /* Crisp white for dark theme */
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.contact-channel-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(124, 58, 237, 0.15);
  background: rgba(15, 10, 25, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.contact-channel-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--accent-color);
}

.contact-channel-details p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5); /* Silver-gray text */
}

.contact-channel-details a {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: #ffffff; /* White link */
}

.contact-channel-details a:hover {
  color: var(--accent-color);
}

.contact-form-card {
  padding: 48px;
  background: rgba(15, 10, 25, 0.5);
  border: 1px solid rgba(124, 58, 237, 0.15);
  border-radius: var(--border-radius-lg);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7); /* Silver label */
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 14px 20px;
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(124, 58, 237, 0.18);
  background: rgba(255, 255, 255, 0.03);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: #ffffff; /* White input text */
  transition: var(--transition-fast);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: #ef4444; /* Clean contrast */
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

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

.contact-form-card button[type="submit"] {
  width: 100%;
  padding: 16px;
  font-size: 1.05rem;
}

.form-success-msg {
  display: none;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #065f46;
  padding: 20px;
  border-radius: var(--border-radius-md);
  margin-bottom: 24px;
  text-align: center;
  font-weight: 500;
}

/* --- 12. Social Links and Footer --- */
footer {
  background: rgba(255, 255, 255, 0.35);
  border-top: 1px solid var(--glass-border);
  padding: 60px 0 30px 0;
  position: relative;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.footer-links {
  display: flex;
  gap: 24px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

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

.footer-bottom {
  border-top: 1px solid rgba(124, 58, 237, 0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--accent-color);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px var(--accent-glow);
  opacity: 0;
  visibility: hidden;
  z-index: 99;
  transition: var(--transition-smooth);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-4px);
  background: var(--accent-dark);
}

/* --- Responsive Adaptations (Media Queries) --- */
@media (max-width: 1024px) {
  html { font-size: 15px; }
  .hero-content h1 { font-size: 3.2rem; }
  .about-grid { gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .testimonial-orbit-container { height: 600px; }
  .orbital-bg-graphic { width: 480px; height: 480px; }
  .orbital-bg-graphic-2 { width: 320px; height: 320px; }
}

@media (max-width: 768px) {
  .nav-links, .nav-right .btn-primary { display: none; }
  .mobile-nav-toggle { display: block; }
  
  /* Mobile Menu overlay drawer */
  .nav-links.mobile-active {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: rgba(243, 239, 252, 0.98);
    backdrop-filter: blur(25px);
    z-index: 999;
    padding: 100px 40px;
    box-shadow: -10px 0 40px rgba(0,0,0,0.1);
    border-left: 1px solid rgba(255,255,255,0.5);
    gap: 24px;
  }
  
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-visual { height: 400px; }
  
  .about-grid { grid-template-columns: 1fr; text-align: center; }
  .about-image-wrapper { margin-bottom: 30px; }
  .about-actions { justify-content: center; }
  
  .case-study-card { grid-template-columns: 1fr; }
  
  .process-timeline { grid-template-columns: 1fr; gap: 40px; }
  .process-timeline::before, .process-timeline-progress { display: none; }
  .process-step p { max-width: 400px; margin: 0 auto; }
  
  .form-group-row { grid-template-columns: 1fr; gap: 0; }
  
  /* Orbital cards to horizontal slider on Mobile */
  .orbital-bg-graphic, .orbital-bg-graphic-2 { display: none; }
  .testimonial-orbit-container {
    height: auto;
    flex-direction: column;
    gap: 30px;
  }
  .center-video-mockup { width: 100%; max-width: 320px; height: 568px; }
  .testimonial-mobile-slider {
    display: flex;
  }
  .orbital-card {
    position: relative;
    transform: none !important;
    opacity: 1 !important;
    flex-shrink: 0;
    width: 250px;
    height: 140px;
    scroll-snap-align: center;
  }
  
  .footer-top { flex-direction: column; gap: 24px; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}

@media (max-width: 480px) {
  html { font-size: 14px; }
  .hero-content h1 { font-size: 2.5rem; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .about-actions { flex-direction: column; width: 100%; }
  .about-actions .btn { width: 100%; }
}

/* --- Premium Dark Analytics Dashboard Styles --- */
.results-dashboard {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 48px;
  width: 100%;
}

.results-columns-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.results-card {
  position: relative;
  background: rgba(14, 11, 20, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  color: #ffffff;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.4s ease, 
              box-shadow 0.4s ease,
              background-position 0.6s ease;
  background-image: linear-gradient(135deg, rgba(14, 11, 20, 0.88) 0%, rgba(26, 17, 28, 0.9) 50%, rgba(14, 11, 20, 0.88) 100%);
  background-size: 200% 200%;
  background-position: 0% 0%;
}

.results-card.glass-card:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(239, 68, 68, 0.25);
  box-shadow: 0 24px 64px rgba(239, 68, 68, 0.08);
  background-position: 100% 100%;
  background-image: linear-gradient(135deg, rgba(14, 11, 20, 0.88) 0%, rgba(26, 17, 28, 0.9) 50%, rgba(14, 11, 20, 0.88) 100%);
}

/* Top accent animated line */
.accent-line-red {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, #ef4444 50%, transparent 100%);
  background-size: 200% 100%;
  animation: move-accent-line 4s linear infinite;
}

@keyframes move-accent-line {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Sub-card tags & headers */
.card-tag {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #ef4444;
  letter-spacing: 0.1em;
  display: inline-block;
  margin-bottom: 8px;
}

.results-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

/* 1. Growth Graph Card styling */
.card-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}

.stats-display {
  display: flex;
  gap: 32px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.stat-lbl {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffffff;
}

.stat-num.highlight {
  color: #ef4444;
}

.chart-container {
  position: relative;
  width: 100%;
  margin-bottom: 24px;
  background: rgba(255, 255, 255, 0.01);
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(255, 255, 255, 0.03);
  padding: 10px;
}

.analytics-svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Graph glowing animations */
.graph-card-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 500px;
  height: 300px;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.04) 0%, rgba(239, 68, 68, 0) 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.4s ease;
}

.results-card:hover .graph-card-glow {
  background: radial-gradient(circle, rgba(239, 68, 68, 0.08) 0%, rgba(239, 68, 68, 0) 70%);
}

.chart-line {
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200; /* Animated in JS */
}

.chart-line.animated {
  animation: draw-chart 2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.chart-fill {
  transition: opacity 1.5s cubic-bezier(0.25, 1, 0.5, 1) 0.5s;
}

.chart-fill.animated {
  opacity: 1;
}

.glow-dot {
  fill: #ef4444;
  stroke: rgba(255, 255, 255, 0.8);
  stroke-width: 1.5;
  filter: drop-shadow(0 0 4px #ef4444);
  transform-origin: center;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.glow-dot.active {
  opacity: 1;
  animation: pulse-dot 2.5s ease-in-out infinite alternate;
}

@keyframes draw-chart {
  to { stroke-dashoffset: 0; }
}

@keyframes pulse-dot {
  0% { transform: scale(0.85); filter: drop-shadow(0 0 3px #ef4444); }
  100% { transform: scale(1.25); filter: drop-shadow(0 0 8px #f87171); }
}

/* Light sweep animation along path */
.sweep-light-dot {
  fill: #ffffff;
  filter: drop-shadow(0 0 10px #ffffff) drop-shadow(0 0 4px #ef4444);
}

/* Premium Next button */
.next-btn-ripple {
  background: rgba(255,255,255,0.04);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.next-btn-ripple:hover {
  transform: translateY(-2px);
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.4);
  box-shadow: 0 8px 24px rgba(239, 68, 68, 0.15);
}

.ripple-effect {
  position: absolute;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.3);
  transform: scale(0);
  animation: ripple 0.6s linear;
  pointer-events: none;
}

@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* 2. Impressions CTR Card styling */
.ctr-card-glow {
  position: absolute;
  top: 30%;
  right: 10%;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.03) 0%, rgba(239, 68, 68, 0) 75%);
  pointer-events: none;
  z-index: 1;
  transition: background 0.4s ease;
}

.results-card:hover .ctr-card-glow {
  background: radial-gradient(circle, rgba(239, 68, 68, 0.07) 0%, rgba(239, 68, 68, 0) 75%);
}

.ctr-value-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.ctr-number-container {
  position: relative;
  display: inline-block;
}

.ctr-percentage {
  font-family: var(--font-heading);
  font-size: 3.6rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  position: relative;
  z-index: 2;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, #ffffff 0%, #d1d5db 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Shimmer overlay for CTR percentage */
.ctr-percentage::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transform: skewX(-20deg);
  z-index: 3;
}

.ctr-percentage.shimmer::after {
  animation: text-shimmer 1.8s ease-in-out;
}

@keyframes text-shimmer {
  100% { left: 200%; }
}

.ctr-pulse-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.25) 0%, rgba(239, 68, 68, 0) 70%);
  transform: translate(-50%, -50%) scale(0.5);
  pointer-events: none;
  opacity: 0;
  z-index: 1;
  border-radius: 50%;
  transition: opacity 0.5s ease;
}

.ctr-pulse-glow.active {
  opacity: 1;
  animation: pulse-glow-bg 1.8s ease-in-out infinite alternate;
}

@keyframes pulse-glow-bg {
  0% { transform: translate(-50%, -50%) scale(0.6); opacity: 0.3; }
  100% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.7; }
}

.ctr-verification {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.15);
  padding: 6px 14px;
  border-radius: 50px;
  transform: translateY(10px);
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.ctr-verification.show {
  opacity: 1;
  transform: translateY(0);
}

.verified-icon {
  color: #10b981;
  font-size: 0.95rem;
}

.verified-badge {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  color: #10b981;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.ctr-description {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.ctr-description.show {
  opacity: 1;
  transform: translateY(0);
}

/* 3. Watch Behavior Card styling */
.audience-card-glow {
  position: absolute;
  top: 30%;
  left: 10%;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.03) 0%, rgba(239, 68, 68, 0) 75%);
  pointer-events: none;
  z-index: 1;
  transition: background 0.4s ease;
}

.results-card:hover .audience-card-glow {
  background: radial-gradient(circle, rgba(239, 68, 68, 0.07) 0%, rgba(239, 68, 68, 0) 75%);
}

.watch-bar-container {
  display: flex;
  height: 14px;
  border-radius: 50px;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  margin-bottom: 30px;
  position: relative;
}

/* Swipe glowing highlight across the bar */
.watch-bar-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 80px;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: bar-light-swipe 8s ease-in-out infinite;
}

@keyframes bar-light-swipe {
  0% { left: -100%; }
  15% { left: 150%; }
  100% { left: 150%; }
}

.watch-segment {
  height: 100%;
  transition: width 2s cubic-bezier(0.25, 1, 0.5, 1);
}

.new-viewers-bar {
  background: #ef4444; /* Bright Red */
}

.casual-viewers-bar {
  background: #f87171; /* Medium Red */
}

.regular-viewers-bar {
  background: #4b5563; /* Dark Grey */
}

.audience-rows-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 30px;
}

.audience-row-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  border-radius: var(--border-radius-sm);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.03);
  transition: transform 0.30s ease, background 0.30s ease, border-color 0.30s ease;
  
  /* Stagger animation entry */
  opacity: 0;
  transform: translateY(15px);
}

.audience-row-item.show {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--delay) * 150ms);
}

.audience-row-item:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.row-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.color-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.audience-row-item:hover .color-dot {
  transform: scale(1.3);
}

.new-viewers-dot { background: #ef4444; }
.casual-viewers-dot { background: #f87171; }
.regular-viewers-dot { background: #4b5563; }

.cat-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
}

.cat-pct {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease;
}

.audience-row-item:hover .cat-pct {
  color: #ffffff;
}

.audience-description {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.audience-description.show {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive adjustments for Results */
@media (max-width: 900px) {
  .results-columns-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 600px) {
  .results-card {
    padding: 24px;
  }
  .card-header-bar {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }
  .stats-display {
    justify-content: space-between;
    gap: 16px;
  }
  .stat-item {
    align-items: flex-start;
  }
  .ctr-percentage {
    font-size: 2.8rem;
  }
}

/* Reduced Motion Settings override */
@media (prefers-reduced-motion: reduce) {
  .accent-line-red {
    animation: none;
  }
  .results-card {
    transition: none;
  }
  .results-card:hover {
    transform: none;
  }
  .watch-bar-container::after {
    animation: none;
  }
  .watch-segment {
    transition: none;
  }
  .chart-line {
    stroke-dashoffset: 0 !important;
    animation: none !important;
  }
  .chart-fill {
    opacity: 1 !important;
    transition: none !important;
  }
  .glow-dot {
    opacity: 1 !important;
    animation: none !important;
  }
  .ctr-pulse-glow {
    animation: none !important;
  }
}

/* --- V2 Premium Agency Light Theme Styles --- */

/* Mesh Gradient Blobs (Static) */
.bg-blobs-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.bg-blob-1, .bg-blob-2 {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
  mix-blend-mode: multiply;
}

.bg-blob-1 {
  top: -10%;
  left: 5%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, #c084fc 0%, rgba(192, 132, 252, 0) 70%);
}

.bg-blob-2 {
  top: 25%;
  right: -5%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, #f472b6 0%, rgba(244, 114, 182, 0) 70%);
}

/* Hero Content alignment & typography */
.hero-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-content::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.08) 0%, rgba(250, 250, 250, 0) 70%);
  z-index: -1;
  pointer-events: none;
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: 4.8rem !important; /* Extra Bold 72-96px desktop */
  font-weight: 800;
  line-height: 1.1;
  color: #1a1a1a;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
  max-width: 900px;
  position: relative;
}

@media (max-width: 1024px) {
  .hero-content h1 {
    font-size: 3.5rem !important;
  }
}
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.8rem !important;
  }
}

/* Word Rotator styling */
.rotator-word {
  position: relative;
  display: inline-block;
  height: 1.15em;
  vertical-align: bottom;
  overflow: hidden;
  width: 100%; /* Take full width of parent h1 for perfect centering balance */
  text-align: center;
  margin-top: 10px; /* Small gap under Designs That */
}

.rotator-word .word {
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto; /* Perfectly center absolute element */
  width: fit-content;
  top: 100%;
  opacity: 0;
  color: var(--accent-color);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
  display: inline-block;
  white-space: nowrap;
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 600;
  text-transform: none;
}

.rotator-word .word.active {
  top: 0;
  opacity: 1;
  transform: translateY(0);
}

.rotator-word .word.exit {
  top: -100%;
  opacity: 0;
  transform: translateY(-20px);
}

/* Description block limit */
.hero-desc {
  max-width: 650px;
  margin: 0 auto 36px auto;
  color: var(--text-secondary);
  font-size: 1.15rem;
  line-height: 1.6;
}

/* CTA Pill gradients & white outline */
.hero-actions .btn-primary {
  background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent-color) 100%) !important;
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.2);
  transition: var(--transition-smooth);
}

.hero-actions .btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(124, 58, 237, 0.35);
}

.hero-actions .btn-secondary {
  background: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.12) !important;
  border-radius: 50px;
  color: #1a1a1a !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
  transition: var(--transition-smooth);
}

.hero-actions .btn-secondary:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 0, 0, 0.24) !important;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

/* Trust Bar minimal styling */
.hero-trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-top: 48px;
  padding: 16px 32px;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 50px;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.trust-rating {
  color: #fbbf24; /* Amber star */
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}

.trust-metrics {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.trust-divider {
  width: 1px;
  height: 14px;
  background: rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .hero-trust-bar {
    flex-direction: column;
    gap: 12px;
    border-radius: 20px;
    padding: 16px;
    width: 100%;
  }
  .trust-metrics {
    flex-direction: column;
    gap: 8px;
  }
  .trust-divider {
    display: none;
  }
}

/* Animated Mouse Scroll Indicator */
.scroll-explore {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 56px auto 0 auto; /* Center it horizontally */
  width: fit-content;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.scroll-explore:hover {
  opacity: 1;
}

.scroll-mouse {
  width: 22px;
  height: 36px;
  border: 2px solid var(--text-muted);
  border-radius: 12px;
  position: relative;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background: var(--text-muted);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: mouse-scroll-wheel 1.6s ease-in-out infinite;
}

@keyframes mouse-scroll-wheel {
  0% { top: 6px; opacity: 1; }
  50% { top: 16px; opacity: 0; }
  100% { top: 6px; opacity: 1; }
}

/* Floating Mockup Card Stack Visual */
.hero-visual-stack {
  position: relative;
  width: 100%;
  height: 520px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-stack-card {
  position: absolute;
  border-radius: 16px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  cursor: pointer;
}

.hero-stack-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.hero-stack-card .card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(26, 26, 26, 0.85);
  color: #ffffff;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 50px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 10;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.hero-stack-card:hover {
  transform: scale(1.04) !important;
  z-index: 100 !important;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.15);
}

/* Arrangement & organic drift keyframes */
.card-thumbnail {
  width: 320px;
  aspect-ratio: 16/9;
  transform: translate(-30px, -40px) rotate(-5deg);
  z-index: 4;
  animation: float-c-1 7s ease-in-out infinite alternate;
}

.card-instagram {
  width: 220px;
  aspect-ratio: 1/1;
  transform: translate(110px, -80px) rotate(6deg);
  z-index: 3;
  animation: float-c-2 8s ease-in-out infinite alternate;
}

.card-podcast {
  width: 210px;
  aspect-ratio: 1/1;
  transform: translate(-120px, 80px) rotate(-8deg);
  z-index: 2;
  animation: float-c-3 9s ease-in-out infinite alternate;
}

.card-branding {
  width: 310px;
  aspect-ratio: 16/9;
  transform: translate(60px, 90px) rotate(4deg);
  z-index: 1;
  animation: float-c-4 10s ease-in-out infinite alternate;
}

@keyframes float-c-1 {
  0% { transform: translate(-30px, -40px) rotate(-5deg); }
  100% { transform: translate(-30px, -52px) rotate(-3deg); }
}

@keyframes float-c-2 {
  0% { transform: translate(110px, -80px) rotate(6deg); }
  100% { transform: translate(115px, -92px) rotate(8deg); }
}

@keyframes float-c-3 {
  0% { transform: translate(-120px, 80px) rotate(-8deg); }
  100% { transform: translate(-125px, 68px) rotate(-10deg); }
}

@keyframes float-c-4 {
  0% { transform: translate(60px, 90px) rotate(4deg); }
  100% { transform: translate(52px, 102px) rotate(2deg); }
}

@media (max-width: 768px) {
  .hero-visual-stack {
    height: 400px;
  }
  .card-thumbnail { width: 220px; transform: translate(-20px, -30px) rotate(-5deg); }
  .card-instagram { width: 150px; transform: translate(80px, -50px) rotate(6deg); }
  .card-podcast { width: 140px; transform: translate(-80px, 50px) rotate(-8deg); }
  .card-branding { width: 210px; transform: translate(40px, 60px) rotate(4deg); }
  
  @keyframes float-c-1 {
    0% { transform: translate(-20px, -30px) rotate(-5deg); }
    100% { transform: translate(-20px, -38px) rotate(-3deg); }
  }
  @keyframes float-c-2 {
    0% { transform: translate(80px, -50px) rotate(6deg); }
    100% { transform: translate(82px, -58px) rotate(8deg); }
  }
  @keyframes float-c-3 {
    0% { transform: translate(-80px, 50px) rotate(-8deg); }
    100% { transform: translate(-82px, 42px) rotate(-10deg); }
  }
  @keyframes float-c-4 {
    0% { transform: translate(40px, 60px) rotate(4deg); }
    100% { transform: translate(35px, 68px) rotate(2deg); }
  }
}

/* Custom styling for role title tagline in about section */
.about-role-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--accent-color);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}

/* Social Media Creatives 3x2 Grid Section */
.social-creatives-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  width: 100%;
}

.social-creative-card {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  overflow: hidden;
  cursor: pointer;
  transform: translateY(0);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.social-creative-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* Cover and inside media wrappers */
.card-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.cover-img, .inside-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cover-img {
  z-index: 2;
  transform: scale(1);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.inside-img {
  z-index: 3;
  opacity: 0;
  transform: scale(1.05) translateY(10px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Gradient Overlay at default state */
.card-gradient-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 45%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.35) 45%, rgba(0, 0, 0, 0) 100%);
  z-index: 4;
  transition: opacity 0.5s ease;
}

/* Soft dark overlay on hover */
.card-hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.35);
  z-index: 5;
  opacity: 0;
  transition: opacity 0.5s ease;
}

/* Card details container */
.card-info-container {
  position: absolute;
  bottom: 40px;
  left: 30px;
  right: 30px;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.card-project-title {
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0;
  line-height: 1.3;
  transform: translateY(0);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.card-action-btn {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1), transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  padding: 12px 26px;
  background: #000000;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  letter-spacing: 0.02em;
  align-self: flex-start;
}

.card-action-btn:hover {
  transform: translateY(-2px);
  background: #111111;
}

/* Card Hover Animations (Desktop) */
@media (min-width: 769px) {
  .social-creative-card:hover .cover-img {
    transform: scale(1.04);
  }

  .social-creative-card:hover .inside-img {
    opacity: 1;
    transform: scale(1) translateY(0);
  }

  .social-creative-card:hover .card-hover-overlay {
    opacity: 1;
  }

  .social-creative-card:hover .card-project-title {
    transform: translateY(-6px);
  }

  .social-creative-card:hover .card-action-btn {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Card Active (Tap) Animations (Mobile / Tablet / Active Toggle) */
.social-creative-card.active .cover-img {
  transform: scale(1.04);
}

.social-creative-card.active .inside-img {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.social-creative-card.active .card-hover-overlay {
  opacity: 1;
}

.social-creative-card.active .card-project-title {
  transform: translateY(-6px);
}

.social-creative-card.active .card-action-btn {
  opacity: 1;
  transform: translateY(0);
}

/* Viewport stagger scroll entrance animations */
.social-creative-card.reveal-stagger {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.social-creative-card.reveal-stagger.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Fullscreen Project Modal styling */
.project-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-y: auto;
  padding: 40px 20px;
  box-sizing: border-box;
}

.project-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-close {
  position: fixed;
  top: 30px;
  right: 40px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2010;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, transform 0.3s;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.modal-content {
  width: 100%;
  max-width: 1280px;
  margin: auto;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.project-modal.open .modal-content {
  opacity: 1;
  transform: scale(1);
}

.modal-image-wrapper {
  width: 100%;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
  background: #111111;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-image-wrapper img {
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
  display: block;
}

.modal-meta {
  width: 100%;
  max-width: 800px;
  text-align: center;
  color: #ffffff;
  padding: 0 20px;
}

.modal-meta h3 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.modal-meta p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0;
}

/* Responsive Grid Adapters */
@media (max-width: 1024px) {
  .social-creatives-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .social-creatives-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .social-creative-card {
    aspect-ratio: 4 / 5;
    border-radius: 24px;
  }

  .card-info-container {
    bottom: 30px;
    left: 20px;
    right: 20px;
  }

  .modal-close {
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    font-size: 1.5rem;
  }

  .modal-meta h3 {
    font-size: 1.7rem;
  }

  .modal-meta p {
    font-size: 0.95rem;
  }
}
