/* styles.css - Unified styles for all pages */

/* === Base Styles === */
:root {
    --primary: #134A56;
    --secondary: #0F3037;
    --accent: #00A5E0;
    --dark: #292F36;
    --light: #E1EAEA;
    --category-header: #0F3037;
    --lighter-primary: #D7E3DF;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Segoe UI', system-ui, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: white;
}

/* === Header Styles === */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 49px;
    width: auto;
}

nav {
    display: flex;
    gap: 2rem;
}

nav a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--primary);
}

/* === Global Link Styles === */
a {
    color: var(--dark);
    text-decoration: none;
}

a:hover {
    color: var(--primary);
}

/* === Footer Styles === */
footer {
    background-color: #0F3037;
    color: white;
    text-align: center;
    padding: 3rem 5% 2rem;
    margin-top: 3rem;
}

.footer-logo {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.footer-logo img {
    height: 92px;
    width: auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent);
}

.copyright {
    opacity: 0.8;
    font-size: 0.9rem;
}

/* === Standard Page Template Styles === */
.mnml-hero {
    background-color: var(--light);
    padding: 2rem 5% 1.5rem;
    text-align: center;
}

.mnml-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 5%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .mnml-container {
        grid-template-columns: 2fr 1fr;
    }
}

.mnml-main {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.mnml-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mnml-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.mnml-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
    flex-direction: column;
}

.mnml-title {
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .mnml-title {
        font-size: 2.5rem;
    }
}

.mnml-subtitle {
    font-size: 1.3rem;
    color: var(--dark);
    margin-bottom: 1rem;
    opacity: 0.9;
}

.mnml-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1rem;
    justify-content: center;
}

.mnml-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--dark);
    opacity: 0.9;
}

.mnml-section {
    margin-bottom: 2.5rem;
}

.mnml-section h2 {
    color: var(--secondary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent);
    font-size: 1.5rem;
}

.mnml-features {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.mnml-feature {
    background: var(--light);
    padding: 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: transform 0.3s;
}

.mnml-feature:hover {
    transform: translateY(-5px);
}

.mnml-feature-icon {
    font-size: 1.5rem;
    color: var(--primary);
    min-width: 30px;
}

.mnml-feature-content h3 {
    margin-bottom: 0.5rem;
    color: var(--secondary);
}

/* Pricing Table Styles */
.pricing-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.pricing-table th, 
.pricing-table td {
    padding: 1.2rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.pricing-table th {
    background-color: var(--light);
    color: var(--secondary);
    font-weight: 600;
}

.pricing-table tr:last-child td {
    border-bottom: none;
}

.pricing-table tr:hover td {
    background-color: rgba(0,165,224,0.05);
}

.pricing-highlight {
    background-color: rgba(19,74,86,0.1) !important;
    font-weight: 500;
}

/* Mobile Pricing Cards */
.pricing-cards {
    display: none;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
}

.pricing-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.pricing-card.highlight {
    background-color: rgba(19,74,86,0.1);
    border-left: 4px solid var(--primary);
}

.pricing-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.pricing-card-title {
    font-weight: 600;
    color: var(--secondary);
    font-size: 1.1rem;
}

.pricing-card-price {
    font-weight: 600;
    color: var(--primary);
}

.pricing-card-features {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--dark);
}

.cta-button {
    display: block;
    background-color: #0F3037;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    text-align: center;
    margin-top: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    margin: 1rem auto 0;
    width: fit-content;
}

.cta-button:hover {
    background-color: #134A56;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Alternative Items Section - UPDATED */
.alternatives-list {
    display: grid;
    gap: 1.5rem;
    margin-top: 1.0rem;
}

.alternative-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--light); /* Updated to hardcoded light blue */
    border-radius: 8px;
    transition: all 0.3s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    border: 1px solid rgba(19, 74, 86, 0.1);
}

.alternative-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    background: #E1EAEA; /* Updated to hardcoded darker blue */
}

.alternative-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    font-size: 1.5rem;
    color: var(--secondary);
}

.use-case {
    margin-bottom: 1.5rem;
}

.use-case h3 {
    color: var(--secondary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.use-case h3::before {
    content: "•";
    color: var(--primary);
    font-size: 1.5rem;
}

/* Alternative Tool Links */
.alternative-item h3 a {
    color: var(--dark);
}

/* Screenshot style */
.tool-screenshot {
    width: 700px;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin: 1.5rem auto;
    display: block;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Stats grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat-item {
    background: var(--light);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

/* Testimonial styles */
.testimonial {
    background: var(--light);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-author {
    font-weight: 600;
}

.testimonial-role {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* FAQ Section Styles */
.faq-section {
    margin-top: 1.5rem;
}

.faq-item {
    border-bottom: none;
    margin-bottom: 1.5rem !important;
    padding-bottom: 0;
}

.faq-item h3 {
    margin-top: 1.5rem !important;
    margin-bottom: 0.8rem !important;
    font-size: 1.1rem;
    color: var(--secondary);
    line-height: 1.4;
}

.faq-item p {
    margin-bottom: 0 !important;
}

.faq-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin-right: 10px;
    font-size: 13px;
    font-weight: 600;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav {
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .mnml-features {
        grid-template-columns: 1fr;
    }
    
    .pricing-table {
        display: none;
    }
    
    .pricing-cards {
        display: grid;
    }
    
    .mnml-container {
        padding: 0 3%;
    }
    
    .mnml-main,
    .mnml-card {
        padding: 1.5rem 1rem;
    }

    .pricing-card-price {
        color: var(--dark);
    }

    .tool-screenshot {
        width: 100%;
        max-width: 700px;
        height: auto;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .faq-item {
        margin-bottom: 1.2rem !important;
    }
    .faq-item h3 {
        margin-top: 1rem !important;
    }
}

/* Sale badge */
.sale-badge {
    background-color: var(--primary);
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    margin-left: 0.5rem;
}

/* Category Page Specific Styles */
.category-hero {
    background-color: var(--category-header);
    padding: 4rem 5%;
    color: white;
    text-align: center;
}

.category-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.category-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.category-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    color: white;
}

.category-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 5%;
}

.category-intro {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--dark);
}

.category-section {
    margin-bottom: 3rem;
}

.tools-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}

.tool-item {
    padding: 1rem;
    border-radius: 8px;
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.tool-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.tool-item a {
    display: block;
    color: var(--dark);
    font-weight: 500;
    padding: 0.5rem 0;
    text-decoration: none;
    transition: color 0.3s;
}

.tool-item a:hover {
    color: var(--primary);
}

.category-cta {
    text-align: center;
    margin: 4rem 0;
    padding: 2rem;
    background: var(--light);
    border-radius: 12px;
}

@media (max-width: 768px) {
    .category-hero {
        padding: 3rem 5%;
    }
    
    .category-hero h1 {
        font-size: 2rem;
    }
    
    .category-hero p {
        font-size: 1rem;
    }
    
    .tools-list {
        grid-template-columns: 1fr;
    }
    
    .category-cta {
        margin: 3rem 0;
        padding: 1.5rem;
    }
}

/* Center button */
.center-button {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}
.alternatives-list-intro-link {
    font-weight: bold;
    color: #134A56;
}