/* style.css */
:root {
  --bg-dark: #0a0a0a;
  --nav-bg: rgba(20, 20, 20, 0.8);
  --nav-border: #2a2a2a;
  --text-light: #ffffff;
  --text-muted: #a0a0a0;
  --accent-purple: #367eeb; /* Matches the "Book a call" button */
  --accent-purple-hover: #022b5d;
  --transition: 0.3s ease;
  --text-gradient : linear-gradient(to right, white, grey);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* --- Global Reset & Overflow Lock --- */
html, body {
    max-width: 100vw;
    overflow-x: hidden; /* This completely kills horizontal scrolling */
    margin: 0;
    padding: 0;
}

/* Ensure padding doesn't add to the width of elements */
*, *::before, *::after {
    box-sizing: border-box;
}

body.dark-theme {
  font-family: "Inter", sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-light);
  overflow-x: hidden;
  min-height: 200vh; /* Just to test scrolling */
}

/* Header & Pill Layout */
.header {
  position: fixed;
  top: 20px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 100;
  padding: 0 20px;
}

.nav-pill {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--nav-border);
  border-radius: 50px;
  padding: 0.5rem 0.5rem 0.5rem 1.5rem;
  width: 100%;
  max-width: 900px; /* Adjust based on preference */
}

/* Logo */
.logo {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  font-style: italic;
  color: var(--text-light);
  text-decoration: none;
  letter-spacing: 0.5px;
  margin-right: 2rem;
}

/* Desktop Navigation */
.desktop-nav .nav-list {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link:hover {
  color: var(--text-muted);
}

/* Buttons */
.nav-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-left: 2rem;
}

.btn-outline {
  text-decoration: none;
  color: var(--text-light);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.6rem 1.2rem;
  border: 1px solid var(--nav-border);
  border-radius: 50px;
  transition: background var(--transition);
}

.btn-outline:hover {
  background: var(--nav-border);
}

.btn-primary {
  text-decoration: none;
  color: var(--text-light);
  background-color: var(--accent-purple);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  transition: background var(--transition);
}

.btn-primary:hover {
  background-color: var(--accent-purple-hover);
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 101;
  flex-direction: column;
  gap: 5px;
  padding-right: 1rem;
}

.mobile-toggle .line {
  width: 24px;
  height: 2px;
  background-color: var(--text-light);
  transition: var(--transition);
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--bg-dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 99;
  visibility: hidden;
  opacity: 0;
}

.mobile-menu-inner {
  text-align: center;
}

.mobile-nav-list {
  list-style: none;
  margin-bottom: 2rem;
}

.mobile-nav-link {
  display: inline-block;
  font-size: 1.5rem;
  color: var(--text-light);
  text-decoration: none;
  margin: 0.75rem 0;
  font-weight: 400;
  transform: translateY(20px);
  opacity: 0;
  letter-spacing: -1px;
}

.mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.mobile-actions .btn-outline,
.mobile-actions .btn-primary {
  font-size: 1rem;
  padding: 10px;
  width: 150px;
}

/* Responsive Breakpoints */
@media (max-width: 900px) {
  .desktop-nav,
  .nav-actions {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .nav-pill {
    padding: 0.75rem 1rem 0.75rem 1.5rem;
  }
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  /* Extra top padding to prevent the fixed navbar from covering content */
  padding: 150px 20px 80px;
  background-color: var(--bg-dark);
}

.hero-container {
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

/* Availability Badge */
.availability-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border: 1px solid var(--nav-border);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--text-light);
  background: rgba(255, 255, 255, 0.02);
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background-color: #10b981; /* Emerald Green */
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* Typography */
.hero-title {
  /* Fluid typography: scales dynamically between 2.5rem and 5.5rem */
  font-size: clamp(2.2rem, 5vw, 5.5rem);
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.font-serif {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-weight: 400;
  color: #cccccc; /* Gives the text that slightly darker grey look from the image */
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 650px;
  line-height: 1.5;
}

/* Actions & Buttons */
.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.hero-btn {
  font-size: 1rem;
  padding: 0.8rem 2rem;
}

.btn-secondary {
  text-decoration: none;
  color: var(--text-light);
  background-color: transparent;
  font-weight: 500;
  border: 1px solid var(--nav-border);
  border-radius: 50px;
  transition:
    background var(--transition),
    border-color var(--transition);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Responsive adjustments for mobile */
@media (max-width: 600px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
  }

  .hero-actions a {
    width: 100%;
    text-align: center;
  }
}

.hero-video video {
  cursor: auto;
  width: 100%;
  height: 100%;
  border-radius: 108px;
  display: block;
  object-fit: cover;
  background-color: rgba(0, 0, 0, 0);
  object-position: 50% 50%;
  padding: 0vw 20vw;
}

@media (max-width: 600px) {
  .hero-video video {
    border-radius: 25px;
    width: 100%;
    height: 100%;
    padding: 0vw 5vw;
  }
  .text-overlay {
    top: 10%;
    left: 50%;
    transform: translate(-50%, -50%);

    color: white;
  }
}

.text-overlay {
  position: absolute;
  top: 137%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.45;
  color: white;
  font-size: 40px;
  font-weight: 200;
  text-align: center;
}

/* --- Section 2: Trusted Marquee --- */
.trusted-marquee {
    padding: 50px 0;
    background-color: var(--bg-dark); /* Using your existing dark theme variable */
    overflow: hidden;
    width: 100%;
}

.marquee-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4.5rem;
    width: 100%;
}

.trusted-subtitle {
    color: linear-gradient(to right, #ffffff, #d9d9d9, #5f5e5e);
    font-size: 0.95rem;
    font-weight: 400;
    text-align: center;
}

/* The wrapper creates the faded edges */
.marquee-wrapper {
    width: 100%;
    max-width: 1200px;
    overflow: hidden;
    /* This creates the transparent fade on the left and right */
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.marquee-track {
    display: flex;
    width: max-content;
    /* CSS animation handles the scrolling smoothly */
    animation: scroll-marquee 200s linear infinite;
}

/* Pauses animation if the user hovers over it */
.marquee-wrapper:hover .marquee-track {
    animation-play-state: paused;
}

.marquee-group {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 5rem;
    padding-right: 5rem; /* Essential for a seamless loop */
}

/* Placeholder styles (Replace with actual <img> tags later) */
.logo-placeholder {
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 1.6rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color var(--transition);
    cursor: default;
    white-space: nowrap;
}

.logo-placeholder:hover {
    color: var(--text-light);
}

/* The infinite scroll keyframes */
@keyframes scroll-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}

/* Responsive constraints */
@media (max-width: 768px) {
    .marquee-group {
        gap: 3rem;
        padding-right: 3rem;
    }
    .logo-placeholder {
        font-size: 1.3rem;
    }
}

/* --- Section 3: Testimonial --- */
.testimonial-section {
    padding: 80px 20px;
    background-color: var(--bg-dark);
}

.testimonial-card {
    /* Define the exact card background color so the image fade matches it */
    --card-bg: #0d0d0d; 
    
    background-color: var(--card-bg);
    border: 1px solid var(--nav-border);
    border-radius: 24px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr; /* Text side gets slightly more room */
    max-width: 1000px;
    width: 100%;
    height: 66vh;
    margin: 0 auto;
    overflow: hidden; /* Keeps the image constrained within the rounded borders */
}

/* Left Side: Text */
.testimonial-content {
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
    z-index: 2; /* Keeps text above the gradient fade */
}

.testimonial-quote {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--text-muted);
    font-weight: 400;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-top: 0.5rem;
}

.testimonial-author strong {
    color: var(--text-light);
    font-weight: 600;
    font-size: 1rem;
}

.testimonial-author span {
    color: #777777;
    font-size: 0.85rem;
}

/* Right Side: Image & Overlay */
.testimonial-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 350px;
}

.testimonial-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    /* Gives the image that dark, moody agency look */
    filter: brightness(0.8) contrast(1.1); 
}

/* The Magic Fade Effect */
.image-fade-overlay {
    position: absolute;
    top: 0;
    left: -1px; /* Prevents 1px artifact lines */
    width: 100%;
    height: 100%;
    /* Fades from solid card background color on the left, to transparent on the right */
    background: linear-gradient(to right, var(--card-bg) 0%, rgba(13, 13, 13, 0) 60%);
}

/* Responsive adjustments for Tablets & Mobile */
@media (max-width: 850px) {
    .testimonial-card {
        grid-template-columns: 1fr; /* Stacks text on top of image */
        height: 120vh;
    }
    
    .testimonial-content {
        padding: 2.5rem;
    }

    .image-fade-overlay {
        /* On mobile, fade from top to bottom instead of left to right */
        background: linear-gradient(to bottom, var(--card-bg) 0%, rgba(13, 13, 13, 0) 50%);
    }
}

/* --- Section 4: Process --- */
.process-section {
    padding: 80px 20px;
    background-color: var(--bg-dark);
}

/* The large rounded card container */
.process-card {
  border: 1px solid transparent;
  border-radius: 50px;

  background:
    linear-gradient(var(--card-bg), var(--card-bg)) padding-box,
    linear-gradient(to bottom, #ffffff, #0a0a0a) border-box;

  padding: 5rem 2rem;
  max-width: 1000px;
  margin: 0 auto;

  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}


/* Small Pill Badge */
.section-badge {
    font-size: 0.8rem;
    color: var(--text-muted);
    border: 1px solid var(--text-muted);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    margin-bottom: 2rem;
    text-transform: capitalize;
}

/* Typography */
.process-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.process-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 4rem;
}

/* 3-Column Grid */
.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    width: 100%;
    list-style: none; /* Removes the default numbers from the <ol> */
    padding: 0;
    margin-bottom: 4rem;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.process-icon {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.process-step h3 {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 0.8rem;
}

.process-step p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 250px;
}

/* Specific button styling to match the screenshot */
.process-btn {
    padding: 1rem 2.5rem;
    font-size: 1rem;
}

/* Responsive adjustments */
@media (max-width: 800px) {
    .process-grid {
        grid-template-columns: 1fr; /* Stacks everything on top of each other */
        gap: 4rem;
    }
    
    .process-card {
        padding: 4rem 1.5rem;
        border-radius: 30px;
    }
}

/* --- Section 5: 3D Image Marquee --- */
.portfolio-section {
    position: relative;
    background-color: var(--bg-dark);
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 0;
}

/* The dark vignette fade on the edges */
.portfolio-overlay {
    position: absolute;
    inset: 0;
    /* Fades from transparent in the center to the dark background color on the outside */
    background: radial-gradient(circle, rgba(10,10,10,0) 20%, var(--bg-dark) 90%);
    z-index: 10;
    pointer-events: none; /* Crucial: allows hover effects on images behind the overlay */
}

/* The Magic Transformation */
.portfolio-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100vw;
    /* Tilts the grid and scales it up so you don't see the corners of the rotated box */
    transform: rotate(-10deg) scale(1.3);
}

.portfolio-track {
    display: flex;
    width: max-content;
    gap: 2rem;
}

.portfolio-group {
    display: flex;
    gap: 2rem;
    padding-right: 2rem;
}

/* Animations */
.scroll-left {
    animation: scroll-left-anim 35s linear infinite;
}

.scroll-right {
    animation: scroll-right-anim 35s linear infinite;
}

@keyframes scroll-left-anim {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); } /* Shifts exactly one group width to seamlessly loop */
}

@keyframes scroll-right-anim {
    from { transform: translateX(-50%); }
    to { transform: translateX(0); }
}

/* Individual Image Cards */
.portfolio-img {
    width: 360px;
    height: 240px;
    border-radius: 16px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.05);
    background-color: #1a1a1a;
    transition: transform var(--transition), filter var(--transition);
    filter: brightness(0.7); /* Slightly dimmed by default */
    cursor: pointer;
}

/* Responsive constraints */
@media (max-width: 768px) {
    .portfolio-wrapper {
        transform: rotate(-10deg) scale(1.5); /* Scale up slightly more on mobile to cover screen */
    }
    
    .portfolio-img {
        width: 280px;
        height: 180px;
        border-radius: 12px;
    }
}

/* The 4-sided vignette fade */
.portfolio-overlay {
    position: absolute;
    inset: 0;
    
    /* Layers two gradients to create a perfect faded frame */
    background: 
        /* Top and Bottom Fades */
        linear-gradient(to bottom, var(--bg-dark) 0%, transparent 20%, transparent 80%, var(--bg-dark) 100%),
        /* Left and Right Fades */
        linear-gradient(to right, var(--bg-dark) 0%, transparent 20%, transparent 80%, var(--bg-dark) 100%);
        
    z-index: 10;
    pointer-events: none; /* Crucial: allows hover effects on images behind the overlay */
}

/* --- Footer Section --- */
.site-footer {
    position: relative;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    /* Extra top padding for visual balance */
    padding: 120px 20px 30px; 
}

/* Background Video Setup */
.footer-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures video covers the whole area without stretching */
    z-index: 0;
}

/* Gradient Overlay to ensure text readability over the video */
.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom, 
        var(--bg-dark) 0%, 
        rgba(10, 10, 10, 0.4) 30%, 
        rgba(10, 10, 10, 0.4) 70%, 
        var(--bg-dark) 100%
    );
    z-index: 1;
}

/* Main Content Container */
.footer-cta-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
    margin: auto 0; /* Vertically centers the CTA block */
}

.footer-title {
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.footer-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: #cccccc;
    margin-bottom: 1rem;
}

/* Dark version of the secondary button for the footer */
.btn-dark-outline {
    text-decoration: none;
    color: var(--text-light);
    background-color: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(10px);
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    transition: background var(--transition), border-color var(--transition);
}

.btn-dark-outline:hover {
    background-color: rgba(40, 40, 40, 0.8);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Bottom Bar Styling */
.footer-bottom {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 4rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--text-light);
}

.footer-creator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.creator-text {
    color: var(--text-muted);
}

.creator-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

.creator-name {
    color: var(--text-light);
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        gap: 2rem;
        padding-top: 3rem;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* --- Section 6: Solutions Marquee --- */
.solutions-section {
    padding: 100px 0;
    background-color: var(--bg-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

.solutions-text-block {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px 20px;
}

.solutions-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.solutions-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--text-muted);
    line-height: 1.6;
}

/* Marquee Layout & Fading Edges */
.solutions-marquee-wrapper {
    width: 100%;
    max-width: 1400px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    /* This creates the transparent fade on the left and right */
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.solutions-track {
    display: flex;
    width: max-content;
    gap: 1.5rem;
}

.solutions-group {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding-right: 1.5rem;
}

/* Pill Styling */
.solution-pill {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 1rem 2rem;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.08); /* Very subtle border */
    border-radius: 50px;
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 500;
    white-space: nowrap;
    transition: background var(--transition), border-color var(--transition);
}

/* Subtle hover effect for the pills */
.solution-pill:hover {
    background-color: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.15);
}

.solution-pill svg {
    color: var(--text-muted);
    transition: color var(--transition);
}

.solution-pill:hover svg {
    color: var(--text-light);
}

/* Animations - Notice there is NO hover pause logic here */
.solutions-track.scroll-left {
    animation: scroll-left-anim 30s linear infinite;
}

.solutions-track.scroll-right {
    animation: scroll-right-anim 30s linear infinite;
}

/* Reusing the keyframes from previous sections if needed, or explicitly defining them */
@keyframes scroll-left-anim {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); } 
}

@keyframes scroll-right-anim {
    from { transform: translateX(-50%); }
    to { transform: translateX(0); }
}

/* Responsive constraints */
@media (max-width: 768px) {
    .solution-pill {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}


/* --- About --- */
/* --- About --- */
/* --- About --- */
/* --- About --- */
/* --- About --- */

.about-section {
    padding: 80px 20px;
    background-color: var(--bg-dark);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    max-width: 1100px; /* Slightly narrower than full width for better readability */
    margin: 0 auto;
}

/* Image Side */
.about-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    width: 100%;
    height: 100%;
    min-height: 500px;
}

.about-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85) contrast(1.1); /* Gives the image a moody, premium look */
    transition: transform 0.5s ease;
}

.about-image-wrapper:hover .about-image {
    transform: scale(1.03); /* Subtle zoom on hover */
}

/* Text Content Side */
.about-content {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.about-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

/* Individual Content Blocks */
.about-item {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.about-item h3 {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-light);
}

.about-item p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-muted);
}

/* Responsive constraints */
@media (max-width: 900px) {
    .about-container {
        grid-template-columns: 1fr; /* Stacks image on top of text */
        gap: 3.5rem;
    }
    
    .about-image-wrapper {
        min-height: 400px;
    }
}

/* Ensure your main Hero section has position: relative and overflow: hidden 
   so the glows stay inside the hero area and don't cause scrolling issues */
.hero {
    position: relative;
    overflow: hidden;
    /* Your existing hero styles... */
}

/* --- The Glow Background Setup --- */
.hero-glow-background {
    position: absolute;
    inset: 0; /* Covers the entire hero section */
    width: 100%;
    height: 100%;
    z-index: 0; /* Keeps it behind your text/content (make sure content has z-index: 1 or higher) */
    pointer-events: none; /* Crucial: stops the glows from blocking mouse clicks on your buttons */
}

/* Base style for the flares */
.glow-flare {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px); /* This makes it a soft gradient instead of a solid circle */
    opacity: 0.7;
    /* Uses pure CSS animation for smooth, zero-javascript movement */
    animation: floatGlow 20s infinite alternate ease-in-out;
}

/* Top Right Purple Flare */
.flare-primary {
    width: 60vw;
    height: 60vw;
    max-width: 800px;
    max-height: 800px;
    background-color: #0a74b1; /* Deep violet */
    top: -20%;
    right: -10%;
}

/* Bottom Left Blue Flare */
.flare-secondary {
    width: 50vw;
    height: 50vw;
    max-width: 700px;
    max-height: 700px;
    background-color: #10214b; /* Dark indigo/blue */
    bottom: -10%;
    left: -15%;
    animation-delay: -5s; /* Starts the animation at a different point so they don't move identically */
}

/* --- The Floating Animation --- */
@keyframes floatGlow {
    0% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(-5%, 8%) scale(1.1);
    }
    66% {
        transform: translate(8%, -5%) scale(0.9);
    }
    100% {
        transform: translate(-10%, -10%) scale(1.05);
    }
}

/* Responsive adjustment for mobile */
@media (max-width: 768px) {
    .glow-flare {
        filter: blur(80px); /* Reduce blur radius on smaller screens for better performance */
    }
    .flare-primary {
        width: 100vw;
        height: 100vw;
    }
    .flare-secondary {
        width: 100vw;
        height: 100vw;
    }
}

/* --- Seamless Bottom Fade for Hero Glow --- */
.glow-fade-bottom {
    position: absolute;
    bottom: -1px; /* -1px prevents any accidental hairline gaps between sections */
    left: 0;
    width: 100%;
    height: 35%; /* Controls how far up the fade reaches */
    /* Fades from transparent to your exact dark background color */
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0) 0%, #0a0a0a 100%);
    z-index: 1; /* Keeps it above the flares but below your text */
    pointer-events: none;
}

/* --- Section 8: Tutorials --- */
.tutorials-section {
    padding: 50px 20px;
    background-color: var(--bg-dark);
}

.tutorials-container {
    max-width: 1100px;
    margin: 0 auto;
}

/* The Card Container */
.tutorials-card {
    background-color: #0d0d0d; /* Same premium dark grey used in previous cards */
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 32px;
    display: grid;
    grid-template-columns: 1fr 1fr; /* 50/50 Split */
    overflow: hidden; /* Crucial: This clips the image perfectly to the card's rounded corners */
    align-items: stretch;
}

/* Left Side Content */
.tutorials-content {
    padding: 5rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
}

.tutorials-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text-light);
}

.tutorials-subtitle {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 1rem;
    max-width: 450px;
}

.tutorials-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Make sure the buttons are consistent sizing */
.tutorials-actions a {
    padding: 0.8rem 1.8rem;
    font-size: 1rem;
}

/* Right Side Image */
.tutorials-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 350px;
    background-color: #111;
    border-left: 1px solid rgba(255, 255, 255, 0.05); /* Subtle divider between text and image */
}

.tutorials-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image fills the space without squishing */
    object-position: left center; /* Focuses on the UI panel in the image */
}

/* Responsive adjustments */
@media (max-width: 850px) {
    .tutorials-card {
        grid-template-columns: 1fr; /* Stacks vertically */
    }
    
    .tutorials-content {
        padding: 3rem 2rem;
    }
    
    .tutorials-image-wrapper {
        min-height: 300px;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }
}

/* --- Section 9: FAQ --- */
.faq-section {
    padding: 100px 20px;
    background-color: var(--bg-dark);
}

.faq-container {
    max-width: 800px; /* Keeps line lengths readable */
    margin: 0 auto;
}

/* Accessibility class for screen readers */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem; /* Spacing between cards */
}

/* Individual Accordion Card */
.faq-item {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background-color: #0d0d0d;
    overflow: hidden; /* Important for the height animation */
    transition: background-color var(--transition);
}

.faq-item:hover {
    background-color: #121212;
}

/* The Clickable Button Header */
.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    text-align: left;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 500;
}

/* The Plus Icon */
.faq-icon {
    color: var(--text-muted);
    transition: transform 0.4s cubic-bezier(0.87, 0, 0.13, 1);
}

/* Rotates the '+' to an 'x' when opened */
.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--text-light);
}

/* The Grid Animation Magic Wrapper */
.faq-answer-wrapper {
    display: grid;
    grid-template-rows: 0fr; /* Starts collapsed */
    transition: grid-template-rows 0.4s cubic-bezier(0.87, 0, 0.13, 1);
}

.faq-item.active .faq-answer-wrapper {
    grid-template-rows: 1fr; /* Expands smoothly */
}

/* The Actual Text Inside */
.faq-answer {
    overflow: hidden; /* Hides text when collapsed */
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem 1.5rem; /* Padding added to the P tag so it doesn't mess up the height calc */
    margin: 0;
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 1rem;
}

/* Responsive adjustment */
@media (max-width: 600px) {
    .faq-question {
        padding: 1.25rem;
    }
    .faq-answer p {
        padding: 0 1.25rem 1.25rem 1.25rem;
    }
}

/* --- Pricing Hero Section --- */
.pricing-hero-section {
    /* Large top/bottom padding to give it that "hero" breathing room */
    padding: 120px 20px 60px; 
    background-color: var(--bg-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.pricing-hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Ensuring the badge has space below it */
.pricing-hero-container .section-badge {
    margin-bottom: 2rem;
}

.pricing-title {
    /* Scales dynamically based on screen width */
    font-size: clamp(2.5rem, 6vw, 4.5rem); 
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.pricing-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--text-muted);
    max-width: 600px;
    line-height: 1.6;
}

/* --- Pricing Cards Section --- */
.pricing-cards-section {
    padding: 0 20px 100px;
    background-color: var(--bg-dark);
}

/* 3-Column Responsive Grid */
.pricing-grid {
    display: grid;
    /* This automatically scales from 3 columns down to 1 based on screen width! */
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* The Card Container */
.pricing-card {
    position: relative;
    background-color: #080808;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    overflow: hidden; /* Crucial to keep the glow inside the card borders */
    z-index: 1;
}

/* The Cinematic Right-Edge Glow */
.card-glow {
    position: absolute;
    right: -20%;
    top: 20%;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle at right center, rgba(109, 40, 217, 0.4) 0%, transparent 70%);
    filter: blur(40px);
    z-index: -1; /* Puts it behind the text */
    pointer-events: none;
}

/* Header & Typography */
.card-header {
    margin-bottom: 2rem;
}

.card-badge {
    display: inline-flex;
    margin-bottom: 1.5rem;
    background-color: rgba(255,255,255,0.05);
}

.pricing-amount {
    font-size: 3rem;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.price-period {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.card-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Buttons Container */
.card-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.w-100 {
    width: 100%;
    text-align: center;
    padding: 0.8rem 1rem;
}

/* Interactive Add-on Toggle */
.addon-toggle-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    padding: 0.5rem 1rem 0.5rem 0.5rem;
    margin-bottom: 2rem;
    cursor: pointer;
    user-select: none;
}

/* Hide default checkbox */
.addon-checkbox {
    display: none; 
}

/* Custom Slider Pill */
.toggle-slider {
    position: relative;
    width: 44px;
    height: 24px;
    background-color: #333;
    border-radius: 30px;
    transition: background-color 0.3s;
    flex-shrink: 0;
}

/* The circle inside the toggle */
.toggle-slider::before {
    content: "";
    position: absolute;
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: transform 0.3s cubic-bezier(0.87, 0, 0.13, 1);
}

/* When toggle is checked */
.addon-checkbox:checked + .toggle-slider {
    background-color: #6d28d9; /* Purple */
}

.addon-checkbox:checked + .toggle-slider::before {
    transform: translateX(20px);
}

.addon-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
    margin-left: 0.8rem;
    flex-grow: 1;
}

.addon-price-tag {
    font-size: 0.8rem;
    color: var(--text-muted);
    background: rgba(255,255,255,0.1);
    padding: 2px 8px;
    border-radius: 12px;
}

/* Feature List */
.card-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.card-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-light);
}

.card-features svg {
    color: var(--text-light); /* The white 4-point star */
    flex-shrink: 0;
}

/* --- Section 11: Book a Call --- */
.booking-section {
    position: relative;
    padding: 120px 20px;
    background-color: var(--bg-dark);
    overflow: hidden; /* Keeps the glow contained */
    display: flex;
    justify-content: center;
}

/* The purple ambient light at the top of the section */
.booking-glow {
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 80vw;
    height: 60vh;
    background: radial-gradient(circle, rgba(109, 40, 217, 0.15) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.booking-container {
    position: relative;
    z-index: 1;
    max-width: 650px; /* Constrains the form width to keep it readable */
    width: 100%;
}

/* Header Text */
.booking-header {
    text-align: center;
    margin-bottom: 3rem;
}

.booking-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 500;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

.booking-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* A slightly smaller button for the "View Pricing" link */
.btn-small {
    padding: 0.6rem 1.5rem;
    font-size: 0.95rem;
    border-radius: 30px;
}

/* Form Layout */
.booking-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* CSS Grid to split the first and last name */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.form-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
}

/* Input Fields */
.form-input,
.form-textarea {
    width: 100%;
    background-color: #121212;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    color: var(--text-light);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    outline: none; /* Removes default browser focus ring */
}

/* Placeholder Text Color */
.form-input::placeholder,
.form-textarea::placeholder {
    color: #444;
}

/* Highlight state when user clicks on an input */
.form-input:focus,
.form-textarea:focus {
    border-color: #6d28d9; /* The primary purple */
    box-shadow: 0 0 0 3px rgba(109, 40, 217, 0.2); /* A soft purple glow ring */
}

.form-textarea {
    resize: vertical; /* Allows user to drag the height, but not the width */
    min-height: 120px;
}

.form-submit-btn {
    margin-top: 1rem;
    padding: 1.2rem;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
}

/* Responsive Constraints */
@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr; /* Stacks the first/last name vertically on phones */
    }
}