/*
 * View2.be - Main Stylesheet
 * Version: 1.0 (Blue Theme)
 * Last Updated: 2025-11-03
 */

/* ---------------------------------- */
/*          BASE & SETUP              */
/* ---------------------------------- */
:root {
    --primary-color: #007BFF;    /* Vivid Blue */
    --secondary-color: #3395FF;  /* Lighter Blue */
    --dark-color: #1e293b;
    --light-color: #f8fafc;
    --background-color: #ffffff;
    --text-color: #1e293b;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --danger-color: #ef4444;
    --success-color: #22c55e;
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --transition: all 0.3s ease;
    --header-height: 80px; /* For JS scroll calculations */
    --scroll-offset: 120px; /* Header height + extra padding */
    --danger-bg-light: rgba(239, 68, 68, 0.1);
    --success-bg-light: rgba(34, 197, 94, 0.1);
    --primary-bg-light: rgba(0, 123, 255, 0.05);
    --primary-border-light: rgba(0, 123, 255, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

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

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ---------------------------------- */
/*          TYPOGRAPHY                */
/* ---------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 { font-size: 3.25rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

.highlight {
    color: var(--primary-color);
}

/* ---------------------------------- */
/*          BUTTONS                   */
/* ---------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
    font-size: 1rem;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    color: white;
}

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

/* ---------------------------------- */
/*          HEADER & NAVIGATION       */
/* ---------------------------------- */
.header {
    padding: 1rem 0;
    background-color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    height: var(--header-height);
    display: flex;
    align-items: center;
}

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

.main-nav {
    margin: 0 auto 0 4rem;
}

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

.nav-list a {
    color: var(--text-color);
    font-weight: 500;
}

.nav-list a:hover,
.nav-list a.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* Nav dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-chevron {
    font-size: 0.625rem;
    transition: transform 0.2s ease;
    opacity: 0.5;
}

.nav-dropdown:hover .nav-chevron {
    transform: rotate(180deg);
    opacity: 1;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    min-width: 200px;
    padding: 0.5rem 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    z-index: 100;
    margin-top: 8px;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu li a {
    display: block;
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    color: var(--text-color);
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-dropdown-menu li a:hover {
    background-color: rgba(0, 123, 255, 0.06);
    color: var(--primary-color);
}

/* ---------------------------------- */
/*          MOBILE MENU               */
/* ---------------------------------- */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2001;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px 0;
    border-radius: 3px;
    transition: var(--transition);
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: white;
    z-index: 2000;
    padding: 2rem;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-top: 0.25rem;
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
}

.mobile-nav-list {
    list-style: none;
    margin-top: 2rem;
}

.mobile-nav-list li {
    margin-bottom: 1.5rem;
}

.mobile-nav-list a {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
}

.mobile-nav-list a.active {
    color: var(--primary-color);
}

.mobile-buttons {
    margin-top: auto;
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border-top: 1px solid var(--border-color);
}

/* Mobile dropdown sections */
.mobile-nav-section-title {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    padding: 1.25rem 0 0.5rem;
}

.mobile-nav-list .mobile-nav-subitem a {
    font-size: 1rem;
    font-weight: 500;
    padding: 0.75rem 0 0.75rem 1rem;
    display: block;
    border-left: 2px solid var(--border-color);
    color: var(--text-color);
}

.mobile-nav-list .mobile-nav-subitem a:hover {
    color: var(--primary-color);
    border-left-color: var(--primary-color);
}

/* ---------------------------------- */
/*          MAIN CONTENT & SECTIONS   */
/* ---------------------------------- */
main {
    padding-top: 0; /* Header is sticky, not fixed */
}

section {
    padding: 5rem 0;
}

section[id] {
    scroll-margin-top: var(--scroll-offset);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.125rem;
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
    background-color: var(--light-color);
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumb-list {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.breadcrumb-list li:not(:last-child)::after {
    content: '/';
    margin-left: 0.5rem;
    color: var(--text-muted);
}

.breadcrumb-list a {
    color: var(--primary-color);
    font-weight: 500;
}

.breadcrumb-list a:hover {
    text-decoration: underline;
}

/* Hero Section */
.hero {
    padding: 6rem 0;
    background-color: #f8fafc;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.hero-shapes .shape {
    position: absolute;
    border-radius: 50%;
    z-index: 0;
    opacity: 0.7;
}

.hero-shapes .shape-1 {
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: rgba(0, 123, 255, 0.1);
}

.hero-shapes .shape-2 {
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: rgba(51, 149, 255, 0.1);
}

/* Generic Card Styles */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.card {
    background-color: white;
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
}

.card.animated {
    opacity: 1;
    transform: translateY(0);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.card-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(0, 123, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.card-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

/* CollabPals Intro Section */
.collabpals-intro {
    background-color: var(--light-color);
}

.thumbnail-tip {
    max-width: 700px;
    margin: 3rem auto 0;
    padding: 1.25rem 1.5rem;
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--primary-color);
    border-radius: var(--radius-md);
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

.thumbnail-tip i {
    color: var(--primary-color);
    margin-right: 0.25rem;
}

.cta-container {
    text-align: center;
    margin-top: 3rem;
}

/* How It Works Section */
.steps-container {
    max-width: 900px;
    margin: 0 auto;
}

.step-card {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    position: relative;
    background-color: var(--light-color);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
}

.step-card.animated {
    opacity: 1;
    transform: translateY(0);
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.step-card:last-child {
    margin-bottom: 0;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin-right: 2rem;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    margin-bottom: 0.5rem;
}

.step-content p {
    margin-bottom: 0;
    color: var(--text-muted);
}

/* Comparison Table Section */
.comparison-section {
    background-color: var(--light-color);
}

.comparison-table-wrapper {
    overflow-x: auto;
    margin-bottom: 3rem;
    -webkit-overflow-scrolling: touch;
}

.comparison-table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: white;
}

.comparison-table th,
.comparison-table td {
    padding: 1.25rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table thead th {
    background-color: var(--dark-color);
    color: white;
    font-weight: 600;
}

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

.comparison-table td:first-child {
    font-weight: 600;
    color: var(--text-color);
}

.comparison-table td.positive { color: var(--success-color); }
.comparison-table td.negative { color: var(--danger-color); }

.comparison-table td i {
    margin-right: 0.5rem;
    width: 20px;
    text-align: center;
}

/* FAQ Section */
.faq-section {
    background-color: white;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--light-color);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.faq-question {
    /* Reset button styles */
    background: none;
    border: none;
    width: 100%;
    /* Original styles */
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left; /* Ensure text alignment */
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: 1.125rem;
    padding-right: 2rem;
}

.faq-toggle {
    color: var(--primary-color);
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    display: none;
    color: var(--text-muted);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

/* Bottom CTA Section */
.bottom-cta {
    padding-bottom: 5rem; /* Adds space before the footer */
}

.cta-box {
    background: var(--gradient-primary);
    padding: 4rem;
    border-radius: var(--radius-lg);
    text-align: center;
    color: white;
}

.cta-box h2 {
    margin-bottom: 1.25rem;
    font-size: 2rem;
}

.cta-box p {
    max-width: 700px;
    margin: 0 auto 2.5rem;
    opacity: 0.9;
    font-size: 1.125rem;
}

.btn-cta-primary {
    background-color: white;
    color: var(--primary-color);
}

.btn-cta-primary:hover {
    background-color: #f8f9fa;
}

/* ---------------------------------- */
/*          FOOTER                    */
/* ---------------------------------- */
.footer {
    background-color: var(--dark-color);
    color: rgba(255, 255, 255, 0.7);
    padding: 5rem 0 2rem;
}

.footer-top {
    display: flex;
    gap: 4rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.footer-logo {
    flex: 1 1 300px;
}

.footer-logo p {
    opacity: 0.7;
}

.footer-links {
    flex: 2 1 500px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
}

.footer-link-group h4 {
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1rem;
    font-weight: 600;
}

.footer-link-group ul {
    list-style: none;
}

.footer-link-group li {
    margin-bottom: 0.75rem;
}

.footer-link-group a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-link-group a:hover {
    color: white;
}

/* Footer tools collapse (mobile only) */
.footer-tools-toggle {
    display: none;
}

@media (max-width: 768px) {
    .footer-tools-overflow { display: none; }
    .footer-link-group--tools.expanded .footer-tools-overflow { display: list-item; }

    .footer-tools-toggle {
        display: inline-flex;
        align-items: center;
        gap: 0.25rem;
        background: none;
        border: 1px solid rgba(255,255,255,0.3);
        color: rgba(255,255,255,0.6);
        font-size: 0.75rem;
        font-weight: 500;
        padding: 0.25rem 1rem;
        border-radius: 999px;
        cursor: pointer;
        margin-top: 0.5rem;
        transition: all 0.15s ease;
    }
    .footer-tools-toggle:hover { color: #fff; border-color: rgba(255,255,255,0.5); }
    .footer-tools-toggle i { font-size: 0.6rem; transition: transform 0.15s ease; }
    .footer-link-group--tools.expanded .footer-tools-toggle i { transform: rotate(180deg); }
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.875rem;
}

.footer-bottom p {
    margin-bottom: 0;
}

/* ---------------------------------- */
/*        UTILITY & ACCESSIBILITY     */
/* ---------------------------------- */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ---------------------------------- */
/*    LANDING PAGE COMPONENTS         */
/* ---------------------------------- */

/* Trust Bar (inside hero) */
.trust-bar {
    position: relative;
    z-index: 4;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border-color);
    margin: 3.5rem auto 0;
    max-width: 1280px;
}

.trust-bar-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.trust-bar .trust-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-right: 1px solid var(--border-color);
}

.trust-bar .trust-item:last-child {
    border-right: none;
}

.trust-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: rgba(0, 123, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.trust-icon i {
    font-size: 1.125rem;
    color: var(--primary-color);
}

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

.trust-highlight {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1.2;
}

.trust-label {
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.3;
}

/* Breadcrumb (positioned inside hero) */
.hero .breadcrumb-nav {
    position: absolute;
    top: 16px;
    left: 0;
    right: 0;
    z-index: 5;
}

.hero .breadcrumb-nav ol {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 13px;
}

.hero .breadcrumb-nav li {
    color: var(--text-muted);
}

.hero .breadcrumb-nav a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.hero .breadcrumb-nav a:hover {
    text-decoration: underline;
}

/* Feature cards grid (landing pages) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background-color: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--secondary-color);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.feature-icon i {
    font-size: 1.5rem;
    color: white;
}

.feature-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Steps grid (landing pages) */
.steps-grid {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.steps-grid::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 60px;
    bottom: 60px;
    width: 2px;
    background: var(--gradient-primary);
    opacity: 0.2;
    border-radius: 1px;
}

/* Landing page sections */
.features {
    background-color: white;
}

/* Tighter padding for "More Free Tools" cross-link section */
.features#more-tools {
    padding: 2.5rem 0;
}

.features:nth-of-type(even) {
    background-color: var(--light-color);
}

/* Section CTA container */
.section-cta {
    text-align: center;
    margin-top: 3.5rem;
}

/* Comparison section for landing pages */
.comparison {
    background-color: var(--light-color);
}

.comparison-table .negative-header {
    background-color: #dc2626;
    color: white;
}

.comparison-table .positive-header {
    background-color: var(--success-color);
    color: white;
}

.comparison-table .feature-name {
    font-weight: 600;
    color: var(--text-color);
}

/* FAQ section for landing pages */
.faq {
    background-color: white;
}

/* ---------------------------------- */
/*          RESPONSIVE DESIGN         */
/* ---------------------------------- */
@media (max-width: 1100px) {
    h1 { font-size: 2.75rem; }
    h2 { font-size: 2rem; }
}

@media (max-width: 992px) {
    .main-nav, .header-buttons {
        display: none;
    }
    .mobile-menu-toggle {
        display: block;
    }
    .step-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }
    .step-number {
        margin-right: 0;
        margin-bottom: 1.5rem;
    }
    .trust-bar-inner {
        grid-template-columns: repeat(2, 1fr);
    }
    .trust-bar .trust-item:nth-child(2) {
        border-right: none;
    }
    .trust-bar .trust-item:nth-child(1),
    .trust-bar .trust-item:nth-child(2) {
        border-bottom: 1px solid var(--border-color);
    }
    .steps-grid::before {
        display: none;
    }
    .footer-top {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.875rem; }
    .hero { padding: 4rem 0; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; max-width: 360px; }
    .features-grid { grid-template-columns: 1fr; gap: 1rem; }
    .feature-card { padding: 1.75rem; }
    .trust-bar-inner { grid-template-columns: 1fr; }
    .trust-bar .trust-item { border-right: none; border-bottom: 1px solid var(--border-color); }
    .trust-bar .trust-item:last-child { border-bottom: none; }

    .comparison-table thead {
        display: none;
    }
    .comparison-table tr {
        display: block;
        margin-bottom: 1.5rem;
        border: 1px solid var(--border-color);
        border-radius: var(--radius-md);
        overflow: hidden;
    }
    .comparison-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: right;
        padding: 1rem;
    }
    .comparison-table td::before {
        content: attr(data-label);
        font-weight: 600;
        text-align: left;
        color: var(--text-color);
    }
    .comparison-table td:first-child {
        background-color: var(--dark-color);
        color: white;
        font-weight: 700;
        display: block;
        text-align: center;
        padding: 1rem;
    }
    .comparison-table td:first-child::before {
        content: "";
    }
    .cta-box {
        padding: 3rem 2rem;
    }
}

@media (max-width: 576px) {
    section { padding: 3rem 0; }
    .hero-content p { font-size: 1rem; }
    .footer-links {
        grid-template-columns: 1fr;
    }
}

/* --- Logo Icon + Text Styles --- */
a.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

a.logo img {
    height: 40px;
    width: auto;
}

.logo-text-wrapper {
    display: flex;
    flex-direction: column;
}

.logo-main-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    line-height: 1;
}

.logo-subtext {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.2;
    margin-top: 2px;
}

.footer .logo .logo-main-text,
.footer .logo .logo-subtext {
    color: #ffffff;
}

.footer .logo .logo-subtext {
    opacity: 0.7;
}

/* Hero Recommendation Box */
.hero-recommendation {
    max-width: 550px;
    margin: 0 auto 2.5rem auto;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background-color: #fff;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    gap: 1.5rem;
}

.recommendation-from {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding-right: 1.5rem;
    border-right: 1px solid var(--border-color);
}

.recommendation-brand-text {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-muted);
    line-height: 1;
}

.recommendation-label {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    margin-top: 4px;
}

.recommendation-to {
    text-align: left;
    transition: transform 0.2s ease;
}

.recommendation-to:hover {
    transform: scale(1.02);
}

.collabpals-logo-text {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-color);
    display: block;
    line-height: 1;
}

.collabpals-subtext {
    font-size: 0.875rem;
    color: var(--primary-color);
    font-weight: 500;
}

/* Responsive styles for recommendation box */
@media (max-width: 576px) {
    .hero-recommendation {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1.25rem;
    }
    .recommendation-from {
        border-right: none;
        padding-right: 0;
        padding-bottom: 0.75rem;
        border-bottom: 1px solid var(--border-color);
        width: 100%;
        align-items: center;
        text-align: center;
    }
    .recommendation-to {
        text-align: center;
    }
}

/* Social Proof Section */
.social-proof {
    background-color: #e7f2ff; /* A slightly different shade to stand out */
    padding: 1.5rem 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.social-proof p {
    margin-bottom: 0;
    font-size: 1.125rem;
    color: var(--text-muted);
    font-weight: 500;
}

.social-proof i {
    color: var(--primary-color);
    margin-right: 0.75rem;
    vertical-align: middle;
}

.social-proof strong {
    color: var(--text-color);
}

@media (max-width: 768px) {
    .social-proof p {
        font-size: 1rem;
    }
}

/* Contact Page */
.contact-section {
    padding: 5rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 960px;
    margin: 0 auto;
}

.contact-card {
    background-color: var(--light-color);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    text-align: center;
}

.contact-card .card-icon {
    margin-bottom: 1.5rem;
}

.contact-card h3 {
    margin-bottom: 0.75rem;
}

.contact-card p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.contact-link {
    font-weight: 600;
    color: var(--primary-color);
    word-break: break-word;
}

.contact-link:hover {
    color: var(--secondary-color);
}

/* Footer Disclaimer Styling */
.footer-disclaimer {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    margin-top: 1rem;
}

/* ---------------------------------- */
/*       REDESIGN: NEW COMPONENTS     */
/* ---------------------------------- */

/* Ghost/Outline Button Variant */
.btn-ghost {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: none;
}

.btn-ghost:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Secondary/Buy Button Variant */
.btn-secondary {
    background: #7c3aed;
    color: white;
    border: 2px solid #7c3aed;
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: #6d28d9;
    border-color: #6d28d9;
    color: white;
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

/* Hero Buy Text Link */
.hero-buy-link {
    margin-top: 14px;
    font-size: 15px;
}

.hero-buy-link a {
    color: var(--dark-800, #1e293b);
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 500;
    transition: color 150ms ease;
}

.hero-buy-link a:hover {
    color: #7c3aed;
}

.cta-box .hero-buy-link {
    margin-top: 12px;
}

.cta-box .hero-buy-link a {
    color: rgba(255, 255, 255, 0.9);
}

.cta-box .hero-buy-link a:hover {
    color: #ffffff;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(0, 123, 255, 0.08);
    color: var(--primary-color);
    border: 1px solid rgba(0, 123, 255, 0.2);
    padding: 0.5rem 1.25rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero-badge i {
    font-size: 0.875rem;
}

/* Hero Trust Row */
.hero-trust-row {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    color: var(--text-muted);
    font-weight: 500;
}

.trust-item i {
    color: var(--primary-color);
    font-size: 1rem;
}

/* Social Proof Grid */
.social-proof-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.proof-stat {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

.proof-stat.animated {
    opacity: 1;
    transform: translateY(0);
}

.proof-stat > i {
    font-size: 1.25rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.proof-stat-text {
    display: flex;
    flex-direction: column;
}

.proof-stat-text strong {
    font-size: 0.9375rem;
    color: var(--text-color);
    line-height: 1.2;
}

.proof-stat-text span {
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.3;
}

/* Danger Card Variant (Problem Section) */
.card-danger {
    border-top: 3px solid var(--danger-color);
}

.card-icon-danger {
    background-color: var(--danger-bg-light);
}

.card-icon-danger i {
    color: var(--danger-color);
}

/* Success Card Variant (Solution Section) */
.card-success {
    border-top: 3px solid var(--success-color);
}

.card-icon-success {
    background-color: var(--success-bg-light);
}

.card-icon-success i {
    color: var(--success-color);
}

/* Timeline Steps */
.steps-timeline {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.steps-timeline .step-card {
    position: relative;
    padding-left: 100px;
    margin-bottom: 0;
    padding-bottom: 3rem;
    background-color: transparent;
    padding-top: 0;
    padding-right: 0;
    box-shadow: none;
    border-radius: 0;
}

.steps-timeline .step-card:last-child {
    padding-bottom: 0;
}

.steps-timeline .step-card:hover {
    transform: none;
    box-shadow: none;
}

.step-connector {
    position: absolute;
    left: 29px;
    top: 60px;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.steps-timeline .step-card:last-child .step-connector {
    display: none;
}

.steps-timeline .step-number {
    position: absolute;
    left: 0;
    top: 0;
}

.steps-timeline .step-content {
    background-color: var(--light-color);
    padding: 1.5rem 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
}

/* Flywheel Section */
.flywheel-section {
    background-color: white;
}

.flywheel-visual {
    max-width: 700px;
    margin: 0 auto;
}

.flywheel-step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background-color: var(--light-color);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

.flywheel-step.animated {
    opacity: 1;
    transform: translateY(0);
}

.flywheel-icon {
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: white;
    font-size: 1.25rem;
}

.flywheel-text h3 {
    margin-bottom: 0.25rem;
    font-size: 1.125rem;
}

.flywheel-text p {
    margin-bottom: 0;
    color: var(--text-muted);
    font-size: 0.9375rem;
}

.flywheel-arrow {
    text-align: center;
    padding: 0.75rem 0;
    color: var(--primary-color);
    font-size: 1.25rem;
}

.flywheel-summary {
    max-width: 700px;
    margin: 2rem auto 0;
    padding: 1.25rem 1.5rem;
    background-color: var(--primary-bg-light);
    border: 1px solid var(--primary-border-light);
    border-radius: var(--radius-md);
    text-align: center;
}

.flywheel-summary p {
    margin-bottom: 0;
    color: var(--text-color);
}

/* Comparison Table Recommended Badge */
.th-recommended {
    position: relative;
}

.recommended-badge {
    display: inline-block;
    background-color: var(--success-color);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-right: 0.5rem;
    vertical-align: middle;
}

/* Testimonials Section */
.testimonials-section {
    background-color: white;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background-color: var(--light-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
}

.testimonial-card.animated {
    opacity: 1;
    transform: translateY(0);
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.testimonial-stars {
    color: #f59e0b;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.testimonial-stars i {
    margin-right: 0.125rem;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-color);
    font-style: italic;
    margin-bottom: 1.5rem;
}

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

.testimonial-name {
    font-weight: 600;
    color: var(--text-color);
}

.testimonial-niche {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* CTA Trust Badges */
.cta-trust-badges {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.cta-trust-badges span {
    font-size: 0.875rem;
    opacity: 0.9;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

.cta-trust-badges i {
    font-size: 0.75rem;
}

/* ---------------------------------- */
/*    REDESIGN: RESPONSIVE ADDITIONS  */
/* ---------------------------------- */

@media (max-width: 992px) {
    .steps-timeline .step-card {
        padding-left: 0;
        text-align: center;
    }
    .steps-timeline .step-number {
        position: relative;
        left: auto;
        margin: 0 auto 1.5rem;
    }
    .step-connector {
        display: none;
    }
    .steps-timeline .step-content {
        padding: 1.5rem;
    }
    .steps-timeline .step-card {
        padding-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .social-proof-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .hero-trust-row {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }
    .cta-trust-badges {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
    .flywheel-step {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    .flywheel-icon {
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .social-proof-grid {
        grid-template-columns: 1fr;
    }
    .hero-badge {
        font-size: 0.8rem;
        padding: 0.375rem 0.75rem;
    }
}