/* ===== Font Import ===== */
@import url('https://cdn.jsdelivr.net/gh/rastikerdar/vazir-font@v30.1.0/dist/font-face.css');

/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --blue: #A5D6FF;
    --blue-dark: #5BA3E6;
    --green: #98E6C5;
    --green-dark: #5BC49A;
    --yellow: #FFF4B8;
    --yellow-dark: #F5D76E;
    --pink: #FFB6C1;
    --pink-dark: #FF8FA3;
    --white: #FFFFFF;
    --gray-light: #F8F9FA;
    --gray: #6C757D;
    --gray-dark: #343A40;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
    direction: rtl;
}

body {
    font-family: 'Vazir', sans-serif;
    line-height: 1.6;
    color: var(--gray-dark);
    background: var(--white);
    overflow-x: hidden;
}

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

.icon {
    width: 24px;
    height: 24px;
}

.icon-large {
    width: 32px;
    height: 32px;
}

/* ===== Animations ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

/* ===== Scroll Progress Bar ===== */
.scroll-progress {
    position: fixed;
    top: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to left, var(--blue), var(--green), var(--pink));
    z-index: 9999;
    transition: width 0.1s;
    width: 0%;
}

/* ===== Buttons ===== */
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--blue) 0%, var(--green) 100%);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(165, 214, 255, 0.4);
}

.btn-primary:focus {
    outline: 2px solid var(--blue-dark);
    outline-offset: 2px;
}

.btn-secondary {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    font-size: 16px;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn-secondary:focus {
    outline: 2px solid var(--white);
    outline-offset: 2px;
}

.btn-large {
    padding: 16px 36px;
    font-size: 18px;
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-sm);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

.logo-text {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--blue-dark), var(--green-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
}

.nav-link {
    color: var(--gray-dark);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--blue-dark);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--blue-dark);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:focus {
    outline: 2px solid var(--blue-dark);
    outline-offset: 4px;
    border-radius: 2px;
}

.nav-download {
    padding: 10px 24px;
    font-size: 14px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn:focus {
    outline: 2px solid var(--blue-dark);
    outline-offset: 2px;
    border-radius: 4px;
}

/* ===== Mobile Menu ===== */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    transition: right 0.3s ease;
    z-index: 1001;
    overflow-y: auto;
}

.mobile-menu.open {
    right: 0;
}

.mobile-menu-content {
    padding: 24px;
}

.close-menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    margin-bottom: 32px;
    padding: 8px;
}

.close-menu-btn:focus {
    outline: 2px solid var(--blue-dark);
    outline-offset: 2px;
    border-radius: 4px;
}

.mobile-nav-list {
    list-style: none;
}

.mobile-nav-link {
    display: block;
    padding: 14px 0;
    color: var(--gray-dark);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    border-bottom: 1px solid var(--gray-light);
    transition: var(--transition);
}

.mobile-nav-link:hover {
    color: var(--blue-dark);
    padding-right: 8px;
}

.mobile-nav-link:focus {
    outline: 2px solid var(--blue-dark);
    outline-offset: 2px;
    border-radius: 4px;
}

.mobile-download {
    display: block;
    text-align: center;
    margin-top: 20px;
}

/* ===== Hero Section ===== */
.hero-section {
    height: clamp(500px, 70vh, 700px);
    min-height: 500px;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
    z-index: 2;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.3;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: 18px;
    margin-bottom: 32px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    color: var(--white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.1);
}

.slider-btn:focus {
    outline: 2px solid var(--white);
    outline-offset: 2px;
}

.slider-btn-prev {
    left: 20px;
}

.slider-btn-next {
    right: 20px;
}

/* ===== Sections ===== */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--gray-dark);
    margin-bottom: 20px;
    line-height: 1.4;
}

.section-description {
    font-size: 17px;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

.section-infant {
    background: linear-gradient(to bottom, #E8F4FF, var(--white));
}

.section-oneyear {
    background: linear-gradient(to bottom, #E8F8F0, var(--white));
}

.section-twoyears {
    background: linear-gradient(to bottom, #FFF0F3, var(--white));
}

.section-about {
    background: var(--white);
}

.section-features {
    background: linear-gradient(to bottom, #E8F4FF, var(--white));
}

.section-features-infant {
    background: linear-gradient(to bottom, var(--white), #F0F9FF);
    padding: 80px 0;
}

.section-services {
    background: var(--white);
}

.section-testimonials {
    background: linear-gradient(135deg, #E8F4FF 0%, #E8F8F0 50%, #FFF0F3 100%);
}

.section-download {
    background: linear-gradient(135deg, var(--blue) 0%, var(--green) 50%, var(--pink) 100%);
    color: var(--white);
    text-align: center;
}

/* ===== Video Grid ===== */
.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.video-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: var(--transition);
}

.video-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.video-card:focus-within {
    outline: 2px solid var(--blue-dark);
    outline-offset: 2px;
}

.video-thumbnail {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.thumbnail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.video-card:hover .thumbnail-image {
    transform: scale(1.1);
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.video-card:hover .play-overlay {
    opacity: 1;
}

.play-button {
    background: rgba(255, 255, 255, 0.95);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    transform: scale(0.8);
}

.video-card:hover .play-button {
    transform: scale(1.1);
}

.play-icon {
    width: 28px;
    height: 28px;
    color: var(--blue-dark);
    margin-right: -3px;
}

.section-infant .play-icon {
    color: var(--blue-dark);
}

.section-oneyear .play-icon {
    color: var(--green-dark);
}

.section-twoyears .play-icon {
    color: var(--pink-dark);
}

.video-duration {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.video-info {
    padding: 20px;
}

.video-title {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--gray-dark);
    line-height: 1.5;
}

.video-description {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
}

/* ===== Motivational Slider ===== */
.motivational-slider {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.motivational-slide {
    position: relative;
    width: 100%;
    height: 100%;
}

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

.motivational-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.motivational-overlay-1 {
    background: linear-gradient(to right, rgba(91, 163, 230, 0.8), rgba(91, 196, 154, 0.8));
}

.motivational-overlay-2 {
    background: linear-gradient(to right, rgba(255, 143, 163, 0.8), rgba(245, 215, 110, 0.8));
}

.motivational-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
    z-index: 2;
}

.motivational-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.motivational-description {
    font-size: 20px;
    line-height: 1.6;
}

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

.about-main-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #f57c00;
    margin-bottom: 25px;
    line-height: 1.8;
}

.about-subtitle {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ff8f00;
    margin-top: 28px;
    margin-bottom: 12px;
    line-height: 1.8;
}

.about-text {
    font-size: 1rem;
    line-height: 2.2;
    color: #444;
    margin-bottom: 16px;
    text-align: justify;
}

.about-row {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
}

.about-image {
    flex: 1.3;
}

.about-text-box {
    flex: 1.9;
}

.about-row.reverse {
    flex-direction: row-reverse;
}

.about-img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 8px;
}

.stat-blue {
    color: var(--blue-dark);
}

.stat-green {
    color: var(--green-dark);
}

.stat-pink {
    color: var(--pink-dark);
}

.stat-label {
    font-size: 14px;
    color: var(--gray);
}

/* ===== Features Section ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

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

.feature-card {
    background: var(--white);
    padding: 32px 24px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon-blue {
    background: #E8F4FF;
    color: var(--blue-dark);
}

.feature-icon-green {
    background: #E8F8F0;
    color: var(--green-dark);
}

.feature-icon-pink {
    background: #FFF0F3;
    color: var(--pink-dark);
}

.feature-icon-yellow {
    background: #FFF9E0;
    color: var(--yellow-dark);
}

.feature-icon-purple {
    background: #F3E8FF;
    color: #9333EA;
}

.feature-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--gray-dark);
}

.feature-description {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
}

/* ===== Steps Section ===== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.step-item {
    text-align: center;
}

.step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
    font-size: 32px;
    font-weight: 700;
    box-shadow: var(--shadow-md);
}

.step-number-1 {
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
}

.step-number-2 {
    background: linear-gradient(135deg, var(--green), var(--green-dark));
}

.step-number-3 {
    background: linear-gradient(135deg, var(--pink), var(--pink-dark));
}

.step-number-4 {
    background: linear-gradient(135deg, var(--yellow), var(--yellow-dark));
}

.step-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--gray-dark);
}

.step-description {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
}

/* ===== Testimonials Section ===== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--white);
    padding: 32px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.testimonial-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    margin-left: 16px;
}

.testimonial-name {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--gray-dark);
}

.testimonial-rating {
    color: #FFB800;
    font-size: 14px;
}

.testimonial-text {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.8;
}

/* ===== Download Section ===== */
.download-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
}

.download-description {
    font-size: 18px;
    margin-bottom: 48px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
}

.download-buttons {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}

.download-btn {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--white);
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.download-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.5);
}

.download-btn:focus {
    outline: 2px solid var(--white);
    outline-offset: 2px;
}

.download-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 8px;
}

.download-label {
    font-size: 14px;
    font-weight: 600;
}

/* ===== Footer ===== */
.footer {
    background: var(--gray-dark);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--blue), var(--green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.footer-description {
    color: #B0B8C1;
    line-height: 1.8;
    font-size: 14px;
}

.footer-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: #B0B8C1;
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    padding-right: 5px;
}

.footer-links a:focus {
    outline: 2px solid var(--white);
    outline-offset: 2px;
    border-radius: 2px;
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    color: #B0B8C1;
    font-size: 14px;
    margin-bottom: 12px;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #B0B8C1;
    transition: var(--transition);
    text-decoration: none;
}

.social-link:hover {
    background: var(--blue-dark);
    color: var(--white);
    transform: translateY(-3px);
}

.social-link:focus {
    outline: 2px solid var(--white);
    outline-offset: 2px;
}

.social-icon {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: #B0B8C1;
    font-size: 14px;
}

/* ===== Video Modal ===== */
.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.video-modal.active {
    display: flex;
}

.video-modal-content {
    position: relative;
    max-width: 1000px;
    width: 100%;
    background: var(--gray-dark);
    border-radius: 16px;
    overflow: hidden;
    animation: scaleIn 0.3s ease;
}

.video-modal-close {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.video-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.video-modal-close:focus {
    outline: 2px solid var(--white);
    outline-offset: 2px;
}

.video-player-wrapper {
    position: relative;
    padding-top: 56.25%;
    background: #000;
}

.video-player-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ===== App Showcase Section ===== */
.app-showcase-section {
    padding: 80px 0;
    background: var(--white);
}

.showcase-row {
    display: flex;
    align-items: center;
    gap: 60px;
}

.video-col {
    flex: 1;
}

.video-section {
    padding: 60px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--white);
}

.content-video {
    width: 100%;
    border-radius: 25px;
    border: 4px solid #6FAFEF;
    box-shadow: var(--shadow-lg);
    background: #000;
    overflow: hidden;
}

.features-col {
    flex: 1;
}

.section-title-left {
    font-size: 2.5rem;
    color: var(--gray-dark);
    margin-bottom: 15px;
}

.section-desc {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.icon-box {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    font-size: 24px;
    flex-shrink: 0;
}

.icon-box.blue {
    background: var(--blue);
    color: var(--white);
}

.icon-box.green {
    background: var(--green);
    color: var(--white);
}

.icon-box.pink {
    background: var(--pink);
    color: var(--white);
}

.feature-item h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.feature-item p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ===== Books / Products Section ===== */
.section-books {
    padding: 80px 0;
    background: #f8f9fb;
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.book-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
    text-align: center;
    transition: var(--transition);
}

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

.book-top-space {
    background: #fff;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
}

.age-badge-big {
    font-size: 24px;
    font-weight: 900;
    color: #e53935;
    line-height: 1;
}

.book-img-box {
    width: 100%;
    aspect-ratio: 1/1;
    background: #f5f5f5;
    overflow: hidden;
}

.book-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.book-card:hover .book-img {
    transform: scale(1.05);
}

.book-content {
    padding: 18px 16px 22px;
}

.book-title {
    font-size: 20px;
    font-weight: 800;
    color: #333;
    margin: 0 0 14px;
}

.btn-order {
    display: inline-block;
    padding: 12px 26px;
    border-radius: 999px;
    background: linear-gradient(90deg, #1e88e5, #26c6da);
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    font-size: 16px;
    transition: .25s ease;
}

.btn-order:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(30, 136, 229, .25);
}

.btn-order:focus {
    outline: 2px solid #1e88e5;
    outline-offset: 2px;
}

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

/* Large Desktop (1400px and below) */
@media (max-width: 1400px) {
    .container {
        max-width: 1140px;
    }
}

/* Desktop (1200px and below) */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }

    .features-grid-5 {
        grid-template-columns: repeat(3, 1fr);
    }

    .download-buttons {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Tablet Landscape (992px and below) */
@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }

    .nav-menu {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-description {
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .about-row {
        flex-direction: column;
    }

    .about-row.reverse {
        flex-direction: column;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid-5 {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .showcase-row {
        flex-direction: column;
    }

    .motivational-title {
        font-size: 32px;
    }

    .motivational-description {
        font-size: 18px;
    }
}

/* Tablet Portrait (768px and below) */
@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }

    .hero-section {
        height: clamp(400px, 60vh, 600px);
        min-height: 400px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-description {
        font-size: 15px;
    }

    .btn-large {
        padding: 14px 28px;
        font-size: 16px;
    }

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

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

    .features-grid-5 {
        grid-template-columns: 1fr;
    }

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

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

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

    .download-buttons {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .slider-btn {
        width: 40px;
        height: 40px;
    }

    .slider-btn-prev {
        left: 10px;
    }

    .slider-btn-next {
        right: 10px;
    }

    .motivational-slider {
        height: 300px;
    }

    .motivational-title {
        font-size: 28px;
    }

    .motivational-description {
        font-size: 16px;
    }

    .about-main-title {
        font-size: 1.8rem;
    }

    .about-subtitle {
        font-size: 1.2rem;
    }

    .section-title-left {
        font-size: 2rem;
    }

    .section-desc {
        font-size: 1rem;
    }
}

/* Mobile (576px and below) */
@media (max-width: 576px) {
    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-description {
        font-size: 14px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
    }

    .section-title {
        font-size: 24px;
    }

    .section-description {
        font-size: 15px;
    }

    .video-thumbnail {
        height: 180px;
    }

    .download-buttons {
        grid-template-columns: 1fr;
    }

    .download-title {
        font-size: 32px;
    }

    .download-description {
        font-size: 16px;
    }

    .footer {
        padding: 40px 0 20px;
    }

    .mobile-menu {
        width: 260px;
    }

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

    .book-title {
        font-size: 18px;
    }

    .btn-order {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* Small Mobile (400px and below) */
@media (max-width: 400px) {
    .hero-title {
        font-size: 24px;
    }

    .section-title {
        font-size: 22px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 10px 20px;
        font-size: 14px;
    }

    .slider-btn {
        width: 36px;
        height: 36px;
    }
}

/* ===== Print Styles ===== */
@media print {
    .header,
    .mobile-menu,
    .mobile-menu-overlay,
    .scroll-progress,
    .video-modal,
    .slider-btn,
    .footer {
        display: none !important;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
    }

    .container {
        max-width: 100%;
    }

    .section {
        page-break-inside: avoid;
    }

    a {
        text-decoration: underline;
    }

    img {
        max-width: 100%;
    }
}

/* ===== Accessibility ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
        --shadow-md: 0 8px 20px rgba(0, 0, 0, 0.4);
        --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.5);
    }
}

/* ===== Utility Classes ===== */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mt-5 { margin-top: 40px; }

.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mb-5 { margin-bottom: 40px; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

/* ===== Selection Style ===== */
::selection {
    background: var(--blue);
    color: var(--gray-dark);
}

::-moz-selection {
    background: var(--blue);
    color: var(--gray-dark);
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: var(--blue-dark);
}

/* ===== Books Showcase Section ===== */
.section-books-showcase {
    padding: 100px 0;
    background: linear-gradient(135deg, #FFF9E6 0%, #FFE8F0 50%, #E8F4FF 100%);
    position: relative;
    overflow: hidden;
}

.section-books-showcase::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(165, 214, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

.section-books-showcase::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 182, 193, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 25s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

.books-showcase-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.books-showcase-header .section-title {
    font-size: 40px;
    font-weight: 800;
    background: linear-gradient(135deg, #5BA3E6, #FF8FA3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.books-showcase-header .section-description {
    font-size: 18px;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ===== 3D Carousel ===== */
.books-showcase-wrapper {
    position: relative;
    margin-bottom: 60px;
    z-index: 2;
}

.carousel-3d {
    width: 100%;
    height: 500px;
    perspective: 1200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.carousel-3d-container {
    position: relative;
    width: 280px;
    height: 400px;
    transform-style: preserve-3d;
    animation: rotateCarousel 30s linear infinite;
}

.carousel-3d-container.paused {
    animation-play-state: paused;
}

@keyframes rotateCarousel {
    from {
        transform: rotateY(0deg);
    }
    to {
        transform: rotateY(360deg);
    }
}

.carousel-3d-item {
    position: absolute;
    width: 280px;
    height: 400px;
    top: 0;
    left: 0;
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

.carousel-3d-item:nth-child(1) {
    transform: rotateY(0deg) translateZ(400px);
}

.carousel-3d-item:nth-child(2) {
    transform: rotateY(60deg) translateZ(400px);
}

.carousel-3d-item:nth-child(3) {
    transform: rotateY(120deg) translateZ(400px);
}

.carousel-3d-item:nth-child(4) {
    transform: rotateY(180deg) translateZ(400px);
}

.carousel-3d-item:nth-child(5) {
    transform: rotateY(240deg) translateZ(400px);
}

.carousel-3d-item:nth-child(6) {
    transform: rotateY(300deg) translateZ(400px);
}

.book-3d {
    width: 100%;
    height: 100%;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.book-3d::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.book-3d:hover {
    transform: scale(1.05);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.book-3d-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===== Carousel Controls ===== */
.carousel-controls {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

.carousel-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--white);
    border: none;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue-dark);
}

.carousel-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--blue), var(--green));
    color: var(--white);
}

.carousel-btn:focus {
    outline: 2px solid var(--blue-dark);
    outline-offset: 2px;
}

.carousel-btn svg {
    width: 24px;
    height: 24px;
}

/* ===== CTA Section ===== */
.books-cta {
    text-align: center;
    background: var(--white);
    padding: 50px 40px;
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 2;
}

.books-cta-text {
    font-size: 20px;
    color: var(--gray-dark);
    margin-bottom: 30px;
    line-height: 1.8;
}

.books-cta-link {
    color: var(--blue-dark);
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
}

.books-cta-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--blue-dark);
    transition: width 0.3s ease;
}

.books-cta-link:hover {
    color: var(--green-dark);
}

.books-cta-link:hover::after {
    width: 100%;
}

.books-cta .btn-primary {
    margin-top: 10px;
}

/* ===== Responsive Design for Books Showcase ===== */
@media (max-width: 992px) {
    .books-showcase-header .section-title {
        font-size: 32px;
    }

    .carousel-3d {
        height: 400px;
    }

    .carousel-3d-container {
        width: 220px;
        height: 320px;
    }

    .carousel-3d-item {
        width: 220px;
        height: 320px;
    }

    .carousel-3d-item:nth-child(1) {
        transform: rotateY(0deg) translateZ(320px);
    }

    .carousel-3d-item:nth-child(2) {
        transform: rotateY(60deg) translateZ(320px);
    }

    .carousel-3d-item:nth-child(3) {
        transform: rotateY(120deg) translateZ(320px);
    }

    .carousel-3d-item:nth-child(4) {
        transform: rotateY(180deg) translateZ(320px);
    }

    .carousel-3d-item:nth-child(5) {
        transform: rotateY(240deg) translateZ(320px);
    }

    .carousel-3d-item:nth-child(6) {
        transform: rotateY(300deg) translateZ(320px);
    }

    .books-cta {
        padding: 40px 30px;
    }

    .books-cta-text {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .section-books-showcase {
        padding: 60px 0;
    }

    .books-showcase-header .section-title {
        font-size: 28px;
    }

    .books-showcase-header .section-description {
        font-size: 16px;
    }

    .carousel-3d {
        height: 350px;
    }

    .carousel-3d-container {
        width: 180px;
        height: 260px;
    }

    .carousel-3d-item {
        width: 180px;
        height: 260px;
    }

    .carousel-3d-item:nth-child(1) {
        transform: rotateY(0deg) translateZ(260px);
    }

    .carousel-3d-item:nth-child(2) {
        transform: rotateY(60deg) translateZ(260px);
    }

    .carousel-3d-item:nth-child(3) {
        transform: rotateY(120deg) translateZ(260px);
    }

    .carousel-3d-item:nth-child(4) {
        transform: rotateY(180deg) translateZ(260px);
    }

    .carousel-3d-item:nth-child(5) {
        transform: rotateY(240deg) translateZ(260px);
    }

    .carousel-3d-item:nth-child(6) {
        transform: rotateY(300deg) translateZ(260px);
    }

    .carousel-btn {
        width: 50px;
        height: 50px;
    }

    .books-cta {
        padding: 30px 20px;
    }

    .books-cta-text {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .books-showcase-header .section-title {
        font-size: 24px;
    }

    .carousel-3d {
        height: 300px;
    }

    .carousel-3d-container {
        width: 150px;
        height: 220px;
    }

    .carousel-3d-item {
        width: 150px;
        height: 220px;
    }

    .carousel-3d-item:nth-child(1) {
        transform: rotateY(0deg) translateZ(220px);
    }

    .carousel-3d-item:nth-child(2) {
        transform: rotateY(60deg) translateZ(220px);
    }

    .carousel-3d-item:nth-child(3) {
        transform: rotateY(120deg) translateZ(220px);
    }

    .carousel-3d-item:nth-child(4) {
        transform: rotateY(180deg) translateZ(220px);
    }

    .carousel-3d-item:nth-child(5) {
        transform: rotateY(240deg) translateZ(220px);
    }

    .carousel-3d-item:nth-child(6) {
        transform: rotateY(300deg) translateZ(220px);
    }

    .books-cta-text {
        font-size: 15px;
    }

    .books-cta .btn-primary {
        padding: 14px 28px;
        font-size: 16px;
    }
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
    .carousel-3d-container {
        animation: none;
    }

    .section-books-showcase::before,
    .section-books-showcase::after {
        animation: none;
    }
}