@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('/assets/fonts/Inter.woff2') format('woff2');
}

@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('/assets/fonts/Outfit.woff2') format('woff2');
}

:root {
    --bg: #0b0f19;
    --card-bg: rgba(23, 32, 51, 0.75);
    --card-border: rgba(255, 255, 255, 0.08);
    --primary: #00f2fe;
    --primary-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --secondary: #3b82f6;
    --secondary-gradient: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --accent-glow: rgba(0, 242, 254, 0.2);
    --danger: #f87171;
    --warning-bg: rgba(245, 158, 11, 0.12);
    --warning-border: rgba(245, 158, 11, 0.3);
}

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

body {
    font-family: 'Inter', 'Outfit', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg);
    background-image: 
        radial-gradient(at 0% 0%, rgba(79, 172, 254, 0.12) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(59, 130, 246, 0.12) 0px, transparent 50%);
    color: var(--text-main);
    min-height: 100vh;
    padding: 24px 16px 60px;
    line-height: 1.6;
}

.page-wrapper {
    max-width: 680px;
    margin: 0 auto;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--card-border);
    margin-bottom: 32px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo-badge {
    background: var(--primary-gradient);
    color: #0b0f19;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    padding: 4px 12px;
    border-radius: 8px;
    box-shadow: 0 0 16px var(--accent-glow);
}
.brand-name {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 1.1rem;
    color: var(--text-main);
}
.lang-switch {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    padding: 3px;
    border-radius: 20px;
    border: 1px solid var(--card-border);
}
.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.8rem;
    padding: 4px 12px;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s;
}
.lang-btn.active {
    background: var(--primary-gradient);
    color: #0b0f19;
}

/* Hero */
.hero {
    text-align: center;
    margin-bottom: 36px;
}
.hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
    background: linear-gradient(180deg, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero p {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 540px;
    margin: 0 auto;
}

/* Steps Cards */
.steps-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.step-card {
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 28px;
    backdrop-filter: blur(12px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s, border-color 0.2s;
}
.step-card.highlight {
    border-color: rgba(0, 242, 254, 0.4);
    box-shadow: 0 12px 32px rgba(0, 242, 254, 0.1);
}
.step-badge {
    position: absolute;
    top: -12px;
    left: 24px;
    background: var(--primary-gradient);
    color: #0b0f19;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 0.9rem;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px var(--accent-glow);
}
.step-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}
.step-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(0, 242, 254, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.step-icon svg {
    width: 22px;
    height: 22px;
}
.step-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
}
.step-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Device Detection & Buttons */
.device-banner {
    background: rgba(255, 255, 255, 0.04);
    border: 1px dashed var(--card-border);
    border-radius: 12px;
    padding: 10px 16px;
    margin: 16px 0;
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}
.btn-primary {
    background: var(--primary-gradient);
    color: #0b0f19;
    box-shadow: 0 4px 16px var(--accent-glow);
}
.btn-primary:hover { opacity: 0.92; transform: translateY(-1px); }
.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-main);
    border: 1px solid var(--card-border);
}
.btn-secondary:hover { background: rgba(255, 255, 255, 0.14); }
.btn-block { width: 100%; }
.btn-sm { padding: 8px 14px; font-size: 0.85rem; }
.mb-3 { margin-bottom: 16px; }

.alt-kyc-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
    padding: 12px;
    border-radius: 12px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* APN Pill */
.apn-pill {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--card-border);
    border-radius: 14px;
    padding: 14px 20px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 16px 0;
}
.apn-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.apn-lbl {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.apn-val {
    font-size: 1.1rem;
    font-weight: 600;
}
.highlight-text { color: var(--primary); }
.apn-divider {
    width: 1px;
    height: 30px;
    background: var(--card-border);
}

/* OS Tabs & Infographics */
.os-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    background: rgba(0,0,0,0.3);
    padding: 4px;
    border-radius: 12px;
}
.os-tab {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}
.os-tab.active {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-main);
}
.os-guide-content { display: none; }
.os-guide-content.active { display: block; }

.infographic-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.info-step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(255, 255, 255, 0.03);
    padding: 12px 14px;
    border-radius: 10px;
    border-left: 3px solid var(--primary);
}
.info-num {
    background: rgba(0, 242, 254, 0.15);
    color: var(--primary);
    font-weight: 700;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
    margin-top: 2px;
}
.info-txt {
    font-size: 0.88rem;
    color: var(--text-main);
}
.code-badge {
    background: rgba(0, 0, 0, 0.5);
    color: var(--primary);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
}

/* Wi-Fi Warning Card */
.wifi-warning-card {
    background: var(--warning-bg);
    border: 1px solid var(--warning-border);
    border-radius: 14px;
    padding: 16px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-top: 16px;
}
.wifi-icon {
    width: 32px;
    height: 32px;
    color: #f59e0b;
    flex-shrink: 0;
}
.wifi-icon svg { width: 32px; height: 32px; }
.wifi-txt {
    font-size: 0.88rem;
    color: #fef3c7;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.portal-cta-box { margin-top: 16px; }

/* Footer */
.footer {
    text-align: center;
    margin-top: 40px;
    font-size: 0.85rem;
    color: var(--text-muted);
}
