:root {
    --bg-color: #f8fafc;
    --card-bg: #ffffff;
    --primary-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --accent-indigo: #4f46e5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.5;
    padding: 4rem 1.5rem;
}

.container {
    max-width: 1024px;
    margin: 0 auto;
}

.header {
    text-align: center;
    margin-bottom: 5rem;
}

.header span {
    color: var(--accent-indigo);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
}

.header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin: 0.75rem 0 1.5rem;
    color: var(--text-main);
}

.header p {
    color: var(--text-muted);
    font-size: 1.125rem;
    max-width: 42rem;
    margin: 0 auto;
}

.packages-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.package-card {
    background: var(--card-bg);
    border-radius: 1.5rem;
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@media (min-width: 768px) {
    .package-card {
        flex-direction: row;
        align-items: center;
        padding: 3rem;
    }
}

.package-card:hover {
    transform: scale(1.02);
    border-color: #cbd5e1;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
}

.step-number {
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 10px 15px -3px rgba(99, 102, 241, 0.3);
    flex-shrink: 0;
    margin: 0 auto;
}

.details {
    flex-grow: 1;
    text-align: center;
}

@media (min-width: 768px) {
    .details {
        text-align: left;
    }
}

.details h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.details p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.features-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

@media (min-width: 768px) {
    .features-tags {
        justify-content: flex-start;
    }
}

.tag {
    background: #f1f5f9;
    color: #475569;
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
}

.tag svg {
    width: 1rem;
    height: 1rem;
    margin-right: 0.5rem;
    color: #22c55e;
}

.pricing-section {
    width: 100%;
    padding-top: 1.5rem;
    border-top: 1px solid #f1f5f9;
    text-align: center;
}

@media (min-width: 768px) {
    .pricing-section {
        width: 12rem;
        padding-top: 0;
        padding-left: 2rem;
        border-top: 0;
        border-left: 1px solid #f1f5f9;
    }
}

.price-label {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.price-value {
    font-size: 1.875rem;
    font-weight: 700;
    margin: 0.25rem 0 1rem;
}

.buy-btn {
    width: 100%;
    background: var(--text-main);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.buy-btn:hover {
    background: #1e293b;
}

.buy-btn:active {
    transform: scale(0.95);
}

.future-box {
    margin-top: 4rem;
    border: 2px dashed #cbd5e1;
    border-radius: 1.5rem;
    padding: 2.5rem;
    text-align: center;
}

.future-box div {
    color: var(--text-muted);
    font-weight: 500;
}

.future-box p {
    color: #94a3b8;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    font-style: italic;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    padding: 2.5rem;
    border-radius: 2rem;
    max-width: 450px;
    width: 90%;
    text-align: center;
    position: relative;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
}

.modal-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.75rem;
}

.modal-text {
    color: #64748b;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.close-modal-btn {
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    color: white;
    border: none;
    padding: 0.875rem 2.5rem;
    border-radius: 1rem;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    transition: transform 0.2s;
}

.close-modal-btn:hover {
    transform: scale(1.05);
}