/* ==========================================================================
   JafriAI - Home Page Styles
   ========================================================================== */

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8rem 2rem 6rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-eyebrow {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--teal-600);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeUp 0.8s ease forwards;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 400;
    line-height: 1.1;
    color: var(--sand-900);
    max-width: 900px;
    letter-spacing: -0.02em;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.1s forwards;
}

.hero h1 em {
    font-style: italic;
    color: var(--teal-700);
}

.hero-description {
    font-size: 1.25rem;
    color: var(--sand-600);
    max-width: 600px;
    margin-top: 2rem;
    line-height: 1.7;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.2s forwards;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-top: 3rem;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.3s forwards;
}

/* ==========================================================================
   Credentials Bar
   ========================================================================== */
.credentials {
    border-top: 1px solid var(--sand-200);
    background: var(--sand-100);
    padding: 3rem 2rem;
}

.credentials-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.credential {
    text-align: center;
}

.credential-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 400;
    color: var(--teal-700);
    line-height: 1;
}

.credential-label {
    font-size: 0.85rem;
    color: var(--sand-500);
    margin-top: 0.5rem;
}

/* ==========================================================================
   Problem Section
   ========================================================================== */
.problem {
    background: var(--sand-900);
    max-width: none;
    padding: 6rem 2rem;
}

.problem-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.problem .section-eyebrow {
    color: var(--teal-400);
}

.problem .section-title {
    color: var(--sand-50);
}

.problem .section-description {
    color: var(--sand-400);
}

.pain-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.pain-point {
    padding: 2rem;
    background: var(--sand-800);
    border-radius: 12px;
    border: 1px solid var(--sand-700);
}

.pain-point-icon {
    width: 40px;
    height: 40px;
    background: var(--teal-600);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.pain-point-icon svg {
    width: 20px;
    height: 20px;
    color: white;
}

.pain-point h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--sand-100);
    margin-bottom: 0.75rem;
}

.pain-point p {
    font-size: 0.95rem;
    color: var(--sand-400);
    line-height: 1.6;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 4rem;
}

.service-card {
    padding: 2.5rem;
    background: white;
    border-radius: 12px;
    border: 1px solid var(--sand-200);
    transition: all 0.3s ease;
    position: relative;
}

.service-card:hover {
    border-color: var(--teal-300);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    transform: translateY(-4px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 2rem;
    right: 2rem;
    height: 3px;
    background: var(--teal-500);
    border-radius: 0 0 3px 3px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover::before {
    opacity: 1;
}

.service-tier {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--teal-600);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--sand-900);
    margin-bottom: 1rem;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--sand-600);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-details {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-details li {
    font-size: 0.9rem;
    color: var(--sand-600);
    padding: 0.4rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.service-details li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.85rem;
    width: 6px;
    height: 6px;
    background: var(--teal-500);
    border-radius: 50%;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content {
    max-width: 500px;
}

.about-visual {
    background: linear-gradient(135deg, var(--teal-100) 0%, var(--teal-50) 100%);
    border-radius: 16px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.about-visual::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--teal-200) 0%, transparent 70%);
    opacity: 0.5;
}

.about-stats {
    position: relative;
    z-index: 1;
}

.about-stat {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.about-stat:last-child {
    margin-bottom: 0;
}

.about-stat-value {
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--teal-700);
    font-weight: 500;
}

.about-stat-label {
    font-size: 0.9rem;
    color: var(--sand-600);
    margin-top: 0.25rem;
}

/* ==========================================================================
   Blog Section
   ========================================================================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.blog-card {
    background: white;
    border-radius: 12px;
    border: 1px solid var(--sand-200);
    overflow: hidden;
    transition: all 0.3s ease;
}

.blog-card:hover {
    border-color: var(--teal-300);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
    transform: translateY(-4px);
}

.blog-card-image {
    height: 200px;
    background: linear-gradient(135deg, var(--teal-100) 0%, var(--sand-100) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.blog-card-image::before {
    content: '';
    position: absolute;
    width: 120px;
    height: 120px;
    background: var(--teal-200);
    border-radius: 50%;
    opacity: 0.5;
}

.blog-card-image svg {
    width: 48px;
    height: 48px;
    color: var(--teal-600);
    position: relative;
    z-index: 1;
}

.blog-card-content {
    padding: 1.75rem;
}

.blog-card-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--sand-500);
    margin-bottom: 0.75rem;
}

.blog-card-category {
    color: var(--teal-600);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.blog-card h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--sand-900);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.blog-card h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-card h3 a:hover {
    color: var(--teal-700);
}

.blog-card p {
    font-size: 0.95rem;
    color: var(--sand-600);
    line-height: 1.6;
}

.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--teal-600);
    text-decoration: none;
    transition: gap 0.2s ease;
}

.blog-card-link:hover {
    gap: 0.75rem;
}

.blog-card-link svg {
    width: 16px;
    height: 16px;
}

/* Coming Soon Blog Cards */
.blog-card.coming-soon {
    opacity: 0.7;
}

.blog-card.coming-soon:hover {
    transform: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.blog-card.coming-soon .coming-soon-label {
    color: var(--sand-400);
    font-style: italic;
    cursor: default;
}

.blog-card.coming-soon .coming-soon-label:hover {
    gap: 0.5rem;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta {
    background: linear-gradient(135deg, var(--teal-700) 0%, var(--teal-800) 100%);
    max-width: none;
    padding: 6rem 2rem;
    text-align: center;
}

.cta-inner {
    max-width: 700px;
    margin: 0 auto;
}

.cta .section-title {
    color: white;
}

.cta .section-description {
    color: var(--teal-100);
    margin: 1.5rem auto 0;
}

.cta .btn-primary {
    background: white;
    color: var(--teal-800);
    margin-top: 2.5rem;
}

.cta .btn-primary:hover {
    background: var(--teal-50);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   Responsive - Home
   ========================================================================== */
@media (max-width: 768px) {
    .hero {
        padding: 7rem 1.5rem 4rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .credentials-inner {
        gap: 2rem;
    }

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

    .about-visual {
        order: -1;
    }
}
