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

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    transition: background 0.5s ease, color 0.5s ease;
}

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

header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(102, 126, 234, 0.9);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: background 0.5s ease;
}

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

header h1 {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 1px;
    background: linear-gradient(45deg, #fff, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

nav a {
    color: #fff;
    text-decoration: none;
    margin-left: 25px;
    font-size: 15px;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: #ffd700;
    transition: width 0.3s ease;
}

nav a:hover {
    color: #ffd700;
}

nav a:hover::after {
    width: 100%;
}

.banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    padding: 80px 0;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
    animation: fadeIn 1s ease-out;
}

.banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.banner h2 {
    font-size: 42px;
    margin-bottom: 20px;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: slideInUp 1s ease-out;
}

.banner p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
    animation: slideInUp 1.2s ease-out;
}

.section {
    padding: 70px 0;
    animation: fadeIn 1s ease-out;
}

.section h2 {
    font-size: 32px;
    margin-bottom: 40px;
    text-align: center;
    font-weight: 700;
    color: #2c3e50;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

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

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

.card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.5s ease;
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
}

.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }
.card:nth-child(4) { animation-delay: 0.4s; }
.card:nth-child(5) { animation-delay: 0.5s; }
.card:nth-child(6) { animation-delay: 0.6s; }
.card:nth-child(7) { animation-delay: 0.7s; }
.card:nth-child(8) { animation-delay: 0.8s; }
.card:nth-child(9) { animation-delay: 0.9s; }
.card:nth-child(10) { animation-delay: 1.0s; }

.card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.95);
}

.card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #2c3e50;
    font-weight: 600;
}

.card p {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
}

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

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

.faq-item {
    margin-bottom: 25px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
}

.faq-item:nth-child(odd) { animation-delay: 0.1s; }
.faq-item:nth-child(even) { animation-delay: 0.2s; }

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.faq-item h4 {
    font-size: 18px;
    cursor: pointer;
    color: #667eea;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.faq-item h4::after {
    content: '+';
    font-size: 24px;
    color: #764ba2;
    transition: transform 0.3s ease;
}

.faq-item h4:hover {
    color: #764ba2;
}

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

.faq-item p {
    display: none;
    margin-top: 15px;
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from { opacity: 0; max-height: 0; }
    to { opacity: 1; max-height: 500px; }
}

.howto-step {
    margin-bottom: 25px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
}

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

.howto-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.howto-step h4 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #2c3e50;
    font-weight: 600;
}

.howto-step p {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
}

.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
    color: #e0e0e0;
    padding: 50px 0;
    text-align: center;
    animation: fadeIn 1s ease-out;
}

.footer a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #ffd700;
}

.footer .links {
    margin-bottom: 25px;
}

.footer .links a {
    margin: 0 12px;
    font-size: 14px;
}

.footer p {
    font-size: 14px;
    margin-top: 10px;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    border: none;
    padding: 12px 18px;
    border-radius: 50px;
    cursor: pointer;
    display: none;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 1000;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.dark-mode {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #e0e0e0;
}

.dark-mode .card {
    background: rgba(30, 30, 60, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e0e0e0;
}

.dark-mode .card h3 {
    color: #f0f0f0;
}

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

.dark-mode header {
    background: rgba(20, 20, 40, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dark-mode .banner {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}

.dark-mode .section h2 {
    color: #f0f0f0;
}

.dark-mode .section h2::after {
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.dark-mode .faq-item {
    background: rgba(30, 30, 60, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dark-mode .faq-item h4 {
    color: #667eea;
}

.dark-mode .faq-item p {
    color: #bbb;
}

.dark-mode .howto-step {
    background: rgba(30, 30, 60, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dark-mode .howto-step h4 {
    color: #f0f0f0;
}

.dark-mode .howto-step p {
    color: #bbb;
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        align-items: center;
    }
    header h1 {
        margin-bottom: 15px;
    }
    nav a {
        margin: 0 8px;
        font-size: 13px;
    }
    .banner {
        padding: 50px 0;
    }
    .banner h2 {
        font-size: 28px;
    }
    .banner p {
        font-size: 16px;
        padding: 0 15px;
    }
    .section {
        padding: 40px 0;
    }
    .section h2 {
        font-size: 26px;
    }
    .grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .card {
        padding: 20px;
    }
    .faq-item {
        padding: 15px;
    }
    .howto-step {
        padding: 15px;
    }
    .footer .links a {
        margin: 0 8px;
        font-size: 12px;
    }
    .back-to-top {
        bottom: 20px;
        right: 20px;
        padding: 10px 15px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 22px;
    }
    nav a {
        font-size: 11px;
        margin: 0 5px;
    }
    .banner h2 {
        font-size: 24px;
    }
    .banner p {
        font-size: 14px;
    }
    .section h2 {
        font-size: 22px;
    }
    .card h3 {
        font-size: 18px;
    }
    .card p {
        font-size: 14px;
    }
}