/* ============================================
   MyDocstor - Hero Section
   ============================================ */

/* Hero Background */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 40%, #f8fafc 100%);
    padding: 6rem 1rem;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(124, 58, 237, 0.08);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 2rem;
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #7c3aed;
    margin-bottom: 1.5rem;
}

/* Hero Title */
.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    color: #0f172a;
    margin-bottom: 1.25rem;
}

.hero-title span {
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Subtitle */
.hero-subtitle {
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 2.5rem;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* Hero CTA */
.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    color: white;
    padding: 1rem 2rem;
    border-radius: 0.875rem;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 25px rgba(124, 58, 237, 0.35);
}

.hero-cta:hover {
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.45);
    transform: translateY(-2px);
}

/* Tools Grid Section */
.tools-section {
    padding: 5rem 1rem;
    background: #f8fafc;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: #0f172a;
    text-align: center;
    margin-bottom: 0.75rem;
}

.section-subtitle {
    color: #64748b;
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.05rem;
}

/* Tool Cards */
.tool-grid-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
    border-radius: 1.25rem;
    padding: 1.75rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
}

.tool-grid-card:hover {
    box-shadow: 0 8px 40px rgba(124, 58, 237, 0.15);
    border-color: rgba(124, 58, 237, 0.3);
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.98);
}

.tool-icon-wrap {
    width: 3rem;
    height: 3rem;
    background: rgba(124, 58, 237, 0.08);
    border-radius: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.tool-grid-card:hover .tool-icon-wrap {
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
}

.tool-icon-wrap svg {
    color: #7c3aed;
    transition: color 0.3s ease;
}

.tool-grid-card:hover .tool-icon-wrap svg {
    color: white;
}

.tool-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.tool-grid-card:hover .tool-card-title {
    color: #7c3aed;
}

.tool-card-desc {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.6;
}

/* How It Works Section */
.how-section {
    background: white;
    padding: 5rem 1rem;
}

.step-card {
    text-align: center;
    padding: 2rem 1rem;
}

.step-number {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1), rgba(99, 102, 241, 0.1));
    border: 2px solid rgba(124, 58, 237, 0.2);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: #7c3aed;
}

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

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-section {
        padding: 4rem 1rem;
    }
}