/* Font face declaration for Relative-Book */
@font-face {
    font-family: 'Relative-Book';
    src: url('../fonts/Relative-Book.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    background-color: #333333;
}

body {
    font-family: 'Relative-Book', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
    /*background-image: linear-gradient(to bottom, #FFFFFF,#FFFFF0, #F0F8FF, #FFFFF0);*/
}

/* Container removed - sections handle their own layout */

/* Header styles */
header {
    position: sticky;
    top: 0;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(24px);
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    z-index: 1000;
    transition: transform 0.4s ease-out, opacity 0.35s ease-out;
}

/* Hidden state when footer is visible */
header.is-hidden-when-footer {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}


nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 50px 1rem 50px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-image {
    width: 60px;
    height: 60px;
    object-fit: contain;
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1;
}

.logo-line-1,
.logo-line-2 {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
    color: #2c2c2c;
    margin: 0;
    padding: 0;
}

/* Footer overrides for logo text color */
.footer-section .logo-line-1,
.footer-section .logo-line-2 {
    color: #ffffff;
}

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

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 400;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: #666;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.sign-in-link {
    text-decoration: none;
    color: #333;
    font-weight: 400;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.sign-in-link:hover {
    color: #666;
}

.try-free-button {
    background: #333;
    color: #ffffff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

a.try-free-button:hover {
    background: #555;
    text-decoration: none;
}

/* Shared arrow icon */
.icon-arrow {
    width: 16px;
    height: 12px;
    transition: transform 0.2s ease;
}

.try-free-button:hover .icon-arrow,
a.try-free-button:hover .icon-arrow,
.cta-primary-button:hover .icon-arrow {
    transform: translateX(4px);
}

/* Hero section */
.hero-section {
    text-align: center;
    padding: 9.5rem 0 4rem 0;
    min-height: 75vh; /* common professional hero height */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
    background: transparent;
    isolation: isolate;
}

/* Cross-fade background system */
.hero-section::before,
.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 0;
    pointer-events: none;
}

.hero-section::before {
    background-image: url('../images/background-lines.svg');
    animation: expand-fade-lines 10s infinite;
    transform-origin: top center;
    background-size: 100% auto;
    background-position: center top;
}

.hero-section::after {
    background-image: url('../images/background-dots-2.svg');
    animation: crossfade-dots 10s infinite;
    background-size: cover;
}

/* Cross-fade animations */
@keyframes expand-fade-lines {
    0% { 
        opacity: 0; 
        transform: scaleX(0.3) scaleY(0.8); 
    }
    10% { 
        opacity: 1; 
        transform: scaleX(1) scaleY(1); 
    }
    40% { 
        opacity: 1; 
        transform: scaleX(1) scaleY(1); 
    }
    50% { 
        opacity: 0; 
        transform: scaleX(0.5) scaleY(0.9); 
    }
    100% { 
        opacity: 0; 
        transform: scaleX(0.5) scaleY(0.9); 
    }
}

@keyframes crossfade-dots {
    0%, 45% { opacity: 0; }
    50%, 95% { opacity: 1; }
    100% { opacity: 0; }
}

 

.hero h1,
.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.hero p,
.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

/* Addition Display Styling */
.addition-display {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
    font-family: 'Relative-Book', sans-serif;
    font-size: 1.3rem;
    font-weight: 500;
    color: #333;
    position: relative;
    z-index: 1;
}

.addition-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* App Preview Container */
.app-preview-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 900px;
    height: 500px;
    margin: 3rem auto 0;
    border: 6px solid #9CA3AF;
    border-radius: 16px;
    background-color: #F9FAFB;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.addend {
    font-weight: 500;
    color: #666;
}

.plus {
    font-weight: 400;
    color: #999;
    font-size: 1.1rem;
}

.equals {
    font-weight: 400;
    color: #999;
    font-size: 1.1rem;
}

.sum {
    font-weight: 700;
    color: #2c2c2c;
}

/* Static Pill Styling */
.static-pill {
    display: inline-block;
    background: transparent;
    border: 2px solid transparent;
    border-radius: 25px;
    padding: 0.5rem 1.2rem;
    margin: 0 0.5rem;
    font-weight: 600;
    color: #333;
    vertical-align: baseline;
    line-height: 1;
    transform: translateY(-1px);
    position: relative;
    background-clip: padding-box;
    filter: drop-shadow(0 2px 8px rgba(255, 215, 0, 0.3));
}

.static-pill::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 25px;
    padding: 2px;
    background: linear-gradient(135deg, 
        #FFD700 0%, 
        #FFA500 15%, 
        #FF8C00 30%, 
        #FFD700 45%, 
        #FFF8DC 60%, 
        #FFD700 75%, 
        #FFA500 90%, 
        #FFD700 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    z-index: -1;
}

.static-pill::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    border-radius: 23px;
    background: linear-gradient(135deg, 
        rgba(255,255,255,0.9) 0%, 
        rgba(255,255,255,0.3) 20%, 
        rgba(255,255,255,0.1) 40%, 
        rgba(255,255,255,0.05) 50%, 
        rgba(255,255,255,0.1) 60%, 
        rgba(255,255,255,0.3) 80%, 
        rgba(255,255,255,0.9) 100%);
    z-index: -1;
}

.cta-button {
    background: #fff;
    color: #333;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Pain/Solution section */
.pain-solution-section {
    padding: 4rem 0;
    text-align: center;
}

.pain-solution-section h2 {
    font-size: 2rem;
    color: #333;
    margin: 0;
}

/* DEMO SECTION */





/* Demo section */
.demo-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.demo-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.feature-grid {
    display: grid;
    flex-wrap: wrap;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-card {
    background: transparent;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-card h3 {
    font-size: 2rem;
    margin-bottom: 0;
    color: #333;
    font-weight: 600;
}

.feature-card p {
    font-size: 1rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* Proof section */
.proof-section {
    padding: 4rem 0;
    background: transparent;
    overflow: hidden;
}

.proof-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.proof-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
    font-weight: 600;
}

.marquee-container {
    position: relative;
    margin-bottom: 1rem;
}

.marquee-wrapper {
    background: #1e1a24;
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem 0;
    overflow: hidden;
}

.marquee-row {
    display: flex;
    width: fit-content;
    animation: scroll-left 45s linear infinite;
    gap: 1.5rem;
    padding: 1rem 0;
}

.marquee-row.reverse {
    animation: scroll-right 45s linear infinite;
}

.proof-card {
    flex-shrink: 0;
    width: 320px;
    height: 200px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease;
    cursor: pointer;
}

.marquee-wrapper:hover .proof-card:not(:hover) {
    opacity: 0.6;
}

.proof-card:hover {
    transform: scale(1.05);
    opacity: 1;
    z-index: 10;
}

.proof-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.proof-card-placeholder {
    color: #999;
    font-size: 0.9rem;
    text-align: center;
    padding: 1rem;
}

.proof-card-placeholder::before {
    content: '🖼️';
    display: block;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

/* Duplicate cards for seamless loop */
.marquee-row .proof-card:nth-child(n+8) {
    display: none;
}

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

@keyframes scroll-right {
    0% {
        transform: translateX(-25%);
    }
    100% {
        transform: translateX(25%);
    }
}

/* Logo Row */
.logo-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin-top: 3rem;
    padding: 2rem 0;
}

.logo-item {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo-item:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.logo-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.logo-item:hover img {
    filter: grayscale(0%);
}

/* Pricing section */
.pricing-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.pricing-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.pricing-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
    font-weight: 600;
}

.pricing-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background: transparent;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured {
    border: 2px solid #333;
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    color: #ffffff;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.pricing-plan-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    text-align: center;
}

.pricing-plan-description {
    font-size: 1rem;
    color: #666;
    text-align: center;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.pricing-price {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-amount {
    font-size: 3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.5rem;
}

.pricing-period {
    font-size: 1rem;
    color: #666;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    font-size: 1rem;
    color: #555;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li::before {
    content: '✓';
    color: #28a745;
    font-weight: bold;
    margin-right: 1rem;
    font-size: 1.1rem;
}

.pricing-button {
    width: 100%;
    background: #333;
    color: #ffffff;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

a.pricing-button:hover {
    background: #555;
    text-decoration: none;
}

.pricing-button.secondary {
    background: transparent;
    color: #333;
    border: 2px solid #333;
}

a.pricing-button.secondary:hover {
    background: #333;
    color: #ffffff;
    text-decoration: none;
}

/* CTA section */
.cta-section {
    padding: 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/background-cta.svg');
    background-position: bottom center;
    background-repeat: no-repeat;
    background-size: cover;
    transform: translateY(20%);
    transition: transform 2s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.cta-section.animate-bg::before {
    transform: translateY(0);
}

.cta-section > * {
    position: relative;
    z-index: 1;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0rem 2rem 10rem 2rem;
}

.cta-squiggle-arrow {
    display: block;
    margin: 0 auto 0.5rem auto;
    max-width: 100%;
    width: 110px;
    height: auto;
    padding: 0;
    transform: translate(-25px, -10px);
}

.cta-squiggle-arrow path {
    fill: none;
    stroke: #474747;
    stroke-width: 8px;
    transition: stroke-dashoffset 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    /* Ensure fully hidden before JS initializes to avoid flicker */
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    will-change: stroke-dashoffset;
}

.cta-squiggle-arrow .arrow-path-1 {
    transition-delay: 1.0s;
    transition-duration: 0.6s;
}

.cta-squiggle-arrow .arrow-path-2 {
    transition-delay: 1.00s;
    transition-duration: 0.3s;
}

.cta-squiggle-arrow.animate path {
    stroke-dashoffset: 0 !important;
}

.cta-title {
    font-size: 3rem;
    color: #333333;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.cta-description {
    font-size: 1.125rem;
    color: #666666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.cta-actions {
    display: flex;
    justify-content: center;
}

.cta-primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    background: #4a4a4a;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.cta-primary-button:hover {
    background: #3d3d3d;
    transform: translateY(-1px);
}

.cta-primary-button .icon-arrow {
    margin-left: 0.8rem;
}

.cta-disclaimer {
    font-size: 0.9rem;
    color: #cccccc;
    margin-top: 1rem;
}

/* FAQ section */
.faq-section {
    padding: 4rem 0;
    background: transparent;
}

.faq-panel {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 4rem 3rem 4rem;
    background: #f3f2f0 url('../images/question-mark.svg') no-repeat left 6% bottom -30px;
    background-size: 320px auto;
    border-radius: 16px;
    position: relative;
    min-height: 700px; /* reserve space so expanding items don't shift layout */
    transition: min-height 0.28s cubic-bezier(.2,.6,.2,1); /* smooth container height animation */
}

.faq-panel::before,
.faq-panel::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 48px solid transparent;
    border-right: 48px solid transparent;
}

.faq-panel::before {
    top: 0;
    transform: translateX(-50%);
    border-left: 48px solid transparent;
    border-right: 48px solid transparent;
    border-top: 32px solid #ffffff; /* page bg color; points downward into panel */
    border-bottom: 0;
}

.faq-panel::after {
    bottom: -32px;
    border-top: 32px solid #f3f2f0; /* panel bg color */
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2.5rem;
    align-items: start;
}

.faq-left {
    padding: 0 0.5rem;
}

.faq-right {
    padding: 0 0.5rem;
}

.faq-title {
    text-align: left;
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.03;
    margin-bottom: 1rem;
    color: #333;
    font-weight: 800;
}
.faq-support {
    font-size: 1rem;
    color: #666;
}

.faq-support-link-wrapper {
    margin-top: 0.5rem;
}

.faq-section a {
    color: #333333;
    font-weight: bold;
    text-decoration: none;
    border: 1px solid #999999;
    border-radius: 16px;
    padding: 0.25rem 0.5rem;
    display: inline-block;
    transition: all 0.2s ease;
}

.faq-section a:hover {
    background-color: #ddd9d9;
    color: #333333;
}

.faq-section .faq-support-link {
    background: #333;
    color: #ffffff;
    text-decoration: none;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem !important;
    display: inline-block;
    transition: background-color 0.2s ease;
}

.faq-section .faq-support-link:hover {
    background: #555;
    color: #ffffff;
    text-decoration: none;
}

.faq-section .faq-answer-link {
    color: #333333;
    font-weight: bold;
    text-decoration: none;
    border: none !important;
    outline: none;
    background-color: #e8e7e7;
    padding: 0.25rem 0.5rem;
    border-radius: 10px;
    display: inline-block;
    transition: background-color 0.2s ease;
}

.faq-section .faq-answer-link:hover {
    background-color: #e5e5e5;
    color: #333333;
    text-decoration: none;
}

.faq-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.faq-item {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 1px 0 rgba(0,0,0,0.04);
    overflow: hidden;
    margin: 0 0 1.125rem 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    background: transparent;
    cursor: pointer;
    font-size: 1.15rem;
    font-weight: 700;
    color: #333;
    transition: color 0.3s ease, box-shadow 0.2s ease;
}

.faq-item.active .faq-question {
    color: #2c2c2c;
}

.faq-question:hover {
    color: #555;
}

.faq-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.faq-icon svg {
    width: 18px;
    height: 18px;
    transform: rotate(0deg);
    transition: transform 0.25s ease, stroke 0.25s ease;
    stroke: #666;
}

.faq-item.active .faq-icon svg {
    transform: rotate(180deg);
    stroke: #333;
}

.faq-answer {
    height: 0;
    overflow: hidden;
    transition: height 0.28s cubic-bezier(.2,.6,.2,1), padding 0.25s ease, opacity 0.2s ease;
    background: transparent;
    padding: 0 1.25rem 0 1.25rem;
    opacity: 0;
}

.faq-item.active .faq-answer {
    padding: 0 1.25rem 1rem 1.25rem;
    opacity: 1;
}

.faq-answer p {
    margin: 0;
    color: #555;
    line-height: 1.7;
    font-size: 1.075rem;
}

/* Ensure bold numerals in FAQ (e.g., 1., 2., 3.) render with a font that has a real bold weight */
.faq-answer strong {
    font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-weight: 600;
}

/* FAQ Compatibility Sections */
.faq-compatibility-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.faq-compatibility-section:last-of-type {
    margin-bottom: 0;
}

.faq-compatibility-content {
    flex: 1;
    padding: 0.875rem 1rem;
    border-radius: 6px;
    line-height: 1.6;
}

.faq-compatibility-content.works-with-content {
    background-color: #f5f5f5;
    border-left: 3px solid #333333;
}

.faq-compatibility-content.doesnt-work-content {
    background-color: #f5f5f5;
    border-left: 3px solid #333333;
}

.faq-compatibility-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: #919191;
}

.faq-compatibility-text {
    width: 100%;
}

.faq-compatibility-content p {
    margin: 0;
    color: #333;
    font-size: 1rem;
}

.faq-compatibility-title {
    font-weight: 600;
    margin-bottom: 0.5rem !important;
    color: #1f2937 !important;
    font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.faq-compatibility-list {
    color: #4b5563 !important;
    margin-bottom: 0 !important;
}

.faq-tldr {
    margin-top: 1rem;
    padding-left: 2rem;
    font-style: italic;
    color: #6b7280 !important;
    font-size: 0.9375rem !important;
    margin-bottom: 0 !important;
}

/* Features section */
.features {
    padding: 4rem 0;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

/* Footer */
.footer-section {
    background: #333333;
    color: #ffffff;
    padding: 2rem 0 2rem 0;
    margin-top: 0;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 50px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 3rem;
    align-items: start;
}

/* Brand Column */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-top: 0.75rem;
}

.footer-brand-top {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Slightly raise footer logo text to align with logo image */
.footer-brand-top .logo-text {
    transform: translateY(-5px);
}

.footer-logo {
    margin-bottom: 0;
    margin-left: 0rem;
    margin-top: -0.5rem;
    display: flex;
    align-items: flex-start;
}

.footer-logo-image {
    width: 40px;
    height: 40px;
    min-width: 40px;
    max-width: 40px;
    min-height: 40px;
    max-height: 40px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

/* Footer uses header logo text styles via .logo-text, .logo-line-1, .logo-line-2 */

.footer-tagline {
    font-size: 1rem;
    color: #999999;
    margin: 0;
    padding: 0;
    opacity: 1;
}


.footer-badges {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.footer-badge {
    display: flex;
    align-items: center;
    background: transparent;
    color: #ffffff;
    padding: 0.25rem 0.25rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    transition: padding 0.3s ease, background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* No hover morphing for the footer badge */
.footer-badge:hover {
    padding: 0.25rem 0.25rem;
    background: transparent;
    color: #ffffff;
}

.badge-icon {
    font-size: 0.9rem;
}

.badge-logo.springlab-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    position: static;
    opacity: 1;
    transform: none;
    transition: transform 0.3s ease;
}

.spring-lab-text {
    font-weight: 700;
    color: #fefefe;
    font-size: 1rem;
}

.badge-text {
    font-size: 0.85rem;
    color: #999999;
    opacity: 1;
    overflow: visible;
    white-space: nowrap;
    margin-left: 0.25rem;
    text-align: right;
}

/* Center group */
.footer-center {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 6rem;
    text-align: left;

}

/* Right group */
.footer-right {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
}

/* Links and Legal Columns */
.footer-links,
.footer-legal {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
}

.footer-section-title {
    font-size: 1rem;
    font-weight: 600;
    color: #fefefe;
    margin: 0;
    padding: 0;
    text-align: center;
}

.footer-link-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    text-align: center;
}

.footer-link {
    color: #999999;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #fdfdfd;
}

/* Footer Divider */
/* Divider removed per design update */

/* Footer Copyright Section */
.footer-copyright {
    font-size: 0.9rem;
    color: #999999;
    margin: 0;
    padding: 0;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-center {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-right, .footer-badges {
        justify-content: center;
    }
    
    .footer-link-list {
        align-items: center;
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .nav-links {
        display: none; /* You might want to add a mobile menu here */
    }
    
    .header-actions {
        gap: 1rem;
    }
    
    .try-free-button {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 1fr);
    }
}

/* Landing sections: center titles and allow full-bleed width */
.container > main > section:not(.hero-section),
.container > main > footer {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

/* Hero section: break out of container for full width */
.hero-section {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.container > main > section h1,
.container > main > footer h1 {
    text-align: center;
    padding: 2rem 0;
}
