/* --- Root Setup --- */
:root {
    --primary: #2563eb;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --white: #ffffff;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #f9fafb;
    color: var(--text-dark);
}


/* This ensures the container itself stays at the top */
#header {
    position: sticky;
    top: 0;
    z-index: 2000; /* High enough to stay above page content */
    width: 100%;
}

/* Maintain your existing header styles, but we can remove 'top' here */
.main-header {
    background: #ffffff;
    padding: 0.8rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    /* position: sticky; <-- You can keep or remove this now that parent is sticky */
    width: 100%;
    box-sizing: border-box;
}

/* --- Updated Hero Section --- */
.hero {
    padding: 160px 5% 120px;
    /* Unsplash Image with a dark overlay for text contrast */
    background: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)), 
                url('https://images.unsplash.com/photo-1499951360447-b19be8fe80f5?q=80&w=2070&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Optional: creates a slight parallax effect */
    text-align: center;
    overflow: hidden;
}

.hero-container {
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background: var(--primary); /* Switched to solid color for better visibility on images */
    color: white;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.5rem, 6vw, 5rem); /* Slightly larger for impact */
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 25px;
    color: #1f2937; /* Darker for readability */
}

.hero h1 span { 
    color: var(--primary);
    position: relative;
}

.hero p {
    font-size: 1.25rem;
    color: #4b5563;
    max-weight: 500;
    max-width: 650px;
    margin: 0 auto 45px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {     padding: 14px 35px; 
        border-radius: 12px;    
         font-weight: 600; 

           text-decoration: none; 
               transition: 0.3s; }  
               
.btn-primary {     background: var(--primary); 
        color: white;  
           box-shadow: 0 10px 15px rgba(37, 99, 235, 0.2); 
        } 
        
        /* Updated Button Hover */
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 20px rgba(37, 99, 235, 0.3);
    background: #1d4ed8; /* Slightly darker blue */
}

.btn-outline {     
    border: 2px solid #e5e7eb; 
        color: #4b5563;
     }  
     
.btn-outline:hover {    
     border-color: var(--primary);  
       background: #f9fafb; }


       /* --- Global Container --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Section Header --- */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.sub-title {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin: 10px 0 20px;
    color: #1f2937;
}

.section-header p {
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

/* --- Tools Grid --- */
.tools-grid {
    padding: 100px 0;
    background: #fcfcfd;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.tool-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
    text-align: left;
}

.tool-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05);
    border-color: var(--primary);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: #eff6ff;
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 25px;
}

.tool-card h3 {
    margin-bottom: 15px;
    color: #111827;
}

.tool-card p {
    color: #6b7280;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.card-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}



/* --- Features Section with Full Background --- */
.features-section {
    padding: 140px 0;
    position: relative;
    /* Gradient overlay + Background Image from Unsplash */
    background: linear-gradient(rgba(255, 255, 255, 0.94), rgba(245, 248, 255, 0.96)), 
                url('https://images.unsplash.com/photo-1460925895917-afdab827c52f?q=80&w=2015&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect */
    overflow: hidden;
}

.split-layout {
    display: flex;
    align-items: center;
    gap: 80px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.features-content {
    flex: 1.2;
    min-width: 320px;
}

.features-image {
    flex: 0.8;
    min-width: 320px;
}

.image-wrapper {
    position: relative;
}

/* Updated floating decoration */
.image-wrapper::before {
    content: '';
    position: absolute;
    width: 110%;
    height: 110%;
    background: var(--primary);
    top: -5%;
    left: -5%;
    border-radius: 40px;
    z-index: 0;
    opacity: 0.05;
    filter: blur(40px);
}

.features-image img {
    width: 100%;
    border-radius: 30px;
    position: relative;
    z-index: 1;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.features-list {
    list-style: none;
    padding: 0;
    margin-top: 50px;
}

/* Modernized Feature Items with Glassmorphism */
.feature-item {
    display: flex;
    gap: 25px;
    margin-bottom: 30px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 25px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.feature-item:hover {
    background: #ffffff;
    transform: translateX(15px) translateY(-5px);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.1);
    border-color: var(--primary);
}

.feat-icon {
    width: 60px;
    height: 60px;
    background: #ffffff;
    color: var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
    transition: 0.4s;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.feature-item:hover .feat-icon {
    background: var(--primary);
    color: #ffffff;
    transform: rotateY(180deg); /* Modern flip effect */
}

.feat-text h4 {
    margin-bottom: 8px;
    color: #0f172a;
    font-size: 1.3rem;
    font-weight: 700;
}

.feat-text p {
    color: #475569;
    font-size: 1rem;
    line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .features-section { padding: 80px 0; }
    .split-layout { gap: 50px; text-align: center; }
    .feature-item {
        flex-direction: column;
        align-items: center;
        padding: 30px;
    }
    .feature-item:hover { transform: translateY(-10px); }
    .feat-icon { margin-bottom: 15px; }
}



/* --- Stats Bar Styles --- */
.stats-bar {
    margin-top: -50px; /* Overlaps the previous section slightly */
    position: relative;
    z-index: 10;
    padding-bottom: 60px;
}

.stats-container {
    background: #ffffff;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 40px 20px;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(229, 231, 235, 0.5);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stat-data {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 600;
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: #e5e7eb;
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .stats-container {
        flex-wrap: wrap;
        gap: 30px;
        margin: 0 10px;
    }
    .stat-divider {
        display: none;
    }
    .stat-item {
        min-width: 150px;
        justify-content: center;
        text-align: center;
        flex-direction: column;
    }
}


/* --- TaboTools Profile Section --- */
.tabo-profile-section {
    padding: 120px 0;
    position: relative;
    
    /* 1. Light Gradient | 2. High-Quality Tech Image */
    background: linear-gradient(rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.85)), 
                url(' https://images.unsplash.com/photo-1435575653489-b0873ec954e2?w=600&auto=format&fit=crop&q=60&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8MTJ8fGNvbXBhbnl8ZW58MHx8MHx8fDA%3D');
    
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Creates a smooth parallax feel */
    border-top: 1px solid #e2e8f0;
}

.profile-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

/* --- Left Side (Branding) --- */
.experience-badge {
    font-weight: 800;
    letter-spacing: 3px;
    color: var(--primary);
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.brand-display {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1;
    color: #0f172a;
    letter-spacing: -3px;
}

.brand-display span {
    color: #94a3b8; /* Muted slate for "TOOLS" makes it look premium */
}

.status-indicator {
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: #64748b;
    font-size: 0.9rem;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(16, 185, 129, 0.4);
    animation: pulse 2s infinite;
}

/* --- Right Side (Content) --- */
.manifesto-text {
    font-size: 1.8rem;
    color: #1e293b;
    line-height: 1.4;
    font-weight: 500;
    margin-bottom: 25px;
}

.secondary-text {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 35px;
}

.trust-pills {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.pill {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 10px 20px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.85rem;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.pill i {
    color: var(--primary);
    font-size: 1.1rem;
}

/* Animation */
@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Responsive */
@media (max-width: 992px) {
    .profile-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }
    .brand-display { font-size: 3.5rem; }
    .status-indicator, .trust-pills { justify-content: center; }
}



/* --- Support & Collab Section --- */
.support-collab-section {
    padding: 100px 0;
    background: #ffffff;
    /* Subtle light blueprint/grid background */
    background: linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)), 
                url('https://www.transparenttextures.com/patterns/cubes.png');
    border-top: 1px solid #f1f5f9;
}

.support-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    background: #ffffff;
    padding: 60px;
    border-radius: 30px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.03);
}

.support-pillar {
    flex: 1;
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.support-icon-box {
    width: 60px;
    height: 60px;
    background: #eff6ff; /* Soft blue */
    color: var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.support-text h3 {
    font-size: 1.5rem;
    color: #0f172a;
    margin-bottom: 12px;
    font-weight: 800;
}

.support-text p {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.support-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: 0.3s ease;
}

.support-link:hover {
    gap: 12px;
}

/* Vertical Divider for Desktop */
.pillar-divider {
    width: 1px;
    height: 120px;
    background: #e2e8f0;
}

/* Responsive */
@media (max-width: 992px) {
    .support-wrapper {
        flex-direction: column;
        padding: 40px;
    }
    .pillar-divider {
        display: none;
    }
    .support-pillar {
        text-align: center;
        flex-direction: column;
        align-items: center;
    }
}




/* --- FAQ Section --- */
.faq-section {
    padding: 120px 0;
    background-color: #f8fafc;
    /* Subtle Grid Pattern */
    background-image: linear-gradient(#e2e8f0 1px, transparent 1px), 
                      linear-gradient(90deg, #e2e8f0 1px, transparent 1px);
    background-size: 60px 60px;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #ffffff;
    margin-bottom: 15px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.03);
}

summary {
    padding: 25px 30px;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    color: #0f172a;
    cursor: pointer;
    font-size: 1.1rem;
    transition: 0.3s;
}

summary::-webkit-details-marker {
    display: none;
}

.faq-item i {
    transition: 0.3s;
    color: var(--primary);
    font-size: 1.4rem;
}

/* Open State Styling */
.faq-item[open] {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.08);
}

.faq-item[open] i {
    transform: rotate(45deg); /* Turns the Plus into an X */
}

.faq-content {
    padding: 0 30px 25px;
    color: #64748b;
    line-height: 1.7;
    font-size: 1rem;
}

.faq-content p {
    margin-bottom: 0;
}






