/* Marketing Pages Styles */

/* Tokens used below that style.css does not define */
:root {
    --radius-lg: 12px;
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

/* Marketing Navbar */
.navbar-marketing {
    background: transparent;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

.navbar-marketing .navbar-brand a {
    color: white;
}

.navbar-marketing .nav-link {
    color: rgba(255, 255, 255, 0.9);
}

.navbar-marketing .nav-link:hover,
.navbar-marketing .nav-link.active {
    color: white;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, #1e40af 100%);
    padding: 8rem 0 6rem;
    color: white;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.hero-actions .btn-outline {
    border-color: white;
    color: white;
}

.hero-actions .btn-outline:hover {
    background: white;
    color: var(--primary);
}

.hero-note {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section-alt {
    background: var(--gray-50);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-header h1,
.section-header h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--gray-600);
}

/* Tools Showcase */
.tools-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.tool-showcase-card {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.tool-showcase-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.tool-showcase-card.tool-coming-soon {
    opacity: 0.8;
}

.tool-showcase-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.tool-showcase-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.tool-showcase-card > p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--gray-600);
    font-size: 0.9rem;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

.badge-coming-soon {
    display: inline-block;
    background: var(--gray-200);
    color: var(--gray-600);
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    margin-bottom: 0.75rem;
}

/* Benefits Section */
.section-benefits {
    background: var(--gray-50);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.benefit-card {
    text-align: center;
    padding: 1.5rem;
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.benefit-card h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.benefit-card p {
    color: var(--gray-600);
    font-size: 0.9rem;
}

/* Pricing Preview */
.section-pricing-preview {
    background: var(--primary);
    padding: 3rem 0;
}

.pricing-preview-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.pricing-preview-content h2 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.pricing-preview-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
}

.pricing-preview-action .btn {
    background: white;
    color: var(--primary);
}

.pricing-preview-action .btn:hover {
    background: var(--gray-100);
}

/* CTA Section */
.section-cta {
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
    text-align: center;
}

.cta-content h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

/* Pricing Page Styles */
.section-pricing-header,
.section-legal-header {
    background: linear-gradient(135deg, var(--primary) 0%, #1e40af 100%);
    padding: 6rem 0 4rem;
    color: white;
}

.section-pricing-header .section-header h1,
.section-pricing-header .section-header p,
.section-legal-header .section-header h1,
.section-legal-header .section-header p {
    color: white;
}

.section-pricing-header .section-header p,
.section-legal-header .section-header p {
    opacity: 0.9;
}

.section-pricing-main {
    margin-top: -3rem;
    padding-bottom: 4rem;
}

.pricing-card-main {
    max-width: 500px;
    margin: 0 auto;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 960px;
    margin: 0 auto;
}

.pricing-grid .pricing-card-main {
    max-width: none;
    margin: 0;
    border: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
}

.pricing-grid .pricing-card-body {
    flex: 1;
}

.pricing-grid .pricing-card-pro {
    border: 2px solid var(--primary);
}

.pricing-card-header {
    background: var(--gray-50);
    padding: 2rem;
    text-align: center;
    border-bottom: 1px solid var(--gray-200);
}

.pricing-card-header h2 {
    font-size: 1.5rem;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.pricing-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.pricing-amount .currency {
    font-size: 1.5rem;
    color: var(--gray-600);
}

.pricing-amount .price {
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.pricing-amount .period {
    font-size: 1.25rem;
    color: var(--gray-600);
}

.pricing-note {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-top: 0.5rem;
}

.pricing-card-body {
    padding: 2rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-100);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features .feature-icon {
    color: var(--success);
    font-weight: bold;
    flex-shrink: 0;
}

.pricing-features .feature-text {
    color: var(--gray-700);
}

.feature-coming .feature-icon {
    color: var(--gray-400);
}

.feature-coming .feature-text {
    color: var(--gray-500);
}

.pricing-card-footer {
    padding: 2rem;
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

.trial-note {
    text-align: center;
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-top: 0.75rem;
}

/* FAQ Section */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.faq-item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.faq-item p {
    color: var(--gray-600);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Features Page Styles */
.section-features-header {
    background: linear-gradient(135deg, var(--primary) 0%, #1e40af 100%);
    padding: 6rem 0 4rem;
    color: white;
}

.section-features-header .section-header h1,
.section-features-header .section-header p {
    color: white;
}

.section-feature-detail {
    padding: 4rem 0;
}

.feature-detail-content {
    max-width: 800px;
}

.feature-badge {
    display: inline-block;
    background: var(--success);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    margin-bottom: 1rem;
}

.feature-badge.badge-coming-soon {
    background: var(--gray-400);
}

.feature-detail-content h2 {
    font-size: 2rem;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.feature-lead {
    font-size: 1.125rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.feature-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.feature-highlight h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.feature-highlight p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* Platform Features */
.platform-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.platform-feature {
    text-align: center;
    padding: 1.5rem;
}

.platform-feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.platform-feature h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.platform-feature p {
    font-size: 0.875rem;
    color: var(--gray-600);
}

/* Marketing Footer */
.footer-marketing {
    background: var(--gray-900);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: var(--gray-400);
    font-size: 0.9rem;
}

.footer-links h5 {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    color: var(--gray-400);
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--gray-300);
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: var(--gray-500);
    font-size: 0.875rem;
}

/* Button Sizes */
.btn-lg {
    padding: 0.875rem 2rem;
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .section {
        padding: 3rem 0;
    }

    .section-header h1,
    .section-header h2 {
        font-size: 1.75rem;
    }

    .pricing-preview-card {
        flex-direction: column;
        text-align: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .navbar-marketing .navbar-menu {
        display: none; /* TODO: Add mobile menu */
    }
}

/* Legal and contact pages */
.section-legal-header .section-header {
    margin-bottom: 0;
}

.legal-content {
    max-width: 760px;
    margin: 0 auto;
    color: var(--gray-700);
    line-height: 1.7;
}

.legal-content .legal-summary {
    background: var(--gray-50);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    margin-bottom: 2rem;
}

.legal-content .legal-summary p {
    margin-bottom: 0;
}

.legal-content h2 {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--gray-900);
    margin: 2.5rem 0 0.75rem;
}

.legal-content h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--gray-900);
    margin: 1.5rem 0 0.5rem;
}

.legal-content p,
.legal-content ul {
    margin-bottom: 1rem;
}

.legal-content ul {
    padding-left: 1.5rem;
}

.legal-content li {
    margin-bottom: 0.4rem;
}

.legal-content a {
    color: var(--primary);
}

.legal-content address {
    font-style: normal;
    margin-bottom: 1rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.contact-card {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 1.25rem;
}

.contact-card h3 {
    margin-top: 0;
}

.contact-card p {
    margin-bottom: 0;
}
