/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --accent: #FFFFFF;
    --accent-button: #F78816;
    --primary: #007385;
    --primary-button: #00738E;
    --secondary-bg: #FCFBFE;
    --tertiary-hover: #F3F2F7;
    --text-primary: #FFFFFF;
    --text-secondary: #CCCCCC;
    --text-dark: #333333;
    --bg-dark: #1a1a1a;
    --bg-darker: #0f0f0f;
    --bg-black: #000000;
    --success-green: #4CAF50;
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 40px;
    
    /* Box Shadow - Orange Glow */
    --shadow-orange-sm: 0 0 20px rgba(247, 136, 22, 0.6);
    --shadow-orange-md: 0 0 40px rgba(247, 136, 22, 0.4);
    --shadow-orange-lg: 0 0 60px rgba(247, 136, 22, 0.2);
    --shadow-orange-glow: var(--shadow-orange-sm), var(--shadow-orange-md), var(--shadow-orange-lg);
    
    /* Box Shadow - Orange Glow (Button) */
    --shadow-orange-btn-sm: 0 0 10px rgba(247, 136, 22, 0.3);
    --shadow-orange-btn-md: 0 0 20px rgba(247, 136, 22, 0.25);
    --shadow-orange-btn-glow: var(--shadow-orange-btn-sm), var(--shadow-orange-btn-md);
    
    /* Box Shadow - Teal Glow */
    --shadow-teal-sm: 0 0 20px rgba(0, 115, 133, 0.6);
    --shadow-teal-md: 0 0 40px rgba(0, 115, 133, 0.4);
    --shadow-teal-lg: 0 0 60px rgba(0, 115, 133, 0.2);
    --shadow-teal-glow: var(--shadow-teal-sm), var(--shadow-teal-md), var(--shadow-teal-lg);
    
    /* Box Shadow - Cyan Glow */
    --shadow-cyan-sm: 0 0 20px rgba(0, 255, 255, 0.5);
    --shadow-cyan-md: 0 0 30px rgba(0, 255, 255, 0.6);
    --shadow-cyan-lg: 0 0 60px rgba(0, 115, 133, 0.6);
    --shadow-cyan-xl: 0 0 90px rgba(0, 115, 133, 0.4);
    
    /* Box Shadow - Teal Strong */
    --shadow-teal-strong-sm: 0 0 30px rgba(0, 115, 133, 0.8);
    --shadow-teal-strong-md: 0 0 60px rgba(0, 115, 133, 0.6);
    --shadow-teal-strong-lg: 0 0 90px rgba(0, 115, 133, 0.4);
    --shadow-teal-strong: var(--shadow-teal-strong-sm), var(--shadow-teal-strong-md), var(--shadow-teal-strong-lg);
}

html {
    scroll-padding-top: 100px;
    overflow-x: hidden;
}

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

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

/* Base Section Pattern */
.section {
    padding: 4rem 0;
}

/* Two-Column Grid Layout Pattern */
.section-two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

/* Image Container Pattern */
.section-image-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Image Glow Effects */
.image-glow-cyan-light {
    filter: drop-shadow(0 0 20px rgba(0, 255, 255, 0.5));
}

.image-glow-cyan {
    filter: drop-shadow(0 0 30px rgba(0, 255, 255, 0.6));
}

.image-glow-teal-strong {
    filter: drop-shadow(0 0 30px rgba(0, 115, 133, 0.8)),
            drop-shadow(0 0 60px rgba(0, 115, 133, 0.6)),
            drop-shadow(0 0 90px rgba(0, 115, 133, 0.4));
}

/* Base Image Styles */
.section-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    object-fit: contain;
}

/* Text Content Container Pattern */
.section-text-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Typography */
h1 {
    font-family: 'Arvo', serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h2 {
    font-family: 'Arvo', serif;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

h3 {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

h4 {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

p {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.section-title {
    color: var(--text-primary);
    margin-bottom: 0;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Header */
.header {
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    background-color: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: inline-block;
    text-decoration: none;
    line-height: 0;
}

.logo {
    height: 40px;
    width: auto;
    display: block;
}

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

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-family: 'Quicksand', sans-serif;
    font-size: 1rem;
    transition: color 0.3s ease;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-link:hover {
    color: var(--accent);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    gap: 5px;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background-color: var(--accent-button);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Buttons */
.btn {
    font-family: 'Quicksand', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
    display: block;
}

/* Accent Button */
.btn-accent {
    background-color: var(--accent-button);
    color: var(--text-primary);
    border-color: var(--accent-button);
}

.btn-accent:hover {
    background-color: transparent;
    border-color: var(--accent-button);
    color: var(--accent-button);
}

/* Hero button with black background and orange border */
.btn-accent.btn-glow {
    background-color: var(--bg-black);
    border-color: var(--accent-button);
    color: var(--accent-button);
}

.btn-accent.btn-glow:hover {
    background-color: var(--accent-button);
    color: var(--text-primary);
}

/* Pricing buttons with black background and orange border */
.btn-accent.btn-block {
    background-color: var(--bg-black);
    border-color: var(--accent-button);
    color: var(--accent-button);
    box-shadow: var(--shadow-orange-btn-glow);
}

.btn-accent.btn-block:hover {
    background-color: var(--accent-button);
    color: var(--text-primary);
    box-shadow: 0 0 15px rgba(247, 136, 22, 0.4), 
                0 0 30px rgba(247, 136, 22, 0.3);
}

/* Glow Effect - Apply selectively to buttons */
.btn-glow {
    box-shadow: var(--shadow-orange-btn-glow);
    transition: box-shadow 0.3s ease;
}

.btn-glow:hover {
    box-shadow: 0 0 15px rgba(247, 136, 22, 0.4), 
                0 0 30px rgba(247, 136, 22, 0.3);
}

/* Primary Button */
.btn-primary {
    background-color: var(--primary-button);
    color: var(--text-primary);
    border-color: var(--primary-button);
}

.btn-primary:hover {
    background-color: transparent;
    border-color: var(--primary-button);
    color: var(--primary-button);
}

/* Secondary Button */
.btn-secondary {
    background-color: var(--secondary-bg);
    color: var(--text-dark);
    border-color: var(--tertiary-hover);
}

.btn-secondary:hover {
    background-color: var(--tertiary-hover);
    border-color: var(--tertiary-hover);
}

/* Tertiary Button */
.btn-tertiary {
    background-color: transparent;
    color: var(--text-primary);
    border: none;
}

.btn-tertiary:hover {
    background-color: var(--tertiary-hover);
    color: var(--text-dark);
}

/* Hero Section */
.hero {
    text-align: center;
}

.hero,
.pain-section,
.comparison-section,
.reality-section,
.relying-section,
.knowledge-section,
.search-section,
.smarter-section-new,
.compound-section-new,
.clean-data-section-new,
.smarter-section,
.compound-section,
.clean-data-section,
.integrations-section,
.testimonials-section,
.pricing-section,
.contact-section {
    padding: 4rem 0;
}

.hero-title {
    max-width: 900px;
    margin: 0 auto 1.5rem;
}

.hero-subtitle {
    max-width: 800px;
    margin: 0 auto 2rem;
    font-size: 1.2rem;
}

.video-container {
    margin-top: 3rem;
    border: 2px solid var(--primary);
    border-radius: var(--radius-lg);
    padding: 2rem;
    background: rgba(0, 115, 133, 0.1);
    box-shadow: var(--shadow-teal-glow),
                inset 0 0 20px rgba(0, 115, 133, 0.1);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--bg-dark);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: var(--radius-md);
}

/* Pain Section */


.pain-content,
.relying-content,
.knowledge-content,
.search-content,
.smarter-content-new,
.compound-content-new,
.clean-data-content-new,
.smarter-content,
.compound-content,
.clean-data-content,
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.pain-text {
    display: flex;
    flex-direction: column;
}

.pain-text .section-title {
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.pain-text p {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.stat-highlight {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.speech-bubbles {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    position: relative;
    align-self: start;
    padding: 2rem 0;
}

.bubble {
    color: var(--text-dark);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-xl);
    font-size: 0.95rem;
    font-weight: 600;
    box-shadow: 0 0 10px rgba(247, 136, 22, 0.25),
                0 0 20px rgba(247, 136, 22, 0.2);
    position: relative;
    transform: rotate(-5deg);
    width: fit-content;
    white-space: nowrap;
}

.bubble:nth-child(1) {
    grid-column: 1 / -1;
    grid-row: 1;
    justify-self: center;
    transform: rotate(15deg);
    background: #FDF0C8;
    margin-top: 0.5rem;
}

.bubble:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
    justify-self: end;
    transform: rotate(-20deg);
    background: #FFD278;
    margin-right: -1rem;
    margin-top: 0.5rem;
}

.bubble:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
    transform: rotate(-10deg);
    background: #FCB771;
    margin-left: 0.5rem;
    margin-top: 0.5rem;
}

.bubble:nth-child(4) {
    grid-column: 1 / -1;
    grid-row: 3;
    justify-self: center;
    transform: rotate(6deg);
    background: #FFE3C6;
}

.bubble:nth-child(5) {
    grid-column: 1;
    grid-row: 4;
    justify-self: start;
    transform: rotate(12deg);
    background: #FFF6E5;
    margin-top: -2rem;
    margin-left: 2rem;
}

/* Comparison Section */
.comparison-section,
.reality-section,
.integrations-section,
.pricing-section {
    text-align: center;
}

.comparison {
    display: grid;
    grid-template-columns: 0.8fr 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
    align-items: stretch;
}

@media (min-width: 769px) {
    .comparison {
        grid-template-columns: 0.8fr 1fr 1fr; /* Ensure 3-column layout on desktop */
    }
    
    .comparison-cards-wrapper {
        display: contents; /* Make wrapper transparent to grid on desktop - cards become direct grid children */
    }
    
    .comparison-cards-wrapper .card.before,
    .comparison-cards-wrapper .card.after {
        position: static !important; /* Reset absolute positioning from mobile */
        transform: none !important;
        opacity: 1 !important;
        width: auto;
        right: auto;
        left: auto;
        padding: 1.5rem;
    }
}

.labels {
    display: grid;
    gap: 0;
    padding: 0;
    margin-top: 3.5rem;
}

.labels > div {
    padding: 1.4rem 0;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    min-height: 60px;
}

.labels > div:first-child {
    padding-top: 7.1rem;
}

.labels > div:nth-child(5) {
    margin-top: 2.2rem;
}

.labels > div:nth-child(6) {
    margin-top: 1.5rem;
}

.labels > div:last-child {
    border-bottom: none;
}

.card {
    padding: 2rem;
    border-radius: var(--radius-lg);
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 0;
    height: 100%;
}

.card.before {
    background: rgba(255, 255, 255, 0.05);
}

.card.after {
    border: 2px solid var(--primary);
    background: rgba(0, 115, 133, 0.1);
    box-shadow: 0 4px 20px rgba(0, 115, 133, 0.4),
                0 8px 40px rgba(0, 115, 133, 0.3),
                0 12px 60px rgba(0, 115, 133, 0.2);
}

.card.first-card {
    background: none;
}
.card.first-card ul {
    margin-top: 7.5rem; /* header height (4.5rem: 1.5rem top pad + 1.5rem font + 1.5rem bottom pad) + header margin-bottom (1.5rem) + first list item padding-top (1.5rem) */
    font-weight: 800;
    color: var(--text-primary);
}

.card.first-card li {
    padding: 1.5rem 0;
    min-height: 60px;
}

.card h3 {
    padding: 1.5rem 2rem;
    margin-bottom: 0;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-primary);
    font-size: 1.5rem;
}

.card.before h3 {
    margin-bottom: 1.5rem;
}
.card.after h3 {
    background-color: var(--primary);
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
}

.card ul {
    list-style: none;
}

.card li {
    padding: 1.5rem 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    min-height: 60px;
    width: 100%;
    font-size: 0.95rem;
}

.card.first-card li:nth-child(5){
    margin-top: 1.5em;
}
.card.first-card li:nth-child(6){
    margin-top: 1.5em;
}

.card li.highlight {
    color: var(--text-primary);
    font-weight: 700
}

/* Reality Section */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    border-radius: var(--radius-lg);
}

.stat-number {
    font-family: 'Arvo', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-button);
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1rem;
}

.reality-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.reality-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    padding: 1rem;
    border-radius: var(--radius-md);
    transition: background-color 0.3s ease;
}

.feature-item-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.feature-arrow {
    display: none;
    margin-left: auto;
    font-size: 0.8rem;
    transition: transform 0.3s ease;
    color: var(--text-secondary);
}

.feature-item-content {
    display: none;
    padding-top: 1rem;
    padding-left: 3.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.feature-item-content p {
    margin: 0;
}

.feature-item-content p strong {
    color: var(--text-primary);
    font-weight: 700;
}

.feature-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.feature-item.active {
    background-color: rgba(255, 255, 255, 0.05);
}

.feature-item.active p {
    font-weight: 700;
}

.feature-item.expanded .feature-item-content {
    display: block;
}

.feature-item.expanded .feature-arrow {
    transform: rotate(180deg);
}

.feature-icon {
    font-size: 2rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;

}

.feature-icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
}

.feature-icon svg.feature-icon-img {
    color: var(--text-primary);
    border-radius: 0;
}

.knowledge-box {
    border: 2px solid #00FFFF;
    border-radius: var(--radius-lg);
    padding: 2rem;
    background: #0A191E;
    position: relative;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.6),
                0 0 40px rgba(0, 255, 255, 0.4),
                0 0 60px rgba(0, 255, 255, 0.2);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.knowledge-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
}

.knowledge-icon-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.knowledge-icon svg.knowledge-icon-img {
    color: var(--text-primary);
}

.knowledge-box p {
    color: var(--text-primary);
    font-size: 1.1rem;
    line-height: 1.6;
}

.knowledge-box p strong {
    font-weight: 700;
}

/* Relying Section */
.relying-heading {
    text-align: center;
    margin-bottom: 2rem;
}

.relying-text,
.smarter-text-new,
.compound-text-new,
.clean-data-text-new,
.testimonials-text {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Feature Banner - Reusable banner style */
.feature-banner {
    color: var(--accent-button);
    font-family: 'Quicksand', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    width: fit-content;
    border-bottom: 3px solid var(--accent-button);
    padding: 0 1.5rem 0.5rem 1.5rem;
    text-shadow: 0 0 10px rgba(247, 136, 22, 0.5),
                 0 0 20px rgba(247, 136, 22, 0.3);
    box-shadow: 0 8px 8px -6px rgba(247, 136, 22, 0.3);
}

.feature-banner-large {
    font-size: 1.1rem;
    padding-bottom: 0.6rem;
}

/* Legacy banner classes - maintain for HTML compatibility */
.hours-banner {
    color: var(--accent-button);
    font-family: 'Quicksand', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    width: fit-content;
    border-bottom: 1px solid var(--accent-button);
    padding: 0 0.5rem 0.5rem 0.5rem;
    box-shadow: 0 8px 8px -6px rgba(247, 136, 22, 0.3);
}

.search-banner {
    color: var(--accent-button);
    font-family: 'Quicksand', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    width: fit-content;
    margin-left: auto;
    border-bottom: 1px solid var(--accent-button);
    padding: 0 1.5rem 0.5rem 1.5rem;
    box-shadow: 0 8px 8px -6px rgba(247, 136, 22, 0.3);
}

.document-banner,
.compound-banner,
.clean-data-banner {
    color: var(--accent-button);
    font-family: 'Quicksand', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    width: fit-content;
    border-bottom: 1px solid var(--accent-button);
    padding: 0 0.5rem 0.5rem 0.5rem;
    box-shadow: 0 8px 8px -6px rgba(247, 136, 22, 0.3);
}


.relying-subheading {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.relying-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

.documents-illustration,
.search-image,
.compound-image,
.clean-data-image,
.document-illustration {
    display: flex;
    align-items: center;
    justify-content: center;
}

.documents-illustration {
    position: relative;
}



/* Knowledge Section */

/* Search Section */
.notes-image,
.results-image,
.document-image,
.screenshot-image,
.summary-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(0, 255, 255, 0.2));
}

.search-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: right;
    align-items: flex-end;
}


.search-example {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.search-query {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-style: italic;
    margin: 0;
}

.search-done {
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.search-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

/* Work Smarter Section (New) */

/* Section Description - Reusable style */
.section-description,
.smarter-description,
.compound-description,
.clean-data-description {
    color: var(--text-primary);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

/* Compound Returns Section (New) */
.compound-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.compound-text-new {
    text-align: right;
    align-items: flex-end;
}

/* Smarter Section */
.mind-map-large {
    position: relative;
    height: 400px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.central-node-large {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--primary);
    color: var(--text-primary);
    padding: 1.5rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    z-index: 10;
}

.branch-large {
    position: absolute;
}

.branch-skills-large {
    top: 10%;
    left: 10%;
}

.branch-experience-large {
    top: 10%;
    right: 10%;
}

.branch-personality-large {
    bottom: 10%;
    left: 10%;
}

.branch-availability-large {
    bottom: 10%;
    right: 10%;
}

.node-large {
    background: var(--accent);
    color: var(--text-primary);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.sub-nodes {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sub-node-large {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    padding: 0.75rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    margin-left: 1rem;
}

/* Compound Section */
.profile-doc {
    border: 2px solid var(--primary);
    border-radius: var(--radius-lg);
    background: rgba(0, 115, 133, 0.1);
    overflow: hidden;
}

.profile-header {
    background: var(--primary);
    color: var(--text-primary);
    padding: 1.5rem;
    font-weight: 600;
    font-size: 1.2rem;
}

.profile-content {
    padding: 2rem;
}

.profile-field {
    margin-bottom: 1.5rem;
}

.profile-field label {
    display: block;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.profile-field p {
    color: var(--text-primary);
}

/* Clean Data Section */
.form-demo {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-box {
    border: 2px solid var(--primary);
    border-radius: var(--radius-lg);
    padding: 2rem;
    background: rgba(0, 115, 133, 0.1);
}

.form-field {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-field label {
    display: block;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: 'Quicksand', sans-serif;
}

.checkmark {
    position: absolute;
    right: 1rem;
    top: 2.5rem;
    color: var(--success-green);
    font-size: 1.2rem;
    font-weight: bold;
}

/* Integrations Section */

.integrations-image-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
}

.integrations-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(0, 115, 133, 0.25)),
            drop-shadow(0 0 20px rgba(0, 115, 133, 0.2));
}

.integrations-box {
    border: 2px solid var(--primary);
    border-radius: var(--radius-lg);
    padding: 3rem;
    background: rgba(0, 115, 133, 0.1);
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.integration-logo {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.2rem;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
}

/* Testimonials Section */

.testimonials-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: stretch;
}

/* Desktop: Display cards container as grid with wider columns */
.testimonials-cards-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.testimonials-cards-container .testimonial-card {
    min-width: auto;
    max-width: none;
    width: 100%;
}


.testimonial-card {
    background: rgba(0, 115, 133, 0.2);
    border: 1px solid rgba(0, 115, 133, 0.3);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    overflow: hidden;
}

.testimonial-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.avatar-pink {
    background-color: #FF6B9D;
}

.avatar-teal {
    background-color: var(--primary);
}

.testimonial-quote {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.6;
    flex-grow: 1;
}

.testimonial-quote strong {
    font-weight: 700;
}

.testimonial-author {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: auto;
}

/* Testimonials Indicators */
.testimonials-indicators {
    display: none;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
}

.testimonial-indicator {
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
    outline: none;
    transition: all 0.3s ease;
}

.testimonial-indicator::before {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    background: transparent;
    transition: all 0.3s ease;
    box-shadow: 0 0 8px rgba(0, 115, 133, 0.3);
}

.testimonial-indicator.active::before {
    width: 32px;
    height: 8px;
    border-radius: 4px;
    background: var(--primary);
    border: 2px solid var(--primary);
    box-shadow: 0 0 12px rgba(0, 115, 133, 0.5);
}

.testimonial-indicator:focus-visible::before {
    outline: 2px solid var(--accent-button);
    outline-offset: 2px;
}

/* Pricing Section */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    max-width: 70%;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card {
    border: 2px solid var(--primary);
    border-radius: var(--radius-lg);
    padding: 0;
    background: rgba(0, 115, 133, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.pricing-header {
    font-family: 'Arvo', serif;
    background-color: var(--primary);
    color: var(--text-primary);
    padding: 1rem 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    border-radius: var(--radius-md);
    margin: 2.5rem 2.5rem 0.5em 2.5rem;
    width: calc(100% - 5rem);
    box-sizing: border-box;
}

.pricing-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 1rem 2.5rem;
    text-align: center;
}

.pricing-price span {
    font-size: 1.2rem;
    font-weight: 400;
}

.pricing-features {
    list-style: none;
    margin: 0 2.5rem 2rem 2.5rem;
    padding: 0;
    flex-grow: 1;
    text-align: left;
}

.pricing-features li {
    color: var(--text-primary);
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
    text-align: left;
}

.pricing-features li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--text-primary);
    font-weight: bold;
}

.pricing-card .btn {
    margin: 0 auto 2.5rem auto;
    padding: 0.75rem 2rem;
    font-size: 0.9rem;
    width: auto;
    display: inline-block;
    min-width: 140px;
}

/* Contact Section */

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--primary);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: 'Quicksand', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-secondary);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-button);
    box-shadow: 0 0 0 2px rgba(247, 136, 22, 0.2);
}

.contact-form input:invalid:not(:placeholder-shown),
.contact-form textarea:invalid:not(:placeholder-shown) {
    border-color: #ef4444;
}

.contact-form input:valid:not(:placeholder-shown),
.contact-form textarea:valid:not(:placeholder-shown) {
    border-color: var(--success-green);
}

.form-error {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: none;
}

.form-field-wrapper {
    position: relative;
    margin-bottom: 0;
}

.form-field-wrapper.has-error input,
.form-field-wrapper.has-error textarea {
    border-color: #ef4444;
}

.form-field-wrapper.has-error .form-error {
    display: block;
}

/* Form Message (Success/Error) */
.form-message {
    padding: 1rem;
    border-radius: var(--radius-md);
    font-size: 0.95rem;
    text-align: center;
    margin-top: 0.5rem;
    display: none;
}

.form-message.form-message-success {
    display: block;
    background-color: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
    color: #4CAF50;
}

.form-message.form-message-error {
    display: block;
    background-color: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

/* Submit button loading state */
#submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-loading {
    display: none;
}

/* Footer */
.footer {
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-logo {
    height: 50px;
    width: auto;
    display: block;
    margin: 0 auto 1rem;
}

.footer-tagline {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--accent);
}

.footer-copyright {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .header-content {
        position: relative;
        justify-content: space-between;
    }

    .hamburger {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: rgba(15, 15, 15, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 5rem 2rem 2rem 2rem;
        gap: 1.5rem;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.5);
        z-index: 1000;
        overflow-y: auto;
    }

    .nav.active {
        transform: translateX(0);
    }

    .nav-link {
        width: 100%;
        padding: 0.75rem 0;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav .btn {
        width: 100%;
        text-align: center;
        margin-top: 1rem;
    }

    /* Overlay when menu is open */
    body.menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    /* Reduce padding between main sections on mobile */
    .hero,
    .pain-section,
    .comparison-section,
    .reality-section,
    .relying-section,
    .knowledge-section,
    .search-section,
    .smarter-section-new,
    .compound-section-new,
    .clean-data-section-new,
    .smarter-section,
    .compound-section,
    .clean-data-section,
    .integrations-section,
    .testimonials-section,
    .pricing-section,
    .contact-section {
        padding: 2rem 0;
    }

    /* Reduce spacing between "Let's compare" and "FlowHire changes your reality" sections */
    .comparison-section {
        padding-bottom: 1rem;
    }

    .reality-section {
        padding-top: 1rem;
    }

    .relying-section,
    .search-section,
    .smarter-section-new,
    .compound-section-new {
        padding-bottom: 0;
    }

    .video-container {
        padding: 0.25rem;
    }

    .pain-content,
    .reality-content,
    .relying-content,
    .knowledge-content,
    .smarter-content,
    .compound-content,
    .clean-data-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .smarter-content-new,
    .search-content,
    .compound-content-new,
    .clean-data-content-new {
        position: relative;
        display: flex;
        flex-direction: column;
        gap: 1rem;
        padding-top: 0;
        align-items: center;
    }

    /* Reorder: Banner first, then image, then text */
    /* Make text containers use display: contents so their children can be ordered at parent level */
    .relying-text,
    .search-text,
    .compound-text-new,
    .clean-data-text-new,
    .smarter-text-new {
        display: contents;
    }

    /* Order banner first */
    .hours-banner,
    .search-banner,
    .compound-banner,
    .clean-data-banner,
    .document-banner {
        order: 1;
        position: static;
        text-align: center;
        margin: 1.5rem 0 0 0;
        width: 100%;
        display: block;
        font-size: 1rem;
    }

    /* Order image second */
    .documents-illustration,
    .search-image,
    .document-illustration,
    .compound-image,
    .clean-data-image {
        order: 2;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 0.75rem;
        width: 100%;
    }

    /* Order heading third */
    .relying-text .section-title,
    .search-text .section-title,
    .compound-text-new .section-title,
    .clean-data-text-new .section-title,
    .smarter-text-new .section-title {
        order: 3;
        text-align: center;
        margin: 0 0 0.5rem 0;
    }

    /* Order text content fourth */
    .relying-text .relying-description,
    .search-text .search-example,
    .search-text .search-description,
    .compound-text-new .compound-description,
    .clean-data-text-new .clean-data-description,
    .smarter-text-new .smarter-description {
        order: 4;
        text-align: center;
        margin: 0;
    }

    /* Center align images in mobile */
    .notes-image,
    .results-image,
    .document-image,
    .screenshot-image,
    .summary-image {
        margin: 0 auto;
        display: block;
    }

    .relying-section .relying-heading {
        margin-bottom: 1rem;
    }

    .reality-content {
        margin-top: 0;
    }

    .contact-text {
        text-align: center;
    }

    .comparison-table {
        grid-template-columns: 1fr;
    }

    /* Vertical slide transition for Before/After columns on mobile */
    .comparison {
        display: grid;
        grid-template-columns: 90px 1fr;
        gap: 2rem;
        margin-top: 2rem;
        position: relative;
        align-items: start;
    }

    .comparison .card.first-card {
        position: sticky;
        top: 80px;
        z-index: 10;
        background: var(--bg-darker);
        padding: 1rem;
        margin-bottom: 2rem;
        align-self: start;
        max-width: 90px;
    }

    .comparison .card.first-card ul {
        margin-top: 0;
        padding-top: calc(10px + 2.3em + 0.75rem); /* Header height + margin-bottom + first item padding-top */
    }

    .comparison .card.first-card li {
        font-size: 0.9rem;
        padding: 0.75rem 0;
    }

    .comparison .card.first-card li:nth-child(5) {
        margin-top: 1.9em;
    }

    .comparison .card.first-card li:nth-child(6) {
        margin-top: 0.3em;
    }

    .comparison-cards-wrapper {
        display: block !important; /* Override desktop contents display */
        position: relative;
        min-height: 600px;
        width: 100%;
    }

    .comparison-cards-wrapper .card.before,
    .comparison-cards-wrapper .card.after {
        position: absolute !important;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: auto;
        transition: transform 0.6s ease-in-out, opacity 0.6s ease-in-out;
    }

    .comparison-cards-wrapper .card.before {
        transform: translateY(0);
        opacity: 1;
        z-index: 2;
    }

    .comparison-cards-wrapper .card.before.slide-out {
        transform: translateY(-100%);
        opacity: 0;
        z-index: 1;
    }

    .comparison-cards-wrapper .card.after {
        transform: translateY(100%);
        opacity: 0;
        z-index: 1;
    }

    .comparison-cards-wrapper .card.after.slide-in {
        transform: translateY(0);
        opacity: 1;
        z-index: 2;
    }

    /* Reduce header size for Before/After FlowHire cards on mobile */
    .comparison-cards-wrapper .card.before h3,
    .comparison-cards-wrapper .card.after h3 {
        font-size: 1rem;
        padding: 0.75rem 1rem;
        min-height: 45px;
        margin-bottom: 0.75rem;
    }

    /* Reduce padding for Before/After FlowHire cards on mobile */
    .comparison-cards-wrapper .card.before,
    .comparison-cards-wrapper .card.after {
        padding: 0.75rem;
    }

    /* Reduce line spacing in comparison cards on mobile */
    .comparison-cards-wrapper .card.before li,
    .comparison-cards-wrapper .card.after li {
        padding: 0.75rem 0;
        min-height: 45px;
    }
        
    .comparison-cards-wrapper .card.before.second-card li:nth-child(2) {
        margin-bottom: 1.1rem;
    }

    .comparison-cards-wrapper .card.after.third-card li:nth-child(2) {
        margin-bottom: 1.2rem;
    }

    .comparison-cards-wrapper .card.before.second-card li:nth-child(3) {
        margin-bottom: 1.2rem;
    }

    .comparison-cards-wrapper .card.after.third-card li:nth-child(3) {
        margin-bottom: 1.2rem;
    }

    .comparison-cards-wrapper .card.before.second-card li:nth-child(4) {
        margin-bottom: 0.3rem;
    }

    .comparison-cards-wrapper .card.after.third-card li:nth-child(4) {
        margin-bottom: 0.1rem;
    }

    .comparison-cards-wrapper .card.before.second-card li:nth-child(5) {
        margin-bottom: 1.5rem;
    }

    .comparison-cards-wrapper .card.after.third-card li:nth-child(5) {
        margin-bottom: 1.5rem;
    }

    .comparison-cards-wrapper .card.after {
        box-shadow: 0 2px 10px rgba(0, 115, 133, 0.3),
                    0 4px 20px rgba(0, 115, 133, 0.2);
    }

    .reality-section .section-subtitle {
        margin-bottom: 0;
    }

    .pain-text .section-title {
        margin-bottom: 0.5rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0;
        margin-top: 0;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    /* Mobile: Testimonials section - header centered on own line, cards below */
    .testimonials-content {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .testimonials-text {
        grid-column: 1 / -1;
        text-align: center;
        margin-bottom: 0;
        gap: 0rem;
    }

    .testimonials-text .section-title {
        margin-bottom: 0;
    }

    .testimonials-text .section-subtitle {
        margin-bottom: 0;
    }

    /* Mobile slider for testimonial cards */
    .testimonials-cards-container {
        display: flex !important;
        grid-template-columns: none !important;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 1.5rem;
        padding-bottom: 1rem;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        scrollbar-width: none;
        -ms-overflow-style: none;
        margin-top: 2rem;
        padding-left: 1rem;
        padding-right: 1rem;
        margin-left: -1rem;
        margin-right: -1rem;
        cursor: grab;
        user-select: none;
        touch-action: pan-x;
        scroll-snap-type: none;
    }
    
    .testimonials-cards-container.dragging {
        cursor: grabbing;
        scroll-snap-type: none;
        scroll-behavior: auto;
    }
    
    .testimonials-cards-container:active {
        cursor: grabbing;
    }

    .testimonials-cards-container::-webkit-scrollbar {
        display: none;
    }

    .testimonials-cards-container .testimonial-card {
        flex: 0 0 auto;
        min-width: 280px;
        max-width: 320px;
        width: calc(85vw - 2rem);
        scroll-snap-align: start;
    }

    /* Show indicators on mobile */
    .testimonials-indicators {
        display: flex;
    }

    /* HeroUI-style Accordion for feature items on mobile */
    .reality-features {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .feature-item {
        flex-direction: column;
        align-items: stretch;
        border: 1px solid rgba(255, 255, 255, 0.2);
        background: rgba(255, 255, 255, 0.02);
        border-radius: var(--radius-md);
        padding: 0;
        margin: 0;
        overflow: hidden;
        transition: all 0.2s ease;
    }

    .feature-item:hover {
        background: rgba(255, 255, 255, 0.05);
    }

    .feature-item-header {
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: 1rem;
        cursor: pointer;
        user-select: none;
        -webkit-tap-highlight-color: transparent;
        outline: none;
        transition: background-color 0.15s ease;
    }

    .feature-item-header:focus-visible {
        outline: 2px solid var(--accent-button);
        outline-offset: -2px;
        border-radius: var(--radius-md);
    }

    .feature-item-header:active {
        background: rgba(255, 255, 255, 0.08);
    }

    .feature-item-header p {
        flex: 1;
        margin: 0;
        font-weight: 500;
        color: var(--text-primary);
    }

    .feature-arrow {
        display: block !important;
        margin-left: auto;
        width: 1.5rem;
        height: 1.5rem;
        flex-shrink: 0;
        color: var(--text-secondary);
        position: relative;
        font-size: 0;
        line-height: 0;
        transform: none !important;
    }

    .feature-arrow::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 0.375rem;
        height: 0.375rem;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: translate(-50%, -50%) rotate(45deg);
        transition: transform 0.2s ease;
        transform-origin: center;
    }

    .feature-item-content {
        display: none;
        padding: 0 1rem 1rem 1rem;
        color: var(--text-secondary);
        font-size: 0.95rem;
        line-height: 1.6;
        text-align: center;
    }

    .feature-item-content p {
        text-align: center;
    }

    .feature-item.expanded .feature-item-content {
        display: block;
        animation: slideDown 0.2s ease;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-0.5rem);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .feature-item.expanded {
        background: rgba(255, 255, 255, 0.05);
        border-color: rgba(255, 255, 255, 0.3);
    }

    .feature-item.expanded .feature-arrow::before {
        transform: translate(-50%, -50%) rotate(225deg);
    }

    .feature-item .feature-icon {
        flex-shrink: 0;
    }

    /* Hide knowledge box on mobile */
    .knowledge-box {
        display: none;
    }

    /* Keep 2-column layout for form rows on mobile */
    .form-row {
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }

    /* Reduce margins for pricing section on mobile to take up more horizontal space */
    .pricing-section .container {
        padding: 0 20px;
    }

    /* Set margins for integrations section on mobile */
    .integrations-section .container {
        padding: 0 20px;
    }

    .pricing-grid {
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        gap: 1.5rem;
    }

    /* Reduce internal margins in pricing cards on mobile */
    .pricing-header {
        margin: 1.5rem 1.5rem 0.5rem 1.5rem;
        width: calc(100% - 3rem);
        padding: 0.875rem 1.25rem;
        font-size: 1.25rem;
    }

    .pricing-price {
        margin: 1rem 1.5rem;
        font-size: 1.75rem;
    }

    .pricing-features {
        margin: 0 1.5rem 1.5rem 1.5rem;
    }

    .pricing-card .btn {
        margin: 0 auto 1.5rem auto;
    }

    .integrations-box {
        flex-direction: column;
    }

    .speech-bubbles {
        grid-template-columns: 1fr;
        min-height: auto;
        justify-items: center;
        gap: 2rem;
        padding: 2rem 1rem;
        overflow-x: hidden;
        width: 100%;
        box-sizing: border-box;
        margin: 0;
    }

    .bubble {
        grid-column: 1 !important;
        justify-self: center !important;
        max-width: calc(100vw - 3rem);
        box-sizing: border-box;
        white-space: normal;
    }
    
    .bubble:nth-child(1) { 
        grid-row: 1;
        margin-top: 0;
        transform: rotate(15deg);
    }
    .bubble:nth-child(2) { 
        grid-row: 2;
        transform: rotate(-20deg);
        position: relative;
        left: -5rem;
    }
    .bubble:nth-child(3) { 
        grid-row: 2;
        transform: rotate(-15deg);
        position: relative;
        right: -5rem;
    }
    .bubble:nth-child(4) { 
        grid-row: 3;
        transform: rotate(5deg);
        position: relative;
        right: -1rem;
    }
    .bubble:nth-child(5) { 
        grid-row: 4;
        transform: rotate(5deg);
        margin-bottom: 0;
        position: relative;
        left: -4rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

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

    .btn-large {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

/* Scroll Animation Classes */
.section-fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.section-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Exclude terms container from fade-in animation */
.terms-container {
    opacity: 1 !important;
    transform: none !important;
}

/* Terms and Privacy Page Styles */
.terms-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 2rem;
    color: var(--text-primary);
}

.terms-header {
    text-align: left;
}

.terms-header h1 {
    font-family: 'Arvo', serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

.terms-content {
    line-height: 1.8;
}

.terms-content h2 {
    font-family: 'Arvo', serif;
    font-size: 1.8rem;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    border-bottom: 2px solid var(--primary);
    padding-bottom: 0.5rem;
}

.terms-content h3 {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.terms-content h4 {
    font-family: 'Quicksand', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.terms-content p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.terms-content ul, 
.terms-content ol {
    margin: 1rem 0;
    padding-left: 2rem;
    color: var(--text-secondary);
}

.terms-content li {
    margin-bottom: 0.5rem;
}

.terms-content strong {
    color: var(--text-primary);
    font-weight: 600;
}

.terms-content a {
    color: var(--primary);
    text-decoration: underline;
}

.terms-content a:hover {
    color: var(--accent-button);
}

.terms-content hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}

.terms-content .definition-term {
    font-weight: 600;
    color: var(--text-primary);
}

.back-link {
    display: inline-block;
    margin-bottom: 2rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: var(--accent-button);
}

.effective-date {
    margin-top: 0.5rem;
    margin-bottom: 2rem;
    padding: 0;
}

.effective-date strong {
    color: var(--text-primary);
}

.terms-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.terms-content table th,
.terms-content table td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.terms-content table th {
    font-weight: 600;
    color: var(--text-primary);
    background: rgba(0, 115, 133, 0.1);
}

.terms-content table td {
    color: var(--text-secondary);
}

.terms-content table tr:last-child td {
    border-bottom: none;
}

.end-section {
    margin-top: 4rem;
    text-align: left;
}

.appendix {
    margin-top: 3rem;
}

.appendix h2 {
    color: var(--primary);
}

.contact-info {
    margin: 1rem 0;
    line-height: 1.8;
}

.contact-info p {
    margin: 0.5rem 0;
}

.update-note {
    margin-top: 2rem;
    
    font-style: italic;
    color: var(--text-secondary);
}

/* Hide header on terms and privacy pages */
body:has(.terms-container) .header {
    display: none;
}

