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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f5f5f5;
    color: #333;
    line-height: 1.6;
    transition: background 0.3s, color 0.3s;
}

body.dark-mode {
    background: #1a1a2e;
    color: #e0e0e0;
}

a {
    color: #e94560;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    text-decoration: underline;
}

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

/* Header */
header {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: #fff;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    transition: background 0.3s;
}

body.dark-mode header {
    background: linear-gradient(135deg, #0f0f1a, #1a1a2e);
}

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

.logo {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(45deg, #e94560, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo span {
    font-size: 14px;
    display: block;
    background: none;
    -webkit-text-fill-color: #aaa;
    color: #aaa;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

nav ul li a {
    color: #fff;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background 0.3s, color 0.3s;
    font-size: 15px;
}

nav ul li a:hover,
nav ul li a.active {
    background: rgba(233, 69, 96, 0.3);
    color: #e94560;
    text-decoration: none;
}

/* Hero Section with Gradient Banner */
.hero {
    background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460);
    color: #fff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23e94560' fill-opacity='0.05' d='M0,160L48,176C96,192,192,224,288,213.3C384,203,480,149,576,138.7C672,128,768,160,864,176C960,192,1056,192,1152,176C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'/%3E%3C/svg%3E") no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
    pointer-events: none;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #fff, #e94560);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto 30px;
    color: #ccc;
}

.hero .btn {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(45deg, #e94560, #ff6b6b);
    color: #fff;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
}

.hero .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(233, 69, 96, 0.4);
    text-decoration: none;
}

.hero .stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 50px;
    flex-wrap: wrap;
}

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

.hero .stat-number {
    font-size: 36px;
    font-weight: 700;
    color: #e94560;
}

.hero .stat-label {
    font-size: 14px;
    color: #aaa;
    margin-top: 5px;
}

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

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #e94560;
    margin: 15px auto;
    border-radius: 2px;
}

/* Card with rounded corners and glassmorphism */
.card {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

body.dark-mode .card {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

/* Grid and Flex layouts */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.flex {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

/* About Section */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 16px;
    line-height: 1.8;
    color: #666;
}

body.dark-mode .about-content {
    color: #bbb;
}

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

.values {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.value-item {
    text-align: center;
    padding: 20px;
    background: rgba(233, 69, 96, 0.05);
    border-radius: 16px;
    flex: 1;
    min-width: 150px;
}

.value-item h4 {
    color: #e94560;
    margin-bottom: 10px;
}

/* Products */
.products .product-card {
    text-align: center;
    padding: 40px 20px;
}

.products .product-card svg {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.products .product-card h3 {
    margin-bottom: 15px;
    font-size: 20px;
}

.products .product-card p {
    color: #666;
    font-size: 14px;
}

body.dark-mode .products .product-card p {
    color: #bbb;
}

/* Testimonials */
.testimonials .testimonial-card {
    text-align: center;
    padding: 40px 20px;
    max-width: 350px;
}

.testimonials .testimonial-card .avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px;
    background: linear-gradient(45deg, #e94560, #ff6b6b);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #fff;
}

.testimonials .testimonial-card p {
    font-style: italic;
    color: #666;
    margin-bottom: 15px;
}

body.dark-mode .testimonials .testimonial-card p {
    color: #bbb;
}

.testimonials .testimonial-card .name {
    font-weight: 600;
    color: #e94560;
}

/* News */
.news .news-card {
    padding: 25px;
}

.news .news-card .date {
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
}

.news .news-card h3 {
    margin-bottom: 10px;
    font-size: 18px;
}

.news .news-card p {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

body.dark-mode .news .news-card p {
    color: #bbb;
}

.news .news-card .read-more {
    color: #e94560;
    font-weight: 600;
}

/* FAQ Accordion */
.faq .faq-item {
    margin-bottom: 15px;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

body.dark-mode .faq .faq-item {
    background: rgba(255, 255, 255, 0.05);
}

.faq .faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    transition: background 0.3s;
}

.faq .faq-question:hover {
    background: rgba(233, 69, 96, 0.05);
}

.faq .faq-question .arrow {
    transition: transform 0.3s;
}

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

.faq .faq-answer {
    padding: 0 20px 20px;
    display: none;
    color: #666;
    line-height: 1.8;
}

body.dark-mode .faq .faq-answer {
    color: #bbb;
}

.faq .faq-item.active .faq-answer {
    display: block;
}

/* HowTo Section */
.howto {
    padding: 40px;
    border-radius: 20px;
    background: rgba(233, 69, 96, 0.05);
}

.howto h3 {
    margin-bottom: 20px;
    color: #e94560;
}

.howto ol,
.howto ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.howto li {
    margin-bottom: 10px;
}

/* Partners */
.partners .partner-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    min-width: 120px;
    font-weight: 600;
    color: #666;
    border: 1px solid #eee;
}

body.dark-mode .partners .partner-item {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: #bbb;
}

/* Contact Info */
.contact-info {
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: #fff;
    border-radius: 20px;
    margin-top: 40px;
}

.contact-info p {
    margin-bottom: 10px;
    font-size: 16px;
}

.contact-info .phone {
    font-size: 28px;
    font-weight: 700;
    color: #e94560;
}

/* Footer */
.footer {
    background: #1a1a2e;
    color: #aaa;
    padding: 40px 0;
    text-align: center;
    font-size: 14px;
}

.footer a {
    color: #e94560;
}

.footer .footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.footer .footer-links a {
    color: #aaa;
}

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

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #e94560;
    color: #fff;
    border: none;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(233, 69, 96, 0.4);
    display: none;
    z-index: 999;
    transition: transform 0.3s;
}

.back-to-top:hover {
    transform: scale(1.1);
}

/* Breadcrumb */
.breadcrumb {
    background: #f0f0f0;
    padding: 12px 0;
    font-size: 14px;
}

body.dark-mode .breadcrumb {
    background: #16213e;
}

.breadcrumb a {
    color: #e94560;
}

.breadcrumb span {
    color: #999;
}

/* Dark Mode Toggle */
.dark-mode-toggle {
    position: fixed;
    bottom: 90px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #333;
    color: #fff;
    border: none;
    font-size: 20px;
    cursor: pointer;
    z-index: 999;
    transition: background 0.3s, transform 0.3s;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.dark-mode-toggle:hover {
    transform: scale(1.1);
}

body.dark-mode .dark-mode-toggle {
    background: #e94560;
}

/* Search Modal */
.search-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

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

.search-modal .modal-content {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
}

body.dark-mode .search-modal .modal-content {
    background: #1a1a2e;
    color: #fff;
}

.search-modal input {
    width: 100%;
    padding: 15px;
    border: 2px solid #e94560;
    border-radius: 12px;
    font-size: 16px;
    margin-bottom: 20px;
    background: transparent;
    color: inherit;
}

.search-modal .close-btn {
    background: #e94560;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
}

/* Newsletter */
.newsletter {
    background: linear-gradient(135deg, #e94560, #ff6b6b);
    color: #fff;
    padding: 60px 0;
    text-align: center;
    border-radius: 0;
}

.newsletter h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.newsletter p {
    margin-bottom: 30px;
    font-size: 16px;
}

.newsletter .input-group {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 0;
}

.newsletter input {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 50px 0 0 50px;
    font-size: 16px;
    outline: none;
}

.newsletter button {
    padding: 15px 30px;
    background: #1a1a2e;
    color: #fff;
    border: none;
    border-radius: 0 50px 50px 0;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.newsletter button:hover {
    background: #16213e;
}

/* Footer Bottom */
.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 20px;
}

.footer-bottom p {
    margin: 5px 0;
    font-size: 12px;
}

/* Scroll Animation for cards (initial state set by JS) */
.card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    nav {
        width: 100%;
        display: none;
        margin-top: 15px;
    }

    nav.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
        gap: 10px;
    }

    nav ul li a {
        display: block;
        padding: 10px 0;
    }

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

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

    .hero .stats {
        gap: 20px;
    }

    .hero .stat-number {
        font-size: 28px;
    }

    .section {
        padding: 50px 0;
    }

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

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

    .about-content {
        font-size: 14px;
    }

    .values {
        flex-direction: column;
    }

    .newsletter .input-group {
        flex-direction: column;
        border-radius: 0;
    }

    .newsletter input {
        border-radius: 50px;
        margin-bottom: 10px;
    }

    .newsletter button {
        border-radius: 50px;
    }

    .back-to-top,
    .dark-mode-toggle {
        width: 40px;
        height: 40px;
        font-size: 16px;
        bottom: 20px;
        right: 20px;
    }

    .dark-mode-toggle {
        bottom: 70px;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}