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

:root {
    --primary-purple: #7c3aed;
    --primary-blue: #2563eb;
    --dark-bg: #0f0f1a;
    --card-bg: #1a1a2e;
    --card-border: #2a2a4a;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --accent-gradient: linear-gradient(135deg, #7c3aed 0%, #2563eb 100%);
    --success-green: #10b981;
    --error-red: #ef4444;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

/* Locked State - Hide Content */
body.locked #content {
    display: none;
}

body.unlocked #content {
    display: block;
    animation: fadeIn 0.5s ease-out;
}

body.unlocked #password-modal {
    opacity: 0;
    visibility: hidden;
    transform: scale(0.95);
}

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

/* Password Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.2) 0%, rgba(37, 99, 235, 0.2) 100%),
                var(--dark-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: all 0.4s ease;
}

.modal-content {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 48px;
    max-width: 420px;
    width: 90%;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5),
                0 0 0 1px rgba(255, 255, 255, 0.05);
}

.modal-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.modal-content h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-subtitle {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 32px;
}

.input-group {
    margin-bottom: 24px;
}

#password-input {
    width: 100%;
    padding: 16px 20px;
    font-size: 16px;
    border: 2px solid var(--card-border);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    outline: none;
    transition: all 0.3s ease;
    font-family: inherit;
}

#password-input:focus {
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.2);
}

#password-input::placeholder {
    color: var(--text-secondary);
}

.error-message {
    color: var(--error-red);
    font-size: 14px;
    margin-top: 12px;
    min-height: 20px;
    font-weight: 500;
}

.unlock-button {
    width: 100%;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    background: var(--accent-gradient);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.unlock-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.4);
}

.unlock-button:active {
    transform: translateY(0);
}

/* Shake Animation for Wrong Password */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

.shake {
    animation: shake 0.3s ease-in-out;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Hero Section */
.hero {
    background: var(--accent-gradient);
    padding: 80px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero h1 {
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 500;
    opacity: 0.9;
    margin-bottom: 16px;
}

.hero-description {
    font-size: 18px;
    opacity: 0.85;
    max-width: 600px;
    margin: 0 auto;
}

/* Included Section */
.included-section {
    padding: 80px 0;
    background: var(--dark-bg);
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 8px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 18px;
    margin-bottom: 48px;
}

.niches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 48px;
}

.niche-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
}

.niche-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-purple);
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.15);
}

.niche-icon {
    font-size: 32px;
    display: block;
    margin-bottom: 12px;
}

.niche-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.niche-card p {
    color: var(--text-secondary);
    font-size: 14px;
}

.bonus-info {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(37, 99, 235, 0.1) 100%);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 32px;
    text-align: center;
}

.bonus-info h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 24px;
}

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

.bonus-item {
    background: var(--card-bg);
    padding: 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
}

/* Download Section */
.download-section {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--dark-bg) 0%, rgba(124, 58, 237, 0.05) 100%);
}

.download-card {
    background: var(--card-bg);
    border: 2px solid var(--primary-purple);
    border-radius: 24px;
    padding: 48px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 25px 50px rgba(124, 58, 237, 0.2);
}

.download-icon {
    font-size: 64px;
    margin-bottom: 24px;
}

.download-card h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
}

.download-card > p {
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.download-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 20px 40px;
    font-size: 18px;
    font-weight: 700;
    border: none;
    border-radius: 14px;
    background: var(--accent-gradient);
    color: white;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.download-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(124, 58, 237, 0.5);
}

.btn-icon {
    font-size: 24px;
}

.file-info {
    color: var(--text-secondary);
    font-size: 14px;
    margin-top: 20px;
}

/* Notes Section */
.notes-section {
    padding: 60px 0;
}

.notes-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 32px;
    max-width: 700px;
    margin: 0 auto;
}

.notes-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

.notes-card ul {
    list-style: none;
}

.notes-card li {
    color: var(--text-secondary);
    padding: 10px 0;
    padding-left: 28px;
    position: relative;
    font-size: 15px;
}

.notes-card li::before {
    content: '•';
    position: absolute;
    left: 8px;
    color: var(--primary-purple);
    font-weight: bold;
}

/* License Section */
.license-section {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--card-border);
}

.license-section h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.license-allowed {
    color: var(--success-green);
    font-weight: 500;
    margin-bottom: 16px;
    font-size: 15px;
}

.license-heading {
    color: var(--error-red);
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 15px;
}

.license-restrictions {
    margin-bottom: 16px;
}

.license-restrictions li {
    color: var(--text-secondary);
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
    font-size: 14px;
}

.license-restrictions li::before {
    content: '✕';
    position: absolute;
    left: 8px;
    color: var(--error-red);
    font-weight: bold;
    font-size: 12px;
}

.license-warning {
    color: var(--text-secondary);
    font-size: 13px;
    font-style: italic;
    padding: 12px;
    background: rgba(239, 68, 68, 0.1);
    border-radius: 8px;
    border-left: 3px solid var(--error-red);
}

/* Footer */
.footer {
    text-align: center;
    padding: 40px 24px;
    border-top: 1px solid var(--card-border);
}

.footer p {
    color: var(--text-secondary);
    font-size: 14px;
}

.footer a {
    color: var(--primary-purple);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--primary-blue);
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        padding: 60px 24px;
    }
    
    .modal-content {
        padding: 32px 24px;
    }
    
    .download-card {
        padding: 32px 24px;
    }
    
    .download-button {
        padding: 16px 32px;
        font-size: 16px;
    }
    
    .bonus-grid {
        grid-template-columns: 1fr;
    }
}
