:root {
    --primary: #22c55e;
    --bg: #0f172a;
    --card: #1e293b;
    --text: #f8fafc;
    --text-dim: #94a3b8;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    margin: 0;
    line-height: 1.5;
    overflow-x: hidden;
}

.app-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.logo {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -1px;
}

.logo span { color: var(--primary); }

.status-badge {
    background: rgba(34, 197, 94, 0.1);
    color: var(--primary);
    font-size: 0.7rem;
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: 600;
    border: 1px solid var(--primary);
}

.hero {
    text-align: center;
    margin-bottom: 40px;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin: 0 0 15px 0;
    line-height: 1.1;
}

.hero p {
    color: var(--text-dim);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.btn-primary {
    display: block;
    background: var(--primary);
    color: white;
    text-decoration: none;
    padding: 20px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 10px 20px -5px rgba(34, 197, 94, 0.4);
    transition: transform 0.2s;
}

.btn-primary:active { transform: scale(0.98); }

.cta-subtext {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-top: 10px;
}

.plans h2 {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.plan-card {
    background: var(--card);
    padding: 20px;
    border-radius: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    border: 1px solid #334155;
    position: relative;
}

.plan-card.featured {
    border: 2px solid var(--primary);
    background: #1e293b;
}

.popular-tag {
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--primary);
    font-size: 0.6rem;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 800;
}

.plan-info h3 { margin: 0; font-size: 1.1rem; }
.plan-info p { margin: 0; font-size: 0.8rem; color: var(--text-dim); }

.plan-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
}

.plan-price .currency { font-size: 0.9rem; margin-right: 2px; }

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 40px;
    text-align: center;
}

.feature-item .icon { font-size: 1.5rem; display: block; margin-bottom: 5px; }
.feature-item p { font-size: 0.7rem; color: var(--text-dim); margin: 0; }

.footer {
    margin-top: 60px;
    text-align: center;
    color: var(--text-dim);
    font-size: 0.8rem;
}

.secure-icons {
    margin-top: 10px;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.85);
    backdrop-filter: blur(8px);
}

.modal-content {
    background-color: var(--card);
    margin: 20% auto;
    padding: 30px;
    border: 1px solid #334155;
    width: 90%;
    max-width: 400px;
    border-radius: 24px;
    position: relative;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.modal-content h2 {
    color: #fff;
    margin: 0 0 10px 0;
    font-size: 1.5rem;
}

.modal-content p {
    color: var(--text-dim);
    font-size: 0.9rem;
    margin-bottom: 25px;
    line-height: 1.4;
}

.modal-content input {
    width: 100%;
    padding: 18px;
    margin: 8px 0;
    border-radius: 12px;
    border: 1px solid #334155;
    background: #0f172a;
    color: #fff;
    font-size: 1rem;
    outline: none;
}

.modal-content input:focus {
    border-color: var(--primary);
}

.close {
    position: absolute;
    right: 20px;
    top: 15px;
    color: var(--text-dim);
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}
