:root {
    --primary: #0284c7;
    --primary-light: #38bdf8;
    --primary-dark: #0369a1;
    --success: #16a34a;
    --dark-deep: #090d16;
    --dark-section: #0f172a;
    --dark-card: #1e293b;
    --border: rgba(56, 189, 248, 0.15);
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; scroll-behavior: smooth; }
body { background-color: var(--dark-deep); color: #e2e8f0; font-family: var(--font-body); overflow-x: hidden; }

/* HEADER */
header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; background: rgba(9, 13, 22, 0.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.nav-container { max-width: 1200px; margin: 0 auto; padding: 1rem 1.5rem; display: flex; justify-content: space-between; align-items: center; }
.brand { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; color: white; text-decoration: none; display: flex; align-items: center; gap: 0.5rem; }
.brand span { color: var(--primary-light); }

.nav-links { display: flex; list-style: none; gap: 2rem; align-items: center; }
.nav-links a { color: #94a3b8; text-decoration: none; font-size: 0.9rem; font-weight: 600; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: white; }

.btn-portal { background: transparent; border: 1px solid var(--primary-light); color: var(--primary-light); padding: 0.5rem 1.25rem; font-size: 0.85rem; font-weight: 700; border-radius: 8px; cursor: pointer; display: flex; align-items: center; gap: 0.4rem; transition: all 0.2s; }
.btn-portal:hover { background: var(--primary); color: white; border-color: var(--primary); box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3); }

/* HERO SECTION */
.hero { min-height: 100vh; padding: 120px 1.5rem 60px; display: flex; align-items: center; position: relative; overflow: hidden; }
.hero::before {
    content: ''; position: absolute; width: 450px; height: 450px;
    background: radial-gradient(circle, rgba(2, 132, 199, 0.2) 0%, rgba(0,0,0,0) 70%);
    top: 10%; right: -5%; pointer-events: none;
}
.hero-content { max-width: 1200px; margin: 0 auto; width: 100%; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center; }

.hero-text h1 { font-family: var(--font-display); font-size: 3.5rem; font-weight: 800; line-height: 1.15; color: white; margin-bottom: 1.5rem; }
.hero-text h1 span { color: var(--primary-light); }
.hero-text p { font-size: 1.05rem; color: #94a3b8; line-height: 1.7; margin-bottom: 2rem; font-weight: 300; }

.hero-btns { display: flex; gap: 1rem; }
.btn-primary { background: var(--primary); color: white; border: none; padding: 0.85rem 1.75rem; font-size: 0.95rem; font-weight: 700; border-radius: 8px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem; transition: background 0.2s; box-shadow: 0 4px 14px rgba(2, 132, 199, 0.4); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-secondary { background: rgba(30, 41, 59, 0.5); color: white; border: 1px solid #334155; padding: 0.85rem 1.75rem; font-size: 0.95rem; font-weight: 700; border-radius: 8px; cursor: pointer; text-decoration: none; transition: background 0.2s; }
.btn-secondary:hover { background: rgba(30, 41, 59, 0.8); }

.hero-image-area { display: flex; justify-content: center; position: relative; }
.hero-glow-card {
    background: rgba(30, 41, 59, 0.4); border: 1px solid var(--border); border-radius: 20px; padding: 2rem; width: 100%; max-width: 440px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4); backdrop-filter: blur(10px);
}
.hero-stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 1.5rem; }
.hero-stat h4 { font-family: var(--font-display); font-size: 1.8rem; color: var(--primary-light); font-weight: 700; }
.hero-stat span { font-size: 0.75rem; color: #94a3b8; }

/* SECTION COMMON */
section.info-section { padding: 80px 1.5rem; max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header h2 { font-family: var(--font-display); font-size: 2.2rem; font-weight: 800; color: white; }
.section-header p { font-size: 0.95rem; color: #94a3b8; margin-top: 0.5rem; }

/* ABOUT SECTION */
.about-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.about-card { background: var(--dark-section); border: 1px solid var(--border); border-radius: 16px; padding: 2rem; text-align: left; transition: transform 0.2s; }
.about-card:hover { transform: translateY(-5px); }
.about-icon { width: 48px; height: 48px; border-radius: 12px; background: rgba(2, 132, 199, 0.1); border: 1px solid var(--border); color: var(--primary-light); display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; }
.about-card h3 { font-family: var(--font-display); font-size: 1.15rem; color: white; margin-bottom: 0.75rem; font-weight: 700; }
.about-card p { font-size: 0.85rem; color: #94a3b8; line-height: 1.5; }

/* PRICING SECTION */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2rem; }
.pricing-card { 
    background: var(--dark-section); 
    border: 1px solid var(--border); 
    border-radius: 20px; 
    padding: 2.5rem 2rem; 
    display: flex; 
    flex-direction: column; 
    position: relative; 
    transition: all 0.3s ease; 
}
.pricing-card:hover { 
    transform: translateY(-8px); 
    border-color: var(--primary-light); 
    box-shadow: 0 12px 30px rgba(56, 189, 248, 0.15); 
}
.pricing-card.popular { 
    border-color: var(--primary-light); 
    background: linear-gradient(180deg, rgba(2, 132, 199, 0.15), rgba(15, 23, 42, 0.4));
    box-shadow: 0 10px 25px rgba(2, 132, 199, 0.2); 
}
.popular-tag { 
    position: absolute; 
    top: -12px; 
    left: 50%; 
    transform: translateX(-50%); 
    background: linear-gradient(90deg, var(--primary-light), var(--primary)); 
    color: #090d16; 
    font-size: 0.75rem; 
    font-weight: 800; 
    padding: 0.35rem 1rem; 
    border-radius: 20px; 
    letter-spacing: 0.5px; 
    box-shadow: 0 4px 10px rgba(56, 189, 248, 0.4); 
}
.pricing-header { margin-bottom: 2rem; }
.pricing-badge { 
    display: inline-block; 
    font-size: 0.7rem; 
    font-weight: 700; 
    color: var(--primary-light); 
    background: rgba(2, 132, 199, 0.15); 
    padding: 0.25rem 0.6rem; 
    border-radius: 4px; 
    margin-bottom: 1rem; 
}
.pricing-card h3 { font-family: var(--font-display); font-size: 1.5rem; color: white; margin-bottom: 0.5rem; font-weight: 800; }
.pricing-desc { font-size: 0.85rem; color: #94a3b8; line-height: 1.5; font-weight: 300; min-height: 40px; }
.pricing-price { font-family: var(--font-display); font-size: 2.2rem; font-weight: 800; color: white; margin-top: 1.5rem; display: flex; align-items: baseline; gap: 0.25rem; }
.pricing-price span { font-size: 0.9rem; color: #64748b; font-weight: normal; }

.pricing-features { margin-bottom: 2.5rem; }
.pricing-features ul { list-style: none; display: flex; flex-direction: column; gap: 0.85rem; }
.pricing-features li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.85rem; color: #cbd5e1; line-height: 1.4; }
.pricing-features li i { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; }
.pricing-features li.disabled { color: #475569; }
.text-success { color: #4ade80; }
.text-danger { color: #f43f5e; }

.pricing-footer { margin-top: auto; }
.btn-primary-pricing { 
    display: block; 
    text-align: center; 
    background: var(--primary); 
    color: white; 
    text-decoration: none; 
    padding: 0.85rem; 
    border-radius: 8px; 
    font-weight: 700; 
    font-size: 0.9rem; 
    transition: background 0.2s; 
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.4); 
}
.btn-primary-pricing:hover { background: var(--primary-dark); }
.btn-outline-pricing { 
    display: block; 
    text-align: center; 
    background: rgba(30, 41, 59, 0.3); 
    color: white; 
    text-decoration: none; 
    padding: 0.85rem; 
    border-radius: 8px; 
    font-weight: 700; 
    font-size: 0.9rem; 
    border: 1px solid #334155; 
    transition: all 0.2s; 
}
.btn-outline-pricing:hover { background: rgba(30, 41, 59, 0.7); border-color: #475569; }

/* CONTACT SECTION */
.contact-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 2.5rem; }
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item { display: flex; gap: 1rem; }
.contact-icon { width: 40px; height: 40px; border-radius: 8px; background: rgba(2, 132, 199, 0.1); border: 1px solid var(--border); color: var(--primary-light); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-details h4 { font-size: 0.9rem; color: white; margin-bottom: 0.2rem; }
.contact-details p { font-size: 0.8rem; color: #94a3b8; }

.contact-form { background: var(--dark-section); border: 1px solid var(--border); border-radius: 16px; padding: 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form .form-group { margin-bottom: 0; }
.contact-form label { display: block; font-size: 0.75rem; font-weight: 600; margin-bottom: 0.35rem; color: #94a3b8; }
.contact-form input, .contact-form textarea { width: 100%; padding: 0.65rem 0.85rem; background: var(--dark-deep); border: 1px solid rgba(255,255,255,0.08); border-radius: 8px; color: white; font-size: 0.85rem; outline: none; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--primary-light); }
.btn-submit-contact { grid-column: span 2; background: var(--primary); color: white; border: none; padding: 0.75rem; border-radius: 8px; font-weight: 700; font-size: 0.9rem; cursor: pointer; transition: background 0.2s; margin-top: 0.5rem; }
.btn-submit-contact:hover { background: var(--primary-dark); }

/* FOOTER */
footer { border-top: 1px solid var(--border); background: var(--dark-deep); padding: 2.5rem 1.5rem; text-align: center; font-size: 0.8rem; color: #64748b; }

/* LOGIN MODAL BACKDROP */
.login-modal-backdrop { 
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; 
    background: rgba(9, 13, 22, 0.8); backdrop-filter: blur(8px); 
    z-index: 5000; align-items: center; justify-content: center; 
    padding: 1rem;
}

.portal-layout { 
    display: grid; 
    grid-template-columns: 1fr 0.9fr; 
    width: 900px; 
    max-width: 100%; 
    height: 560px;
    background: var(--dark-section); 
    border: 1px solid var(--border); 
    border-radius: 20px; 
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7); 
    overflow: hidden;
    position: relative;
}

.btn-close-modal { position: absolute; top: 1.25rem; right: 1.25rem; background: none; border: none; color: #94a3b8; cursor: pointer; transition: color 0.2s; z-index: 10; }
.btn-close-modal:hover { color: white; }

.branding-panel { 
    background: linear-gradient(135deg, rgba(3, 41, 80, 0.8) 0%, rgba(15, 23, 42, 0.95) 100%);
    padding: 2.5rem; 
    display: flex; 
    flex-direction: column; 
    justify-content: space-between; 
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}
.branding-panel h2 { font-family: var(--font-display); font-size: 1.8rem; font-weight: 800; color: white; line-height: 1.25; margin-top: 2rem; }
.branding-panel p { font-size: 0.85rem; color: #94a3b8; line-height: 1.5; margin-top: 0.5rem; font-weight: 300; }

.login-panel { padding: 2.5rem; display: flex; flex-direction: column; justify-content: center; }
.login-header-form { margin-bottom: 1.5rem; }
.login-header-form h3 { font-family: var(--font-display); font-size: 1.4rem; color: white; margin-bottom: 0.25rem; font-weight: 700; }
.login-header-form p { font-size: 0.8rem; color: #94a3b8; }

.form-control { width: 100%; padding: 0.65rem 0.85rem 0.65rem 2.25rem; background: var(--dark-deep); border: 1px solid rgba(255,255,255,0.08); border-radius: 8px; color: white; font-size: 0.85rem; outline: none; }
.form-control:focus { border-color: var(--primary-light); }
.btn-login { width: 100%; background: var(--primary); color: white; border: none; padding: 0.75rem; border-radius: 8px; font-weight: 700; font-size: 0.9rem; cursor: pointer; transition: background 0.2s; display: flex; align-items: center; justify-content: center; gap: 0.4rem; margin-top: 1rem; }
.btn-login:hover { background: var(--primary-dark); }

.accounts-box { margin-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 1rem; }
.accounts-title { font-size: 0.7rem; font-weight: 700; color: #64748b; text-transform: uppercase; margin-bottom: 0.5rem; }
.accounts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem; }
.account-chip { background: rgba(15, 23, 42, 0.4); border: 1px solid rgba(255,255,255,0.05); border-radius: 6px; padding: 0.4rem; text-align: left; cursor: pointer; }
.account-chip:hover { border-color: var(--primary-light); }
.account-role { font-size: 0.65rem; color: var(--primary-light); font-weight: 700; display: block; }
.account-details { font-size: 0.7rem; color: #94a3b8; display: block; margin-top: 0.1rem; }

.menu-toggle { display: none; background: none; border: none; color: #94a3b8; cursor: pointer; padding: 0.5rem; transition: color 0.2s; align-items: center; justify-content: center; }
.menu-toggle:hover { color: white; }
.menu-toggle i { width: 22px; height: 22px; }

@media (max-width: 768px) {
    .menu-toggle { display: flex; }
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(9, 13, 22, 0.98);
        backdrop-filter: blur(16px);
        border-bottom: 1px solid var(--border);
        padding: 1.5rem;
        gap: 1.25rem;
        align-items: stretch;
        text-align: center;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    }
    .nav-links.show {
        display: flex;
    }
    .nav-links a {
        font-size: 0.95rem;
        padding: 0.5rem 0;
        display: block;
        width: 100%;
    }
    .btn-portal {
        justify-content: center;
        width: 100%;
        padding: 0.7rem;
    }
    .hero { padding-top: 100px; }
    .hero-text h1 { font-size: 2.2rem; }
    .hero-text p { font-size: 0.95rem; }
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-image-area { display: none; }
    .hero-btns { justify-content: center; }
    .about-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .contact-layout { grid-template-columns: 1fr; }
    .contact-form { grid-template-columns: 1fr; }
    .btn-submit-contact { grid-column: span 1; }
    
    /* Login Modal Mobile Optimizations */
    .login-modal-backdrop {
        align-items: flex-start !important;
        overflow-y: auto;
        padding: 3rem 1rem 1.5rem;
    }
    .portal-layout {
        grid-template-columns: 1fr;
        height: auto;
        width: 100%;
        max-width: 420px;
        margin: 0 auto;
        border-radius: 16px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }
    .branding-panel { display: none; }
    .login-panel {
        padding: 2.25rem 1.25rem 1.5rem;
    }
    .login-header-form {
        margin-bottom: 1.25rem;
        text-align: center;
    }
    .login-header-form h3 {
        font-size: 1.25rem;
    }
    .accounts-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    .account-chip {
        padding: 0.5rem 0.75rem;
    }
    .btn-close-modal {
        top: 1rem;
        right: 1rem;
    }
}
