/* ============================================
   Landing Page Styles
   Deepa Sharma & Associates
   ============================================ */

:root {
    --color-primary-rgb: 27, 58, 92;
}

/* Landing Hero */
.landing-hero {
    background: linear-gradient(135deg, var(--color-primary) 0%, #1a3a5c 100%);
    color: #fff;
    padding: 5rem 0 4rem;
    position: relative;
    overflow: hidden;
}
.landing-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: rgba(255,255,255,0.03);
    border-radius: 50%;
}
.landing-hero .container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
}
.landing-hero__content {
    position: relative;
    z-index: 1;
}
.landing-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(5px);
}
.landing-hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.25rem;
}
.landing-hero__title span {
    color: #ffd700;
}
.landing-hero__subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 550px;
}
.landing-hero__stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.15);
}
.landing-hero__stat {
    text-align: center;
}
.landing-hero__stat strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
}
.landing-hero__stat span {
    font-size: 0.8rem;
    opacity: 0.75;
}

/* Landing Form */
.landing-form {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    margin-top: 2rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    color: var(--color-text);
}
.landing-form__title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--color-heading);
}
.landing-form__subtitle {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
}
.landing-form .form-group {
    margin-bottom: 1rem;
}
.landing-form label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: var(--color-heading);
}
.landing-form input,
.landing-form select,
.landing-form textarea {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: border-color 0.2s;
}
.landing-form input:focus,
.landing-form select:focus,
.landing-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.1);
}
.landing-form .btn {
    width: 100%;
    margin-top: 0.5rem;
}
.landing-form__trust {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    font-size: 0.75rem;
    color: var(--color-text-light);
}

/* Fix text colors on landing pages */
.landing-hero h1,
.landing-hero h2,
.landing-hero h3,
.landing-hero h4,
.landing-hero p,
.landing-hero .section__title {
    color: #fff;
}

/* Landing form text must be dark */
.landing-form,
.landing-form h2,
.landing-form h3,
.landing-form p,
.landing-form label {
    color: var(--color-text);
}
.landing-form .landing-form__title {
    color: var(--color-primary);
}

/* Section headers on gray/white backgrounds */
.section .section__header h2,
.section h2 {
    color: var(--color-primary);
}

/* CTA box text must stay white (dark background) */
.cta__box h2 {
    color: #fff !important;
}
.cta__box p {
    color: rgba(255,255,255,0.8) !important;
}

/* Benefit card text */
.benefit-card h3,
.process-step h3,
.doc-card h4 {
    color: var(--color-primary);
}
.benefit-card p,
.process-step p,
.doc-card p {
    color: var(--color-text-light);
}

/* FAQ text */
.faq-item summary {
    color: var(--color-text);
}
.faq-item__answer p {
    color: var(--color-text-light);
}

/* Timeline text */
.timeline__item h3 {
    color: var(--color-primary);
}
.timeline__item p {
    color: var(--color-text-light);
}

/* Trust Badges */
.trust-bar {
    background: #f8f9fa;
    padding: 1.5rem 0;
    border-bottom: 1px solid #eee;
}
.trust-bar__logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}
.trust-bar__item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-heading);
}
.trust-bar__item svg {
    color: var(--color-primary);
}

/* Process Steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    counter-reset: step;
}
.process-step {
    text-align: center;
    padding: 2rem 1.5rem;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #eee;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
}
.process-step:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}
.process-step__number {
    width: 48px;
    height: 48px;
    background: var(--color-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0 auto 1rem;
}
.process-step h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}
.process-step p {
    font-size: 0.85rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.benefit-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.75rem;
    border: 1px solid #eee;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    transition: transform 0.2s, box-shadow 0.2s;
}
.benefit-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}
.benefit-card__icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: rgba(var(--color-primary-rgb), 0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
}
.benefit-card h3 {
    font-size: 1rem;
    margin-bottom: 0.35rem;
}
.benefit-card p {
    font-size: 0.85rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* Documents Grid */
.docs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
}
.doc-card {
    background: #fff;
    border-radius: 10px;
    padding: 1.5rem;
    border: 1px solid #eee;
    text-align: center;
    transition: border-color 0.2s;
}
.doc-card:hover {
    border-color: var(--color-primary);
}
.doc-card__icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}
.doc-card h4 {
    font-size: 0.9rem;
    margin-bottom: 0.35rem;
}
.doc-card p {
    font-size: 0.8rem;
    color: var(--color-text-light);
}

/* Comparison Table */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.comparison-table thead tr {
    background: var(--color-primary);
    color: #fff;
}
.comparison-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}
.comparison-table td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid #f0f0f0;
}
.comparison-table tr:last-child td {
    border-bottom: none;
}
.comparison-table tbody tr:hover {
    background: #f8fafe;
}
.comparison-table .highlight-col {
    background: rgba(var(--color-primary-rgb), 0.03);
    font-weight: 600;
}

/* FAQ Accordion */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    border: 1px solid #eee;
    border-radius: 10px;
    margin-bottom: 0.75rem;
    overflow: hidden;
    background: #fff;
}
.faq-item summary {
    padding: 1.1rem 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-item summary::-webkit-details-marker {
    display: none;
}
.faq-item summary::after {
    content: '+';
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--color-primary);
    transition: transform 0.2s;
}
.faq-item[open] summary::after {
    transform: rotate(45deg);
}
.faq-item__answer {
    padding: 0 1.5rem 1.25rem;
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 2.5rem;
    max-width: 700px;
    margin: 0 auto;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 0.75rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--color-primary);
    opacity: 0.2;
}
.timeline__item {
    position: relative;
    padding-bottom: 2rem;
}
.timeline__item::before {
    content: '';
    position: absolute;
    left: -1.85rem;
    top: 0.3rem;
    width: 14px;
    height: 14px;
    background: var(--color-primary);
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px var(--color-primary);
}
.timeline__item h4 {
    font-size: 0.85rem;
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 0.3rem;
}
.timeline__item h3 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
}
.timeline__item p {
    font-size: 0.85rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* Sticky CTA Bar */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid #eee;
    padding: 0.75rem 0;
    z-index: 999;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
}
.sticky-cta.show {
    transform: translateY(0);
}
.sticky-cta .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.sticky-cta__text {
    font-size: 0.9rem;
    font-weight: 600;
}
.sticky-cta__text span {
    display: block;
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--color-text-light);
}

/* Responsive */
@media (max-width: 768px) {
    .landing-hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .landing-hero__subtitle {
        margin: 0 auto 2rem;
    }
    .landing-hero__stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    .landing-form {
        margin-top: 1rem;
    }
    .process-steps {
        grid-template-columns: 1fr 1fr;
    }
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    .comparison-table {
        font-size: 0.8rem;
    }
    .comparison-table th, .comparison-table td {
        padding: 0.6rem;
    }
    .sticky-cta .container {
        flex-direction: column;
        text-align: center;
    }
}
@media (max-width: 480px) {
    .process-steps {
        grid-template-columns: 1fr;
    }
    .docs-grid {
        grid-template-columns: 1fr 1fr;
    }
}
