@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800;900&family=Inter:wght@400;500;600&display=swap');

/* 
  Theme Inspiration: "Ohio / Salient" Premium Creative Agency Theme 
  Design System: High-contrast Dark Mode with Distinct Section Tones
*/
:root {
  /* Dynamic Section Backgrounds */
  --bg-hero: #000000;
  --bg-portfolio: #121418;  /* Deep Charcoal */
  --bg-process: #0a0b10;    /* Dark Midnight */
  --bg-footer: #000000;

  /* Typography & Accents */
  --text-main: #ffffff;
  --text-muted: #a0a0ab;
  --accent-cyan: #00e5ff;
  --accent-purple: #9d4edd;
  
  /* Utilities */
  --glass-bg: rgba(18, 20, 24, 0.7);
  --glass-border: rgba(255, 255, 255, 0.05);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-hero);
  color: var(--text-main);
  overflow-x: hidden;
  line-height: 1.6;
}

#portfolio-showcase,
#zero-effort-process,
#global-footer {
  scroll-margin-top: 80px;
}

h1, h2, h3, h4, .logo {
  font-family: 'Outfit', sans-serif;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ----------------------------------------------------
   Navbar & Global Header
---------------------------------------------------- */
#global-header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.5rem 6%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background: transparent;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo {
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: -1px;
  color: #fff;
}
.logo span {
  color: var(--accent-cyan);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links li a {
  font-size: 0.95rem;
  font-weight: 500;
  color: #d1d1d6;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
}

.nav-links li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--accent-cyan);
  transition: width 0.3s ease;
}

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

#floating-cta-button {
  background: transparent;
  color: #fff;
  border: 1px solid var(--glass-border);
  padding: 0.8rem 2rem;
  border-radius: 4px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
}

#floating-cta-button:hover {
  background: #fff;
  color: #000;
}

/* ----------------------------------------------------
   SECTION 1: HERO
---------------------------------------------------- */
#hero-section {
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: var(--bg-hero);
  overflow: hidden;
}

#hero-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  animation: bgZoom 30s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes bgZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.15); }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, var(--bg-hero) 100%);
  z-index: 1;
}

#hero-content {
  z-index: 10;
  max-width: 1100px;
  padding: 0 2rem;
  animation: fadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

#hero-main-copy {
  font-size: 5rem;
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  letter-spacing: -2px;
}

.text-accent {
  background: linear-gradient(to right, var(--accent-cyan), #4facfe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 300;
  word-break: keep-all;
}

#hero-primary-cta {
  background: linear-gradient(135deg, var(--accent-cyan), #0077ff);
  color: #fff;
  border: none;
  padding: 1.2rem 3rem;
  border-radius: 4px; /* WP themes often use sharp or slightly rounded corners */
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#hero-primary-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 229, 255, 0.3);
}

/* Marquee Social Proof */
#hero-social-proof-marquee {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 1.5rem 0;
  background: rgba(0, 0, 0, 0.4);
  border-top: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  display: flex;
  overflow: hidden;
  white-space: nowrap;
  z-index: 10;
}

.marquee-content {
  display: flex;
  gap: 5rem;
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  color: var(--text-muted);
  animation: marquee 25s linear infinite;
}

.marquee-item i {
  color: var(--accent-cyan);
  font-size: 0.9rem;
  margin-right: 0.5rem;
}

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


/* ----------------------------------------------------
   SECTION 2: PORTFOLIO SHOWCASE (Tone: Deep Charcoal)
---------------------------------------------------- */
#portfolio-showcase {
  padding: 8rem 6%;
  background-color: var(--bg-portfolio);
  border-top: 1px solid var(--glass-border);
}

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

.section-subtitle {
  font-family: 'Inter', sans-serif;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  font-weight: 600;
  display: block;
  margin-bottom: 1rem;
}

#portfolio-title {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -1px;
}

#portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: transparent;
  color: var(--text-muted);
  border: none;
  border-bottom: 2px solid transparent;
  padding: 0.5rem 0.2rem;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
  color: #fff;
  border-bottom-color: var(--accent-cyan);
}

#portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 2.5rem;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 16/10;
  border-radius: 8px;
}

.portfolio-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), filter 0.7s ease;
  filter: brightness(0.7);
}

.portfolio-item:hover .portfolio-img {
  transform: scale(1.08);
  filter: brightness(0.4);
}

.portfolio-info {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -40%);
  text-align: center;
  width: 80%;
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-item:hover .portfolio-info {
  transform: translate(-50%, -50%);
  opacity: 1;
}

.portfolio-info h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: #fff;
}

.portfolio-info p {
  color: var(--accent-cyan);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 1px;
}


/* ----------------------------------------------------
   SECTION 3: ZERO EFFORT PROCESS (Tone: Dark Midnight)
---------------------------------------------------- */
#zero-effort-process {
  padding: 10rem 6%;
  background: var(--bg-process);
  position: relative;
}

/* Subtle background accent */
#zero-effort-process::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(157, 78, 221, 0.05) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

#zero-effort-process .section-header {
  margin-bottom: 6rem;
}

#process-title {
  font-size: 3rem;
  font-weight: 800;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.2;
}

.text-accent-alt {
  color: var(--accent-purple);
}

/* ----------------------------------------------------
   Process Infographic Layout
---------------------------------------------------- */
.process-infographic {
  display: flex;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: stretch;
}

.process-role {
  flex: 1;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 3rem 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.process-role:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.5);
}

.client-role {
  border-top: 4px solid var(--accent-cyan);
}

.agency-role {
  border-top: 4px solid var(--accent-purple);
}

.role-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.role-header i {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.client-role .role-header i { color: var(--accent-cyan); }
.agency-role .role-header i { color: var(--accent-purple); }

.role-header h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
}

.role-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

/* Timeline Base */
.role-timeline {
  list-style: none;
  position: relative;
  padding-left: 20px;
}

.role-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 33px;
  width: 2px;
  height: 100%;
  background: var(--glass-border);
  z-index: 0;
}

.role-timeline li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.role-timeline li:last-child {
  margin-bottom: 0;
}

.role-timeline li:hover {
  transform: translateX(5px);
}

.timeline-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111;
  border: 2px solid #555;
  margin-right: 1.5rem;
  font-size: 0.8rem;
  flex-shrink: 0;
  z-index: 2;
  transition: all 0.3s ease;
}

.client-role .timeline-icon {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.2);
}

.agency-role .timeline-icon {
  border-color: var(--accent-purple);
  color: var(--accent-purple);
  box-shadow: 0 0 10px rgba(157, 78, 221, 0.2);
}

.timeline-content h4 {
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
  font-weight: 600;
}

.timeline-content span {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.4;
  display: block;
}

/* Specific Step States */
.waiting-step {
  opacity: 0.5;
}

.highlight-client .timeline-icon {
  background: var(--accent-cyan);
  color: #000;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.5);
}

.highlight-agency .timeline-icon {
  background: var(--accent-purple);
  color: #fff;
  box-shadow: 0 0 20px rgba(157, 78, 221, 0.5);
}

/* VS Badge & Line center divider */
.role-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
}

.role-divider .line {
  width: 2px;
  height: 80px;
  background: var(--glass-border);
}

.vs-badge {
  background: #1a1a1a;
  color: #fff;
  border: 1px solid #444;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-family: 'Outfit', sans-serif;
  font-size: 1.2rem;
  margin: 1rem 0;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

@media (max-width: 900px) {
  .process-infographic {
    flex-direction: column;
  }
  .role-divider {
    display: none;
  }
}


/* ----------------------------------------------------
   MODAL: LEAD GENERATION
---------------------------------------------------- */
#lead-generation-modal {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 550px;
  height: 100vh;
  background: var(--bg-portfolio);
  border-left: 1px solid var(--glass-border);
  z-index: 2000;
  padding: 4rem 3rem;
  box-shadow: -20px 0 60px rgba(0,0,0,0.9);
  transition: right 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

#lead-generation-modal.active {
  right: 0;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

#lead-form-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.form-subtitle {
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  font-size: 1rem;
}

.form-group {
  margin-bottom: 1.8rem;
  position: relative;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #d1d1d6;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-control {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--glass-border);
  color: #fff;
  padding: 0.8rem 0;
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-cyan);
}

textarea.form-control {
  resize: vertical;
  min-height: 80px;
  margin-top: 0.5rem;
}

#submit-lead-form {
  width: 100%;
  background: #fff;
  color: #000;
  border: none;
  padding: 1.3rem;
  border-radius: 4px;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  margin-top: 1.5rem;
  transition: all 0.3s ease;
}

#submit-lead-form:hover {
  background: var(--accent-cyan);
}

#close-modal-button {
  position: absolute;
  top: 2rem;
  right: 2.5rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.8rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

#close-modal-button:hover {
  color: #fff;
}


/* ----------------------------------------------------
   SECTION 4: FOOTER (Tone: Black)
---------------------------------------------------- */
#global-footer {
  text-align: center;
  padding: 5rem 6%;
  background: var(--bg-footer);
  color: var(--text-muted);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-logo {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 1rem;
}

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

.footer-description {
  max-width: 550px;
  margin-bottom: 3rem;
  line-height: 1.8;
  word-break: keep-all;
}

.footer-socials {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.footer-socials a {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.footer-socials a:hover {
  background: var(--accent-cyan);
  border-color: var(--accent-cyan);
  color: #000;
}

.footer-bottom {
  width: 100%;
  border-top: 1px solid var(--glass-border);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}


/* ----------------------------------------------------
   SECTION 5: FAQ (Tone: Deep Charcoal)
---------------------------------------------------- */
#faq-section {
  padding: 8rem 6%;
  background: var(--bg-portfolio);
  border-top: 1px solid var(--glass-border);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.faq-item {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(0, 229, 255, 0.4);
}

.faq-question {
  width: 100%;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-family: 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color 0.3s ease;
}

.faq-question i {
  color: var(--accent-cyan);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.active .faq-question {
  color: var(--accent-cyan);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer p {
  padding: 0 2rem 1.5rem 2rem;
  color: var(--text-muted);
  line-height: 1.7;
}


/* ----------------------------------------------------
   ANIMATIONS & RESPONSIVE
---------------------------------------------------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 992px) {
  #hero-main-copy { font-size: 3.5rem; }
  .nav-links { display: none; }
  #portfolio-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

@media (max-width: 576px) {
  #hero-main-copy { font-size: 2.8rem; }
  #lead-generation-modal { padding: 3rem 1.5rem; width: 100%; }
}
