/* Landing page — Phase 2 */
:root {
    --bg: #0b1120;
    --surface: #1e293b;
    --border: #334155;
    --text: #e2e8f0;
    --muted: #94a3b8;
    --gold: #fbbf24;
    --gold-dark: #d97706;
    --accent: #6366f1;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Segoe UI', Tahoma, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
}

a { color: var(--gold); }

/* Nav */
.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    background: rgba(11, 17, 32, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.site-nav .logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gold);
    text-decoration: none;
}

.site-nav .links a {
    color: var(--muted);
    text-decoration: none;
    margin-right: 1.5rem;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.site-nav .links a:hover { color: var(--text); }

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 2rem 4rem;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(251, 191, 36, 0.1) 0%, transparent 40%),
        var(--bg);
}

.hero-badge {
    display: inline-block;
    padding: 0.35rem 1rem;
    border-radius: 20px;
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.3);
    color: var(--gold);
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.25rem;
    max-width: 800px;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.15rem;
    color: var(--muted);
    max-width: 560px;
    margin-bottom: 2rem;
}

.hero-cta { display: flex; gap: 0.75rem; flex-wrap: wrap; justify-content: center; }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 1.75rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #0f172a;
    box-shadow: 0 4px 20px rgba(251, 191, 36, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--border);
    color: var(--text);
}

.btn-ghost {
    background: rgba(255,255,255,0.05);
    color: var(--muted);
}

/* Sections */
section {
    max-width: 1140px;
    margin: 0 auto;
    padding: 5rem 1.5rem;
}

.section-label {
    text-align: center;
    color: var(--gold);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

section h2 {
    text-align: center;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    margin-bottom: 0.75rem;
}

.section-desc {
    text-align: center;
    color: var(--muted);
    max-width: 560px;
    margin: 0 auto 3rem;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}

.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.75rem;
    transition: border-color 0.2s, transform 0.2s;
}

.feature-card:hover {
    border-color: rgba(251, 191, 36, 0.4);
    transform: translateY(-3px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(251, 191, 36, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.feature-card h3 { color: var(--gold); margin-bottom: 0.5rem; font-size: 1.1rem; }
.feature-card p { color: var(--muted); font-size: 0.95rem; }

/* Steps */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    text-align: center;
}

.step-num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: #0f172a;
    font-weight: 800;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

/* Plans */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    align-items: start;
}

.plan-card {
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    transition: transform 0.2s;
}

.plan-card:hover { transform: translateY(-4px); }

.plan-card.featured {
    border-color: var(--gold);
    box-shadow: 0 0 40px rgba(251, 191, 36, 0.12);
}

.plan-card.featured::before {
    content: 'الأكثر شيوعاً';
    position: absolute;
    top: -12px;
    right: 50%;
    transform: translateX(50%);
    background: var(--gold);
    color: #0f172a;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 1rem;
    border-radius: 20px;
}

.plan-card h3 { font-size: 1.35rem; margin-bottom: 0.5rem; }

.plan-price {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--gold);
    margin: 1rem 0 0.25rem;
}

.plan-price small { font-size: 1rem; color: var(--muted); font-weight: 400; }

.plan-cycle { color: var(--muted); font-size: 0.9rem; margin-bottom: 1.25rem; }

.plan-features {
    list-style: none;
    margin: 1.25rem 0;
    padding: 0;
}

.plan-features li {
    padding: 0.4rem 0;
    color: var(--muted);
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(51, 65, 85, 0.5);
}

.plan-features li::before {
    content: '✓ ';
    color: var(--gold);
    font-weight: 700;
}

.plan-card .btn { width: 100%; justify-content: center; margin-top: 1rem; }

/* Code redeem */
.code-section {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
}

.code-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.code-form input {
    flex: 1;
    padding: 0.85rem 1rem;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--bg);
    color: var(--text);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.code-form input:focus { outline: none; border-color: var(--gold); }

/* Footer */
.site-footer {
    text-align: center;
    padding: 2.5rem;
    color: var(--muted);
    border-top: 1px solid var(--border);
    font-size: 0.9rem;
}

.site-footer a { color: var(--muted); margin: 0 0.75rem; }

@media (max-width: 768px) {
    .site-nav { padding: 0.75rem 1rem; }
    .site-nav .links { display: none; }
    .code-form { flex-direction: column; }
}
