/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: #0f0f1a;
    color: #e0e0e0;
    line-height: 1.6;
    overflow-x: hidden;
    transition: background 0.3s, color 0.3s;
}
.dark-mode {
    background: #0f0f1a;
    color: #e0e0e0;
}
.light-mode {
    background: #f5f5f5;
    color: #1a1a2e;
}
a {
    color: inherit;
    text-decoration: none;
}
ul {
    list-style: none;
}
img {
    display: block;
    max-width: 100%;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 15, 26, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(233, 69, 96, 0.2);
    transition: background 0.3s, border-color 0.3s;
}
.light-mode header {
    background: rgba(245, 245, 245, 0.85);
    border-bottom-color: rgba(26, 26, 46, 0.1);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}
.logo {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, #e94560, #0f3460);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
}
.light-mode .logo {
    background: linear-gradient(135deg, #e94560, #1a1a2e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
nav ul {
    display: flex;
    gap: 30px;
}
nav a {
    font-size: 15px;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s;
}
nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #e94560;
    transition: width 0.3s;
}
nav a:hover {
    color: #e94560;
}
nav a:hover::after {
    width: 100%;
}
.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}
.search-btn,
.theme-toggle {
    background: none;
    border: none;
    color: inherit;
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: background 0.3s, color 0.3s;
}
.search-btn:hover,
.theme-toggle:hover {
    background: rgba(233, 69, 96, 0.15);
}
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: inherit;
    font-size: 28px;
    cursor: pointer;
}

/* Hero */
.hero {
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 40%, rgba(233, 69, 96, 0.15), transparent 50%),
                radial-gradient(circle at 70% 60%, rgba(15, 52, 96, 0.2), transparent 50%);
    animation: heroGlow 8s ease-in-out infinite alternate;
}
@keyframes heroGlow {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(5%, 5%);
    }
}
.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}
.hero-text {
    flex: 1;
}
.hero-text h1 {
    font-size: 52px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff, #e94560);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.light-mode .hero-text h1 {
    background: linear-gradient(135deg, #1a1a2e, #e94560);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-text p {
    font-size: 18px;
    color: #b0b0c0;
    margin-bottom: 30px;
    max-width: 600px;
}
.light-mode .hero-text p {
    color: #555;
}
.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}
.btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}
.btn-primary {
    background: linear-gradient(135deg, #e94560, #0f3460);
    color: #fff;
    box-shadow: 0 8px 25px rgba(233, 69, 96, 0.3);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(233, 69, 96, 0.5);
}
.btn-secondary {
    background: transparent;
    color: #e94560;
    border: 2px solid #e94560;
}
.btn-secondary:hover {
    background: #e94560;
    color: #fff;
}
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-svg {
    width: 100%;
    max-width: 500px;
    height: auto;
}

/* Banner Carousel */
.banner {
    padding: 40px 0;
}
.banner-slider {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    height: 400px;
}
.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.8s;
}
.banner-slide.active {
    opacity: 1;
}
.banner-slide:nth-child(1) {
    background: linear-gradient(135deg, #0f3460, #1a1a2e);
}
.banner-slide:nth-child(2) {
    background: linear-gradient(135deg, #e94560, #0f3460);
}
.banner-slide:nth-child(3) {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
}
.banner-text {
    text-align: center;
    padding: 40px;
}
.banner-text h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 15px;
    color: #fff;
}
.banner-text p {
    font-size: 18px;
    color: #ccc;
}
.banner-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}
.banner-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: background 0.3s;
}
.banner-dot.active {
    background: #e94560;
}

/* Sections */
section {
    padding: 80px 0;
}
.section-title {
    font-size: 36px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 15px;
    color: #fff;
}
.light-mode .section-title {
    color: #1a1a2e;
}
.section-subtitle {
    text-align: center;
    color: #b0b0c0;
    margin-bottom: 50px;
    font-size: 16px;
}
.light-mode .section-subtitle {
    color: #555;
}
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}
.card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s;
}
.light-mode .card {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.08);
}
.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(233, 69, 96, 0.15);
}
.card-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}
.card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
}
.light-mode .card h3 {
    color: #1a1a2e;
}
.card p {
    color: #b0b0c0;
    font-size: 15px;
}
.light-mode .card p {
    color: #555;
}

/* Brand Story */
.brand-story {
    background: linear-gradient(135deg, rgba(233, 69, 96, 0.05), rgba(15, 52, 96, 0.05));
}
.brand-content {
    display: flex;
    align-items: center;
    gap: 50px;
}
.brand-text {
    flex: 1;
}
.brand-text h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
}
.brand-text p {
    color: #b0b0c0;
    margin-bottom: 15px;
}
.light-mode .brand-text p {
    color: #555;
}
.brand-svg {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* Team */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}
.team-card {
    text-align: center;
    padding: 30px 20px;
}
.team-avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
}
.team-card h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #fff;
}
.light-mode .team-card h4 {
    color: #1a1a2e;
}
.team-card span {
    color: #e94560;
    font-size: 14px;
}

/* Products */
.product-card {
    text-align: center;
}
.product-svg {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

/* Advantages */
.advantage-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.advantage-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}

/* Cases */
.case-card {
    overflow: hidden;
}
.case-visual {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Partners */
.partner-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}
.partner-item {
    width: 120px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
    transition: opacity 0.3s;
}
.partner-item:hover {
    opacity: 1;
}

/* Testimonials */
.testimonial-card {
    text-align: center;
    padding: 40px 30px;
}
.testimonial-avatar {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    border-radius: 50%;
}
.testimonial-card p {
    font-style: italic;
    margin-bottom: 15px;
}
.testimonial-card h4 {
    font-weight: 700;
    color: #fff;
}
.light-mode .testimonial-card h4 {
    color: #1a1a2e;
}
.testimonial-card span {
    color: #e94560;
    font-size: 14px;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    cursor: pointer;
}
.light-mode .faq-item {
    border-color: rgba(0, 0, 0, 0.1);
}
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}
.light-mode .faq-question {
    color: #1a1a2e;
}
.faq-question span {
    transition: transform 0.3s;
}
.faq-item.open .faq-question span {
    transform: rotate(45deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s, padding 0.4s;
    color: #b0b0c0;
}
.light-mode .faq-answer {
    color: #555;
}
.faq-item.open .faq-answer {
    max-height: 200px;
    padding-top: 15px;
}

/* HowTo */
.howto-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    counter-reset: step;
}
.howto-step {
    text-align: center;
    padding: 30px;
    position: relative;
}
.howto-step::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: #e94560;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    color: #fff;
}
.howto-step h4 {
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 20px;
    color: #fff;
}
.light-mode .howto-step h4 {
    color: #1a1a2e;
}

/* Contact */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}
.contact-item {
    text-align: center;
    padding: 30px;
}
.contact-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;
}
.contact-item h4 {
    color: #fff;
    margin-bottom: 8px;
}
.light-mode .contact-item h4 {
    color: #1a1a2e;
}
.contact-item p {
    color: #b0b0c0;
}
.light-mode .contact-item p {
    color: #555;
}

/* Related */
.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}
.related-card {
    padding: 25px;
}
.related-card h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}
.light-mode .related-card h4 {
    color: #1a1a2e;
}
.related-card p {
    color: #b0b0c0;
    font-size: 14px;
}
.light-mode .related-card p {
    color: #555;
}
.related-card .date {
    color: #e94560;
    font-size: 13px;
    margin-top: 10px;
    display: block;
}

/* Breadcrumb */
.breadcrumb {
    padding: 20px 0;
    font-size: 14px;
    color: #888;
}
.breadcrumb a {
    color: #e94560;
}
.breadcrumb span {
    margin: 0 8px;
}

/* Footer */
footer {
    background: rgba(0, 0, 0, 0.3);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.light-mode footer {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-col h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
}
.light-mode .footer-col h4 {
    color: #1a1a2e;
}
.footer-col p,
.footer-col a {
    color: #b0b0c0;
    font-size: 14px;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s;
}
.footer-col a:hover {
    color: #e94560;
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 13px;
    color: #888;
}
.light-mode .footer-bottom {
    border-color: rgba(0, 0, 0, 0.1);
}
.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.footer-links a {
    color: #888;
    transition: color 0.3s;
}
.footer-links a:hover {
    color: #e94560;
}

/* Scroll to top */
.scroll-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.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 999;
}
.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}
.scroll-top:hover {
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 768px) {
    nav ul {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    .hero-text h1 {
        font-size: 36px;
    }
    .hero-buttons {
        justify-content: center;
    }
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
    .brand-content {
        flex-direction: column;
        text-align: center;
    }
    .banner-slider {
        height: 300px;
    }
    .banner-text h2 {
        font-size: 28px;
    }
    .section-title {
        font-size: 28px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}
@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 28px;
    }
    .btn {
        padding: 12px 28px;
        font-size: 14px;
    }
}

/* Mobile nav */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 15, 26, 0.98);
    z-index: 2000;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
}
.light-mode .mobile-nav {
    background: rgba(245, 245, 245, 0.98);
}
.mobile-nav.open {
    display: flex;
}
.mobile-nav a {
    font-size: 24px;
    font-weight: 600;
    color: #fff;
}
.light-mode .mobile-nav a {
    color: #1a1a2e;
}
.mobile-nav .close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 36px;
    cursor: pointer;
}
.light-mode .mobile-nav .close-btn {
    color: #1a1a2e;
}

/* Search overlay */
.search-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 3000;
    align-items: center;
    justify-content: center;
}
.search-overlay.open {
    display: flex;
}
.search-box {
    width: 90%;
    max-width: 600px;
    background: #1a1a2e;
    border-radius: 20px;
    padding: 30px;
}
.light-mode .search-box {
    background: #fff;
}
.search-box input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e94560;
    border-radius: 50px;
    background: transparent;
    color: #fff;
    font-size: 18px;
    outline: none;
}
.light-mode .search-box input {
    color: #1a1a2e;
}
.search-box input::placeholder {
    color: #888;
}
.search-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 36px;
    cursor: pointer;
}
.light-mode .search-close {
    color: #1a1a2e;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s, transform 0.6s;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}