/* =============  Hero Section  ============= */


#hero-section{
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

#hero-section .hero-background {
    display: block;
}

/* Lower the primary hero button slightly */
.hero-text-container .default-btn {
    align-self: flex-start;
    transform: translateY(25%);
}

/* Smaller hero typography */
.hero-header {
    font-size: clamp(22px, 3.5vw, 34px);
}

.hero-subheader {
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.45;
}

/* Hero bg is determined by globals.css */

.gradient-mesh-globe-img {
    position: absolute;
    bottom: -20%;
    left: 40%;
    width: 500px;
    height: auto;
    z-index: 2;
    pointer-events: none;
    transform: scale(0.8); /* another ~10% smaller */
    transform-origin: center;
    /* clip-path: polygon(0 0, 100% 0, 100% 85%, 85% 100%, 0 100%); */

     /* Tablet only */
     @media (min-width: 768px) and (max-width: 1199px) {
        width: 800px;
        bottom: -40%;
        left: 40%;
        }

    /* Desktop/XL only */
    @media (min-width: 1200px) {
        width: 1107px;
        bottom: -50%;
        left: 45%;
        }
}

.hero-text-container{
    top: 30%;
    position: relative;
    margin: auto 10%;
    z-index: 10;
    color: var(--black);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    width: 80%;

      /* Tablet/Desktop/XL only */
      @media (min-width: 768px) {
        margin: auto 5%;
        width: 60%;
        gap: 28px;
        }
}

.hero-subheader{
    font-family: 'Inter', sans-serif;

    /* Tablet/Desktop/XL only */
    @media (min-width: 768px) {
        width: 660px;
        }
}

/* Hero Bullets */
.hero-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hero-bullets li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Inter', sans-serif;
    font-size: clamp(15px, 2vw, 18px);
    color: #1a1a2e;
}

.check-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: white;
    flex-shrink: 0;
}

.check-circle::before {
    content: '✓';
    color: black;
    font-size: 11px;
    font-weight: 800;
}
 
 /* =============  Client Logo Marquee  ============= */
 
 #client-logo-marquee-section {
    margin-top: 20px;
    overflow: hidden;
 }
 
 .client-logos-container {
     --marquee-item-width: 150px;
     --marquee-item-height: 40px;
     --marquee-duration: 60s;
     --marquee-items: 10;

     -webkit-mask-image: linear-gradient(
    to right,
    hsl(0 0% 0% / 0),
    hsl(0 0% 0% / 1) 20%,
    hsl(0 0% 0% / 1) 80%,
    hsl(0 0% 0% / 0));

     mask-image: linear-gradient(
    to right,
    hsl(0 0% 0% / 0),
    hsl(0 0% 0% / 1) 20%,
    hsl(0 0% 0% / 1) 80%,
    hsl(0 0% 0% / 0));

  
 }
 
 .client-logo {
     height: 40px;
     width: 100px;
     -o-object-fit: contain;
     object-fit: contain;
     vertical-align: middle;
 }
 
 /* Client logo marquee item indices */
 #client-logos-marquee .client-logo:nth-of-type(1) { --marquee-item-index: 1; }
 #client-logos-marquee .client-logo:nth-of-type(2) { --marquee-item-index: 2; }
 #client-logos-marquee .client-logo:nth-of-type(3) { --marquee-item-index: 3; }
 #client-logos-marquee .client-logo:nth-of-type(4) { --marquee-item-index: 4; }
 #client-logos-marquee .client-logo:nth-of-type(5) { --marquee-item-index: 5; }
 #client-logos-marquee .client-logo:nth-of-type(6) { --marquee-item-index: 6; }
 #client-logos-marquee .client-logo:nth-of-type(7) { --marquee-item-index: 7; }
 #client-logos-marquee .client-logo:nth-of-type(8) { --marquee-item-index: 8; }
 #client-logos-marquee .client-logo:nth-of-type(9) { --marquee-item-index: 9; }
 #client-logos-marquee .client-logo:nth-of-type(10) { --marquee-item-index: 10; }



/* =============  Universal Responsive Margin and Padding  ============= */

.section-3, .section-5, .section-8{
    margin-left: 5%;
    margin-right: 5%;


    /* XL only */
    @media (min-width: 1200px) {
        width: 1200px;
        margin-left: auto;
        margin-right: auto;
        }
}

 /* Tablet/Desktop/XL only */
 @media (min-width: 768px) {
    .section-7{
        margin-left: 5%;
        margin-right: 5%;
    }
}

.section-3, .section-4, .section-5, .section-6, .section-7, .section-8{
    margin-bottom: 80px;

     /* Tablet/Desktop/XL only */
     @media (min-width: 768px) {
        margin-bottom: 120px;
        }
}



/* =============  Intro Section  ============= */

#intro-section{
    margin-top: 120px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
    align-self: stretch;
}

.intro-text{
    font-size: clamp(30px, 6vw, 48px);
    font-family: 'Hedvig Letters Serif', serif;
    font-weight: 400;
    line-height: 1.1;
    margin: 0;
}

/* =============  Case Studies Section ============= */

.case-study-grid-section{

    /* Desktop/XL only */
    @media (min-width: 1200px) {
    display: grid;
    grid-template-columns: auto 1400px auto; /* wider central column for case studies */
    grid-template-areas: ". case-study-container .";
    }
}


.case-study-container {
    grid-area: case-study-container;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, 400px);
    grid-template-areas: 
        "card1"
        "card2"
        "card3"
        "card4"
        "card5"
        "card6";
    gap: 20px;
    background: var(--diamond-gradient);
    padding: 20px;
    border-radius: 15px;
}

/* Tablet only */
@media (min-width: 768px) and (max-width: 1199px) {
    .case-study-container {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(3, 300px);
        gap: 40px;
        padding: 40px;
        grid-template-areas: 
            "card1 card1 card2"
            "card3 card4 card4"
            "card5 card5 card6";
        border: none;
    }
}

/* Desktop/XL only */
@media (min-width: 1200px) {
    .case-study-container {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(4, 350px);
        gap: 20px;
        padding: 40px;
        grid-template-areas: 
            "card1 card2"
            "card1 card3"
            "card4 card6"
            "card5 card6";
    }
}

.case-study-link {
    display: block;
    text-decoration: none;
    height: 100%;
    width: 100%;
}

.case-study-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 100%;
    width: 100%;
    cursor: pointer;
    transition: transform 0.3s ease;
}

/* Video iframe styling for case study cards */
.case-study-card iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    pointer-events: none;
}

/* Assign grid areas to case study links */
.case-study-link:nth-child(1) { grid-area: card1; }
.case-study-link:nth-child(2) { grid-area: card2; }
.case-study-link:nth-child(3) { grid-area: card3; }
.case-study-link:nth-child(4) { grid-area: card4; }
.case-study-link:nth-child(5) { grid-area: card5; }
.case-study-link:nth-child(6) { grid-area: card6; }

.case-study-card:hover {
    transform: translateY(-4px);
}

/* Common styles for all case study elements */
.case-study-cover,
.case-study-tint,
.case-study-tags,
.case-study-bottom-text{
    position: absolute;
    transition: all 0.3s ease;
}

/* Full-size elements */
.case-study-cover,
.case-study-tint {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Text elements */
.case-study-tags,
.case-study-bottom-text {
    z-index: 2;
    opacity: 0;
    transform: translateY(20px);
}

/* Specific element styles */
.case-study-cover {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#case-study-4 .case-study-cover{
    background-position: 0% 50%;

    /* Desktop/XL only */
    @media (min-width: 1200px) {
    background-position: 0% 72%;
    }
} 

.case-study-tint {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%);
    opacity: 0;
}

.case-study-tags {
    margin: 1rem 1rem 0 1rem;
}

.case-study-bottom-text {
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    display: flex;
	flex-direction: column;
    gap: 5px;
}

/* Mobile: Add more bottom padding to prevent text cutoff */
@media (max-width: 767px) {
  .case-study-bottom-text {
    bottom: 1.5rem;
    padding-bottom: 0.5rem;
  }
}

.case-study-title {
    margin: 0;
    bottom: 0px;
    position: relative;
    height: auto;
}

.case-study-description {
    margin: 0;
    top: 0px;
    position: relative;
    height: auto;
    /* line-height: 1.0; */
}

/* Hover states */
.case-study-card:hover .case-study-cover {
    transform: scale(1.05);
}

.case-study-card:hover .case-study-tint,
.case-study-card:hover .case-study-tags,
.case-study-card:hover .case-study-bottom-text,
.case-study-card:hover .case-study-title,
.case-study-card:hover .case-study-description {
    opacity: 1;
    transform: translateY(0);
}

/* Text styling */
.case-study-tags p {
    background: rgba(255, 255, 255, 0.9);
    color: var(--ocean-blue);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    margin: 0;
}

.case-study-title h4 {
    color: white;
    margin: 0;
    font-family: 'Inter', sans-serif;
}

.case-study-description h6 {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* Show tags, bottom text, and tint by default only on devices that do NOT support hover */
@media (hover: none) {
  .case-study-card .case-study-tags,
  .case-study-card .case-study-bottom-text,
  .case-study-card .case-study-tint {
    opacity: 1;
  }
}

/* Qualified brands text */
.qualified-brands {
    position: absolute;
    right: calc(100% + 40px);
    bottom: 60px;
    width: 300px;
    text-align: right;
    font-style: italic;
    color: #000000;
    font-size: 14px;
    font-weight: 300;
}

/* =============  Team Section ============= */

.section-team {
    padding: 40px 5%;
    background: var(--diamond-gradient);

    .case-study-bottom-text {
        bottom: 1rem;
        left: 1rem;
        right: 1rem;
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

    .case-study-title {
        margin: 0;
        bottom: 0px;
        position: relative;
        height: auto;
    }
    align-items: flex-start;
    gap: 12px;
}

.team-description {
    font-size: clamp(18px, 2.4vw, 20px);
    line-height: 1.4;
}

.team-headline {
    margin-bottom: 10px;
    font-size: clamp(24px, 4vw, 36px);
}

.team-subheading {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: clamp(16px, 2.5vw, 20px);
}

.team-image-content {
    display: flex;
    align-items: stretch;
    position: relative;
    height: 320px;
}

.team-image-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

@media (min-width: 768px) {
    .section-team {
        margin-bottom: 60px;
        max-height: 350px;
        position: relative;
    }

    .team-section-container {
        display: grid; /* ensure proper two-column layout */
        grid-template-columns: 1.2fr 1fr; /* give text a bit more room */
        align-items: center; /* center vertically so image sits to the right of text */
        gap: 40px;
    }

    .team-image-content {
        height: 350px;
        margin: 0;              /* remove negative margins causing overlap */
        justify-self: end;      /* push image to the right column edge */
    }
}

/* removed older FAQ/Book Call alignment block to avoid conflicts */

/* =============  Offers Section ============= */

/* Hide on mobile */
@media (max-width: 767px) {
    #offers-section {
        display: none;
    }
}

.section-5{
    display: flex;
    flex-direction: column;
    /* align-items: center; */
    gap: 40px;

    /* Tablet/Desktop/XL only */
    @media (min-width: 768px) {
        gap: 80px;
        }
}

.offers-grid{
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(7, auto);
    grid-template-areas: 
        "offer1"
        "line1"
        "offer2"
        "line2"
        "offer3"
        "line3"
        "offer4";
    gap: 30px;
}

/* Tablet only */
@media (min-width: 768px) and (max-width: 1199px) {
    .offers-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(2, auto);
        gap: 60px 60px;
        grid-template-areas: 
            "offer1 offer2"
            "offer3 offer4";
    }

    #line-1, #line-2, #line-3{
        display: none;
    }
}

/* Desktop/XL only */
@media (min-width: 1200px) {
    .offers-grid {
        grid-template-columns: 1fr 10px 1fr 10px 1fr 10px 1fr;
        grid-template-rows: 1fr;
        grid-template-areas: 
            "offer1 line1 offer2 line2 offer3 line3 offer4";
    }
}

#offer-1{ grid-area: offer1; }
#offer-2{ grid-area: offer2; }
#offer-3{ grid-area: offer3; }
#offer-4{ grid-area: offer4; }
#line-1{ grid-area: line1; }
#line-2{ grid-area: line2; }
#line-3{ grid-area: line3; }

.offer{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.offer-text-container{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

/* =============  Pricing Section ============= */

#pricing-section{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 24px; /* tighten space before promo pill */
}

/* Match the desktop container width of other sections (e.g., FAQ/book-call) */
@media (min-width: 1200px) {
  #pricing-section {
    width: 1200px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Slightly more room on tablet/desktop but still tight */
@media (min-width: 768px) {
  #pricing-section { margin-bottom: 32px; }
}

.pricing-main-content{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    position: relative; /* anchor for value props absolute positioning */

     /* Mobile only */
     @media (max-width: 767px) {
        margin-left: 5%;
        margin-right: 5%;
    }
}

.pricing-header-container{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;

     /* Mobile only */
     @media (max-width: 767px) {
        margin-left: 5%;
        margin-right: 5%;
    }
}

/* New pricing layout */
.pricing-main-content {
    display: flex;
    flex-direction: column;
    gap: 60px;
    margin-top: 60px;
}

@media (min-width: 992px) {
    .pricing-main-content {
        display: grid;
        grid-template-columns: 1fr 2fr; /* match FAQ layout: left narrow, right wide */
        gap: 60px; /* match FAQ gap */
        align-items: start;
    }
}

.pricing-headline-section {
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* keep headline pinned to top */
    gap: 12px;
}

.pricing-cards-section {
    position: relative;
}

.pricing-headline {
    font-size: clamp(22px, 3.5vw, 36px);
    font-family: 'Hedvig Letters Serif', serif;
    font-weight: 400;
    line-height: 1.1;
    color: var(--black);
    margin: 0;
}

.faq-title {
    font-size: clamp(22px, 3.5vw, 36px);
    font-family: 'Hedvig Letters Serif', serif;
    font-weight: 400;
    line-height: 1.1;
    color: var(--black);
    margin: 0 0 30px 0;
}

.accordion {
    margin-top: 20px;
}

.accordion-item {
    border-bottom: 1px solid var(--light-gray);
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: none;
    border: none;
    padding: 20px 0;
    cursor: pointer;
    text-align: left;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: var(--black);
}

/* Smaller blue subheader above pricing */
#pricing-small-header {
    font-size: clamp(14px, 1.6vw, 16px);
}

/* Pricing marquee styles */
#pricing-marquee {
    margin-bottom: 80px;
    margin-top: 120px;
    position: relative;
}

#pricing-marquee .marquee-text {
    font-size: clamp(60px, 12vw, 120px);
}

#pricing-marquee::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.9));
    pointer-events: none;
}

#case-studies-marquee {
    margin-top: 80px;
    margin-bottom: 40px;
    position: relative;
}

#case-studies-marquee .marquee-text {
    font-size: clamp(60px, 12vw, 120px);
}

#case-studies-marquee::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.9));
    pointer-events: none;
}

/* Insights marquee styles */
#insights-marquee {
    margin-bottom: 40px;
    position: relative;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%);
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%);
}

#insights-marquee .marquee-text {
    font-size: clamp(60px, 12vw, 120px);
}

.text-transparent {
    color: var(--gray);
    opacity: 0.6;
}

.pricing-testimonial {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    border-left: 4px solid var(--primary-blue);
}

.testimonial-title {
    font-style: italic;
    margin-bottom: 15px;
    color: var(--black);
}

.testimonial-quote {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: var(--dark-gray);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: var(--black);
}

.author-title {
    font-size: 0.9rem;
    color: var(--gray);
}


.pricing-toggle {
    display: flex;
    background: #e5e7eb;
    border-radius: 50px;
    padding: 4px;
    margin-bottom: 30px;
    width: 100%;
}

.toggle-btn {
    flex: 1;
    padding: 12px 20px;
    border: none;
    background: transparent;
    border-radius: 45px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.toggle-btn.active {
    background: #374151;
    color: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.toggle-svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.toggle-label {
    font-size: 16px;
    font-weight: 600;
}

.toggle-price {
    margin-left: auto;
    font-size: 14px;
    opacity: 0.8;
}

.toggle-btn.active .toggle-price {
    opacity: 1;
}

.pricing-cards-stack {
    position: relative;
    min-height: 500px;
    height: auto;
}

/* Keep headline from shifting when toggling cards on desktop */
@media (min-width: 992px) {
  .pricing-cards-stack {
    min-height: 640px; /* accommodate tallest card */
  }
}

/* ================= Mobile-only adjustments (<=767px) ================= */
@media (max-width: 767px) {
  /* Narrow the pricing headline and reduce size */
  .pricing-headline-section { 
    padding: 0 44px 0 0;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 20px;
    width: 100%;
    box-sizing: border-box;
  }
  
  #pricing-small-header {
    margin: 0 0 12px 0;
    padding: 0;
    width: 100%;
  }
  
  .pricing-headline { 
    font-size: clamp(22px, 8.5vw, 30px);
    margin: 0;
    padding: 0;
    width: 100%;
    word-wrap: break-word;
    hyphens: none;
  }
  
  /* Lock the main pricing section width */
  #pricing-section {
    width: 100%;
    box-sizing: border-box;
  }
  
  .pricing-main-content {
    width: 100%;
    box-sizing: border-box;
  }

  /* Make toggle and card share same container width */
  .pricing-cards-section { 
    padding: 0 44px 0 0;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    box-sizing: border-box;
  }
  
  /* Make pricing-cards-stack use flexbox on mobile to reorder children */
  .pricing-cards-stack {
    display: flex;
    flex-direction: column;
    min-height: auto !important;
  }
  
  /* Default order: monthly card, value props, qualified brands, custom card */
  #monthly-card { order: 1; }
  .value-props-quadrant { order: 2; }
  .qualified-brands { order: 3; }
  #custom-card { order: 4; }
  
  /* When custom card is active, move value props AFTER it */
  .pricing-cards-stack:has(#custom-card.active) .value-props-quadrant {
    order: 5;
  }
  
  .pricing-toggle { 
    width: 100%; 
    margin: 0 0 18px 0;
    box-sizing: border-box;
  }
  
  .toggle-btn {
    padding: 10px 12px;
    font-size: 14px;
  }
  
  .toggle-btn[data-plan="custom"] .toggle-price { display: none !important; }

  /* Nice padding for card on mobile */
  .pricing-card { 
    padding: 24px 32px 24px 4px;
    border-radius: 16px;
    box-sizing: border-box;
    width: 100%;
  }

  /* Fix plan selector overflow on mobile */
  .plan-selector {
    display: none !important; /* Hidden but kept in code */
    width: 100%;
    box-sizing: border-box;
    gap: 4px;
    padding: 4px;
  }
  
  .plan-option {
    font-size: 10px;
    padding: 8px 6px;
    flex: 1;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
  }
  
  .plan-option .discount {
    font-size: 9px;
    display: block;
    margin-top: 2px;
  }
  
  /* Hide star emoji on mobile */
  .plan-option[data-plan="annual"] span[aria-hidden="true"] {
    display: none;
  }

  /* Optional: smaller labels for toggle on mobile */
  .toggle-label { font-size: 14px; }
  .toggle-price { font-size: 12px; }
}

.pricing-card {
    position: relative;
    width: 100%;
    background: var(--black);
    color: white;
    padding: 40px;
    border-radius: 20px;
    transition: all 0.4s ease;
    opacity: 0.7;
    display: none;
    box-sizing: border-box; /* match FAQ sizing model */
}

.pricing-card.active {
    opacity: 1;
    display: block;
}

/* Plan selector (within monthly pricing card) */
.plan-selector {
    display: none !important; /* Hidden but kept in code */
    gap: 8px;
    background: rgba(255,255,255,0.06);
    padding: 6px;
    border-radius: 999px;
    margin-bottom: 18px;
}

.plan-option {
    appearance: none;
    border: none;
    background: transparent;
    color: rgba(255,255,255,0.85);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 13px;
    padding: 10px 14px;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.plan-option .discount { color: #22d3ee; font-weight: 700; }

.plan-option.active,
.plan-option:focus-visible {
    background: rgba(255,255,255,0.16);
    color: #fff;
    outline: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.25);
}

.plan-option:hover { transform: translateY(-1px); }

.customize-link-container {
    margin-top: 10px;
    text-align: center;
}

.customize-link {
    color: rgba(255,255,255,0.75);
    font-size: 13px;
    text-decoration: none;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.customize-link:hover {
    color: #fff;
    text-decoration: underline;
    text-decoration-thickness: 1px;
}

/* Brand-styled gradient for Monthly card */
#monthly-card {
  background:
    radial-gradient(circle at top left,
      color-mix(in srgb, var(--dolphin-blue) 35%, transparent),
      rgba(0,0,0,0) 70%),
    radial-gradient(circle at bottom right,
      color-mix(in srgb, var(--denim-blue) 55%, transparent),
      rgba(0,0,0,0) 60%),
    linear-gradient(to bottom right, #111111, #000000);
}

/* Opposite, complementary gradient for Custom card */
#custom-card {
  background:
    radial-gradient(circle at top right,
      color-mix(in srgb, var(--denim-blue) 35%, transparent),
      rgba(0,0,0,0) 70%),
    radial-gradient(circle at bottom left,
      color-mix(in srgb, var(--aero-green) 55%, transparent),
      rgba(0,0,0,0) 60%),
    linear-gradient(to bottom left, #111111, #000000);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: white;
}

.card-description {
    font-size: 1rem;
    color: #ccc;
    margin-bottom: 30px;
    line-height: 1.5;
    padding-right: 40px;
}

.features-section {
    margin-bottom: 24px;
}

.features-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: #a0aec0; /* Lighter gray for section titles */
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-features {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.card-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 1.5;
}

.check-icon {
    font-size: 16px;
    margin-right: 4px;
    display: inline-block;
    flex-shrink: 0;
}

/* Removed duplicate ::before pseudo-element */

.card-price {
    font-size: 1.8rem; /* Smaller font size */
    font-weight: 600;
    margin-bottom: 24px;
    color: white;
    font-family: 'Inter', sans-serif;
}

/* Price row with meta labels */
.card-price-row {
    display: none !important; /* Hidden but kept in code */
    align-items: flex-end;   /* align bottoms of left price and right stack */
    gap: 12px;
    margin-bottom: 16px;
}

/* Left price */
.card-price { line-height: 1; }
.card-price-row .card-price { margin-bottom: 0; }

/* Right column stack */
.price-right { display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; line-height: 1; }
.card-price-row .price-per { margin: 0; line-height: 1; }
.card-price-row .price-billed { margin-top: 0; line-height: 1; }
/* Baseline optical alignment */
.card-price-row .price-right { transform: translateY(-3px); }

.card-price-meta {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.price-per {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.95);
    font-weight: 500;
}

.price-billed {
    font-size: 0.85rem;
    color: #a0aec0;
    display: block;
    margin-left: 0; /* align with price left edge */
}

.price-label {
    display: none !important; /* Hidden but kept in code */
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 6px;
}

.price-addon {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
}

.addon-icon {
    font-size: 1.4rem;
    font-weight: 600;
    color: #22d3ee;
    transition: transform 1.2s ease;
    display: inline-block;
}

.price-addon:hover .addon-icon {
    transform: rotate(720deg);
}

.addon-icon.spin-back {
    transform: rotate(0deg);
}

.addon-number {
    font-size: 1.8rem;
    font-weight: 600;
    color: #ffffff;
}

.addon-text {
    font-weight: 500;
}

.services-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    margin-bottom: 0;
}

.services-menu.open {
    max-height: 2000px;
    margin-bottom: 20px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    padding: 24px 0;
}

.service-category h4 {
    color: #22d3ee;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 12px;
    font-family: 'Inter', sans-serif;
}

.service-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-category li {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.7;
    padding: 5px 0;
}

/* Price meta row: terms + strike compare sit on one line */
.price-terms {
    display: inline-flex;
    flex-direction: column;
    gap: 2px;
    margin: 6px 14px 8px 0; /* right gap before strike */
    vertical-align: baseline;
}

.price-comparison {
    display: inline-flex;
    align-items: baseline;
    gap: 12px;
    margin: 6px 0 8px 0;
    vertical-align: baseline;
}

.price-strikethrough {
    display: flex;
    align-items: center;
    gap: 12px;
}

.strikethrough-amount {
    font-size: 1.4rem;
    font-weight: 600;
    color: #ef4444;
    text-decoration: line-through;
    text-decoration-thickness: 2px;
}

.strikethrough-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    margin-left: 8px; /* nudge right to align with price terms */
}

.strikethrough-text .text-top,
.strikethrough-text .text-bottom {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
}

/* Amount row spacing */
.card-price-row {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    margin-top: 6px; /* add a bit of separation below meta row */
}

.price-period {
    font-size: 1rem;
    font-weight: 400;
    color: #999;
    margin-left: 8px;
}

.card-cta {
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-transform: uppercase;
    font-size: 14px;
    color: white;
}

#monthly-card .card-cta {
    background: linear-gradient(90deg, var(--dolphin-blue) 0%, var(--denim-blue) 100%);
}

#custom-card .card-cta {
    background: linear-gradient(90deg, var(--denim-blue) 0%, var(--ocean-blue) 100%);
}

.card-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 160, 213, 0.3);
}

/* (cleanup) remove older margins; handled in newer block below */

@media (min-width: 768px) {
    .section-faq-book-call {
        margin-bottom: 120px;
    }
}

@media (min-width: 1200px) {
    .section-faq-book-call {
        width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ===== FAQ and Book Call Section (canonical) ===== */
.section-faq-book-call {
  padding: 0 20px;
  max-width: 1200px;
  margin: 0 auto 80px;
  width: 100%;
  box-sizing: border-box;
}

.faq-book-call-container {
  display: block;
  margin-top: 16px;
}

/* Force side-by-side layout on desktop with flexbox */
@media (min-width: 900px) {
  .faq-book-call-container {
    display: flex !important;
    align-items: flex-start !important;
    gap: 40px !important;
  }

  .book-call-standalone-card {
    flex: 0 0 350px; /* fixed width, no grow/shrink */
    margin: 0;
    box-sizing: border-box;
  }

  .faq-container {
    flex: 1; /* take remaining space */
    margin: 0;
    box-sizing: border-box;
  }
}

/* Mobile stacked layout */
@media (max-width: 899px) {
  .faq-book-call-container > * {
    margin-bottom: 40px;
  }
  .faq-book-call-container > *:last-child {
    margin-bottom: 0;
  }
}

/* Normalize FAQ and Book Call baselines */
.faq-container,
.book-call-standalone-card { 
  margin: 0;
}
.faq-title { 
  margin-top: 0; 
  padding-top: 0;
}

.book-call-standalone-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    border: 1px solid var(--light-gray);
    text-align: center;
}

.book-call-standalone-card .book-call-image-container {
    width: 80px;
    height: 80px;
    min-width: 80px;
    min-height: 80px;
    max-width: 80px;
    max-height: 80px;
    border-radius: 50% !important;
    overflow: hidden;
    margin: 0 auto 10px;
    flex-shrink: 0;
    position: relative;
}

.book-call-standalone-card .book-call-image {
    width: 80px;
    height: 80px;
    min-width: 80px;
    min-height: 80px;
    object-fit: cover;
    object-position: center;
    border-radius: 50% !important;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

/* Ensure true circle crop regardless of container oddities */
.book-call-standalone-card .book-call-image-container,
.book-call-standalone-card .book-call-image {
  clip-path: circle(50% at 50% 50%);
}

.book-call-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    height: 100%;
}

.book-call-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--black);
    margin: 0;
}

.book-call-description {
    color: var(--gray);
    margin: 0;
}

.book-call-btn {
    background: linear-gradient(90deg, var(--aero-green) 0%, var(--dolphin-blue) 100%);
    color: var(--white);
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    text-transform: uppercase;
    font-size: 14px;
}

.book-call-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 160, 213, 0.3);
}

.book-call-contact {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: auto;
    padding-top: 20px;
}

.contact-icon {
    font-size: 1.2rem;
    color: var(--gray);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-question {
    font-size: 0.9rem;
    color: var(--gray);
}

.contact-email {
    font-size: 0.9rem;
    color: var(--black);
    font-weight: 500;
}

.pricing-model-text{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
    align-items: stretch;
}

/* Desktop/XL only */

.pricing-model{
    display: flex;
    padding: 40px;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    border: 1px solid var(--light-gray);
}


#subscription-model{
    justify-content: space-between;
}
#project-model{
    justify-content: space-between;
}

.pricing-model-text{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

/* Desktop/XL only */
@media (min-width: 1200px) {
    .pricing-model-text {
        height: 464px;
    }
}

.pricing-model-list-container{
    padding-top: 20px;
}

.subscription-list-header{
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.pricing-model-price{
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    align-self: baseline;
}

#subscription-model{
    background-color: var(--black);
    color: var(--white);
}

#project-model{
    background: var(--iridescent-gradient-light-20);
    color: var(--black);
    border: 3px solid transparent;
    position: relative;
}

#project-model::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 3px;
    background: var(--iridescent-gradient);
    border-radius: 15px;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
}

#subscription-price{
    color: var(--white);
}

#project-price{
    color: var(--black);
}

@media (min-width: 1200px) {
    .pricing-container {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        grid-template-areas:
            "subscription bespoke"
            "booking faq";
    }

    #subscription-model {
        grid-area: subscription;
    }

    #project-model {
        grid-area: bespoke;
    }

    .book-call-card {
        grid-area: booking;
    }

    .faq-container {
        grid-area: faq;
    }
}

.book-call-card, .faq-container {
    padding: 40px;
    border-radius: 20px;
    border: 1px solid var(--light-gray);
    box-sizing: border-box;
    background: var(--white);
}

.book-call-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}

.book-call-text-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
    margin-top: 20px;
}

.book-call-image-container {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
}

.book-call-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.accordion-item {
    border-bottom: 1px solid var(--light-gray);
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: none;
    border: none;
    padding: 20px 0;
    cursor: pointer;
    text-align: left;
}

.plus-icon {
    width: 20px;
    height: 20px;
    position: relative;
}

.plus-icon::before, .plus-icon::after {
    content: '';
    position: absolute;
    background-color: var(--ocean-blue);
    transition: transform 0.3s ease;
}

.plus-icon::before {
    width: 100%;
    height: 2px;
    top: 50%;
    transform: translateY(-50%);
}

.plus-icon::after {
    width: 2px;
    height: 100%;
    left: 50%;
    transform: translateX(-50%);
}

.accordion-item.active .plus-icon::after {
    transform: translateX(-50%) rotate(90deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-content p {
    padding: 0 0 20px 0;
}


/* =============  Our Team Section ============= */

.section-our-team {
    padding: 80px 5%;
    background: #f9fafb;
}

.our-team-container {
    max-width: 1200px;
    margin: 0 auto;
}

.team-header {
    text-align: left;
    margin-bottom: 60px;
}

.team-title {
    font-size: clamp(32px, 4vw, 48px);
    font-family: 'Hedvig Letters Serif', serif;
    font-weight: 400;
    line-height: 1.2;
    color: var(--black);
    margin: 0 0 12px 0;
}

.team-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--gray);
    margin: 0;
}

.team-members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

@media (min-width: 768px) {
    .team-members-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .team-members-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }
}

.team-member {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.member-image-wrapper {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, var(--aero-green) 0%, var(--dolphin-blue) 100%);
    padding: 3px;
}

.member-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    background: white;
}

.member-name {
    font-size: 20px;
    font-weight: 600;
    color: var(--black);
    margin: 0 0 8px 0;
}

.member-role {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-blue);
    margin: 0 0 12px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.member-bio {
    font-size: 15px;
    line-height: 1.5;
    color: var(--gray);
    margin: 0;
}

/* =============  Testimonials Section ============= */

#testimonials-section{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

/* Tablet/Desktop/XL only */
@media (min-width: 768px) {
    #testimonials-section{
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        /* align-self: stretch; */
    }
}

.testimonials-text-container{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    min-height: 300px;

    /* Tablet only */
    @media (min-width: 768px) and (max-width: 1199px) {
        min-height: 400px;
    }

    /* Desktop/XL only */
    @media (min-width: 1200px) {
        width: 820px;
        min-height: 350px;
    }
}

.testimonials-quote,
.testimonials-name,
.testimonials-company {
  min-height: 2rem;
  display: block;
}

  /* =============  Service Cards Section ============= */

  
  #service-cards-section {
    overflow-x: hidden;
  }
  
  .service-cards-container {
    padding: 20px 0px;
      --marquee-item-width: 250px;
      --marquee-item-height: 400px;
      --marquee-duration: 90s;
      --marquee-items: 11;
  
      /* Tablet only */
      @media (min-width: 768px) and (max-width: 1199px) {
          --marquee-item-width: 300px;
          --marquee-item-height: 450px;
      }
  
      /* Desktop/XL only */
      @media (min-width: 1200px) {
          --marquee-item-width: 345px;
          --marquee-item-height: 566px;
      }
  }

  .service-card{
    border-radius: 15px;
    filter: drop-shadow(4px 4px 4px rgba(0, 0, 0, 0.25));
    will-change: transform;
  }
  
  /* Service card marquee item indices */
  #service-cards-marquee .service-card:nth-of-type(1) { --marquee-item-index: 1; }
  #service-cards-marquee .service-card:nth-of-type(2) { --marquee-item-index: 2; }
  #service-cards-marquee .service-card:nth-of-type(3) { --marquee-item-index: 3; }
  #service-cards-marquee .service-card:nth-of-type(4) { --marquee-item-index: 4; }
  #service-cards-marquee .service-card:nth-of-type(5) { --marquee-item-index: 5; }
  #service-cards-marquee .service-card:nth-of-type(6) { --marquee-item-index: 6; }
  #service-cards-marquee .service-card:nth-of-type(7) { --marquee-item-index: 7; }
  #service-cards-marquee .service-card:nth-of-type(8) { --marquee-item-index: 8; }
  #service-cards-marquee .service-card:nth-of-type(9) { --marquee-item-index: 9; }
  #service-cards-marquee .service-card:nth-of-type(10) { --marquee-item-index: 10; }
  #service-cards-marquee .service-card:nth-of-type(11) { --marquee-item-index: 11; }

  /* Speed up animation on hover */

.service-card-tint{
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 32.69%, #1D1D1D 100%);
    height: 30%;
    width: 100%;
    bottom: 0;
    left: 0;
    position: absolute;
}

.service-card-cover{
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
}

.service-card-title{
    bottom: 1rem;
    left: 1rem;
    line-height: 1.1;
    width: 90%;
    height: auto;
    color: var(--white);
    position: absolute;
}


/* =============  Seasonal Promo Pill Section ============= */


.section-promo {
  /* Match FAQ/Book Call section inner width exactly */
  width: min(1200px, calc(100% - 10%));
  margin-left: auto;
  margin-right: auto;
  margin-top: 8px;  /* tighter above */
  margin-bottom: 20px; /* tighter below */
}

@media (min-width: 1200px) {
  .section-promo { width: 1200px; margin-left: auto; margin-right: auto; }
}

.promo-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: 9999px;
  border: 1px solid rgba(0,0,0,0.08);
  background:
    radial-gradient(120% 100% at 0% 50%, rgba(249, 214, 92, 0.95) 0%, rgba(249, 214, 92, 0.55) 35%, rgba(249, 214, 92, 0.00) 70%),
    #ffffff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  width: calc(100% + 2px); /* compensate for 1px border so ends meet container edges */
  max-width: none;
  margin-left: -1px;
  margin-right: -1px;
  box-sizing: border-box;
  overflow: hidden; /* contain animated text */
  position: relative;
  background-size: 200% 100%, auto; /* animate the gradient layer */
  background-position: 0% 50%, center;
  animation: pill-bg 14s ease-in-out infinite alternate;
  cursor: pointer;
}

.promo-pill:hover {
  transform: translateY(-1px) scale(1.01);
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
}

.promo-text {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #2b2b2b;
  letter-spacing: 0.3px;
  white-space: nowrap;
  font-style: italic;
  display: inline-block;
  will-change: transform;
  animation: pill-sway 10s ease-in-out infinite alternate;
}

@keyframes pill-sway {
  0% { transform: translateX(2%); }
  100% { transform: translateX(-2%); }
}

/* Subtle animated gradient for pill background */
@keyframes pill-bg {
  0% { background-position: 0% 50%, center; }
  100% { background-position: 100% 50%, center; }
}

@media (prefers-reduced-motion: reduce) {
  .promo-text { animation: none; }
  .promo-pill { animation: none; }
}

@media (max-width: 480px) {
  .promo-text { white-space: normal; text-align: center; font-size: 13px; }
  .promo-pill { padding: 10px 14px; }
}

/* =============  3D Value Props Quadrant ============= */

/* Mobile reflow: hide quadrant on mobile */
@media (max-width: 767px) {
  .value-props-quadrant {
    display: none !important;  /* hide on mobile */
  }
  /* Reset the small qualifier line to flow under the list */
  .qualified-brands {
    position: static;
    right: auto;
    bottom: auto;
    width: 100%;
    text-align: left;
    margin-top: 4px;
  }
  /* Shift case study cover image focal point to the left on mobile */
  .case-study-cover { background-position: left center; }
}

.value-props-quadrant {
  display: none;
  position: absolute;
  right: calc(100% + 40px); /* sit to the left of the card */
  bottom: 92px; /* adjusted per request */
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  width: 300px;
  z-index: 0;
}


/* Only show on larger screens with space */
@media (min-width: 1400px) {
  .value-props-quadrant {
    display: grid;
  }
}

/* Show value props on mobile below the card */
@media (max-width: 767px) {
  .value-props-quadrant {
    display: grid !important;
    position: static !important;
    width: 100% !important;
    right: auto !important;
    bottom: auto !important;
    margin-top: 24px !important;
    gap: 16px !important;
    grid-template-columns: 1fr !important;
  }
  .value-prop {
    justify-content: flex-end !important;
  }
  .qualified-brands {
    position: static !important;
    right: auto;
    bottom: auto;
    width: 100%;
    text-align: left;
    margin-top: 4px;
  }
  /* Shift all case study covers to left on mobile */
  .case-study-link:nth-child(1) .case-study-cover,
  .case-study-link:nth-child(2) .case-study-cover,
  .case-study-link:nth-child(3) .case-study-cover,
  .case-study-link:nth-child(4) .case-study-cover,
  .case-study-link:nth-child(6) .case-study-cover { 
    background-position: 40% center !important; 
  }
  /* Exception: Keep MatterVision Films (5th) centered on mobile */
  .case-study-link:nth-child(5) .case-study-cover { 
    background-position: center !important; 
  }
}

.value-prop {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-direction: row-reverse; /* icon appears on the right */
}

.value-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
}

.value-text strong {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #1f2937; /* dark slate */
  line-height: 1.3;
  display: inline-block;
  background-image: linear-gradient(90deg, #00d4ff, #00a7d5);
  background-repeat: no-repeat;
  background-size: 100% 3px;
  background-position: 0 100%;
  padding-bottom: 4px;
}


/* GIF icon replacements */
.icon-gif {
  width: 48px; /* Adjusted GIF size */
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
  background: transparent; /* ensure no white background box */
}

@media (prefers-reduced-motion: reduce) {
  .icon-gif { animation: none; }
}

/* 3D Icon Styles */
.icon-3d {
  width: 40px;
  height: 40px;
  perspective: 1000px;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 12px rgba(168, 85, 247, 0.3));
}

.icon-3d-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transform: rotateY(-20deg) rotateX(10deg);
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Animate only when hovering the Book a Call button specifically */
#monthly-card .card-cta:hover ~ .value-props-quadrant .icon-3d-inner,
.pricing-cards-stack:has(.card-cta:hover) .value-props-quadrant .icon-3d-inner {
  transform: rotateY(340deg) rotateX(10deg);
}

/* 3D Cube faces for diamond */
.icon-diamond .icon-3d-inner::before,
.icon-diamond .icon-3d-inner::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 40px;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.icon-diamond .icon-3d-inner::before {
  transform: rotateY(0deg) translateZ(10px);
  background: linear-gradient(135deg, #00a7d5 0%, #a855f7 100%);
}

.icon-diamond .icon-3d-inner::after {
  transform: rotateY(180deg) translateZ(10px);
  background: linear-gradient(135deg, #a855f7 0%, #00a7d5 100%);
  opacity: 0.7;
}

/* 3D Lightning bolt */
.icon-lightning .icon-3d-inner::before,
.icon-lightning .icon-3d-inner::after {
  content: '⚡';
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  background: linear-gradient(135deg, #00a7d5 0%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.icon-lightning .icon-3d-inner::before {
  transform: translateZ(10px);
  filter: brightness(1.2);
}

.icon-lightning .icon-3d-inner::after {
  transform: translateZ(-10px) rotateY(180deg);
  opacity: 0.6;
}

/* 3D Infinity */
.icon-infinity .icon-3d-inner::before,
.icon-infinity .icon-3d-inner::after {
  content: '∞';
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: bold;
  background: linear-gradient(135deg, #00a7d5 0%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.icon-infinity .icon-3d-inner::before {
  transform: translateZ(10px);
  filter: brightness(1.2);
}

.icon-infinity .icon-3d-inner::after {
  transform: translateZ(-10px) rotateY(180deg);
  opacity: 0.6;
}

/* 3D Shield */
.icon-shield .icon-3d-inner::before,
.icon-shield .icon-3d-inner::after {
  content: '🛡';
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.icon-shield .icon-3d-inner::before {
  transform: translateZ(10px);
  filter: hue-rotate(180deg) saturate(2) brightness(1.2);
}

.icon-shield .icon-3d-inner::after {
  transform: translateZ(-10px) rotateY(180deg);
  filter: hue-rotate(180deg) saturate(2) brightness(0.8);
  opacity: 0.6;
}


/* =============  One Partner Section  ============= */

.one-partner-section {
    padding: 100px 5%;
    background: #ffffff;
}

.one-partner-container {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.one-partner-headline {
    font-family: 'Hedvig Letters Serif', serif;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 400;
    color: #101333;
    margin-bottom: 16px;
}

.one-partner-subheadline {
    font-family: 'Cabin', sans-serif;
    font-size: clamp(16px, 2vw, 18px);
    color: #666;
    margin-bottom: 60px;
}

.one-partner-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.partner-column {
    border-radius: 16px;
    padding: 40px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-column:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(16, 19, 51, 0.08);
}

/* Branded Content Column - Verdant Glow tint */
.branded-column {
    background: rgba(207, 223, 106, 0.06);
}

/* Sales Enablement Column - Aero Teal tint */
.sales-column {
    background: rgba(101, 199, 194, 0.06);
}

/* Column Image Wrapper - Frutiger Aero Style */
.column-image-wrapper {
    position: relative;
    margin-bottom: 24px;
    padding: 4px;
}

/* Branded Content wrapper - gradient border effect */
.branded-column .column-image-wrapper {
    background: linear-gradient(135deg, #CFDF6A 0%, #65C7C2 50%, #0D77B7 100%);
    clip-path: url(#branded-clip);
    filter: drop-shadow(0 0 30px rgba(101, 199, 194, 0.4)) drop-shadow(0 8px 20px rgba(207, 223, 106, 0.2));
}

/* Sales Enablement wrapper - gradient border effect */
.sales-column .column-image-wrapper {
    background: linear-gradient(135deg, #0D77B7 0%, #65C7C2 100%);
    clip-path: url(#sales-clip);
    filter: drop-shadow(0 0 30px rgba(13, 119, 183, 0.4)) drop-shadow(0 8px 20px rgba(101, 199, 194, 0.2));
}

/* Column Image */
.column-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    background-color: #e8e8e8;
    border-radius: 32px;
}

/* Apply bubble clip-paths */
.branded-column .column-image {
    clip-path: url(#branded-clip);
}

.sales-column .column-image {
    clip-path: url(#sales-clip);
}

.column-label {
    display: inline-block;
    font-family: 'Cabin', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 0;
    margin-bottom: 12px;
    background: none;
}

/* Branded Content label - Verdant Glow */
.branded-label {
    color: #CFDF6A;
}

/* Sales Enablement label - Skyline Blue */
.sales-label {
    color: #0D77B7;
}

.column-headline {
    font-family: 'Hedvig Letters Serif', serif;
    font-size: clamp(24px, 2.5vw, 30px);
    font-weight: 400;
    color: #101333;
    margin-bottom: 16px;
    line-height: 1.3;
}

.column-body {
    font-family: 'Cabin', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(16, 19, 51, 0.8);
    margin-bottom: 24px;
}

.column-cta {
    display: inline-block;
    font-family: 'Cabin', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #101333;
    text-decoration: none;
    padding: 12px 32px;
    border: 2px solid #101333;
    border-radius: 8px;
    transition: all 0.3s ease;
}

/* Branded CTA hover - Verdant Glow fill */
.branded-cta:hover {
    background: #CFDF6A;
    border-color: #CFDF6A;
    color: #101333;
}

/* Sales CTA hover - Skyline Blue fill */
.sales-cta:hover {
    background: #0D77B7;
    border-color: #0D77B7;
    color: #ffffff;
}

.one-partner-tagline {
    font-family: 'Hedvig Letters Serif', serif;
    font-size: clamp(16px, 2vw, 20px);
    color: rgba(16, 19, 51, 0.6);
    font-style: italic;
    margin-top: 50px;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .one-partner-section {
        padding: 60px 5%;
    }
    
    .one-partner-columns {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .partner-column {
        padding: 30px;
    }
    
    .column-image {
        height: 180px;
    }
    
    .one-partner-subheadline {
        margin-bottom: 40px;
    }
    
    .one-partner-tagline {
        margin-top: 40px;
    }
}

/* =============  Comparison Table Section  ============= */

.comparison-section {
    padding: 80px 5%;
    background: #101333;
}

.comparison-container {
    max-width: 1200px;
    margin: 0 auto;
}

.comparison-headline {
    font-family: 'Hedvig Letters Serif', serif;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 400;
    color: #ffffff;
    text-align: center;
    margin-bottom: 16px;
}

.comparison-subheadline {
    font-family: 'Cabin', sans-serif;
    font-size: clamp(16px, 2vw, 18px);
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin-bottom: 48px;
}

.comparison-table-wrapper {
    overflow-x: auto;
    border-radius: 16px;
    box-shadow: none;
    background: #101333;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Cabin', sans-serif;
    font-size: 14px;
    min-width: 800px;
}

.comparison-table thead tr {
    background: #1a1d40;
}

.comparison-table th {
    padding: 20px 16px;
    text-align: center;
    font-weight: 600;
    color: #ffffff;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.comparison-table th.criteria-header {
    background: #101333;
    width: 140px;
}

.comparison-table th.mv-header {
    background: linear-gradient(135deg, #65C7C2, #CFDF6A);
    color: #101333;
    font-weight: 700;
}

.comparison-table tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-table tbody tr:last-child {
    border-bottom: none;
}

.comparison-table tbody tr:nth-child(even) {
    background: #1a1d40;
}

.comparison-table td {
    padding: 20px 16px;
    text-align: center;
    vertical-align: middle;
}

.comparison-table .criteria-cell {
    background: #101333;
    font-weight: 600;
    color: #ffffff;
    text-align: left;
    font-size: 14px;
}

.comparison-table .mv-cell {
    background: linear-gradient(135deg, rgba(101, 199, 194, 0.15), rgba(207, 223, 106, 0.15));
}

.comparison-table .competitor-cell {
    background: #101333;
    color: #ffffff;
}

.comparison-table tbody tr:nth-child(even) .competitor-cell {
    background: #1a1d40;
}

.comparison-table tbody tr:nth-child(even) .mv-cell {
    background: linear-gradient(135deg, rgba(101, 199, 194, 0.2), rgba(207, 223, 106, 0.2));
}

.comparison-table .check {
    color: #65C7C2;
    font-size: 24px;
    font-weight: 700;
}

.comparison-table .x-mark {
    color: #e74c3c;
    font-size: 24px;
    font-weight: 700;
}

.comparison-table .weakness {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    font-style: italic;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .comparison-section {
        padding: 60px 4%;
    }
    
    .comparison-table-wrapper {
        margin: 0 -4%;
        border-radius: 0;
    }
    
    .comparison-table {
        font-size: 12px;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 14px 10px;
    }
    
    .comparison-table th {
        font-size: 11px;
    }
    
    .comparison-table .check,
    .comparison-table .x-mark {
        font-size: 20px;
    }
    
    .comparison-table .weakness {
        font-size: 11px;
    }
}

