/* AltViolet Ultra - Modern Internal Portal Website */

:root {
    --violet: #8B5CF6;
    --violet-dark: #6D28D9;
    --violet-light: #A78BFA;
    --deep-purple: #1E1B4B;
    --darker: #0F0A1E;
    --text: #F8FAFC;
    --text-muted: #94A3B8;
    --card-bg: rgba(30, 27, 75, 0.6);
    --border: rgba(139, 92, 246, 0.2);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system_ui, -apple-system, sans-serif;
    background: var(--darker);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 10, 30, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1.25rem;
}

.logo img {
    height: 40px;
    width: auto;
    border-radius: 8px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--violet-light);
}

.portal-btn {
    background: linear-gradient(135deg, var(--violet), var(--violet-dark));
    color: white !important;
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    font-weight: 600;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--text);
    transition: 0.3s;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: url('hero-bg.jpg') center/cover no-repeat;
    background-attachment: fixed;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 10, 30, 0.85) 0%, rgba(30, 27, 75, 0.7) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 2rem;
}

.badge {
    display: inline-block;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid var(--border);
    color: var(--violet-light);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--violet-light), var(--violet));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn.primary {
    background: linear-gradient(135deg, var(--violet), var(--violet-dark));
    color: white;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
}

.btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.5);
}

.btn.secondary {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}

.btn.secondary:hover {
    border-color: var(--violet);
    background: rgba(139, 92, 246, 0.1);
}

.btn.large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

/* Sections */
section {
    padding: 6rem 0;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 4vw, 2.75rem);
    text-align: center;
    margin-bottom: 1rem;
}

.section-lead {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.125rem;
    max-width: 700px;
    margin: 0 auto 3rem;
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.about-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
    border-color: var(--violet);
}

.about-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.about-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.about-card p {
    color: var(--text-muted);
}

/* Suite */
.suite {
    background: linear-gradient(180deg, transparent, rgba(30, 27, 75, 0.3));
}

.suite-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.suite-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.75rem;
    position: relative;
    transition: all 0.3s ease;
}

.suite-card:hover {
    border-color: var(--violet);
    transform: translateY(-4px);
}

.suite-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.suite-card h3 {
    margin-bottom: 0.5rem;
}

.suite-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.status {
    display: inline-block;
    background: rgba(139, 92, 246, 0.15);
    color: var(--violet-light);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Preview */
.preview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.preview-text h2 {
    text-align: left;
}

.preview-text p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    margin-bottom: 2rem;
}

.feature-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-muted);
}

.feature-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--violet);
}

.preview-image {
    position: relative;
}

.preview-image img {
    width: 100%;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.image-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.3), transparent 70%);
    z-index: -1;
    filter: blur(40px);
}

/* CTA */
.cta {
    background: linear-gradient(135deg, rgba(109, 40, 217, 0.2), rgba(139, 92, 246, 0.1));
    text-align: center;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.cta h2 {
    margin-bottom: 1rem;
}

.cta p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2rem;
    font-size: 1.125rem;
}

/* Footer */
footer {
    background: var(--darker);
    border-top: 1px solid var(--border);
    padding: 3rem 0;
}

.footer-content {
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
}

.footer-brand img {
    height: 32px;
    border-radius: 6px;
}

.footer-tagline {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--violet-light);
}

.copyright {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--deep-purple);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2.5rem;
    max-width: 450px;
    text-align: center;
    position: relative;
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-content h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.modal-content p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.close {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
}

.close:hover {
    color: var(--text);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(15, 10, 30, 0.98);
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
        border-bottom: 1px solid var(--border);
    }

    .nav-links.active {
        display: flex;
    }

    .hamburger {
        display: flex;
    }

    .preview-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .preview-text h2 {
        text-align: center;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    animation: fadeInUp 1s ease;
}

.about-card, .suite-card {
    animation: fadeInUp 0.6s ease backwards;
}

.about-card:nth-child(2) { animation-delay: 0.1s; }
.about-card:nth-child(3) { animation-delay: 0.2s; }
.suite-card:nth-child(2) { animation-delay: 0.1s; }
.suite-card:nth-child(3) { animation-delay: 0.2s; }
.suite-card:nth-child(4) { animation-delay: 0.3s; }
/* ============================================
   LOGIN SCREEN STYLES
   ============================================ */

.login-screen {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.login-background {
    position: absolute;
    inset: 0;
    background: url('hero-bg.jpg') center/cover no-repeat;
    z-index: -2;
}

.login-background::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 10, 30, 0.9) 0%, rgba(30, 27, 75, 0.85) 100%);
    z-index: -1;
}

.login-container {
    width: 100%;
    max-width: 440px;
    padding: 2rem 1.5rem;
}

.login-card {
    background: rgba(30, 27, 75, 0.75);
    backdrop-filter: blur(24px);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-logo {
    height: 64px;
    width: auto;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.login-header h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.login-header h1 span {
    background: linear-gradient(135deg, var(--violet-light), var(--violet));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.login-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Forms */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.auth-form.hidden {
    display: none;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
}

.form-group input {
    background: rgba(15, 10, 30, 0.6);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.875rem 1rem;
    color: var(--text);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--violet);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}

.form-group input::placeholder {
    color: rgba(148, 163, 184, 0.5);
}

.password-wrapper {
    position: relative;
}

.password-wrapper input {
    width: 100%;
    padding-right: 3rem;
}

.toggle-password {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toggle-password:hover {
    color: var(--violet-light);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    cursor: pointer;
}

.checkbox-label input {
    accent-color: var(--violet);
    width: 16px;
    height: 16px;
}

.forgot-link {
    color: var(--violet-light);
    text-decoration: none;
    font-weight: 500;
}

.forgot-link:hover {
    text-decoration: underline;
}

.btn.full-width {
    width: 100%;
    margin-top: 0.5rem;
}

.form-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 1rem 0;
}

.success-message.hidden {
    display: none;
}

.success-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--violet), var(--violet-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto 1.25rem;
}

.success-message h3 {
    font-family: 'Space Grotesk', sans-serif;
    margin-bottom: 0.75rem;
}

.success-message p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* Dashboard */
.dashboard {
    min-height: 100vh;
    background: var(--darker);
}

.dashboard.hidden {
    display: none;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-badge {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.btn.small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.dashboard-main {
    padding: 6rem 0 3rem;
}

.welcome-banner {
    text-align: center;
    margin-bottom: 3rem;
}

.welcome-banner h2 {
    font-family: 'Space Grotesk', sans-serif;
    margin-bottom: 0.75rem;
}

.welcome-banner p {
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto;
}

.preview-section {
    margin-top: 3rem;
    text-align: center;
}

.preview-section h3 {
    font-family: 'Space Grotesk', sans-serif;
    margin-bottom: 1.5rem;
}

.dashboard-preview-img {
    max-width: 700px;
    width: 100%;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

@media (max-width: 480px) {
    .login-card {
        padding: 2rem 1.5rem;
    }
    
    .form-options {
        flex-direction: column;
        gap: 0.75rem;
        align-items: flex-start;
    }
}
