:root {
  --bg-color: #243148;
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --accent-color: #e5e5e5;
  --btn-glow-primary: rgba(255, 255, 255, 0.15);
  --btn-glow-secondary: rgba(255, 255, 255, 0.05);
  
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Canvas background */
#canvas-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: auto; /* Allow canvas tracking */
}

#canvas-container canvas {
  display: block;
}

/* Hero Section */
.hero {
  position: relative;
  z-index: 1;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none; /* Let canvas capture mouse, unless on elements */
  padding: 2rem;
}

.hero-content {
  text-align: center;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

/* Typography */
.headline {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, #ffffff 0%, rgba(255,255,255,0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  /* Subtle glow */
  text-shadow: 0 0 40px rgba(255,255,255,0.1);
}

.subheadline {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.6;
  font-weight: 400;
}

/* Buttons */
.cta-group {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
  pointer-events: auto; /* Re-enable pointer events for buttons */
  position: relative;
  z-index: 10;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), background-color 0.3s, border-color 0.3s;
  backdrop-filter: blur(10px);
}

.btn-primary {
  background-color: #ffffff;
  color: #243148;
  box-shadow: 0 0 0 0 var(--btn-glow-primary);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--btn-glow-primary);
  background-color: #f2f2f2;
}

.btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 0 0 var(--btn-glow-secondary);
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background-color: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--btn-glow-secondary);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  background: rgba(36, 49, 72, 0.7);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 101;
  position: relative;
}

.hamburger .bar {
  display: block;
  width: 25px;
  height: 2px;
  margin: 5px auto;
  transition: all 0.3s ease-in-out;
  background-color: var(--text-primary);
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.btn-sm {
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
}

/* Sections General */
section:not(.hero) {
  position: relative;
  z-index: 10;
  padding: 8rem 2rem;
  /* Darken the background slightly over the canvas */
  background: linear-gradient(to bottom, rgba(36, 49, 72, 0.4), rgba(36, 49, 72, 1) 20%);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 600;
  margin-bottom: 1rem;
  background: linear-gradient(180deg, #ffffff 0%, rgba(255,255,255,0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.2rem;
}

/* Client Partnerships */
.social-proof {
  padding: 6rem 0 !important;
  background: transparent !important;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.section-label {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
}

.logo-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 3rem 5rem;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
}

.logo-grid span {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.3s ease, transform 0.3s ease;
  user-select: none;
}

.logo-grid span:hover {
  color: rgba(255, 255, 255, 0.8);
  transform: translateY(-2px);
}

/* Bento Grid */
.services {
  background: #243148 !important;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 300px;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.bento-item {
  background-color: rgba(255,255,255,0.03);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 24px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.3s ease, border-color 0.3s;
  position: relative;
  overflow: hidden;
}

.bento-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(36, 49, 72, 0.9) 0%, rgba(36, 49, 72, 0.2) 60%);
  z-index: 1;
}

.bento-item > * {
  position: relative;
  z-index: 2;
}

.bento-item:hover {
  transform: translateY(-5px);
  border-color: rgba(255,255,255,0.2);
}

.bento-item h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.bento-item p {
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Card Dropdown */
#smm-card {
  cursor: pointer;
}

.card-dropdown {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  margin-top: 0;
}

#smm-card.active .card-dropdown {
  max-height: 200px;
  opacity: 1;
  margin-top: 1.5rem;
}

.platform-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.platform-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  font-size: 0.95rem;
}

.platform-list svg {
  color: var(--text-secondary);
}

.reporting-note {
  font-size: 0.85rem !important;
  color: #a1a1aa !important;
  font-style: italic;
}

.box-1 { 
  grid-column: span 2; 
  background-image: url('assets/images/social_media_premium_1773627458295.png');
}
.box-2 { 
  grid-column: span 1; 
  background-image: url('assets/images/content_creation_premium_1773627559167.png');
}
.box-3 { 
  grid-column: span 1; 
  background-image: url('assets/images/media_buying_premium_1773627575302.png');
}
.box-4 { 
  grid-column: span 1; 
  background-image: url('assets/images/website_design_premium_1773627590430.png');
}
.box-5 { 
  grid-column: span 1; 
  background-image: url('assets/images/on_ground_premium_1773627608398.png');
}

/* Process */
.process {
  background: #243148 !important;
}

.process-steps {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 0;
  left: 24px;
  width: 1px;
  height: 100%;
  background: rgba(255,255,255,0.1);
}

.step {
  padding-left: 60px;
  position: relative;
}

.step-number {
  position: absolute;
  left: 0;
  top: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-color);
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--accent-color);
  z-index: 2;
}

.step h4 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.step p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* Team Section */
.team-section {
  padding: 6rem 0 !important;
  background: transparent !important;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.team-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 16px;
  padding: 2.5rem 1.5rem;
  text-align: center;
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.team-card:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.2);
}

.team-card h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.team-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.4;
}

/* CTA Section */
.cta-section {
  text-align: center;
  background: #243148 !important;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.cta-section h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: 1rem;
}

.cta-section p {
  color: var(--text-secondary);
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
}

/* Footer */
.footer {
  background: #243148;
  padding: 4rem 2rem 2rem;
  position: relative;
  z-index: 10;
}

.footer-top {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 2rem;
  margin-bottom: 2rem;
}

.footer-top .logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  color: rgba(255,255,255,0.3);
  font-size: 0.8rem;
}

/* Service Modal */
.service-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

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

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
}

.modal-content {
  position: relative;
  width: 90%;
  max-width: 1000px;
  max-height: 90vh;
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 3rem;
  overflow-y: auto;
  z-index: 1001;
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.service-modal.active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.modal-close:hover {
  background: rgba(255,255,255,0.15);
  transform: rotate(90deg);
}

.modal-header {
  margin-bottom: 2.5rem;
}

.modal-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.service-list-container h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.premium-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.premium-list li {
  display: flex;
  gap: 1.5rem;
  background: rgba(255,255,255,0.02);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.05);
  transition: transform 0.3s ease;
}

.premium-list li:hover {
  transform: translateX(5px);
  background: rgba(255,255,255,0.04);
}

.list-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: rgba(255,255,255,0.2);
}

.list-text h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

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

.modal-images {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.img-wrapper {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
}

.img-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.img-wrapper:hover img {
  transform: scale(1.05);
}

/* Responsiveness */
@media (max-width: 768px) {
  .navbar { padding: 1rem; }
  .hamburger { display: block; }

  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    transform: translateX(100%);
    width: 100%;
    height: 100vh;
    background: rgba(36, 49, 72, 0.95);
    backdrop-filter: blur(15px);
    flex-direction: column;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 2rem;
    z-index: 100;
  }
  
  .nav-menu.active {
    transform: translateX(0);
  }

  .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
  }
  
  .nav-links a {
    font-size: 1.5rem;
  }

  .hamburger.active .bar:nth-child(2) { opacity: 0; }
  .hamburger.active .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.active .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero-content { gap: 1.5rem; }
  .cta-group { flex-direction: column; width: 100%; gap: 1rem; }
  .btn { width: 100%; }
  .bento-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .box-1, .box-2, .box-3, .box-4, .box-5 { grid-column: span 1; padding: 2rem; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { flex-direction: column; gap: 2rem; text-align: center; }
  
  .bento-item::before {
    background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.6) 100%);
  }
  
  .modal-content {
    padding: 1.5rem;
    width: 95%;
  }
  .modal-body {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr; }
}
