@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&family=Outfit:wght@400;700&display=swap');

:root {
    --bg-color: #0d0118; /* Nền tím cực đậm để làm nổi màu tím sáng */
    --text-color: #f8f9fa;
    --accent-color: #bc13fe; /* Màu Tím Neon sáng */
    --accent-glow: rgba(188, 19, 254, 0.6);
    --secondary-color: #ff9d00; /* Màu Cam sáng hơn chút */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.15);
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
}

/* Background Decoration */
.bg-glow {
    position: fixed;
    top: -15%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 75%);
    z-index: -1;
    filter: blur(100px);
}

.bg-glow-2 {
    position: fixed;
    bottom: -15%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 75%);
    z-index: -1;
    filter: blur(120px);
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

header {
    padding: 2rem 0;
    display: flex;
    justify-content: center;
    animation: fadeIn 1s ease-out;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    padding: 10px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
}

.logo img {
    display: block;
}

/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 4rem 0;
    min-height: 80vh;
}

.badge {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 0.5rem 1.2rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    display: inline-block;
    color: var(--secondary-color);
    animation: slideDown 0.8s ease-out;
}

.hero h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeUp 1s ease-out 0.2s both;
}

.hero p {
    font-size: clamp(1rem, 3vw, 1.25rem);
    color: rgba(255, 255, 255, 0.6);
    max-width: 600px;
    margin-bottom: 3rem;
    animation: fadeUp 1s ease-out 0.4s both;
}

/* Form Section */
.form-wrapper {
    width: 100%;
    max-width: 550px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    backdrop-filter: blur(20px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: fadeUp 1s ease-out 0.6s both;
    position: relative;
}

.form-wrapper::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(45deg, var(--accent-color), transparent, var(--secondary-color));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.form-placeholder {
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.3);
    border: 2px dashed var(--glass-border);
    border-radius: 12px;
}

/* Package Grid */
.package-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    width: 100%;
    max-width: 900px;
    margin: 2rem 0;
    text-align: left;
    animation: fadeUp 1s ease-out 0.5s both;
}

.video-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 1.2rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition-smooth);
}

.video-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-5px);
    border-color: var(--secondary-color);
}

.video-icon {
    font-size: 1.5rem;
}

/* Bonus Box */
.bonus-box {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.1) 0%, rgba(255, 140, 0, 0.1) 100%);
    border: 2px solid var(--secondary-color);
    padding: 2rem;
    border-radius: 24px;
    margin: 3rem 0;
    max-width: 800px;
    position: relative;
    animation: fadeUp 1s ease-out 0.7s both;
}

.bonus-tag {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary-color);
    color: #000;
    padding: 0.3rem 1.5rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 800;
}

/* Benefits Section */
.benefits-section {
    margin: 4rem 0;
    width: 100%;
    max-width: 1000px;
    animation: fadeUp 1s ease-out 0.9s both;
}

.benefits-section h2 {
    font-size: 2rem;
    margin-bottom: 3rem;
}

.benefit-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.benefit-card {
    padding: 2rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    text-align: left;
}

.benefit-card h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.benefit-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
}

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

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

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

/* Mobile Adjustments */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    .hero {
        padding: 2rem 0;
    }
    .form-wrapper {
        padding: 0.5rem 0;
        width: 100%;
        border-radius: 12px;
        background: transparent;
        border: none;
        box-shadow: none;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .package-grid {
        grid-template-columns: 1fr;
    }
}
