/* Why Primo Hero Section */
.why-primo-hero {
    background-color: #0b1120;
    padding: 120px 0 60px 0; /* Adding top padding for spacing below header */
    color: #ffffff;
}

.hero-content {
    max-width: 100%; /* Take full available width */
    margin-left: 0; 
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #f59e0b;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 25px;
}

.section-tag .dot {
    width: 8px;
    height: 8px;
    background-color: #f59e0b;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.5);
}

.hero-title {
    font-size: clamp(36px, 4.5vw, 56px); /* Responsive sizing so it shrinks on smaller screens instead of wrapping weirdly */
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 25px;
    color: #f8fafc;
    letter-spacing: -0.5px;
}

.hero-desc {
    font-size: 18px;
    line-height: 1.7;
    color: #94a3b8;
    max-width: 850px;
    margin: 0;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .hero-title {
        font-size: 46px;
    }
}

@media (max-width: 768px) {
    .why-primo-hero {
        padding: 80px 0 40px 0;
    }
    .hero-title {
        font-size: 28px; /* Smaller title to prevent cutoff */
        line-height: 1.3;
        word-wrap: break-word; /* Ensure text breaks properly */
    }
    .hero-desc {
        font-size: 14px; /* Smaller description */
        text-align: justify; /* Neat alignment */
    }
}

/* Philosophy Quote Section */
.philosophy-quote {
    background-color: #f59e0b;
    padding: 60px 0;
}

.quote-text {
    color: #ffffff;
    font-size: clamp(16px, 2.2vw, 24px); /* Reduced size to fit one line */
    font-weight: 700;
    line-height: 1.4;
    max-width: 100%; /* Allow full width so it doesn't wrap artificially */
    margin: 0 auto 15px auto;
    white-space: nowrap; /* Explicitly keep it on one line as requested (though it may scroll on very small mobile) */
}

.quote-author {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .philosophy-quote {
        padding: 40px 0;
    }
    .quote-text {
        font-size: 18px; /* Reduced size */
        white-space: normal; /* Allow wrapping on mobile so it fits */
        line-height: 1.5;
        text-align: justify;
    }
}

/* Features Section */
.why-features {
    background-color: #e5e5e0; /* Warm light gray/beige matching screenshot */
    padding: 100px 0;
}

.feature-block {
    display: flex;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-left {
    flex: 0 0 160px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.feature-number {
    font-size: 100px;
    font-weight: 900;
    color: rgba(217, 119, 6, 0.15); /* Faded orange/brown */
    line-height: 0.8;
    margin-bottom: -20px;
    margin-left: -5px;
    z-index: 1;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: #d97706; /* Solid orange block */
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    z-index: 2;
    position: relative;
    margin-bottom: auto;
    flex-shrink: 0; /* Prevent it from getting squished/stretched */
}

.feature-tag {
    background-color: rgba(217, 119, 6, 0.1);
    color: #d97706;
    padding: 6px 12px;
    border-radius: 6px; /* Pill/rounded shape in screenshot? Looks like rounded rect */
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-top: 100px;
}

.feature-right {
    flex: 1;
    padding-top: 15px;
}

.feature-title {
    font-size: 32px;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 12px;
}

.feature-subtitle {
    color: #d97706;
    font-style: italic;
    font-size: 18px;
    margin-bottom: 25px;
    font-weight: 500;
}

.feature-desc {
    color: #475569;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 35px;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px 30px;
}

.feature-list-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.feature-list-item i {
    color: #94a3b8; /* Very faint gray/green */
    margin-top: 4px;
    font-size: 16px;
}

.feature-list-item span {
    color: #475569;
    font-size: 14px;
    line-height: 1.6;
}

/* Feature Block Spacing */
.feature-block + .feature-block {
    margin-top: 100px;
}

/* Reverse Layout */
.feature-block.reverse {
    flex-direction: row-reverse;
}

.feature-block.reverse .feature-left {
    align-items: flex-end;
}

.feature-block.reverse .feature-number {
    margin-left: 0;
    margin-right: -10px;
    color: rgba(30, 41, 59, 0.08); /* Dark gray/black faded */
}

.feature-block.reverse .feature-icon {
    background-color: #1e293b; /* Dark slate */
    color: white;
}

.feature-block.reverse .feature-tag {
    background-color: rgba(30, 41, 59, 0.05);
    color: #1e293b;
    margin-top: 100px; /* same as normal */
}

@media (max-width: 768px) {
    .feature-block,
    .feature-block.reverse {
        flex-direction: column;
        gap: 30px;
    }
    .feature-block.reverse .feature-left {
        align-items: center;
    }
    .feature-block.reverse .feature-number {
        margin-right: 0;
    }
    .feature-block.reverse .feature-tag {
        margin-top: 0;
    }
    .feature-left {
        flex: none;
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap; /* Allow wrapping to prevent cutoff */
        gap: 15px;
    }
    .feature-number {
        margin-bottom: 0;
        font-size: 55px; /* Slightly smaller */
    }
    .feature-icon {
        margin-bottom: 0;
        width: 50px; /* Slightly smaller icon on mobile */
        height: 50px;
    }
    .feature-tag {
        margin-top: 0;
        margin-left: 0; /* Prevent it from being pushed off-screen */
    }
    .feature-title {
        font-size: 24px; /* Reduced title size */
    }
    .feature-subtitle {
        font-size: 15px; /* Reduced subtitle */
        margin-bottom: 20px;
    }
    .feature-desc {
        font-size: 14px; /* Reduced description */
        text-align: justify; /* Make it look neat */
        margin-bottom: 25px;
    }
    .feature-list {
        grid-template-columns: 1fr;
    }
    .feature-list-item span {
        font-size: 13px; /* Reduced list item text */
    }
}

/* Comparison Section */
.comparison-section {
    background-color: #0b1120;
    padding: 100px 0;
    color: white;
}

.comparison-title {
    font-size: 42px;
    font-weight: 800;
    color: #ffffff;
}

.comparison-table-wrapper {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th, 
.comparison-table td {
    padding: 20px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.comparison-table th {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #94a3b8;
    text-align: left;
    background-color: rgba(255, 255, 255, 0.03);
}

.comparison-table td {
    font-size: 16px;
    color: #e2e8f0;
    font-weight: 500;
}

.comparison-table tbody tr {
    transition: background-color 0.3s ease;
}

.comparison-table tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.04);
}

.comparison-table .col-primo {
    text-align: center;
    background-color: rgba(217, 119, 6, 0.1); /* Stronger orange highlight */
    transition: background-color 0.3s ease;
}

.comparison-table tbody tr:hover .col-primo {
    background-color: rgba(217, 119, 6, 0.15); /* Enhance orange on hover */
}

.comparison-table th.col-primo {
    color: #d97706; /* Orange text for PRIMO header */
    background-color: rgba(217, 119, 6, 0.15); /* Even stronger for header */
}

.comparison-table .col-others {
    text-align: center;
}

.comparison-table td i {
    font-size: 20px;
}

.comparison-table td .icon-check {
    color: #d97706; /* Orange check */
}

.comparison-table td .icon-check-muted {
    color: #94a3b8; /* Faded gray check for OTHERS */
    opacity: 0.6;
}

.comparison-table td .icon-cross {
    color: #ef4444;
    opacity: 0.7;
}

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

@media (max-width: 768px) {
    .comparison-section {
        padding: 60px 0;
    }
    .comparison-section .text-center {
        text-align: left !important;
    }
    .comparison-table th, 
    .comparison-table td {
        padding: 10px 8px; /* Reduced padding */
        font-size: 12px; /* Smaller text for better fit */
    }
    .comparison-table th {
        font-size: 11px; /* Smaller headers */
    }
    .comparison-title {
        font-size: 26px; /* Smaller title */
        line-height: 1.3;
    }
    .comparison-table td i {
        font-size: 16px; /* Smaller check/cross icons */
    }
}

/* CTA Section */
.why-cta {
    background-color: #0b1120;
    padding: 100px 0 120px 0;
}

.why-cta .cta-title {
    font-size: 48px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 25px;
    line-height: 1.1;
}

.why-cta .cta-subtitle {
    font-size: 18px;
    color: #94a3b8;
    margin-bottom: 40px;
    line-height: 1.6;
}

.why-cta .cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.cta-btn {
    padding: 15px 35px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cta-btn-primary {
    background-color: #f59e0b;
    color: white;
}

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

.cta-btn-outline {
    background-color: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

@media (max-width: 768px) {
    .why-cta {
        padding: 60px 0; /* Reduced padding */
    }
    .why-cta .container {
        text-align: left !important; /* Align left to match other sections */
    }
    .why-cta .cta-title {
        font-size: 24px; /* Reduced title size further */
        line-height: 1.3;
    }
    .why-cta .cta-title br,
    .why-cta .cta-subtitle br {
        display: none; /* Hide hard line breaks so text flows naturally on mobile */
    }
    .why-cta .cta-subtitle {
        font-size: 15px; /* Reduced subtitle size */
        text-align: justify; /* Neat alignment */
    }
    .why-cta .cta-buttons {
        flex-direction: column;
        padding: 0;
    }
}
