/* css/marketing-style.css */
/* General Body & Resets */
body { 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
    margin: 0; 
    padding: 0; 
    background-color: #f0f4f8; /* Light, clean background */
    color: #333; 
    text-align: center; 
    line-height: 1.6;
}

a {
    color: #5865F2; /* Discord-like accent */
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #6a82fb 0%, #fc5c7d 100%); /* Engaging gradient */
    color: white;
    padding: 80px 20px 100px; /* More padding */
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero-section::before { /* Optional subtle pattern */
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='52' height='26' viewBox='0 0 52 26' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.07'%3E%3Cpath d='M10 10c0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6h2c0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4v2c-3.314 0-6-2.686-6-6 0-2.21-1.79-4-4-4zm25.464-1.95l8.486 8.486-1.414 1.414-8.486-8.486 1.414-1.414z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}
.hero-logo {
    max-height: 100px;
    margin-bottom: 20px;
}
.hero-section h1 { 
    font-size: 2.8em; /* Slightly adjusted */
    margin-bottom: 15px; 
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}
.hero-section h2 {
    font-size: 1.5em;
    margin-bottom: 30px;
    font-weight: 400;
    opacity: 0.9;
}
.hero-section p { 
    font-size: 1.15em; 
    max-width: 700px; 
    margin: 0 auto 40px; 
    opacity: 0.95;
}
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
.hero-section .button, .contact-cta-section .button {
    display: inline-block; 
    padding: 14px 28px; 
    text-decoration: none; 
    border-radius: 8px; 
    font-weight: bold; 
    transition: transform 0.2s ease, background-color 0.3s ease, box-shadow 0.2s ease;
    font-size: 1.05em;
    border: none;
    cursor: pointer;
}
.hero-section .button.primary-cta, .contact-cta-section .button.primary-cta {
    background-color: #ffffff; 
    color: #5865F2; /* Discord-like blue */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.hero-section .button.primary-cta:hover, .contact-cta-section .button.primary-cta:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
.hero-section .button.secondary-cta {
    background-color: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.8);
}
.hero-section .button.secondary-cta:hover {
    background-color: rgba(255,255,255,0.15);
    border-color: #fff;
    transform: translateY(-2px);
}

/* Value Proposition Section */
.value-prop-section {
    padding: 60px 20px;
    background-color: #ffffff; /* White background to separate from hero */
}
.value-prop-section h2 {
    font-size: 2.2em;
    color: #33475b; /* Darker blue for headings */
    margin-bottom: 40px;
    text-align: center;
}
.value-items-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}
.value-item {
    flex-basis: calc(50% - 40px); /* Two items per row on larger screens */
    min-width: 280px; /* Ensure readability on smaller flex adjustments */
    text-align: center;
    padding: 20px;
}
.value-item i {
    color: #7289da; /* Primary accent */
    margin-bottom: 15px;
}
.value-item h3 {
    font-size: 1.4em;
    color: #33475b;
    margin-bottom: 10px;
}
.value-item p {
    font-size: 0.95em;
    color: #555;
    line-height: 1.7;
}

/* Features Detailed Section */
.features-detailed-section {
    padding: 60px 20px;
    background-color: #f0f4f8; /* Alternating background */
}
.features-detailed-section h2 {
    font-size: 2.2em;
    color: #33475b;
    margin-bottom: 40px;
    text-align: center;
}
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}
.feature-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}
.feature-card i {
    font-size: 2.5em;
    color: #7289da;
    margin-bottom: 15px;
}
.feature-card h3 {
    font-size: 1.3em;
    color: #33475b;
    margin-bottom: 10px;
}
.feature-card p {
    font-size: 0.9em;
    color: #555;
    line-height: 1.6;
}

/* Pricing Section */
.pricing-section {
    padding: 70px 20px;
    background-color: #ffffff;
}

.pricing-section h2 {
    font-size: 2.2em;
    color: #33475b;
    margin-bottom: 15px;
    text-align: center;
}
.pricing-subtext {
    font-size: 1.1em;
    color: #555;
    max-width: 600px;
    margin: 0 auto 50px auto;
    text-align: center;
}
/* In css/marketing-style.css */

.pricing-table {
    display: flex;
    justify-content: center;
    align-items: stretch; /* MODIFIED: This makes flex items (plan cards) same height */
    flex-wrap: wrap;
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}
.plan-card {
    background-color: #f9f9f9; 
    border: 1px solid #e0e0e0; /* Or var(--border-color) */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    
    flex-grow: 1; /* Existing: Allows card to grow within its min/max width */
    flex-shrink: 1; /* Allow shrinking if needed, default is 1 anyway */
    flex-basis: 0;  /* Can set to 0 when flex-grow is 1 for typical flex item behavior, or keep min-width driven */
    min-width: 260px; 
    max-width: 320px; 
    
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative; /* For popular badge */

    /* --- NEW/MODIFIED Flex properties for internal alignment --- */
    display: flex;
    flex-direction: column; 
    /* justify-content: space-between; /* Alternative to margin-top: auto on button */
}
.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.plan-card.popular-plan {
    border-top: 5px solid #5865F2; /* Highlight popular plan */
    padding-top: 25px; /* Adjust padding because of border */
}
.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #5865F2;
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.8em;
    font-weight: bold;
}
.plan-card h3 {
    font-size: 1.6em;
    color: #7289da;
    margin-top: 0; /* Adjusted from default if icon is above */
    margin-bottom: 10px;
}
.plan-card .plan-price {
    font-size: 2.5em;
    font-weight: 700;
    color: #33475b;
    margin-bottom: 5px;
}
.plan-card .price-period {
    font-size: 0.5em;
    font-weight: normal;
    color: #555;
}
.plan-card .plan-description {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 25px;
    min-height: 40px; /* Give some space */
}
.plan-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    text-align: left;
}
.plan-card ul li {
    font-size: 0.95em;
    color: #444;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}
.plan-card ul li i {
    color: #22c55e; /* Green checkmark */
    margin-right: 8px;
    font-size: 1.1em;
}
.plan-card ul li i.fa-times {
    color: #ef4444; /* Red X */
}
.plan-card .plan-cta {
    display: block;
    padding: 12px 20px;
    background-color: #7289da; /* Or var(--button-primary-bg) */
    color: white;              /* Or var(--button-primary-text) */
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
    margin-top: auto; /* ADDED: This pushes the button to the bottom */
}
.plan-card .plan-cta:hover {
    background-color: #5865F2;
}
.plan-card.popular-plan .plan-cta {
    background-color: #5865F2;
}
.plan-card.popular-plan .plan-cta:hover {
    background-color: #4a55c8;
}

.plan-icon {
    max-height: 250px; /* Adjust as needed */
    width: auto;      /* Maintain aspect ratio */
    margin-bottom: 20px; /* Space between icon and plan name */
    display: block;   /* Allows margin auto for centering if needed */
    margin-left: auto;
    margin-right: auto;
}


/* Contact CTA Section */
.contact-cta-section {
    background-color: #33475b; /* Darker background for contrast */
    color: #f0f4f8;
    padding: 60px 20px;
    text-align: center;
}
.contact-cta-section h2 {
    font-size: 2em;
    margin-top: 0;
    margin-bottom: 20px;
}
.contact-cta-section p {
    font-size: 1.1em;
    max-width: 600px;
    margin: 0 auto 30px auto;
    opacity: 0.9;
}
.contact-cta-section .button.primary-cta {
    background-color: #7289da;
    color: white;
}
.contact-cta-section .button.primary-cta:hover {
    background-color: #5865F2;
}
.contact-cta-section .text-link {
    color: #a7c8f9; /* Light blue for links on dark bg */
    font-weight: bold;
}
.contact-cta-section .text-link:hover {
    color: #fff;
}


/* Footer */
footer { 
    background-color: #1e2124; /* Darker footer */
    color: #adb5bd; 
    padding: 30px 20px; 
    margin-top: 0; /* Remove default margin-top if sections abut */
    text-align: center;
}
footer p {
    margin: 5px 0;
    font-size: 0.9em;
}
footer a { 
    color: #8ab4f8; 
    text-decoration: none; 
    margin: 0 10px; 
}
footer a:hover { 
    text-decoration: underline; 
    color: #fff;
}

/* Responsive adjustments */
@media (max-width: 960px) {
    .value-items-container {
        flex-direction: column;
        align-items: center;
    }
    .value-item {
        flex-basis: 100%;
        max-width: 450px; /* Limit width on stacked view */
    }
    .pricing-table {
        flex-direction: column;
        align-items: center;
    }
    .plan-card {
        width: 100%;
        max-width: 450px; /* Consistent max-width */
        margin-bottom: 25px; /* Space between stacked cards */
    }
    .plan-card:last-child {
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .hero-section h1 { font-size: 2.2em; }
    .hero-section h2 { font-size: 1.2em; }
    .hero-section p { font-size: 1em; }
    .hero-buttons { flex-direction: column; gap: 15px; align-items: center; }
    .hero-section .button { width: 80%; max-width: 300px; }

    .value-prop-section h2, .features-detailed-section h2, .pricing-section h2, .contact-cta-section h2 {
        font-size: 1.8em;
    }
    .feature-grid {
        grid-template-columns: 1fr; /* Stack feature cards */
    }
}