/* Import Inter font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500;600&display=swap');

/* Color variables matching React design */
:root {
    --tharwah-primary: #187FD3;
    --tharwah-dark: #2E3948;
    --tharwah-gray: #6B7280;
    --tharwah-border: #E3E3E5;
    --tharwah-light-bg: #FBFDFF;
    --tharwah-white: #ffffff;
}

/* Base Styles */
.tharwah-exclusive-learning * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.tharwah-exclusive-learning {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--tharwah-white);
    color: var(--tharwah-dark);
    line-height: 1.6;
    direction: ltr;
    padding: 0 !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
}

.site-content > div.container {
    max-width: 100%;
}

/* ==================== Hero Section ==================== */
.learning-hero-section {
    position: relative;
    background: linear-gradient(to bottom, var(--tharwah-white), var(--tharwah-light-bg));
    padding: 128px 24px 80px;
}

.learning-hero-container {
    max-width: 1650px;
    margin: 0 auto;
}

.learning-hero-content {
    text-align: center;
    max-width: 1024px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(24, 127, 211, 0.1);
    border-radius: 9999px;
    width: fit-content;
    margin: 0 auto;
}

.badge-icon {
    width: 16px;
    height: 16px;
    color: var(--tharwah-primary);
}

.hero-badge span {
    font-size: 0.875rem;
    letter-spacing: 0.025em;
    color: var(--tharwah-primary);
    font-weight: 300;
}

.learning-hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 300;
    color: var(--tharwah-dark);
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.learning-hero-subtitle {
    font-size: 1.125rem;
    color: var(--tharwah-gray);
    font-weight: 300;
    line-height: 1.75;
}

/* ==================== Features Section ==================== */
.features-section {
    background: var(--tharwah-white);
    padding: 80px 24px;
}

.features-container {
    max-width: 1650px;
    margin: 0 auto;
}

.features-header {
    text-align: center;
    margin-bottom: 64px;
}

.features-title {
    font-size: clamp(1.875rem, 3vw, 2.5rem);
    font-weight: 300;
    color: var(--tharwah-dark);
    margin-bottom: 16px;
}

.features-description {
    color: var(--tharwah-gray);
    font-weight: 300;
    max-width: 768px;
    margin: 0 auto;
    line-height: 1.75;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    background: var(--tharwah-white);
    border: 1px solid rgba(227, 227, 229, 0.3);
    border-radius: 16px;
    padding: 40px;
    transition: all 0.5s ease;
    cursor: pointer;
}

.feature-card:hover {
    border-color: rgba(24, 127, 211, 0.5);
    box-shadow: 0 25px 50px -12px rgba(24, 127, 211, 0.05);
    transform: translateY(-8px);
}

.feature-icon {
    display: inline-flex;
    padding: 12px;
    background: rgba(24, 127, 211, 0.1);
    border-radius: 12px;
    margin-bottom: 24px;
    transition: background 0.5s ease;
}

.feature-card:hover .feature-icon {
    background: var(--tharwah-primary);
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    color: var(--tharwah-primary);
    transition: color 0.5s ease;
}

.feature-card:hover .feature-icon svg {
    color: var(--tharwah-white);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--tharwah-primary);
    margin-bottom: 12px;
    letter-spacing: 0.025em;
}

.feature-text {
    color: var(--tharwah-gray);
    font-weight: 300;
    line-height: 1.75;
}

/* ==================== Coming Soon Section ==================== */
.coming-soon-section {
    background: var(--tharwah-light-bg);
    padding: 80px 24px;
}

.coming-soon-container {
    max-width: 1650px;
    margin: 0 auto;
}

.coming-soon-header {
    text-align: center;
    margin-bottom: 64px;
}

.coming-soon-title {
    font-size: clamp(1.875rem, 3vw, 2.5rem);
    font-weight: 300;
    color: var(--tharwah-dark);
    margin-bottom: 16px;
}

.coming-soon-subtitle {
    color: var(--tharwah-gray);
    font-weight: 300;
    max-width: 768px;
    margin: 0 auto;
}

.courses-placeholder {
    background: var(--tharwah-white);
    border-radius: 16px;
    border: 1px solid rgba(227, 227, 229, 0.3);
    padding: 80px;
    text-align: center;
}

.placeholder-content {
    max-width: 640px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
        align-items: center;
}

.placeholder-icon {
    display: inline-flex;
    padding: 16px;
    background: rgba(24, 127, 211, 0.1);
    border-radius: 50%;
    width: fit-content;
    margin: 0 auto;
}

.placeholder-icon svg {
    width: 48px;
    height: 48px;
    color: var(--tharwah-primary);
}

.placeholder-title {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--tharwah-dark);
}

.placeholder-text {
    color: var(--tharwah-gray);
    font-weight: 300;
    line-height: 1.75;
}

.notify-button {
    margin-top: 24px;
    background: var(--tharwah-primary);
    color: var(--tharwah-white);
    padding: 16px 40px;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 300;
    transition: all 0.5s ease;
    box-shadow: 0 10px 15px -3px rgba(24, 127, 211, 0.2);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.notify-button:hover {
    background: var(--tharwah-dark);
    box-shadow: 0 25px 50px -12px rgba(46, 57, 72, 0.3);
}

/* ==================== Responsive Design ==================== */

/* Tablet */
@media (max-width: 1024px) {
    .learning-hero-section {
        padding: 100px 24px 64px;
    }

    .learning-hero-title {
        font-size: clamp(2rem, 4vw, 3rem);
    }

    .learning-hero-subtitle {
        font-size: 1.0625rem;
    }

    .features-section {
        padding: 100px 24px;
    }

    .features-grid {
        display: flex;
        grid-template-columns: none;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        gap: 32px;
        padding-bottom: 16px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .features-grid::-webkit-scrollbar {
        display: none;
    }

    .feature-card {
        min-width: 320px;
        max-width: 400px;
        flex-shrink: 0;
        scroll-snap-align: start;
        padding: 40px;
    }

    .coming-soon-section {
        padding: 100px 24px;
    }

    .courses-placeholder {
        padding: 64px 48px;
    }
}

/* Tablet */
@media (max-width: 768px) {
    .learning-hero-section {
        padding: 80px 20px 64px;
    }

    .learning-hero-content {
        gap: 24px;
    }

    .learning-hero-title {
        font-size: clamp(1.875rem, 3.5vw, 2.5rem);
    }

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

    .hero-badge {
        padding: 6px 14px;
    }

    .hero-badge span {
        font-size: 0.8125rem;
    }

    .features-section {
        padding: 80px 20px;
    }

    .features-header {
        margin-bottom: 48px;
    }

    .features-title {
        font-size: clamp(1.625rem, 3vw, 2rem);
    }

    .features-description {
        font-size: 0.9375rem;
    }

    .features-grid {
        gap: 24px;
        padding-bottom: 12px;
    }

    .feature-card {
        min-width: 280px;
        max-width: 360px;
        padding: 36px 28px;
    }

    .feature-icon {
        margin-bottom: 20px;
    }

    .feature-title {
        font-size: 1.125rem;
        margin-bottom: 10px;
    }

    .feature-text {
        font-size: 0.9375rem;
    }

    .coming-soon-section {
        padding: 80px 20px;
    }

    .coming-soon-header {
        margin-bottom: 48px;
    }

    .coming-soon-title {
        font-size: clamp(1.625rem, 3vw, 2rem);
    }

    .coming-soon-subtitle {
        font-size: 0.9375rem;
    }

    .courses-placeholder {
        padding: 56px 40px;
    }

    .placeholder-title {
        font-size: 1.375rem;
    }

    .notify-button {
        padding: 14px 32px;
        font-size: 0.8125rem;
    }
}

/* Mobile */
@media (max-width: 640px) {
    .learning-hero-section {
        padding: 60px 16px 48px;
    }

    .learning-hero-content {
        gap: 20px;
    }

    .learning-hero-title {
        font-size: clamp(1.625rem, 5vw, 2rem);
    }

    .learning-hero-subtitle {
        font-size: 0.9375rem;
    }

    .hero-badge {
        padding: 6px 12px;
    }

    .hero-badge span {
        font-size: 0.75rem;
    }

    .features-section {
        padding: 60px 16px;
    }

    .features-header {
        margin-bottom: 40px;
    }

    .features-title {
        font-size: clamp(1.5rem, 4.5vw, 1.875rem);
    }

    .features-description {
        font-size: 0.9375rem;
    }

    .features-grid {
        gap: 20px;
        padding-bottom: 12px;
    }

    .feature-card {
        min-width: 260px;
        max-width: 320px;
        padding: 32px 24px;
    }

    .feature-icon {
        padding: 10px;
        margin-bottom: 16px;
    }

    .feature-icon svg {
        width: 20px;
        height: 20px;
    }

    .feature-title {
        font-size: 1.0625rem;
        margin-bottom: 8px;
    }

    .feature-text {
        font-size: 0.9375rem;
    }

    .coming-soon-section {
        padding: 60px 16px;
    }

    .coming-soon-header {
        margin-bottom: 40px;
    }

    .coming-soon-title {
        font-size: clamp(1.5rem, 4.5vw, 1.875rem);
    }

    .coming-soon-subtitle {
        font-size: 0.9375rem;
    }

    .courses-placeholder {
        padding: 48px 28px;
    }

    .placeholder-content {
        gap: 20px;
    }

    .placeholder-icon {
        padding: 12px;
    }

    .placeholder-icon svg {
        width: 40px;
        height: 40px;
    }

    .placeholder-title {
        font-size: 1.25rem;
    }

    .placeholder-text {
        font-size: 0.9375rem;
    }

    .notify-button {
        padding: 14px 28px;
        font-size: 0.75rem;
    }
}

/* Extra Small Mobile */
@media (max-width: 380px) {
    .learning-hero-section {
        padding: 48px 12px 40px;
    }

    .learning-hero-title {
        font-size: 1.5rem;
    }

    .learning-hero-subtitle {
        font-size: 0.875rem;
    }

    .features-section {
        padding: 48px 12px;
    }

    .features-header {
        margin-bottom: 32px;
    }

    .features-title {
        font-size: 1.375rem;
    }

    .features-description {
        font-size: 0.875rem;
    }

    .features-grid {
        gap: 16px;
        padding-bottom: 8px;
    }

    .feature-card {
        min-width: 240px;
        max-width: 280px;
        padding: 28px 20px;
    }

    .feature-icon {
        padding: 8px;
        margin-bottom: 12px;
    }

    .feature-icon svg {
        width: 18px;
        height: 18px;
    }

    .feature-title {
        font-size: 1rem;
        margin-bottom: 6px;
    }

    .feature-text {
        font-size: 0.875rem;
    }

    .coming-soon-section {
        padding: 48px 12px;
    }

    .coming-soon-header {
        margin-bottom: 32px;
    }

    .coming-soon-title {
        font-size: 1.375rem;
    }

    .coming-soon-subtitle {
        font-size: 0.875rem;
    }

    .courses-placeholder {
        padding: 40px 20px;
    }

    .placeholder-content {
        gap: 16px;
    }

    .placeholder-icon {
        padding: 10px;
    }

    .placeholder-icon svg {
        width: 36px;
        height: 36px;
    }

    .placeholder-title {
        font-size: 1.125rem;
    }

    .placeholder-text {
        font-size: 0.875rem;
    }

    .notify-button {
        padding: 12px 24px;
        font-size: 0.6875rem;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.learning-hero-section,
.features-section,
.coming-soon-section {
    animation: fadeIn 0.6s ease-out;
}
