/* Index (Homepage) Specific Styles */

.hero h1 {
    font-size: 5.2rem;
    font-weight: 800;
    margin-bottom: 5px;
    color: var(--text-color);
    line-height: 1.2;
    letter-spacing: -0.02em;
    max-width: 900px;
    margin: 0 auto 10px;
}

.hero .hero-subheading {
    font-size: 2.2rem;
    font-weight: 600;
    color: #b0b8c4;
    max-width: 800px;
    margin: 0 auto 25px;
    line-height: 1.4;
}

.hero p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 30px;
    color: rgba(240, 240, 240, 0.8);
    line-height: 1.7;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-item {
    background-color: rgba(26, 31, 36, 0.75);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    padding: 40px 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feature-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--accent-text-color);
}

.feature-item p {
    font-size: 1.1rem;
    line-height: 1.6;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    border-color: var(--highlight-color);
}

.screenshot-gallery {
    /* Replaced grid with a responsive column layout for a masonry effect */
    column-count: 3;
    column-gap: 25px;
    margin-top: 40px;
}

.screenshot-gallery img {
    width: 100%;
    height: auto; /* Ensure aspect ratio is maintained */
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    margin-bottom: 25px; /* Add space between images in the same column */
    break-inside: avoid; /* Prevent images from breaking across columns */
}

.screenshot-gallery img:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}

.screenshots p {
    text-align: center;
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 20px;
    color: rgba(240, 240, 240, 0.8);
}

/* Trust section */
.trust p {
    text-align: center;
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
    color: rgba(240, 240, 240, 0.8);
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
}

.trust-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-color);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

.trust-item:hover {
    background-color: rgba(0, 162, 255, 0.2);
    transform: translateY(-3px);
    border-color: rgba(0, 162, 255, 0.3);
}

.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    max-width: 1600px;
    margin: 0 auto;
}

.testimonial {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.testimonial:hover {
    background-color: rgba(0, 162, 255, 0.08);
    transform: translateY(-5px);
}

.testimonial p {
    font-size: 1.1rem;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 20px;
    text-align: left;
}

.testimonial cite {
    font-style: normal;
    font-weight: 600;
    color: var(--highlight-color);
    display: block;
    text-align: right;
}

/* Hero section specific styles */
.hero {
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 0 80px;
    position: relative;
}

.hero .echelon-logo {
    max-width: 240px;
    margin-bottom: 50px;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.2));
}

.hero .forwardflow-logo {
    max-width: 400px;
    height: auto;
    margin-bottom: 40px;
    filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.3));
}

/* Styles for the download section on the homepage */
#download h2 { /* section h2 is already centered by global styles */
    margin-bottom: 35px; /* INCREASED from 20px for more space below line */
}

/* Adjust the blue line under H2 specifically for this section */
#download h2::after {
    bottom: -8px; /* Default is -15px, bringing it closer to the text */
}

#download .download-intro-text {
    text-align: center;
    font-size: 1.2rem; 
    color: rgba(240, 240, 240, 0.85);
    max-width: 800px; /* INCREASED from 700px */
    margin: 0 auto 30px auto; 
    line-height: 1.6;
}

#download .trial-highlight {
    color: var(--text-color); /* White text */
    font-weight: 700; /* Bolder */
    background-color: #383e45; /* Custom mid-dark grey background */
    padding: 4px 10px; /* Slightly adjusted padding */
    border-radius: 5px; 
    display: inline-block; 
    line-height: 1.4; 
}

#download .cta-buttons { /* .cta-buttons from base.css already has justify-content: center */
    /* No additional centering styles needed here if base.css is sufficient */
}

/* Reduce overall vertical padding for the #download section specifically */
section#download.glass-card {
    padding-top: 50px;
    padding-bottom: 50px;
    /* Horizontal padding will still be 60px from .glass-card in base.css */
}

/* --- Responsive Adjustments for Index --- */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 2.8rem;
    }
    .hero .forwardflow-logo {
        max-width: 320px;
        margin-bottom: 35px;
    }
    .trust-badges {
        gap: 10px;
    }
    
    .testimonials {
        grid-template-columns: 1fr;
    }
    .screenshot-gallery {
        column-count: 2;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.4rem;
    }
    .hero .forwardflow-logo {
        max-width: 280px;
        margin-bottom: 30px;
    }
    .hero p {
        font-size: 1.1rem;
    }
    .feature-list {
        grid-template-columns: 1fr;
    }
    .screenshot-gallery {
        column-count: 1;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    .hero .forwardflow-logo {
        max-width: 200px;
        margin-bottom: 25px;
    }
    .screenshot-gallery {
        column-count: 1;
    }
}

/* --- Landing Page Specific Styles --- */

/* Problem-Solution Comparison Grid */
.problem-solution {
    text-align: center;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.comparison-column {
    background-color: rgba(26, 31, 36, 0.75);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.comparison-column:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.comparison-column h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--accent-text-color);
    text-align: center;
}

.problem-list, .solution-list {
    list-style: none;
    padding: 0;
}

.problem-list li, .solution-list li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    padding-left: 30px;
}

.problem-list li:last-child, .solution-list li:last-child {
    border-bottom: none;
}

.problem-list li::before {
    content: "✗";
    color: #ff6b6b;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 12px;
}

.solution-list li::before {
    content: "✓";
    color: #51cf66;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 12px;
}

/* Built for Enterprise Section */
.built-for-enterprise {
    text-align: center;
}

/* Credibility Section */
.credibility {
    text-align: center;
    padding: 60px 40px;
}

.credibility h2 {
    margin-bottom: 25px;
    color: var(--accent-text-color);
}

.credibility p {
    font-size: 1.2rem;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto;
    color: rgba(240, 240, 240, 0.9);
}

/* Why Editors Love It Section */
.why-editors-love-it .feature-item h3 {
    color: var(--accent-text-color);
}

/* How It Works Section */
.how-it-works .feature-item h3 {
    color: var(--accent-text-color);
}

/* Responsive adjustments for landing pages */
@media (max-width: 768px) {
    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .comparison-column {
        padding: 20px;
    }
    
    .credibility {
        padding: 40px 20px;
    }
    
    .credibility p {
        font-size: 1.1rem;
    }
}

/* Pain Points Section */
.pain-points {
    text-align: center;
}

.pain-points-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.pain-point-item {
    background-color: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.3);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pain-point-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.2);
}

.pain-point-item h3 {
    font-size: 1.3rem !important;
    color: #ff6b6b;
    margin: 0;
    line-height: 1.4;
}

/* How ForwardFlow Helps Section */
.how-forwardflow-helps .feature-item h3 {
    color: var(--accent-text-color);
    font-size: 1.4rem !important;
}

.how-forwardflow-helps .feature-item p {
    font-size: 1.2rem !important;
    line-height: 1.6 !important;
}

/* Responsive adjustments for pain points */
@media (max-width: 768px) {
    .pain-points-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .pain-point-item {
        padding: 20px;
    }
    
    .pain-point-item h3 {
        font-size: 1.1rem;
    }
} 

/* --- Dense Landing Page Styles --- */

/* Tighter spacing for landing pages */
.hero {
    padding: 30px 0 50px !important;
    min-height: 70vh !important;
}

.hero h1 {
    margin-bottom: 15px !important;
}

.hero .hero-subheading {
    margin-bottom: 20px !important;
    font-size: 1.4rem !important;
}

.hero p {
    margin-bottom: 25px !important;
}

/* Tighter glass-card sections */
.glass-card {
    padding: 30px 40px !important;
    margin: 25px 0 !important;
}

.glass-card h2 {
    margin-bottom: 25px !important;
    font-size: 2.2rem !important;
}

/* Tighter feature lists */
.feature-list {
    gap: 25px !important;
    margin-top: 30px !important;
}

.feature-item {
    padding: 25px 20px !important;
}

.feature-item h3 {
    margin-bottom: 12px !important;
    font-size: 1.4rem !important;
}

.feature-item p {
    font-size: 1.2rem !important;
    line-height: 1.6 !important;
}

/* Tighter comparison grid */
.comparison-grid {
    gap: 25px !important;
    margin-top: 25px !important;
}

.comparison-column {
    padding: 25px !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

.comparison-column h3 {
    margin-bottom: 15px !important;
    font-size: 1.4rem !important;
}

.problem-list, .solution-list {
    list-style: none;
    padding: 0;
    display: inline-block !important;
    text-align: left !important;
}

.problem-list li, .solution-list li {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    padding-left: 25px !important;
    padding-right: 0 !important;
    font-size: 1.2rem !important;
    line-height: 1.5 !important;
    text-align: left !important;
}

.problem-list li:last-child, .solution-list li:last-child {
    border-bottom: none;
}

.problem-list li::before {
    content: "✗";
    color: #ff6b6b;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 15px;
    font-size: 1.2rem !important;
}

.solution-list li::before {
    content: "✓";
    color: #51cf66;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 15px;
    font-size: 1.2rem !important;
}

/* Tighter pain points */
.pain-points-grid {
    gap: 20px !important;
    margin-top: 25px !important;
}

.pain-point-item {
    padding: 20px !important;
}

.pain-point-item h3 {
    font-size: 1.3rem !important;
}

/* Tighter credibility section */
.credibility {
    padding: 40px 30px !important;
}

.credibility h2 {
    margin-bottom: 20px !important;
}

.credibility p {
    font-size: 1.3rem !important;
    line-height: 1.7 !important;
}

/* Tighter download section */
.download {
    padding: 40px 30px !important;
}

.download h2 {
    margin-bottom: 25px !important;
}

.download p {
    margin-bottom: 30px !important;
    font-size: 1.4rem !important;
    text-align: center !important;
    background-color: rgba(26, 31, 36, 0.75) !important;
    padding: 25px !important;
    border-radius: 12px !important;
    border: 1px solid var(--border-color) !important;
    max-width: 600px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Responsive adjustments for dense layout */
@media (max-width: 768px) {
    .hero {
        padding: 20px 0 30px !important;
        min-height: 60vh !important;
    }
    
    .glass-card {
        padding: 20px 25px !important;
        margin: 15px 0 !important;
    }
    
    .feature-list {
        gap: 20px !important;
        margin-top: 20px !important;
    }
    
    .feature-item {
        padding: 20px 15px !important;
    }
    
    .comparison-grid {
        gap: 15px !important;
        margin-top: 20px !important;
    }
    
    .comparison-column {
        padding: 20px !important;
    }
    
    .pain-points-grid {
        gap: 15px !important;
        margin-top: 20px !important;
    }
    
    .pain-point-item {
        padding: 15px !important;
    }
    
    .credibility {
        padding: 30px 20px !important;
    }
    
    .download {
        padding: 30px 20px !important;
    }
} 

/* --- Business Page Specific Styles --- */

/* Mid-section CTA */
.mid-section-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* Features lead text */
.features-lead {
    text-align: center;
    font-size: 1.3rem !important;
    color: rgba(240, 240, 240, 0.9);
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

/* Outcomes list */
.outcomes-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-block !important;
    text-align: left !important;
}

.outcomes-list li {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    padding-left: 25px !important;
    padding-right: 0 !important;
    font-size: 1.3rem !important;
    line-height: 1.5;
    text-align: left !important;
}

.outcomes-list li:last-child {
    border-bottom: none;
}

.outcomes-list li::before {
    content: "✓";
    color: #51cf66;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 15px;
    font-size: 1.3rem !important;
}

/* Environment list */
.environment-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-block !important;
    text-align: left !important;
}

.environment-list li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    padding-left: 20px !important;
    padding-right: 0 !important;
    font-size: 1.2rem !important;
    line-height: 1.5;
    text-align: left !important;
}

.environment-list li:last-child {
    border-bottom: none;
}

.environment-list li::before {
    content: "•";
    color: var(--accent-text-color);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 12px;
    font-size: 1.2rem !important;
}

/* Security & Compliance section */
.security-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.security-content p {
    font-size: 1.3rem !important;
    line-height: 1.7;
    margin-bottom: 20px;
    color: rgba(240, 240, 240, 0.9);
}

.security-content h3 {
    font-size: 1.4rem !important;
    color: var(--accent-text-color);
    margin: 30px 0 20px 0;
}

.security-main-points {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    display: inline-block !important;
    text-align: left !important;
}

.security-main-points li {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    padding-left: 25px !important;
    padding-right: 0 !important;
    font-size: 1.3rem !important;
    line-height: 1.6;
    text-align: left !important;
}

.security-main-points li:last-child {
    border-bottom: none;
}

.security-main-points li::before {
    content: "•";
    color: var(--accent-text-color);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 15px;
    font-size: 1.3rem !important;
}

.security-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-block !important;
    text-align: left !important;
}

.security-benefits li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    padding-left: 25px !important;
    padding-right: 0 !important;
    font-size: 1.2rem !important;
    line-height: 1.5;
    text-align: left !important;
}

.security-benefits li:last-child {
    border-bottom: none;
}

.security-benefits li::before {
    content: "✓";
    color: #51cf66;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 12px;
    font-size: 1.2rem !important;
}

/* Center list sections */
.business-outcomes, .works-in-environment {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

/* Post Teams Specific Layout - Left-Right 2-Box */
.post-teams-challenges-solutions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.post-teams-challenges-solutions .business-outcomes,
.post-teams-challenges-solutions .problem-solution {
    display: block !important;
    align-items: stretch !important;
    width: 100%;
}

.post-teams-challenges-solutions .solution-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
}

.post-teams-challenges-solutions .solution-list li {
    padding: 8px 0;
    border-bottom: none;
    position: relative;
    padding-left: 20px !important;
    font-size: 1.1rem !important;
    line-height: 1.5;
    text-align: left !important;
}

.post-teams-challenges-solutions .solution-list li::before {
    content: "•";
    color: var(--accent-text-color);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 8px;
    font-size: 1.1rem !important;
}

/* Responsive adjustments for post-teams layout */
@media (max-width: 768px) {
    .post-teams-challenges-solutions {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .post-teams-challenges-solutions .comparison-column h3 {
        text-align: center;
        font-size: 1.2rem;
    }
    
    .post-teams-challenges-solutions .solution-list li {
        font-size: 1rem;
        padding: 10px 0;
        padding-left: 25px;
    }
    
    .post-teams-challenges-solutions .solution-list li::before {
        top: 10px;
    }
}

/* Responsive adjustments for business page */
@media (max-width: 768px) {
    .mid-section-cta {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .features-lead {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    
    .outcomes-list li {
        font-size: 1rem;
        padding: 12px 0;
        padding-left: 25px;
    }
    
    .outcomes-list li::before {
        top: 12px;
    }
    
    .environment-list li {
        font-size: 0.95rem;
        padding: 10px 0;
        padding-left: 20px;
    }
    
    .environment-list li::before {
        top: 10px;
    }
    
    .security-compliance p {
        font-size: 1rem;
    }
}
    
