:root {
    --primary: #4f46e5;
    --primary-light: #7c3aed;
    --dark: #1f2937;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    min-height: 100vh;
    background: #fff;
    position: relative;
    overflow-x: hidden;
}

.bubble {
    position: fixed;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.bubble-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.15) 0%, rgba(124, 58, 237, 0.1) 100%);
    top: -150px;
    right: -100px;
}

.bubble-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, rgba(124, 58, 237, 0.08) 100%);
    bottom: 100px;
    left: -80px;
}

.bubble-3 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.08) 0%, rgba(124, 58, 237, 0.05) 100%);
    top: 40%;
    left: 5%;
}

.bubble-4 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.06) 0%, rgba(124, 58, 237, 0.04) 100%);
    bottom: 30%;
    right: 10%;
}

.header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 12px 20px;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-inner {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon i {
    color: #fff;
    font-size: 18px;
}

.logo-text {
    font-size: 17px;
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 24px;
}

.nav-links a {
    color: #6b7280;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-links a:hover {
    color: var(--primary);
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.banner {
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
}

.banner img {
    width: 100%;
    display: block;
    transition: transform 0.5s;
}

.banner:hover img {
    transform: scale(1.02);
}

.banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    padding: 24px 20px;
}

.banner-title {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 4px;
}

.banner-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
}

.main-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.card-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 28px 24px;
    position: relative;
    overflow: hidden;
}

.card-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.card-header::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.card-title {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-list {
    position: relative;
    z-index: 1;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: #fff;
}

.feature-item:last-child {
    margin-bottom: 0;
}

.feature-check {
    width: 22px;
    height: 22px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-check i {
    font-size: 11px;
}

.feature-text {
    font-size: 14px;
    opacity: 0.95;
}

.card-body {
    padding: 24px;
}

.btn-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    box-shadow: 0 3px 12px rgba(79, 70, 229, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.35);
}

.btn-outline {
    background: #fff;
    color: var(--primary);
    border: 2px solid #e5e7eb;
}

.btn-outline:hover {
    border-color: var(--primary);
    background: #faf5ff;
}

.btn-dark {
    background: linear-gradient(135deg, var(--dark) 0%, #374151 100%);
    color: #fff;
    box-shadow: 0 3px 12px rgba(31, 41, 55, 0.25);
}

.btn-dark:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(31, 41, 55, 0.35);
}

.btn-icon-box {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 14px;
    flex-shrink: 0;
}

.btn-primary .btn-icon-box {
    background: rgba(255, 255, 255, 0.15);
}

.btn-outline .btn-icon-box {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
}

.btn-dark .btn-icon-box {
    background: rgba(255, 255, 255, 0.1);
}

.btn-icon-box i {
    font-size: 18px;
}

.btn-content {
    flex: 1;
    text-align: left;
}

.btn-title {
    font-weight: 600;
    font-size: 15px;
    display: block;
}

.btn-subtitle {
    font-size: 12px;
    opacity: 0.75;
    margin-top: 2px;
    display: block;
}

.btn-arrow {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.2s;
}

.btn:hover .btn-arrow {
    transform: translateX(3px);
}

.btn-primary .btn-arrow {
    background: rgba(255, 255, 255, 0.15);
}

.btn-outline .btn-arrow {
    background: #f3f4f6;
    color: var(--primary);
}

.btn-dark .btn-arrow {
    background: rgba(255, 255, 255, 0.1);
}

.btn-arrow i {
    font-size: 12px;
}

.footer {
    background: linear-gradient(180deg, #f9fafb 0%, #f3f4f6 100%);
    padding: 40px 20px;
    margin-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
}

.footer-inner {
    max-width: 800px;
    margin: 0 auto;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 12px;
}

.footer-brand-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-brand-icon i {
    color: #fff;
    font-size: 18px;
}

.footer-brand-text {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
}

.footer-desc {
    color: #6b7280;
    font-size: 13px;
    margin-bottom: 20px;
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid #e5e7eb;
    cursor: pointer;
}

.footer-social a:hover {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff;
    border-color: transparent;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 20px;
}

.footer-copyright {
    color: #9ca3af;
    font-size: 13px;
}

.footer-copyright a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: #fff;
    border-radius: 20px;
    padding: 16px;
    max-width: 400px;
    width: 100%;
    position: relative;
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-close {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.modal-image {
    width: 100%;
    border-radius: 12px;
}

.toast {
    position: fixed;
    top: 20px;
    right: -320px;
    width: 280px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1001;
    transition: right 0.3s ease;
}

.toast.show {
    right: 20px;
}

.toast-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.toast-icon i {
    color: #fff;
    font-size: 20px;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 2px;
}

.toast-message {
    font-size: 12px;
    color: #6b7280;
}

.toast-close {
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 4px;
    font-size: 18px;
}

.toast-close:hover {
    color: #6b7280;
}

@media (max-width: 480px) {
    .container {
        padding: 16px;
    }
    
    .banner {
        border-radius: 16px;
        margin-bottom: 16px;
    }
    
    .banner-overlay {
        padding: 16px;
    }
    
    .banner-title {
        font-size: 17px;
    }
    
    .main-card {
        border-radius: 16px;
    }
    
    .card-header {
        padding: 20px;
    }
    
    .card-title {
        font-size: 16px;
    }
    
    .card-body {
        padding: 20px;
    }
    
    .btn {
        padding: 13px 16px;
    }
    
    .btn-icon-box {
        width: 34px;
        height: 34px;
        margin-right: 12px;
    }
    
    .btn-icon-box i {
        font-size: 16px;
    }
    
    .btn-title {
        font-size: 14px;
    }
    
    .btn-subtitle {
        font-size: 11px;
    }
    
    .btn-arrow {
        width: 26px;
        height: 26px;
    }
    
    .btn-arrow i {
        font-size: 11px;
    }
    
    .nav-links {
        display: none;
    }
    
    .footer {
        padding: 30px 16px;
    }
    
    .bubble-1 {
        width: 250px;
        height: 250px;
        top: -100px;
        right: -80px;
    }
    
    .bubble-2 {
        width: 180px;
        height: 180px;
        bottom: 50px;
        left: -50px;
    }
    
    .bubble-3, .bubble-4 {
        display: none;
    }
}
