@media (max-width: 768px) {
    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        gap: 15px;
    }
    nav.active {
        display: flex;
    }
    nav a {
        padding: 10px 0;
        border-bottom: 1px solid #eee;
    }
    nav a:last-child {
        border-bottom: none;
    }
    .menu-toggle {
        display: flex;
    }
    .hero {
        padding: 100px 0 50px;
    }
    .hero h1 {
        font-size: 1.75rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .hero-btns {
        flex-direction: column;
    }
    .btn {
        text-align: center;
        width: 100%;
    }
    section {
        padding: 50px 0;
    }
    .section-title h2 {
        font-size: 1.5rem;
    }
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.product-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.product-image {
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.product-image img {
    max-height: 100%;
    object-fit: contain;
}

.product-info {
    padding: 25px;
}

.product-info h3 {
    font-size: 1.35rem;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.product-tag {
    display: inline-block;
    padding: 4px 12px;
    background: #6c5ce7;
    color: #fff;
    font-size: 12px;
    border-radius: 20px;
    margin-bottom: 15px;
}

.product-tag.tag-advanced {
    background: #0984e3;
}

.product-tag.tag-premium {
    background: #e17055;
}

.product-tag.tag-balance {
    background: #00b894;
}

.product-tag.tag-new {
    background: #fdcb6e;
    color: #1a1a2e;
}

.product-desc {
    color: #4a4a68;
    font-size: 0.95rem;
    margin-bottom: 12px;
    line-height: 1.7;
}

.product-features {
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 15px;
    line-height: 1.7;
}

.product-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.product-highlights span {
    padding: 5px 12px;
    background: #f0f0f7;
    color: #4a4a68;
    font-size: 12px;
    border-radius: 6px;
}

.btn-outline {
    background: transparent;
    color: #6c5ce7;
    border: 2px solid #6c5ce7;
}

.btn-outline:hover {
    background: #6c5ce7;
    color: #fff;
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    .product-image {
        height: 180px;
    }
}

.section-alt {
    background: #fff;
}

.compare-table-wrapper {
    overflow-x: auto;
    margin-bottom: 40px;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.compare-table th,
.compare-table td {
    padding: 15px 12px;
    text-align: center;
    border-bottom: 1px solid #e5e7eb;
}

.compare-table th {
    background: #6c5ce7;
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
}

.compare-table th:first-child {
    border-radius: 8px 0 0 0;
}

.compare-table th:last-child {
    border-radius: 0 8px 0 0;
}

.compare-table td:first-child {
    font-weight: 600;
    color: #1a1a2e;
    text-align: left;
    background: #f8f9fa;
}

.compare-table tr:hover td {
    background: #f5f3ff;
}

.compare-table tr:hover td:first-child {
    background: #ede9fe;
}

.compare-summary {
    margin-top: 40px;
}

.compare-summary h3 {
    font-size: 1.5rem;
    color: #1a1a2e;
    margin-bottom: 25px;
    text-align: center;
}

.summary-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.summary-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid #6c5ce7;
}

.summary-card h4 {
    color: #6c5ce7;
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.summary-card p {
    color: #4a4a68;
    font-size: 0.95rem;
    line-height: 1.7;
}

.guide-steps {
    max-width: 900px;
    margin: 0 auto;
}

.guide-step {
    display: flex;
    gap: 25px;
    margin-bottom: 35px;
    padding-bottom: 35px;
    border-bottom: 1px solid #e5e7eb;
}

.guide-step:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #6c5ce7, #a855f7);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
}

.step-content h3 {
    font-size: 1.2rem;
    color: #1a1a2e;
    margin-bottom: 12px;
}

.step-content p {
    color: #4a4a68;
    line-height: 1.8;
    margin-bottom: 10px;
}

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

.guide-cta {
    text-align: center;
    margin-top: 50px;
    padding: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    color: #fff;
}

.guide-cta p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.guide-cta .btn-primary {
    background: #fff;
    color: #6c5ce7;
}

@media (max-width: 768px) {
    .guide-step {
        flex-direction: column;
        gap: 15px;
    }
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.1rem;
    }
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.news-card {
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.news-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.news-image {
    height: 180px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 20px;
}

.news-content h3 {
    font-size: 1.1rem;
    color: #1a1a2e;
    margin-bottom: 12px;
    line-height: 1.5;
}

.news-content p {
    color: #4a4a68;
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 15px;
}

.news-link {
    color: #6c5ce7;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.3s;
}

.news-link:hover {
    color: #5b4cdb;
}

.news-toggle {
    display: block;
    margin: 0 auto;
}

.news-more {
    margin-bottom: 30px;
}

.news-more .news-grid {
    margin-bottom: 0;
}

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

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

.faq-question {
    padding: 20px 25px;
    font-size: 1.05rem;
    color: #1a1a2e;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
    position: relative;
}

.faq-question::after {
    content: "+";
    font-size: 1.5rem;
    color: #6c5ce7;
    transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 25px 25px;
    max-height: 600px;
}

.faq-answer p {
    color: #4a4a68;
    line-height: 1.8;
    margin-bottom: 12px;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    color: #4a4a68;
    line-height: 1.8;
    margin-bottom: 18px;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .about-image {
        order: -1;
    }
}

.risk-content {
    max-width: 900px;
    margin: 0 auto;
}

.risk-item {
    background: #fff;
    padding: 25px 30px;
    border-radius: 12px;
    margin-bottom: 20px;
    border-left: 4px solid #e17055;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.risk-item:last-child {
    border-left-color: #6c5ce7;
}

.risk-item h3 {
    font-size: 1.1rem;
    color: #1a1a2e;
    margin-bottom: 12px;
}

.risk-item p {
    color: #4a4a68;
    line-height: 1.8;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.contact-info h3 {
    font-size: 1.3rem;
    color: #1a1a2e;
    margin-bottom: 20px;
}

.contact-list {
    list-style: none;
    margin-bottom: 20px;
}

.contact-list li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    color: #4a4a68;
    border-bottom: 1px solid #eee;
}

.contact-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #6c5ce7;
    font-weight: bold;
}

.contact-note {
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.7;
}

.contact-action {
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px;
    border-radius: 16px;
    text-align: center;
    color: #fff;
    width: 100%;
}

.contact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.contact-card p {
    opacity: 0.9;
    margin-bottom: 25px;
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

footer {
    background: #1a1a2e;
    color: #fff;
    padding: 60px 0 0;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand .logo-text {
    color: #fff;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-col h4 {
    font-size: 1rem;
    margin-bottom: 20px;
    color: #fff;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: #fff;
}

.footer-partners {
    padding: 30px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-partners h4 {
    font-size: 0.95rem;
    margin-bottom: 15px;
    color: rgba(255,255,255,0.8);
}

.partner-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.partner-links a {
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
    transition: color 0.3s;
}

.partner-links a:hover {
    color: #fff;
}

.footer-bottom {
    padding: 25px 0;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
    .partner-links {
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .footer-links {
        grid-template-columns: 1fr;
    }
}

.chat-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.chat-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: linear-gradient(135deg, #6c5ce7, #a855f7);
    color: #fff;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(108,92,231,0.4);
    transition: transform 0.3s, box-shadow 0.3s;
}

.chat-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(108,92,231,0.5);
}

.chat-btn svg {
    width: 20px;
    height: 20px;
}

.chat-btn span {
    font-weight: 600;
    font-size: 0.95rem;
}

.mobile-chat-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    padding: 12px 20px;
    background: #fff;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
}

.mobile-chat-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #6c5ce7, #a855f7);
    color: #fff;
    border-radius: 10px;
    font-weight: 600;
}

.mobile-chat-btn svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 768px) {
    .chat-float {
        display: none;
    }
    .mobile-chat-bar {
        display: block;
    }
    footer {
        padding-bottom: 80px;
    }
}

.back-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 15px rgba(0,0,0,0.15);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
    z-index: 998;
}

.back-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-top:hover {
    transform: translateY(-3px);
}

.back-top svg {
    width: 24px;
    height: 24px;
    color: #6c5ce7;
}

@media (max-width: 768px) {
    .back-top {
        bottom: 90px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}

html {
    scroll-behavior: smooth;
}

::selection {
    background: #6c5ce7;
    color: #fff;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #c5c5d2;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a5a5b5;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

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

.hero-content {
    animation: fadeInUp 0.6s ease-out;
}

.product-card,
.news-card,
.summary-card {
    animation: fadeInUp 0.5s ease-out;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
    html {
        scroll-behavior: auto;
    }
}

.breadcrumb-inner {
    padding: 0 20px;
}

@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

.hero .container {
    position: relative;
}

@media (min-width: 992px) {
    .hero::after {
        content: "";
        position: absolute;
        top: 50%;
        right: 5%;
        width: 300px;
        height: 300px;
        background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
        border-radius: 50%;
        transform: translateY(-50%);
    }
}

.logo-icon {
    animation: pulse 3s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(108,92,231,0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(108,92,231,0);
    }
}

a:focus,
button:focus {
    outline: 2px solid #6c5ce7;
    outline-offset: 2px;
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
    outline: none;
}

@media print {
    header,
    .chat-float,
    .mobile-chat-bar,
    .back-top,
    .hero-btns,
    .guide-cta,
    .news-toggle {
        display: none !important;
    }
    body {
        background: #fff;
        color: #000;
    }
    section {
        page-break-inside: avoid;
    }
}
