/* ===========================
   CSS Reset & Base Styles
   =========================== */

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #e0e0e0;
    background-color: #121212;
    overflow-x: hidden;
}

/* ===========================
   Typography
   =========================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h5, h6 {
    line-height: 1.2;
}

h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: #5ac8fa;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: rgb(223, 0, 204);
}

strong {
    color: rgb(223, 0, 204);
    font-weight: 600;
}

/* ===========================
   Container & Layout
   =========================== */

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

/* ===========================
   Header & Navigation
   =========================== */

.header {
    background: linear-gradient(135deg, #1a1a1a 0%, rgba(223, 0, 204, 0.1) 100%);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(223, 0, 204, 0.2);
    border-bottom: 4px solid rgb(0, 255, 255);
}

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

.logo h1 {
    font-size: 1.5rem;
    background: linear-gradient(135deg, rgb(223, 0, 204) 0%, rgb(0, 255, 255) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-img {
    height: 50px;
    width: auto;
    margin-right: 0.5rem;
}

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

.nav-link {
    color: #e0e0e0;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(90deg, rgb(223, 0, 204) 0%, rgb(0, 255, 255) 100%);
    transition: width 0.3s ease;
}

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

.nav-link:hover {
    color: rgb(223, 0, 204);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: linear-gradient(90deg, rgb(223, 0, 204) 0%, rgb(0, 255, 255) 100%);
    transition: all 0.3s ease;
    border-radius: 3px;
}

/* ===========================
   Hero Section
   =========================== */

.hero {
    background: linear-gradient(135deg, #1a1a1a 0%, rgba(223, 0, 204, 0.05) 50%, rgba(0, 255, 255, 0.05) 100%);
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(223, 0, 204, 0.15) 0%, rgba(0, 255, 255, 0.1) 50%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3rem;
    background: linear-gradient(135deg, rgb(223, 0, 204) 0%, rgb(0, 255, 255) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease;
}

.hero-description {
    font-size: 1.2rem;
    color: #b0b0b0;
    max-width: 700px;
    margin: 0 auto 2rem;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.4s both;
}

/* ===========================
   Slider Section
   =========================== */

.slider-section {
    padding: 0;
    background-color: #121212;
    width: 100%;
    overflow: hidden;
}

.slider-container {
    position: relative;
    overflow: hidden;
    background-color: #1a1a1a;
    width: 100%;
    min-height: 300px;
    transition: height 0.3s ease;
    margin: 0;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease;
    will-change: transform;
}

.slide {
    min-width: 100%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-sizing: border-box;
    width: 100vw;
}

.slide-link {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
}

.slide picture {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.slide img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.slide-link:hover img {
    opacity: 0.9;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, rgba(223, 0, 204, 0.9) 0%, rgba(0, 255, 255, 0.9) 100%);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #121212;
    font-weight: bold;
    transition: all 0.3s ease;
    z-index: 10;
    opacity: 0.8;
}

.slider-btn:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 5px 15px rgba(223, 0, 204, 0.5);
}

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

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

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    backdrop-filter: blur(5px);
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.slider-dot.active {
    background: linear-gradient(135deg, rgb(223, 0, 204) 0%, rgb(0, 255, 255) 100%);
    width: 30px;
    border-radius: 6px;
}

.slider-dot:hover {
    background-color: rgba(255, 255, 255, 0.6);
}

/* ===========================
   Buttons
   =========================== */

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, rgb(223, 0, 204) 0%, rgb(0, 255, 255) 100%);
    color: #121212;
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, rgb(0, 255, 255) 0%, rgb(223, 0, 204) 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(223, 0, 204, 0.5);
}

.btn-secondary {
    background-color: transparent;
    color: #5ac8fa;
    border: 2px solid #5ac8fa;
}

.btn-secondary:hover {
    background-color: #5ac8fa;
    color: #121212;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(90, 200, 250, 0.4);
}

/* ===========================
   Sections
   =========================== */

.section {
    padding: 5rem 0;
}

.section-alt {
    background-color: #1a1a1a;
}

.section-title {
    font-size: 2.5rem;
    background: linear-gradient(135deg, rgb(223, 0, 204) 0%, rgb(0, 255, 255) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, rgb(223, 0, 204) 0%, rgb(0, 255, 255) 100%);
    margin: 1rem auto 0;
    border-radius: 2px;
}

.section-description {
    font-size: 1.1rem;
    color: #c0c0c0;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.section-text {
    color: #b0b0b0;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.subsection-title {
    background: linear-gradient(135deg, rgb(0, 255, 255) 0%, rgb(223, 0, 204) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* ===========================
   Content Box
   =========================== */

.content-box {
    background: linear-gradient(135deg, #1a1a1a 0%, rgba(223, 0, 204, 0.05) 50%, rgba(0, 255, 255, 0.03) 100%);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(223, 0, 204, 0.2);
    border: 1px solid rgba(223, 0, 204, 0.2);
}

.section-alt .content-box {
    background-color: #121212;
}

/* ===========================
   Features Grid
   =========================== */

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.feature-card {
    background: linear-gradient(135deg, #121212 0%, rgba(223, 0, 204, 0.03) 100%);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(223, 0, 204, 0.2);
}

.section-alt .feature-card {
    background-color: #1a1a1a;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(223, 0, 204, 0.3);
    border-color: rgb(223, 0, 204);
    background: linear-gradient(135deg, rgba(223, 0, 204, 0.05) 0%, rgba(0, 255, 255, 0.05) 100%);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h4 {
    background: linear-gradient(135deg, rgb(223, 0, 204) 0%, rgb(0, 255, 255) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: #b0b0b0;
    margin: 0;
}

/* ===========================
   Info Box
   =========================== */

.info-box {
    background: linear-gradient(135deg, rgba(223, 0, 204, 0.1) 0%, rgba(0, 255, 255, 0.05) 100%);
    border-left: 4px solid;
    border-image: linear-gradient(135deg, rgb(223, 0, 204) 0%, rgb(0, 255, 255) 100%) 1;
    padding: 2rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.info-title {
    background: linear-gradient(135deg, rgb(223, 0, 204) 0%, rgb(0, 255, 255) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.info-text {
    color: #c0c0c0;
    margin-bottom: 1.5rem;
}

.highlight-box {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1) 0%, rgba(223, 0, 204, 0.05) 100%);
    border-left: 3px solid;
    border-image: linear-gradient(135deg, rgb(0, 255, 255) 0%, rgb(223, 0, 204) 100%) 1;
    padding: 1.5rem;
    border-radius: 6px;
}

.highlight-box p {
    background: linear-gradient(135deg, rgb(0, 255, 255) 0%, rgb(223, 0, 204) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.highlight-box p:last-child {
    margin-bottom: 0;
}

/* ===========================
   Stats Grid
   =========================== */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.stat-card {
    background: linear-gradient(135deg, rgba(223, 0, 204, 0.15) 0%, rgba(0, 255, 255, 0.1) 100%);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(223, 0, 204, 0.3);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, rgb(223, 0, 204) 0%, rgb(0, 255, 255) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    background: linear-gradient(135deg, rgb(0, 255, 255) 0%, rgb(223, 0, 204) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 500;
}

/* ===========================
   FAQ Section
   =========================== */

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: #1a1a1a;
    margin-bottom: 1.5rem;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(223, 0, 204, 0.2);
    transition: all 0.3s ease;
}

.section-alt .faq-item {
    background-color: #121212;
}

.faq-item:hover {
    border-color: rgb(223, 0, 204);
    box-shadow: 0 5px 20px rgba(223, 0, 204, 0.25);
}

.faq-question {
    color: rgb(223, 0, 204);
    padding: 1.5rem;
    cursor: pointer;
    position: relative;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    font-weight: 600;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: rgb(223, 0, 204);
    transition: all 0.3s ease;
}

.faq-question[aria-expanded="true"]::after {
    content: '−';
    transform: translateY(-50%) rotate(0deg);
}

.faq-question:hover {
    color: rgb(0, 255, 255);
}

.faq-question:hover::after {
    color: rgb(0, 255, 255);
}

.faq-question:hover::after {
    background: linear-gradient(135deg, rgb(0, 255, 255) 0%, rgb(223, 0, 204) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

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

.faq-answer p {
    color: #b0b0b0;
    line-height: 1.8;
    margin: 0;
}

/* ===========================
   Footer
   =========================== */

.footer {
    background: linear-gradient(135deg, #0a0a0a 0%, rgba(223, 0, 204, 0.05) 100%);
    padding: 3rem 0 1rem;
    border-top: 2px solid;
    border-image: linear-gradient(90deg, rgb(223, 0, 204) 0%, rgb(0, 255, 255) 100%) 1;
}

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

.footer-section {
    color: #b0b0b0;
}

.footer-title {
    background: linear-gradient(135deg, rgb(223, 0, 204) 0%, rgb(0, 255, 255) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-text {
    color: #909090;
    line-height: 1.6;
}

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

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #909090;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #5ac8fa;
}

.footer-bottom {
    border-top: 1px solid rgba(223, 0, 204, 0.2);
    padding-top: 2rem;
    text-align: center;
    color: #707070;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

.footer-bottom a {
    background: linear-gradient(135deg, rgb(223, 0, 204) 0%, rgb(0, 255, 255) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.disclaimer {
    font-size: 0.9rem;
    color: #606060;
    font-style: italic;
}

/* ===========================
   Animations
   =========================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Tablet (768px and below) */
@media screen and (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background-color: #1a1a1a;
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.5);
        padding: 2rem 0;
        gap: 1.5rem;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-buttons {
        align-items: center;
        justify-content: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .content-box {
        padding: 2rem 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    /* Slider responsive */
    .slider-section {
        padding: 2rem 0;
    }
    
    .slider-container {
        min-height: auto;
    }
    
    .slide {
        justify-content: center;
    }
    
    .slide picture {
        justify-content: center;
        max-width: 100%;
    }
    
    .slide img {
        max-width: 100%;
        width: auto;
        margin: 0 auto;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    .slider-btn-prev {
        left: 15px;
    }
    
    .slider-btn-next {
        right: 15px;
    }
    
    .slider-dots {
        padding: 15px;
        bottom: 15px;
    }
}

/* Mobile (480px and below) */
@media screen and (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    .hero {
        padding: 4rem 0;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .content-box {
        padding: 1.5rem 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        align-items: center;
        justify-content: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    .feature-card,
    .stat-card {
        padding: 1.5rem;
    }
    
    .faq-question {
        font-size: 1rem;
        padding: 1rem;
    }
    
    .faq-answer {
        padding: 0 1rem 1rem;
    }
    
    /* Slider mobile */
    .slider-section {
        padding: 1.5rem 0;
    }
    
    .slider-container {
        border-radius: 8px;
        min-height: 250px;
    }
    
    .slide {
        justify-content: center;
    }
    
    .slide picture {
        justify-content: center;
        max-width: 100%;
        padding: 0 10px;
    }
    
    .slide img {
        max-width: 100%;
        width: auto;
        height: auto;
        max-height: 400px;
        margin: 0 auto;
        object-fit: contain;
    }
    
    .slider-btn {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
    
    .slider-btn-prev {
        left: 10px;
    }
    
    .slider-btn-next {
        right: 10px;
    }
    
    .slider-dots {
        padding: 10px 15px;
        bottom: 10px;
        gap: 8px;
        background: rgba(0, 0, 0, 0.5);
    }
    
    .slider-dot {
        width: 10px;
        height: 10px;
    }
    
    .slider-dot.active {
        width: 25px;
    }
}

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

/* Desktop slider fix */
@media screen and (min-width: 769px) {
    .slider-container {
        overflow: hidden;
        min-height: 400px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .slider-track {
        align-items: center;
        display: flex;
        width: 100%;
    }
    
    .slide {
        padding: 0;
        align-items: center;
        justify-content: center;
        width: 100vw;
        display: flex;
    }
    
    .slide picture {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .slide img {
        width: 100%;
        max-width: 100%;
        height: auto;
        object-fit: contain;
        display: block;
    }
}

/* ===========================
   Accessibility
   =========================== */

/* Focus styles for keyboard navigation */
a:focus,
button:focus {
    outline: 2px solid rgb(223, 0, 204);
    outline-offset: 2px;
}

/* Reduced motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-primary {
        border: 2px solid rgb(223, 0, 204);
    }
    
    .btn-secondary {
        border-width: 3px;
    }
}

/* ===========================
   Image Optimization & Lazy Loading
   =========================== */

img {
    max-width: 100%;
    height: auto;
    display: block;
}

img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img[loading="lazy"].loaded {
    opacity: 1;
}
