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

/* Prevent horizontal overflow on all elements */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}

* {
    max-width: 100%;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, #2c1810 0%, #1a0f0a 50%, #0f0506 100%);
    color: #ffffff;
    line-height: 1.6;
    min-height: 100vh;
}

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

/* Header Styles */
.header {
    padding: 20px 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.logo img {
    height: 60px;
    width: auto;
}

/* Hero Section */
.hero-section {
    padding: 40px 0;
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: clamp(1.8rem, 4vw, 3rem);
    text-align: center;
    margin-bottom: 60px;
    background: linear-gradient(45deg, #00d4ff, #ff6b9d, #c471ed);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-layout {
    display: grid;
    grid-template-columns: 35% 65%;
    gap: 60px;
    align-items: start;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
   
}

/* Left Content */
.left-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.urs-logo {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

.urs-logo h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(45deg, #00d4ff, #ff6b9d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    max-width: 100%;
    word-wrap: break-word;
}

.tagline {
    font-size: 1.1rem;
    color: #b0b0b0;
    font-weight: 300;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
    font-weight: 600;
}

.feature-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: linear-gradient(45deg, #00d4ff, #ff6b9d);
    border-radius: 50%;
    color: #000;
    font-weight: bold;
}

.ai-character {
    text-align: center;
    margin: 40px 0;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

.ai-character img {
    max-width: 300px;
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.3);
    box-sizing: border-box;
}

.character-description {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.character-description > p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #00d4ff;
    font-weight: 600;
}

.description-box p {
    margin-bottom: 8px;
    color: #e0e0e0;
    font-size: 0.95rem;
}

/* Right Content - Product Cards */
.right-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.product-card {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(0, 212, 255, 0.3);
    backdrop-filter: blur(15px);
    transition: all 0.3s ease;
}

.product-card:hover {
    border-color: rgba(0, 212, 255, 0.6);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
    transform: translateY(-5px);
}

.card-header h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    color: #00d4ff;
    margin-bottom: 15px;
    font-weight: 700;
}

/* Product Series Header */
.product-series-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px 0;
}

.series-main-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 2.2rem;
    background: linear-gradient(45deg, #00d4ff, #ff6b9d, #c471ed);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.series-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    color: #b0b0b0;
    margin: 0;
    letter-spacing: 1px;
}

.card-description {
    color: #b0b0b0;
    margin-bottom: 25px;
    line-height: 1.6;
}


/* Swiper Container Styles */
.product-swiper-container {
    margin-top: 20px;
    position: relative;
}

.product-swiper {
    width: 100%;
    padding: 20px 0 60px 0;
}

.product-swiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Legacy grid for other cards */
.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 20px;
}

.product-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.product-item:hover {
    background: rgba(0, 212, 255, 0.1);
    transform: scale(1.05);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.2);
}

.product-image {
    width: 200px;
    height: 275px;
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(0, 212, 255, 0.2);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 13px;
}

.product-item span {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: #ffffff;
    text-align: center;
}

.product-price {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: #00d4ff;
    text-align: center;
}

/* Swiper Navigation Styles */
.product-swiper .swiper-button-next,
.product-swiper .swiper-button-prev {
    color: #00d4ff;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    margin-top: -20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 212, 255, 0.3);
    transition: all 0.3s ease;
}

.product-swiper .swiper-button-next:hover,
.product-swiper .swiper-button-prev:hover {
    background: rgba(0, 212, 255, 0.2);
    border-color: rgba(0, 212, 255, 0.6);
    transform: scale(1.1);
}

.product-swiper .swiper-button-next::after,
.product-swiper .swiper-button-prev::after {
    font-size: 16px;
    font-weight: bold;
}

/* Swiper Pagination Styles */
.product-swiper .swiper-pagination {
    bottom: 10px;
}

.product-swiper .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.3);
    opacity: 1;
    width: 12px;
    height: 12px;
    margin: 0 6px;
    transition: all 0.3s ease;
}

.product-swiper .swiper-pagination-bullet-active {
    background: linear-gradient(45deg, #00d4ff, #ff6b9d);
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}
.product-swiper{overflow: inherit !important;}
/* Customization Layout Styles */
.customization-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 30px;
    margin-top: 30px;
    align-items: start;
    width: 100%;
}

.customization-image {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
}

.character-display {
    position: relative;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
}

.character-display img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    border: 2px solid rgba(0, 212, 255, 0.4);
    background: rgba(0, 0, 0, 0.3);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.2);
    transition: all 0.3s ease;
}

.character-display img:hover {
    border-color: rgba(0, 212, 255, 0.6);
    box-shadow: 0 12px 35px rgba(0, 212, 255, 0.3);
    transform: translateY(-2px);
}

.character-label {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.8);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 20px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    border: 1px solid rgba(0, 212, 255, 0.5);
}

/* Customization Settings Styles */
.customization-settings {
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 100%;
    padding-left: 10px;
}

.setting-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    width: 100%;
}

.setting-button {
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid rgba(0, 212, 255, 0.5);
    border-radius: 10px;
    padding: 14px 5px;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    text-align: center;
    min-width: 130px;
    max-width: 130px;
    transition: all 0.3s ease;
    cursor: pointer;
    flex-shrink: 0;
    white-space: nowrap;
}

.setting-button:hover {
    background: rgba(0, 212, 255, 0.2);
    border-color: rgba(0, 212, 255, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
}

.setting-description {
    flex: 1;
    color: #c0c0c0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 0.85rem;
    line-height: 1.6;
    padding-top: 12px;
    max-width: calc(100% - 150px);
}

/* Deep Learning Timeline Styles */
.deep-learning-layout {
    display: grid;
    grid-template-columns: 35% 65%;
    gap: 40px;
    margin-top: 30px;
    align-items: start;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.timeline-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.timeline-header {
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid rgba(0, 212, 255, 0.4);
    border-radius: 12px;
    padding: 15px 20px;
    margin-bottom: 30px;
    text-align: center;
    width: 100%;
    max-width: 200px;
}

.timeline-label {
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.3;
}

.timeline-steps {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 100%;
}

.timeline-step {
    display: flex;
    align-items: center;
    position: relative;
    margin-bottom: 80px;
    width: 100%;
    justify-content: flex-start;
    min-height: 80px;
}

.timeline-step:last-child {
    margin-bottom: 0;
}

.step-node {
    position: relative;
    z-index: 2;
}

.node-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.8);
    border: 3px solid rgba(0, 212, 255, 0.5);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.node-icon:hover {
    transform: scale(1.1);
    border-color: rgba(0, 212, 255, 0.8);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
}

.step-content {
    margin-left: 20px;
    flex: 1;
}

.step-title {
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    margin: 0;
    text-align: left;
}

.timeline-line {
    position: absolute;
    left: 24px;
    top: 48px;
    width: 3px;
    height: 130px;
    background: linear-gradient(180deg, rgba(0, 212, 255, 0.8) 0%, rgba(255, 107, 157, 0.8) 100%);
    z-index: 1;
    border-radius: 2px;
    animation: lineGlow 3s ease-in-out infinite alternate;
}

.timeline-step:last-child .timeline-line {
    display: none;
}

.learning-descriptions {
    display: flex;
    flex-direction: column;
    gap: 80px;
    padding-top: 0;
    align-items: flex-start;
}

.description-item {
    min-height: 80px;
    padding-right: 40px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.description-text {
    color: #c0c0c0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* Timeline Animations */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 212, 255, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 212, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 212, 255, 0);
    }
}

@keyframes lineGlow {
    0% {
        opacity: 0.6;
        box-shadow: 0 0 5px rgba(0, 212, 255, 0.3);
    }
    100% {
        opacity: 1;
        box-shadow: 0 0 15px rgba(255, 107, 157, 0.5);
    }
}

.customization-options h4,
.technology-features h4 {
    color: #ff6b9d;
    font-size: 1rem;
    margin-bottom: 15px;
    font-weight: 600;
}

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

.appearance-item {
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    text-align: center;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.appearance-item:hover {
    background: rgba(255, 107, 157, 0.2);
}

.tech-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.tech-item {
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Community Section */
.community-section {
    padding: 80px 0;
    text-align: center;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 50px;
    background: linear-gradient(45deg, #00d4ff, #ff6b9d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.community-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.community-card {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 20px;
    padding: 40px 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.community-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2);
}

.community-card.design { border-color: rgba(255, 107, 157, 0.5); }
.community-card.social { border-color: rgba(0, 212, 255, 0.5); }
.community-card.exchange { border-color: rgba(196, 113, 237, 0.5); }
.community-card.learning { border-color: rgba(255, 193, 7, 0.5); }

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px auto;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: all 0.3s ease;
}

/* Individual icon backgrounds */
.community-card.design .card-icon {
    background-image: url('images/icon1.png');
}

.community-card.social .card-icon {
    background-image: url('images/icon2.png');
}

.community-card.exchange .card-icon {
    background-image: url('images/icon3.png');
}

.community-card.learning .card-icon {
    background-image: url('images/icon4.png');
}

/* Hover effects for icons */
.community-card:hover .card-icon {
    transform: scale(1.1);
}

.community-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #00d4ff;
}

.community-description {
    max-width: 800px;
    margin: 0 auto;
    color: #b0b0b0;
    line-height: 1.8;
}

/* About Section */
.about-section {
    padding: 60px 0;
    text-align: center;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    color: #b0b0b0;
    line-height: 1.8;
}

.about-content p {
    margin-bottom: 25px;
}

/* Join Section */
.join-section {
    padding: 60px 0;
    text-align: center;
}

.join-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.join-card {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 15px;
    padding: 30px 20px;
    border: 1px solid rgba(0, 212, 255, 0.3);
    transition: all 0.3s ease;
}

.join-card:hover {
    border-color: rgba(0, 212, 255, 0.6);
    transform: translateY(-5px);
}

.join-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #00d4ff;
    margin-bottom: 15px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .community-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* CRITICAL FIX: Main layout responsive rules */
    .hero-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .left-content {
        order: 1;
        gap: 25px;
        text-align: center;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0;
        display: flex;
        flex-direction: column;
        box-sizing: border-box;
        overflow: hidden;
    }

    .right-content {
        order: 2;
        gap: 25px;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0;
        display: flex;
        flex-direction: column;
        box-sizing: border-box;
        overflow: hidden;
    }

    /* Logo and text adjustments */
    .urs-logo h2 {
        font-size: 2.5rem;
    }

    .hero-title {
        font-size: 1.2rem;
        text-align: center;
    }

    .hero-description {
        font-size: 0.9rem;
        text-align: center;
        line-height: 1.5;
    }

    /* Mobile AI character optimization */
    .ai-character {
        margin: 30px 0;
    }

    .ai-character img {
        max-width: 250px;
        width: 100%;
    }

    .character-description {
        padding: 20px;
        margin: 20px 0;
    }

    .description-box p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

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

    /* Mobile community card optimization */
    .community-card {
        padding: 30px 20px;
    }

    .card-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }

    .community-card h3 {
        font-size: 1.1rem;
    }

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

    /* General product card mobile optimization */
    .product-card {
        padding: 25px 20px;
        margin-bottom: 25px;
        border-radius: 15px;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-image {
        width: 160px;
        height: 160px;
    }

    /* Product Card 1 - Swiper Mobile Styles */
    .product-showcase {
        padding: 15px;
    }

    .showcase-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .showcase-content {
        order: 1;
        text-align: center;
    }

    .showcase-swiper {
        order: 2;
        margin-top: 20px;
    }

    .product-swiper {
        height: 300px;
        margin: 0 auto;
    }

    .product-swiper .swiper-slide {
        padding: 10px;
    }

    .product-item {
        max-width: 280px;
        margin: 0 auto;
    }

    .product-item img {
        max-height: 200px;
        width: auto;
    }

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

    .series-subtitle {
        font-size: 0.9rem;
    }

    /* Product Card 2 - Customization Mobile Styles */
    .customization-layout {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .customization-image {
        order: 1;
        margin-bottom: 20px;
    }

    .customization-settings {
        order: 2;
        padding-left: 0;
        gap: 15px;
    }

    /* Product Card 3 - Deep Learning Timeline Mobile Styles */
    .deep-learning-layout {
        grid-template-columns: 1fr;
        gap: 30px;
        align-items: stretch;
    }

    .timeline-container {
        order: 1;
        margin-bottom: 20px;
        width: 100%;
    }

    .timeline-header {
        max-width: 100%;
        padding: 12px 16px;
        margin-bottom: 25px;
    }

    .timeline-label {
        font-size: 0.8rem;
    }

    .timeline-steps {
        align-items: flex-start;
    }

    .timeline-step {
        margin-bottom: 25px;
        flex-direction: row;
        text-align: left;
        justify-content: flex-start;
        min-height: auto;
    }

    .step-node {
        margin-right: 15px;
        margin-bottom: 0;
    }

    .step-content {
        margin-left: 0;
        flex: 1;
    }

    .timeline-line {
        left: 24px;
        height: 25px;
    }

    .learning-descriptions {
        order: 2;
        padding-top: 0;
        gap: 25px;
    }

    .description-item {
        min-height: auto;
        padding: 15px 0;
    }

    .step-content {
        margin-left: 0;
        text-align: center;
    }

    .step-title {
        font-size: 0.9rem;
        text-align: left;
    }

    .description-item {
        min-height: auto;
        text-align: center;
        padding: 0 10px;
    }

    .description-text {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .character-display {
        max-width: 250px;
        margin: 0 auto;
    }

    .setting-item {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
        text-align: center;
    }

    .setting-button {
        min-width: auto;
        max-width: none;
        text-align: center;
        padding: 12px 20px;
        font-size: 0.9rem;
        margin: 0 auto;
        width: fit-content;
    }

    .setting-description {
        max-width: 100%;
        text-align: center;
        padding-top: 8px;
        font-size: 0.8rem;
    }

    .tech-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    /* Enhanced mobile layout for small screens */
    .hero-layout {
        gap: 20px;
    }

    .left-content {
        gap: 20px;
    }

    .right-content {
        gap: 20px;
    }

    .hero-title {
        font-size: 1.1rem;
        line-height: 1.3;
    }

    .hero-description {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .urs-logo h2 {
        font-size: 2rem;
        line-height: 1.1;
    }

    .product-card {
        padding: 20px 15px;
        margin-bottom: 20px;
    }

    /* Deep Learning Timeline - Small Screen Optimization */
    .deep-learning-layout {
        gap: 20px;
    }

    .timeline-step {
        margin-bottom: 20px;
    }

    .step-title {
        font-size: 0.9rem;
    }

    /* Fix timeline-line position for small screens */
.timeline-line {
        left: 20px;
        height: 40px;
        top: 40px;
    }

    .description-text {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .learning-descriptions {
        gap: 20px;
    }

    /* Small screen community card optimization */
    .card-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 12px;
    }

    .community-card {
        padding: 25px 15px;
    }

    .community-card h3 {
        font-size: 1rem;
        margin-bottom: 10px;
    }

    /* Extra small screen optimizations */
    .series-main-title {
        font-size: 1.5rem;
        line-height: 1.2;
    }

    .series-subtitle {
        font-size: 0.8rem;
    }

    .card-description {
        font-size: 0.8rem;
        line-height: 1.4;
    }

    .product-swiper {
        height: 250px;
    }

    .product-item img {
        max-height: 150px;
    }

    .timeline-header {
        max-width: 160px;
        padding: 10px 14px;
    }

    .timeline-label {
        font-size: 0.75rem;
    }

    .node-icon {
        width: 40px;
        height: 40px;
    }

    .step-title {
        font-size: 0.85rem;
    }

    .description-text {
        font-size: 0.8rem;
    }

    .setting-button {
        padding: 10px 16px;
        font-size: 0.85rem;
    }

    .product-image {
        width: 140px;
        height: 140px;
    }

    .product-item {
        padding: 15px;
        gap: 10px;
    }

    .product-item span {
        font-size: 1rem;
    }

    .product-price {
        font-size: 0.9rem;
    }

    .series-main-title {
        font-size: 1.5rem;
    }

    .series-subtitle {
        font-size: 0.8rem;
    }

    .character-display {
        max-width: 200px;
    }

    .character-label {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    .setting-button {
        padding: 10px 15px;
        font-size: 0.8rem;
    }

    .setting-description {
        font-size: 0.8rem;
    }

    .product-swiper .swiper-button-next,
    .product-swiper .swiper-button-prev {
        width: 35px;
        height: 35px;
        margin-top: -17px;
    }

    .product-swiper .swiper-button-next::after,
    .product-swiper .swiper-button-prev::after {
        font-size: 14px;
    }
}
