/* Landing Page Specific Styles - Clean & Professional (Light Theme) */

/* Reset & Base Overrides for Landing Page */
/* Reset & Base Overrides for Landing Page */
body {
    display: flex;
    flex-direction: column;
    /* Stack container and footer */
    justify-content: flex-start;
    align-items: stretch;
    /* Force full width */
    /* Start from top */
    height: auto;
    /* Allow scrolling */
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

.landing-container {
    max-width: 1400px;
    /* Increased from 1200px to fit 3 cards better */
    margin: 0 auto;
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
    flex: 1;
    /* Push footer down */
    width: 100%;
}

/* Header Section */
.header {
    text-align: center;
    max-width: 1200px;
    /* Increased from 800px */
    margin: 0 auto;
    padding: 4rem 2rem;
    /* More padding for "wider" feel */
    background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
    border-radius: 2rem;
    border: 1px solid #e0e7ff;
    width: 100%;
    /* Ensure it takes available space */
}

.landing-title {
    font-size: 3.5rem;
    /* Slightly larger */
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #1e1b4b;
    /* Dark Indigo */
    text-shadow: none;
    background: none;
    -webkit-text-fill-color: #1e1b4b;
}

.landing-subtitle {
    font-size: 1.35rem;
    /* Slightly larger */
    color: #4b5563;
    line-height: 1.6;
    font-weight: 400;
    max-width: 800px;
    /* Keep text readable width */
    margin: 0 auto;
}

.landing-description {
    font-size: 1.1rem;
    color: #6b7280;
    margin-top: 1rem;
    margin-bottom: 2rem;
    font-style: italic;
}

.auth-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.btn-outline {
    background: transparent;
    border: 2px solid #4f46e5;
    color: #4f46e5;
    box-shadow: none;
}

.btn-outline:hover {
    background: #eef2ff;
    transform: translateY(-2px);
    color: #4f46e5;
}

.btn-primary {
    /* Inherits default btn styles, just explicit class for clarity */
}


/* Cards Section */
.cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    /* Key for centering */
    align-items: stretch;
    /* Ensure equal height */
    gap: 2rem;
    /* Reduced gap slightly to help fit 3 */
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    /* Ensure container itself is centered */
}

.landing-card {
    background: #ffffff;
    border-radius: 1.5rem;
    padding: 2.5rem;
    /* Slightly reduced padding */
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center align everything */
    text-align: center;
    /* Center text */
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid #f3f4f6;
    border-top: 6px solid var(--primary-color);
    /* Default accent */
    height: auto;
    /* Allow height to adjust */
    min-height: 100%;
    /* Try to match heights if possible, or use flex stretch */
    flex: 1 1 300px;
    /* Reduced basis from 350px to ensure 3 fit */
    max-width: 400px;
    /* Prevent becoming too wide on wrap */
    position: relative;
    overflow: hidden;
}

/* Specific Accents */
.landing-card:nth-child(1) {
    border-top-color: #6366f1;
}

/* Indigo for DISC */
.landing-card:nth-child(2) {
    border-top-color: #10b981;
}

/* Green for Personality */
.landing-card:nth-child(3) {
    border-top-color: #f59e0b;
}

/* Amber for MSDT */

.landing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    background: #f8fafc;
    width: 4.5rem;
    height: 4.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    transition: background 0.3s;
}

.landing-card:hover .card-icon {
    background: #eff6ff;
}

.landing-card h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
}

.landing-card p {
    color: #4b5563;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    flex-grow: 1;
}

/* Feature List */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem 0;
    width: 100%;
    text-align: left;
    /* Keep list left-aligned for readability */
}

.feature-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f3f4f6;
    color: #374151;
    font-size: 1rem;
    display: flex;
    align-items: center;
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list li::before {
    content: "✓";
    color: white;
    font-weight: 900;
    margin-right: 1rem;
    font-size: 0.75rem;
    background: #10b981;
    /* Green checkmark */
    width: 1.25rem;
    height: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* Buttons */
.btn {
    width: auto;
    /* Not full width */
    min-width: 200px;
    /* Minimum width for consistency */
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border-radius: 9999px;
    /* Pill shape */
    transition: all 0.2s;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    background: linear-gradient(to right, #4f46e5, #7c3aed);
    /* Default Indigo */
    color: white;
    /* Ensure text is white */
    border: none;
    text-decoration: none;
    display: inline-block;
    margin-top: auto;
    /* Push to bottom if needed */
}

.btn:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
    color: white;
}

.btn-green {
    background: linear-gradient(to right, #10b981, #059669);
    /* Emerald Green */
}

/* Trust Section */
.trust-section {
    width: 100%;
    text-align: center;
    padding: 4rem 0;
    background: white;
    border-radius: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.trust-section h3 {
    color: #111827;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 3rem;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.trust-item {
    text-align: center;
    transition: transform 0.2s;
}

.trust-item:hover {
    transform: translateY(-5px);
}

.trust-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f0fdf4;
    /* Light green bg */
    color: #15803d;
    width: 5rem;
    height: 5rem;
    border-radius: 1.5rem;
}

.trust-item:nth-child(2) .trust-icon {
    background: #eff6ff;
    color: #1d4ed8;
}

.trust-item:nth-child(3) .trust-icon {
    background: #fef3c7;
    color: #b45309;
}

.trust-item h4 {
    color: #111827;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.trust-item p {
    color: #6b7280;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* Footer */
.landing-footer {
    margin-top: auto;
    text-align: center;
    color: #9ca3af;
    padding-top: 3rem;
    border-top: 1px solid #e5e7eb;
    width: 100%;
}

.landing-footer p {
    margin: 0.5rem 0;
    color: inherit;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .trust-grid {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .landing-container {
        padding: 1rem;
        gap: 2rem;
        width: 100%;
        max-width: 100vw;
        /* Force viewport constraint */
        overflow-x: hidden;
        box-sizing: border-box;
    }

    .header {
        padding: 2rem 1rem;
        width: 100%;
        max-width: 100%;
        border-radius: 1rem;
        margin: 0;
        box-sizing: border-box;
    }

    .landing-title {
        font-size: 1.75rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        /* Ensure breaking */
    }

    .landing-subtitle {
        font-size: 1rem;
        padding: 0 0.5rem;
        /* Add padding to prevent edge touching */
    }

    .cards-container {
        flex-direction: column;
        align-items: stretch;
        /* Stretch cards to fill container */
        width: 100%;
        max-width: 100%;
        gap: 2rem;
        padding: 0;
        /* Remove padding if any */
    }

    .landing-card {
        width: 100%;
        max-width: 100% !important;
        /* Force full width */
        margin: 0;
        flex: 1 1 auto;
        padding: 1.5rem;
        box-sizing: border-box;
    }

    .trust-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 100%;
        padding: 0;
        width: 100%;
    }

    .trust-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
        background: #f9fafb;
        padding: 1.5rem;
        border-radius: 1rem;
        width: 100%;
        box-sizing: border-box;
    }

    .trust-icon {
        margin-bottom: 0;
        width: 4rem;
        height: 4rem;
        font-size: 2rem;
        flex-shrink: 0;
    }

    .trust-item div {
        flex: 1;
        width: 100%;
        /* Ensure text container takes width */
    }
}