/* ============================================
   Modern UI - Unified Stylesheet
   Created for RIMO/RemoteT Website
   Combines all section-specific styles
   ============================================ */

/* ============================================
   WINDOWS ANIMATION FIX
   Ensures visibility when animations are disabled
   ============================================ */
@supports not (animation: none) {
    /* If animations are not supported, ensure visibility */
    * {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ===========================================
   TABLE OF CONTENTS
   ===========================================
   1. HERO SECTION
   2. ABOUT SECTION  
   3. FEATURES SECTION
   4. CTA SECTION
   5. TECHNOLOGY SECTION
   6. DOWNLOAD SECTION
   7. CONTACT SECTION
   8. SHARED ANIMATIONS
   9. RESPONSIVE STYLES
   10. ACCESSIBILITY
   =========================================== */


/* ============================================
   1. HERO SECTION
   ============================================ */

/* Hero Section Container */
#home {
    position: relative;

    min-height: 600px;
    overflow: hidden;
    background: #000;
}

/* Main Slider Container */
.m_sec1 {
    height: 100%;
    position: relative;
}

.m_sec1 .swiper-container {
    width: 100%;
    height: 100%;
}

/* Swiper Slide Styling */
.swiper-slide {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    /* 배경 이미지 스타일은 인라인으로 유지 */
}

/* Dark Overlay for Better Text Readability */
.swiper-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.6) 0%, 
        rgba(0, 0, 0, 0.4) 50%,
        rgba(102, 126, 234, 0.2) 100%);
    z-index: 1;
}

/* Animated Gradient Overlay */
.swiper-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent);
    animation: shimmer 20s linear infinite;
    z-index: 2;
}

/* Slogan Container */
.slogan {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 900px;
    padding: 0 30px;
    animation: fadeInUp 1s ease forwards;
}

/* Main Title */
.text1 {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.5);
    animation: slideInDown 0.8s ease forwards;
    animation-delay: 0.3s;
    /* Fallback for when animations are disabled */
    opacity: 1;
    transform: translateY(0);
}

/* Gradient Text Effect for Active Slide */
.swiper-slide-active .text1 {
    background: linear-gradient(90deg, #ffffff 0%, #ffd700 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: slideInDown 0.8s ease forwards, gradientShift 3s linear infinite;
}

/* Subtitle Text */
.text2 {
    display: block;
    font-size: 1.125rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.5);
    animation: slideInUp 0.8s ease forwards;
    animation-delay: 0.6s;
    /* Fallback for when animations are disabled */
    opacity: 1;
    transform: translateY(0);
}

/* Custom Pagination Bullets */
.swiper-pagination {
    bottom: 40px !important;
    z-index: 10;
}

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

.swiper-pagination-bullet::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 2px solid transparent;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    width: 40px;
    height: 12px;
    border-radius: 6px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.swiper-pagination-bullet-active::before {
    border-color: rgba(255, 255, 255, 0.5);
    animation: pulseBorder 2s ease-in-out infinite;
}

/* Navigation Arrows */
.swiper-button-next,
.swiper-button-prev {
    width: 60px;
    height: 60px;
    margin-top: -30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 24px;
    color: white;
    font-weight: bold;
}

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

.swiper-button-next {
    right: 30px;
}

.swiper-button-prev {
    left: 30px;
}

/* Slide Transition Effects */
.swiper-slide .slogan {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.8s ease;
}

.swiper-slide-active .slogan {
    opacity: 1;
    transform: scale(1);
}

/* Wave Animation at Bottom */
/*#home::after {*/
/*    content: '';*/
/*    position: absolute;*/
/*    bottom: -2px;*/
/*    left: 0;*/
/*    right: 0;*/
/*    height: 120px;*/
/*    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120'%3E%3Cpath fill='%23ffffff' fill-opacity='1' d='M0,64L48,69.3C96,75,192,85,288,80C384,75,480,53,576,48C672,43,768,53,864,58.7C960,64,1056,64,1152,58.7C1248,53,1344,43,1392,37.3L1440,32L1440,120L1392,120C1344,120,1248,120,1152,120C1056,120,960,120,864,120C768,120,672,120,576,120C480,120,384,120,288,120C192,120,96,120,48,120L0,120Z'%3E%3C/path%3E%3C/svg%3E") no-repeat;*/
/*    background-size: cover;*/
/*    z-index: 10;*/
/*}*/

/* Loading Animation */
.swiper-container-initialized .swiper-slide:first-child .slogan {
    animation-delay: 0.5s;
}


/* ============================================
   2. ABOUT SECTION
   ============================================ */

#rimo {
    padding: 100px 0;
    position: relative;
    background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
    overflow: hidden;
}

#rimo::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.05) 0%, transparent 70%);
    animation: rotate-slow 30s linear infinite;
}

.about-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
}

.about-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(102, 126, 234, 0.3) 0%, 
        transparent 50%,
        rgba(240, 147, 251, 0.3) 100%);
    opacity: 0.3; /* Changed from 0 for subtle effect */
    transition: opacity 0.4s ease;
    z-index: 1;
}

.about-image-wrapper:hover::before {
    opacity: 0.6;
}

.about-image-wrapper:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

.about-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.about-image-wrapper:hover .about-image {
    transform: scale(1.05);
}

.about-content {
    padding-left: 50px;
}

.about-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.about-title .highlight {
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.about-title .highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff8c00, #ff6b00);
    border-radius: 2px;
    animation: expandWidth 1.5s ease-out forwards;
}

.about-subtitle {
    font-size: 1.5rem;
    color: #6c757d;
    margin-bottom: 2rem;
    font-style: italic;
}

.about-lead {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #495057;
    padding: 1.5rem;
    background: rgba(102, 126, 234, 0.05);
    border-left: 4px solid #667eea;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.about-description {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 1.25rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.about-description:nth-child(1) { animation-delay: 0.1s; }
.about-description:nth-child(2) { animation-delay: 0.2s; }
.about-description:nth-child(3) { animation-delay: 0.3s; }
.about-description:nth-child(4) { animation-delay: 0.4s; }
.about-description:nth-child(5) { animation-delay: 0.5s; }
.about-description:nth-child(6) { animation-delay: 0.6s; }
.about-description:nth-child(7) { animation-delay: 0.7s; }

.about-description strong {
    color: #2d3748;
    font-weight: 700;
}

.about-highlight-box {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(240, 147, 251, 0.1) 100%);
    border-radius: 15px;
    border: 2px solid rgba(102, 126, 234, 0.2);
    position: relative;
    overflow: hidden;
}

.about-highlight-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.5) 0%, transparent 70%);
    animation: shimmer 3s ease-in-out infinite;
}

.about-highlight-text {
    font-size: 1.125rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0;
    position: relative;
    z-index: 1;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}


/* ============================================
   3. FEATURES SECTION
   ============================================ */

#feature {
    padding: 100px 0;
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    overflow: hidden;
}

#feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.4;
    pointer-events: none;
}

.feature-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 1;
}

.feature-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
    opacity: 0;
    animation: fadeInDown 0.8s ease forwards;
}

.feature-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
    border-radius: 2px;
}

.feature-subtitle {
    font-size: 1.125rem;
    color: #6c757d;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.2s;
}

.feature-subtitle .highlight {
    color: #667eea;
    font-weight: 600;
}

/* Services Container - Bootstrap Grid Compatible */
.services-container {
    position: relative;
    z-index: 1;
    /* Removed negative margins to prevent Bootstrap grid conflicts */
}

/* Ensure Bootstrap grid works properly for service cards */
.services-container > .col-lg-4 {
    /* Force proper width calculation for large screens */
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
}

.service-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 50px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.8);
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    margin-bottom: 30px;
}

.service-card:nth-child(1) { animation-delay: 0.3s; }
.service-card:nth-child(2) { animation-delay: 0.4s; }
.service-card:nth-child(3) { animation-delay: 0.5s; }

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    transform: rotate(45deg);
}

.service-card:hover::before {
    opacity: 1;
    animation: rotate-slow 10s linear infinite;
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 60px rgba(102, 126, 234, 0.3);
    border-color: rgba(102, 126, 234, 0.3);
}

.service-icon-wrapper {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon-wrapper {
    transform: rotate(10deg) scale(1.1);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3) 0%, rgba(118, 75, 162, 0.3) 100%);
}

.service-icon-wrapper::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 30px;
    border: 2px solid rgba(102, 126, 234, 0.2);
    animation: pulse 2s ease-in-out infinite;
}

.service-icon {
    font-size: 3rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.2);
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.service-card:hover .service-title {
    color: #667eea;
}

.service-divider {
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    margin: 0 auto 1.5rem;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.service-card:hover .service-divider {
    width: 80px;
}

.service-description {
    font-size: 1rem;
    color: #6c757d;
    line-height: 1.8;
}


/* ============================================
   4. CTA SECTION
   ============================================ */

.cta-section {
    position: relative;
    padding: 120px 0;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8c00 50%, #ffd700 100%);
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    animation: float 20s linear infinite;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100'%3E%3Cpath fill='%23ffffff' fill-opacity='1' d='M0,32L48,37.3C96,43,192,53,288,56C384,59,480,53,576,45.3C672,37,768,27,864,26.7C960,27,1056,37,1152,42.7C1248,48,1344,48,1392,48L1440,48L1440,100L1392,100C1344,100,1248,100,1152,100C1056,100,960,100,864,100C768,100,672,100,576,100C480,100,384,100,288,100C192,100,96,100,48,100L0,100Z'%3E%3C/path%3E%3C/svg%3E") no-repeat;
    background-size: cover;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    animation: slideInDown 0.8s ease;
}

.cta-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.2);
    animation: slideInUp 0.8s ease;
}

.gradient-text {
    background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.8) 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: gradientShift 3s linear infinite;
}

.cta-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.8;
    animation: fadeIn 0.8s ease;
    animation-delay: 0.2s;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.cta-feature {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease;
}

.cta-feature:nth-child(1) { animation-delay: 0.3s; }
.cta-feature:nth-child(2) { animation-delay: 0.4s; }
.cta-feature:nth-child(3) { animation-delay: 0.5s; }

.cta-feature:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

.cta-button-wrapper {
    margin-bottom: 1.5rem;
}

.cta-button {
    display: inline-block;
    padding: 18px 50px;
    background: white;
    color: #ff8c00;
    font-size: 1.125rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    animation: pulse 2s ease-in-out infinite;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 140, 0, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

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

.cta-price {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    animation: fadeIn 0.8s ease;
    animation-delay: 0.6s;
}


/* ============================================
   5. TECHNOLOGY SECTION
   ============================================ */

.tech-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
    position: relative;
    overflow: hidden;
}

.tech-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.05) 0%, transparent 70%);
    animation: rotate-slow 30s linear infinite;
}

.tech-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.tech-title {
    font-size: 3rem;
    font-weight: 800;
    color: #2d3748;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    opacity: 0;
    animation: fadeInDown 0.8s ease forwards;
}

.tech-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
    border-radius: 2px;
}

.tech-subtitle {
    font-size: 1.125rem;
    color: #6c757d;
    max-width: 600px;
    margin: 1.5rem auto 0;
    line-height: 1.8;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.2s;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.tech-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.tech-card:nth-child(1) { animation-delay: 0.3s; }
.tech-card:nth-child(2) { animation-delay: 0.4s; }
.tech-card:nth-child(3) { animation-delay: 0.5s; }
.tech-card:nth-child(4) { animation-delay: 0.6s; }

.tech-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.tech-card:hover::before {
    transform: scaleX(1);
}

.tech-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.25);
}

.tech-new-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 5px 12px;
    background: linear-gradient(135deg, #ff6b6b, #ff8c00);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: pulse 2s ease-in-out infinite;
}

.tech-icon-container {
    position: relative;
    margin-bottom: 25px;
}

.tech-icon-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite;
}

.tech-icon {
    position: relative;
    width: 60px;
    height: 60px;
    display: block;
    margin: 0 auto;
    transition: transform 0.4s ease;
}

.tech-card:hover .tech-icon {
    transform: rotate(10deg) scale(1.1);
}

.tech-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.tech-card:hover .tech-name {
    color: #667eea;
}

.tech-description {
    font-size: 1rem;
    color: #6c757d;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-tag {
    display: inline-block;
    padding: 5px 12px;
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.tech-card:hover .tech-tag {
    background: rgba(102, 126, 234, 0.2);
    transform: translateY(-2px);
}


/* ============================================
   6. DOWNLOAD SECTION
   ============================================ */

.download-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
}

.download-section .container {
    max-width: 1400px;
    padding: 0 15px;
    margin: 0 auto;
}

.download-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(102, 126, 234, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(240, 147, 251, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.download-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.download-title {
    font-size: 3rem;
    font-weight: 800;
    color: #2d3748;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    opacity: 0;
    animation: fadeInDown 0.8s ease forwards;
}

.download-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
    border-radius: 2px;
}

.download-subtitle {
    font-size: 1.125rem;
    color: #6c757d;
    max-width: 700px;
    margin: 1.5rem auto 0;
    line-height: 1.8;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.2s;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.download-card {
    background: white;
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.download-card:nth-child(1) { animation-delay: 0.3s; }
.download-card:nth-child(2) { animation-delay: 0.4s; }
.download-card:nth-child(3) { animation-delay: 0.5s; }
.download-card:nth-child(4) { animation-delay: 0.6s; }

.download-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    transform: rotate(45deg);
}

.download-card:hover::before {
    opacity: 1;
    animation: rotate-slow 10s linear infinite;
}

.download-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.2);
}

.download-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 5px 12px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.download-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s ease;
}

.download-logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
}

.download-card:hover .download-logo {
    transform: scale(1.1) rotate(5deg);
}

.download-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 1.25rem;
    transition: color 0.3s ease;
}

.download-card:hover .download-name {
    color: #667eea;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.download-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.download-btn:hover::before {
    width: 300px;
    height: 300px;
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.download-btn.external {
    background: linear-gradient(135deg, #48bb78, #38a169);
}

.download-btn i {
    font-size: 1.125rem;
}

.download-note {
    margin-top: 60px;
    padding: 20px;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 15px;
    text-align: center;
    color: #6c757d;
    font-size: 0.9375rem;
    line-height: 1.8;
    position: relative;
    z-index: 1;
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
    animation-delay: 0.7s;
}

.download-note i {
    color: #667eea;
    margin-right: 8px;
}

.download-note a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.download-note a:hover {
    color: #764ba2;
    text-decoration: underline;
}


/* ============================================
   7. CONTACT SECTION
   ============================================ */

.contact-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(102, 126, 234, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(240, 147, 251, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 140, 0, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.contact-section::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.03) 0%, transparent 70%);
    border-radius: 50%;
    top: -250px;
    right: -250px;
    animation: rotate-slow 30s linear infinite;
}

.contact-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.contact-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    opacity: 0;
    animation: fadeInDown 0.8s ease forwards;
}

.contact-title .highlight {
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
    border-radius: 2px;
}

.contact-subtitle {
    font-size: 1.125rem;
    color: #6c757d;
    max-width: 600px;
    margin: 1.5rem auto 0;
    line-height: 1.8;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.2s;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.contact-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.contact-card:nth-child(1) { animation-delay: 0.3s; }
.contact-card:nth-child(2) { animation-delay: 0.4s; }
.contact-card:nth-child(3) { animation-delay: 0.5s; }

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

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.contact-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.4s ease;
}

.contact-card:hover .contact-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(118, 75, 162, 0.15) 100%);
}

.contact-icon-wrapper::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(102, 126, 234, 0.2);
    animation: pulse 2s ease-in-out infinite;
}

.contact-icon {
    font-size: 2rem;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.4s ease;
}

.contact-card:hover .contact-icon {
    transform: scale(1.1);
}

.contact-info-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.contact-card:hover .contact-info-title {
    color: #667eea;
}

.contact-info-text {
    font-size: 1rem;
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

.contact-email-link {
    color: #667eea;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.contact-email-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #667eea;
    transition: width 0.3s ease;
}

.contact-email-link:hover {
    color: #764ba2;
}

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

.contact-form-wrapper {
    background: white;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.6s;
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, #667eea, #764ba2, #f093fb);
    border-radius: 20px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.contact-form-wrapper:hover::before {
    opacity: 0.3;
}

.form-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #2d3748;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.form-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}


/* ============================================
   8. SHARED ANIMATIONS
   ============================================ */

@keyframes fadeIn {
    from { opacity: 1; } /* Changed from 0 for fallback */
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 1; /* Changed from 0 for fallback */
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 1; /* Changed from 0 for fallback */
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 1; /* Changed from 0 for fallback */
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 1; /* Changed from 0 for fallback */
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes expandWidth {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes rotate-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

@keyframes pulseBorder {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.5; } /* Changed from 0 for visibility */
}

@keyframes gradientShift {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

@keyframes float {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-100px, -100px); }
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink {
    50% { border-color: transparent; }
}


/* ============================================
   9. RESPONSIVE STYLES
   ============================================ */

@media (max-width: 1200px) {
    /* Download Section - 3 columns for medium-large screens */
    .download-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1000px;
    }
}

@media (max-width: 991px) {
    /* Typography */
    .about-title,
    .feature-title,
    .cta-title,
    .tech-title,
    .download-title,
    .contact-title,
    .text1 {
        font-size: 2.5rem;
    }
    
    .text2 {
        font-size: 1rem;
    }
    
    /* Hero Section */
    .swiper-button-next,
    .swiper-button-prev {
        width: 50px;
        height: 50px;
    }
    
    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 20px;
    }
    
    /* About Section */
    .about-content {
        padding-left: 0;
        margin-top: 40px;
    }
    
    /* Contact Section */
    .contact-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-form-wrapper {
        padding: 40px 30px;
    }
    
    /* Tech Section */
    .tech-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    /* Download Section */
    .download-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 700px;
    }
}

@media (max-width: 576px) {
    /* Sections */
    #rimo,
    #feature,
    .cta-section,
    .tech-section,
    .download-section,
    .contact-section {
        padding: 60px 0;
    }
    
    /* Hero Section */
    #home {
        height: 80vh;
        min-height: 500px;
    }
    
    .text1 {
        font-size: 1.875rem;
        margin-bottom: 1rem;
    }
    
    .text2 {
        font-size: 0.875rem;
        line-height: 1.6;
    }
    
    .swiper-button-next,
    .swiper-button-prev {
        width: 40px;
        height: 40px;
    }
    
    .swiper-button-next {
        right: 15px;
    }
    
    .swiper-button-prev {
        left: 15px;
    }
    
    .swiper-pagination {
        bottom: 20px !important;
    }
    
    .slogan {
        padding: 0 20px;
    }
    
    /* Typography */
    .about-title,
    .feature-title,
    .cta-title,
    .tech-title,
    .download-title,
    .contact-title {
        font-size: 2rem;
    }
    
    .about-subtitle,
    .feature-subtitle,
    .tech-subtitle,
    .download-subtitle,
    .contact-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    /* Cards */
    .service-card,
    .tech-card,
    .contact-card {
        padding: 30px 20px;
    }
    
    .download-card {
        padding: 25px 15px;
    }
    
    /* CTA Section */
    .cta-title {
        font-size: 2.5rem;
    }
    
    .cta-description {
        font-size: 1rem;
    }
    
    .cta-features {
        flex-direction: column;
        align-items: center;
    }
    
    /* Download Section */
    .download-grid {
        grid-template-columns: 1fr;
    }
    
    /* Contact Section */
    .contact-form-wrapper {
        padding: 30px 20px;
        border-radius: 15px;
    }
}


/* ============================================
   10. ACCESSIBILITY
   ============================================ */

/* Reduced Motion - Windows Animation Disabled Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
    
    /* Ensure all animated elements are visible */
    .slogan,
    .text1,
    .text2,
    .about-content p,
    .animate-on-scroll,
    .feature-title,
    .feature-subtitle,
    .service-card,
    .cta-title,
    .cta-description,
    .cta-features .cta-feature,
    .tech-title,
    .tech-subtitle,
    .tech-card,
    .download-title,
    .download-subtitle,
    .download-card,
    .download-note,
    .contact-title,
    .contact-subtitle,
    .contact-card,
    .contact-form-wrapper {
        opacity: 1 !important;
        transform: none !important;
    }
    
    .swiper-slide .slogan {
        opacity: 1 !important;
        transform: scale(1) !important;
    }
    
    .service-card:hover,
    .tech-card:hover,
    .download-card:hover,
    .contact-card:hover {
        transform: translateY(-5px) !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .swiper-slide::before {
        background: rgba(0, 0, 0, 0.8);
    }
    
    .text1,
    .text2 {
        text-shadow: 2px 2px 4px #000, -2px -2px 4px #000;
    }
    
    .swiper-button-next,
    .swiper-button-prev {
        border: 3px solid white;
    }
    
    .service-card,
    .tech-card,
    .download-card,
    .contact-card {
        border: 2px solid #2d3748;
    }
    
    .service-card:hover,
    .tech-card:hover,
    .download-card:hover,
    .contact-card:hover {
        border-color: #667eea;
    }
    
    .service-icon-wrapper,
    .tech-icon-bg,
    .contact-icon-wrapper {
        border: 2px solid #667eea;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    #rimo,
    #feature,
    .tech-section,
    .download-section {
        background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    }
    
    .contact-section {
        background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
    }
    
    .service-card,
    .tech-card,
    .download-card,
    .contact-card {
        background: #2d3748;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    }
    
    .service-card:hover,
    .tech-card:hover,
    .download-card:hover,
    .contact-card:hover {
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    }
    
    .about-title,
    .feature-title,
    .tech-title,
    .download-title,
    .contact-title,
    .service-title,
    .tech-name,
    .download-name,
    .contact-info-title {
        color: #f7fafc;
    }
    
    .about-subtitle,
    .feature-subtitle,
    .tech-subtitle,
    .download-subtitle,
    .contact-subtitle,
    .about-description,
    .service-description,
    .tech-description,
    .contact-info-text {
        color: #cbd5e0;
    }
    
    .contact-form-wrapper {
        background: #2d3748;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }
    
    .form-title {
        color: #f7fafc;
    }
}

/* Performance Optimization */
.swiper-slide {
    will-change: transform;
}

.slogan {
    will-change: opacity, transform;
}