/**
 * Teveex Landing Page v4.0 - CSS
 */
:root {
    --primary: #25d366;
    --primary-dark: #128c7e;
    --bg: #0b141a;
    --surface: #1e2a32;
    --text: #e9edef;
    --text-muted: #94a3b8;
    --grad: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Tajawal', sans-serif; }

body {
    background-color: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Hero Section */
.hero {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    background: radial-gradient(circle at center, rgba(37, 211, 102, 0.1) 0%, transparent 70%);
}

.logo-area { margin-bottom: 30px; }
.logo-area h1 { font-size: 3.5rem; font-weight: 900; letter-spacing: -1px; color: var(--primary); }
.logo-area p { font-size: 1.2rem; font-weight: 700; color: var(--text-muted); margin-top: -10px; }

.hero-content h2 { font-size: 2rem; font-weight: 900; margin-bottom: 20px; color: white; }
.hero-content p { max-width: 700px; font-size: 1.1rem; color: var(--text-muted); font-weight: 500; margin: 0 auto 30px; }

/* Portal Cards */
.portals {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    max-width: 1000px;
    margin: -50px auto 50px;
    padding: 0 20px;
}

.portal-card {
    background: var(--surface);
    border-radius: 30px;
    padding: 40px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.portal-card:hover { transform: translateY(-10px); border-color: var(--primary); box-shadow: 0 20px 40px rgba(0,0,0,0.4); }

.portal-icon { 
    width: 70px; height: 70px; background: rgba(37, 211, 102, 0.1); 
    border-radius: 20px; display: flex; align-items: center; justify-content: center;
    font-size: 2rem; color: var(--primary); margin: 0 auto 25px;
}

.portal-card h3 { font-size: 1.6rem; font-weight: 900; margin-bottom: 15px; }
.portal-card p { font-size: 1rem; color: var(--text-muted); font-weight: 500; margin-bottom: 30px; min-height: 60px; }

.btn-portal {
    width: 100%; padding: 18px; border-radius: 15px; border: none;
    background: var(--grad); color: white; font-weight: 900; font-size: 1.1rem;
    cursor: pointer; transition: 0.3s; display: flex; align-items: center; justify-content: center; gap: 10px;
}
.btn-portal:hover { opacity: 0.9; transform: scale(1.02); }

.btn-google {
    background: white;
    color: #3c4043;
    padding: 12px 24px;
    border-radius: 30px;
    border: 1px solid #dadce0;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0 auto;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.btn-google:hover {
    background: #f8f9fa;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.btn-google img {
    width: 20px;
    height: 20px;
}

/* Footer Info */
.footer-info { text-align: center; padding: 40px 20px; color: var(--text-muted); font-weight: 700; font-size: 0.9rem; }
.oman-flag { display: inline-flex; gap: 4px; margin-top: 10px; }
.flag-red { width: 10px; height: 10px; background: #ee2a35; }
.flag-white { width: 10px; height: 10px; background: #fff; }
.flag-green { width: 10px; height: 10px; background: #00843d; }

/* Overlays */
.overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.9); backdrop-filter: blur(15px);
    display: none; justify-content: center; align-items: center; z-index: 1000;
}
.loader-card { text-align: center; color: white; }

.onboarding-card {
    background: white; width: 100%; max-width: 400px; border-radius: 30px; padding: 35px;
    text-align: center; box-shadow: 0 20px 50px rgba(0,0,0,0.3); color: #0b141a;
}
.onboarding-input, .onboarding-select {
    width: 100%; padding: 15px; border-radius: 15px; border: 2px solid #eee; margin-top: 10px;
    font-size: 16px; font-weight: 700; outline: none; text-align: center;
}
.onboarding-btn {
    width: 100%; background: var(--grad); color: white; padding: 18px; border: none;
    border-radius: 15px; margin-top: 25px; font-weight: 900; cursor: pointer;
}

@media (max-width: 600px) {
    .logo-area h1 { font-size: 2.5rem; }
    .hero-content h2 { font-size: 1.5rem; }
    .portals { margin-top: 0; }
}
