* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4F46E5;
    --secondary-color: #7C3AED;
    --accent-color: #EC4899;
    --text-dark: #1F2937;
    --text-light: #6B7280;
    --bg-light: #F9FAFB;
    --white: #FFFFFF;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

body {
    font-family: 'Noto Nastaliq Urdu', serif;
    line-height: 1.8;
    color: var(--text-dark);
    direction: rtl;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-1);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) var(--bg-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Advertorial Notice */
.advertorial-notice {
    background: #FEF3C7;
    color: #92400E;
    text-align: center;
    padding: 10px;
    font-weight: 600;
    font-size: 14px;
    border-bottom: 2px solid #F59E0B;
}

/* Header */
.header {
    background: var(--white);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav a:hover {
    color: var(--primary-color);
}

.cta-btn-small {
    background: var(--gradient-1);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.cta-btn-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(79, 70, 229, 0.3);
}

/* Hero Section */
.hero {
    background: var(--gradient-hero);
    color: var(--white);
    padding: 100px 0 150px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.05)"/></svg>');
    opacity: 0.3;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.95;
}

.cta-btn {
    display: inline-block;
    background: var(--white);
    color: var(--primary-color);
    padding: 15px 40px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.disclaimer-small {
    font-size: 14px;
    margin-top: 15px;
    opacity: 0.8;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.book-mockup {
    position: relative;
    width: 350px;
    height: 450px;
    transform: perspective(1000px) rotateY(-15deg);
    transition: transform 0.5s;
}

.book-mockup:hover {
    transform: perspective(1000px) rotateY(-5deg) scale(1.05);
}

.book-mockup img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.wave-bottom {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
}

.wave-bottom svg {
    display: block;
    width: 100%;
    height: 100px;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--white);
}

.features h2 {
    text-align: center;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.feature-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.feature-card p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.6;
}

/* About Book Section */
.about-book {
    padding: 100px 0;
    background: var(--bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.intro-text {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.8;
}

.about-content > p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.8;
}

.info-boxes {
    display: grid;
    gap: 20px;
    margin-bottom: 40px;
}

.info-box {
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.info-box svg {
    color: var(--primary-color);
    flex-shrink: 0;
}

.info-box h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.info-box p {
    font-size: 14px;
    color: var(--text-light);
}

.key-points {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.key-points h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.key-points ul {
    list-style: none;
}

.key-points li {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 12px;
    padding-right: 10px;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Inside Book Section */
.inside-book {
    padding: 100px 0;
    background: var(--white);
}

.inside-book h2 {
    text-align: center;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.inside-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.inside-card {
    background: var(--bg-light);
    padding: 35px;
    border-radius: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.inside-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.inside-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    opacity: 0.3;
    margin-bottom: 15px;
}

.inside-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.inside-card p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.inside-card ul {
    list-style: none;
}

.inside-card li {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 10px;
}

/* Why Different Section */
.why-different {
    padding: 100px 0;
    background: var(--bg-light);
}

.why-different h2 {
    text-align: center;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.different-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.different-card {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.different-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.different-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    border-radius: 50%;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.different-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.different-card p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.7;
}

/* Personalized Approach Section */
.personalized-approach {
    padding: 100px 0;
    background: var(--white);
}

.approach-content h2 {
    text-align: center;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.approach-item {
    background: var(--bg-light);
    padding: 35px;
    border-radius: 15px;
    border-right: 4px solid var(--primary-color);
    transition: transform 0.3s;
}

.approach-item:hover {
    transform: translateX(-5px);
}

.approach-item h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.approach-item p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.7;
}

/* Author Section */
.author-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.author-section h2 {
    text-align: center;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 60px;
    color: var(--text-dark);
}

.author-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: center;
}

.author-image-wrapper {
    position: relative;
}

.author-image {
    width: 300px;
    height: 300px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    border: 8px solid var(--primary-color);
    box-shadow: 0 20px 60px rgba(79, 70, 229, 0.3);
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-content h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.author-title {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 25px;
    font-weight: 600;
}

.author-bio {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 25px;
}

.author-expertise h4 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.expertise-item {
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    border-right: 4px solid var(--primary-color);
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.expertise-item h5 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.expertise-item p {
    font-size: 14px;
    color: var(--text-light);
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: var(--white);
}

.testimonials h2 {
    text-align: center;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background: var(--bg-light);
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.quote-icon {
    font-size: 60px;
    color: var(--primary-color);
    opacity: 0.2;
    line-height: 1;
    margin-bottom: 15px;
}

.testimonial-card p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 25px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.stars {
    color: #F59E0B;
    font-size: 16px;
}

/* FAQ Section */
.faq {
    padding: 100px 0;
    background: var(--bg-light);
}

.faq h2 {
    text-align: center;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 60px;
    color: var(--text-dark);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border: 2px solid var(--bg-light);
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: border-color 0.3s;
}

.faq-item:hover {
    border-color: var(--primary-color);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 25px;
    text-align: right;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Noto Nastaliq Urdu', serif;
}

.faq-question svg {
    transition: transform 0.3s;
    flex-shrink: 0;
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 25px 25px;
}

.faq-answer p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: var(--gradient-hero);
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-btn-large {
    display: inline-block;
    background: var(--white);
    color: var(--primary-color);
    padding: 18px 50px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 20px;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cta-btn-large:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* Footer */
.footer {
    background: #1F2937;
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 15px;
}

.footer-col a:hover {
    color: var(--white);
}

.footer-col p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    line-height: 1.8;
}

.footer-disclosures {
    margin-bottom: 40px;
}

.footer-disclosures h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}

.disclosure-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 20px;
    border-right: 4px solid var(--primary-color);
}

.disclosure-box h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--white);
}

.disclosure-box p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    margin-bottom: 10px;
}

.medical-disclaimer {
    font-weight: 600;
    color: #FCD34D !important;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero .container,
    .about-grid,
    .author-grid {
        grid-template-columns: 1fr;
    }

    .nav {
        display: none;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content p {
        font-size: 18px;
    }

    .book-mockup {
        width: 280px;
        height: 380px;
    }

    h2 {
        font-size: 32px !important;
    }

    .features-grid,
    .testimonials-grid,
    .inside-grid,
    .different-grid,
    .approach-grid {
        grid-template-columns: 1fr;
    }

    .author-image {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 60px 0 100px;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .cta-btn {
        padding: 12px 30px;
        font-size: 16px;
    }

    .features,
    .about-book,
    .inside-book,
    .why-different,
    .personalized-approach,
    .author-section,
    .testimonials,
    .faq,
    .cta-section {
        padding: 60px 0;
    }

    h2 {
        font-size: 28px !important;
    }

    .section-subtitle {
        font-size: 16px;
    }
}