/* Mantis Landing Page - Soft Dark Theme (Hestia Inspired) */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Hestia-like Matte Dark Base */
    --bg-dark: #1a1b1e;
    --bg-card: #25262b;
    --bg-header: rgba(26, 27, 30, 0.8);

    /* Orange Accents (Vibrant but balanced) */
    --primary-orange: #f97316;
    --deep-orange: #ea580c;
    --light-orange: #fb923c;

    /* Text Colors */
    --text-main: #ffffff;
    --text-muted: #a1a1aa;

    /* Borders */
    --border-subtle: rgba(255, 255, 255, 0.05);
    --border-highlight: rgba(249, 115, 22, 0.2);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* Header/Navigation */
#header {
    background: var(--bg-header);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1.25rem 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-main);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
.hero {
    padding: 8rem 0 6rem;
    text-align: left;
    /* Shift to left */
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

/* Centered Hero Modifier */
.hero.hero-centered {
    text-align: center;
    padding-top: 6rem;
}

.hero.hero-centered .container {
    display: block;
    max-width: 800px;
    margin: 0 auto;
}

.hero.hero-centered .hero-content p {
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    /* Allow it to fill the 800px container */
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -1.5px;
    color: var(--text-main);
}

/* Gradient Text Effect */
.hero-content h1 span {
    background: linear-gradient(135deg, #ff4d4d, #f97316);
    /* Red-Orange Gradient like Hestia */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    /* Make it stack nicely */
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 0 2.5rem 0;
    /* Remove auto margins */
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    /* Align buttons left */
    margin-top: 2rem;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

/* Responsive adjustments */
@media (max-width: 968px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content p {
        margin: 0 auto 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        margin-top: 3rem;
    }
}

/* Buttons */
.btn {
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-orange), var(--deep-orange));
    color: white;
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.3);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(234, 88, 12, 0.4);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Features Section */
.features {
    padding: 3rem 0;
    /* Reduced from 5rem */
}

.section-header {
    margin-bottom: 2.5rem;
    /* Reduced from 4rem */
    text-align: center;
}

/* ... existing code ... */

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 1.5rem;
    /* Reduced from 2rem */
    margin-top: 1.5rem;
    /* Reduced from 2rem */
}

/* Feature Groups */
.feature-group {
    margin-bottom: 2.5rem;
    /* Reduced from 5rem */
}

.feature-group:last-child {
    margin-bottom: 0;
}

.feature-group-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary-orange);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature-group-title::after {
    content: '';
    height: 1px;
    flex-grow: 1;
    background: linear-gradient(to right, var(--border-subtle), transparent);
}

/* Feature Card Variants */
.feature-card.full-width {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.feature-card.full-width .feature-icon {
    margin-bottom: 2rem;
    width: 64px;
    height: 64px;
}

.feature-card.full-width .feature-title {
    font-size: 2rem;
}

.feature-card.full-width p {
    font-size: 1.1rem;
    max-width: 700px;
}

.positioning-line {
    text-align: center;
    margin-top: 6rem;
    padding-top: 4rem;
    border-top: 1px solid var(--border-subtle);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-main);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.4;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 2.5rem;
    transition: all 0.3s ease;
}

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

.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(249, 115, 22, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary-orange);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-main);
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Footer */
footer {
    border-top: 1px solid var(--border-subtle);
    padding: 4rem 0 2rem;
    margin-top: 5rem;
    text-align: center;
    background: var(--bg-dark);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--primary-orange);
}

.copyright {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.75rem;
    }

    .hero {
        padding: 5rem 0 4rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* Pricing Section */
.pricing {
    padding: 2rem 0 6rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
    align-items: stretch;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    /* Reduced horizontal padding to allow wider text */
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-highlight);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.pricing-card.popular {
    background: linear-gradient(145deg, var(--bg-card), rgba(249, 115, 22, 0.05));
    border-color: var(--primary-orange);
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.15);
}

.popular-tag {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--primary-orange);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    z-index: 1;
}

.card-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    /* Removed flex: 1 to prevent header from stretching unevenly */
}

.card-header h3 {
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: auto;
    line-height: 1.1;
}

.card-header h3 span {
    background: linear-gradient(135deg, #ff4d4d, #f97316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-main);
    margin: 1rem 0;
}

.price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
}

.description {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: auto;
    min-height: 3rem;
    /* Ensure consistent height for alignment */
    display: flex;
    align-items: center;
    justify-content: center;
}

.features-list {
    list-style: none;
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.features-list li svg {
    color: var(--primary-orange);
    flex-shrink: 0;
}

.features-list li.disabled {
    color: rgba(255, 255, 255, 0.2);
    text-decoration: line-through;
}

.features-list li.disabled svg {
    color: rgba(255, 255, 255, 0.2);
}

.full-width {
    width: 100%;
    text-align: center;
}

/* About Page */
.about-section {
    padding: 3rem 0;
}

.about-section.alt-bg {
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.about-grid.reverse {
    direction: rtl;
}

.about-grid.reverse .about-content {
    direction: ltr;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.about-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-content strong {
    color: var(--primary-orange);
}

.centered-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.image-placeholder {
    width: 100%;
    height: 400px;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.gradient-1 {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.1), rgba(26, 27, 30, 0.5));
    border: 1px solid var(--border-subtle);
}

.gradient-2 {
    background: linear-gradient(135deg, rgba(234, 88, 12, 0.1), rgba(26, 27, 30, 0.5));
    border: 1px solid var(--border-subtle);
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-grid.reverse {
        direction: ltr;
    }

    .image-placeholder {
        height: 250px;
    }
}

/* End of file *//* Feature Card Hero Variant */
.feature-card.feature-card-hero {
    border: 1px solid rgba(249, 115, 22, 0.4);
    background: linear-gradient(145deg, rgba(37, 38, 43, 0.9), rgba(249, 115, 22, 0.08));
    box-shadow: 0 0 30px rgba(249, 115, 22, 0.15);
    position: relative;
    overflow: hidden;
}

.feature-card.feature-card-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--deep-orange), var(--primary-orange), var(--light-orange));
}

.feature-card.feature-card-hero .feature-title {
    font-size: 2.25rem;
    /* Larger title for hero cards */
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff, #ffdcb5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text {
    font-size: 1.15rem !important;
    max-width: 800px;
    margin: 0 auto;
    color: #e4e4e7 !important;
    /* Lighter text for better contrast */
}

/* Feature Highlight List (Driver Lens) */
.feature-highlight-list {
    list-style: none;
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: left;
    max-width: 600px;
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-highlight-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.5;
}

.feature-highlight-list li svg {
    color: var(--primary-orange);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.feature-highlight-list li strong {
    color: var(--text-main);
    display: block;
    margin-bottom: 0.25rem;
}