/*
  Fallback CSS for shared hosting without Vite build.

  This is the full custom stylesheet from resources/css/app.css with the Tailwind/Vite directives
  removed (@import 'tailwindcss', @source, @theme). It restores the complete UI styling without
  requiring a build step.

  Note: Tailwind utility classes are not available in this mode. We include the few utilities
  used in templates (bg-dark, text-light, antialiased) as small helpers below.
*/

/* ============================================
   NETLINO - Modern Dark Theme CSS
   ============================================ */

:root {
    /* Colors */
    --bg-dark: #0a0a0f;
    --bg-card: #12121a;
    --bg-elevated: #1a1a24;
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);
    
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.4);
    
    --accent: #6366f1;
    --accent-light: #818cf8;
    --accent-dark: #4f46e5;
    --accent-glow: rgba(99, 102, 241, 0.3);
    
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    
    --gradient-1: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    --gradient-2: linear-gradient(135deg, #0ea5e9 0%, #6366f1 100%);
    
    /* Typography */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --container-max: 1200px;
    --section-padding: 100px;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-main);
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Defensive list reset (prevents nav bullets / layout regressions in fallback mode) */
ul, ol {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

/* Minimal utilities used by templates (Tailwind replacements) */
.bg-dark { background: var(--bg-dark); }
.text-light { color: var(--text-primary); }
.antialiased {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img { max-width: 100%; display: block; }

/* ============================================
   UTILITY CLASSES
   ============================================ */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: var(--section-padding) 0;
    position: relative;
}

.section-dark { background: var(--bg-card); }

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--accent-glow);
    color: var(--accent-light);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 16px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Glass Card */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
}

.glass-card:hover {
    border-color: var(--border-hover);
    background: rgba(255, 255, 255, 0.05);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius);
    transition: var(--transition);
    white-space: nowrap;
}

.btn-sm { padding: 8px 16px; font-size: 0.875rem; }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-full { width: 100%; }

.btn-primary {
    background: var(--gradient-1);
    color: white;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow);
}

.btn-ghost {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--border-hover);
}

.btn-google, .btn-discord {
    padding: 12px 20px;
    border-radius: var(--radius);
    font-weight: 500;
    border: 1px solid var(--border);
    background: var(--bg-elevated);
}

.btn-google:hover, .btn-discord:hover { background: rgba(255, 255, 255, 0.08); }

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img { height: 40px; width: auto; }

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-fallback {
    width: 40px;
    height: 40px;
    background: var(--gradient-1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-links a {
    padding: 10px 16px;
    color: var(--text-secondary);
    font-weight: 500;
    border-radius: var(--radius);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.nav-auth {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* User Dropdown */
.user-dropdown { position: relative; }

.user-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px 6px 6px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    color: var(--text-primary);
    transition: var(--transition);
}

.user-chip:hover { border-color: var(--border-hover); }

.user-avatar {
    width: 32px;
    height: 32px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.user-name { font-weight: 500; }

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 180px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
}

.dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    font-size: 0.95rem;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--bg-dark);
    border-bottom: 1px solid var(--border);
    padding: 20px;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-menu ul { list-style: none; margin-bottom: 20px; }

.mobile-menu a {
    display: block;
    padding: 12px 0;
    color: var(--text-secondary);
    font-weight: 500;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.mobile-menu a:hover { color: var(--text-primary); }

.mobile-auth { display: flex; flex-direction: column; gap: 12px; }

@media (max-width: 768px) {
    .nav-links, .nav-auth { display: none; }
    .hamburger { display: flex; }
    .user-name { display: none; }
}

/* Never show the mobile menu on desktop widths (prevents weird “Register” bar on wide screens) */
@media (min-width: 769px) {
    .mobile-menu { display: none !important; }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: float 20s ease-in-out infinite;
}

.orb-1 { width: 600px; height: 600px; background: var(--accent); top: -200px; right: -200px; }
.orb-2 { width: 400px; height: 400px; background: #8b5cf6; bottom: -100px; left: -100px; animation-delay: -5s; }
.orb-3 { width: 300px; height: 300px; background: #0ea5e9; top: 50%; left: 50%; transform: translate(-50%, -50%); animation-delay: -10s; }

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(30px, -30px); }
    50% { transform: translate(-20px, 20px); }
    75% { transform: translate(20px, 10px); }
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    padding: 0 24px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    margin-bottom: 32px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    min-height: 1.2em;
}

.typewriter {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cursor {
    color: var(--accent);
    animation: blink 1s step-end infinite;
}

@keyframes blink { 50% { opacity: 0; } }

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--text-secondary);
    margin-bottom: 40px;
    min-height: 1.5em;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    gap: 48px;
    justify-content: center;
    flex-wrap: wrap;
}

.stat { text-align: center; }

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-suffix { font-size: 1.5rem; font-weight: 700; color: var(--accent-light); }
.stat-label { display: block; color: var(--text-muted); font-size: 0.9rem; margin-top: 4px; }

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.8rem;
    animation: bounce 2s infinite;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--text-muted);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

@keyframes scroll {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}

/*
  The remainder of the stylesheet continues exactly as in resources/css/app.css
  (services, tech stack, forms, contact, footer, dashboard, animations, etc.).
*/

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.service-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.service-card:hover::before { transform: scaleX(1); }

.service-card.featured {
    border-color: var(--accent);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.05));
}

.featured-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 4px 12px;
    background: var(--gradient-1);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-glow);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--accent-light);
}

.service-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 12px; }
.service-card p { color: var(--text-secondary); margin-bottom: 16px; }

.service-tags { display: flex; gap: 8px; flex-wrap: wrap; }

.service-tags span {
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ============================================
   TECH STACK (Infinite Marquee)
   ============================================ */
.tech-marquee-container {
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    padding: 20px 0;
    overflow: hidden;
}

.tech-marquee {
    display: flex;
    overflow: hidden;
    user-select: none;
    margin-bottom: 24px;
}

.tech-track {
    display: flex;
    gap: 24px;
    animation: marquee-scroll 40s linear infinite;
    min-width: max-content;
}

.marquee-right .tech-track {
    animation-direction: reverse;
}

.tech-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1.1rem;
    white-space: nowrap;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.tech-card:hover {
    border-color: var(--accent);
    background: rgba(99, 102, 241, 0.1);
    box-shadow: 0 0 20px var(--accent-glow);
    transform: translateY(-4px) scale(1.02);
    cursor: default;
}

.tech-icon {
    font-size: 1.5rem;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.2));
}

.tech-icon-svg {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

@keyframes marquee-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Pause on hover (desktop only) */
@media (hover: hover) {
    .tech-marquee:hover .tech-track {
        animation-play-state: paused;
    }
}
.tech-icon { font-size: 1.2rem; }

/* ============================================
   REQUEST SECTION
   ============================================ */
.request-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 48px;
    align-items: start;
}

@media (max-width: 900px) { .request-grid { grid-template-columns: 1fr; } }

.request-info h3 { font-size: 1.5rem; margin-bottom: 24px; }

.benefits-list { list-style: none; margin-bottom: 32px; }

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
}

.benefits-list svg { color: var(--success); flex-shrink: 0; }

.contact-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
}

.contact-box h4 { margin-bottom: 12px; color: var(--accent-light); }
.contact-box p { color: var(--text-secondary); margin: 8px 0; }

.request-form-card { padding: 40px; }

/* Auth Prompt */
.auth-prompt { text-align: center; padding: 40px 20px; }

.auth-prompt-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: var(--accent-glow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-light);
}

.auth-prompt h3 { font-size: 1.5rem; margin-bottom: 12px; }
.auth-prompt p { color: var(--text-secondary); margin-bottom: 24px; max-width: 400px; margin-left: auto; margin-right: auto; }
.auth-buttons { display: flex; gap: 16px; justify-content: center; }

/* ============================================
   FORMS
   ============================================ */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.form-group { position: relative; margin-bottom: 20px; }

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 16px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group label {
    position: absolute;
    left: 16px;
    top: 16px;
    color: var(--text-muted);
    pointer-events: none;
    transition: var(--transition);
    background: var(--bg-elevated);
    padding: 0 4px;
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label,
.form-group select:focus + label,
.form-group select:valid + label {
    top: -8px;
    left: 12px;
    font-size: 0.8rem;
    color: var(--accent-light);
}

.form-group select + label { top: -8px; left: 12px; font-size: 0.8rem; }

.file-group { margin-bottom: 24px; }
.file-group input[type="file"] { padding: 20px; border-style: dashed; }
.file-label { position: static !important; display: block; margin-bottom: 8px; color: var(--text-secondary) !important; }
.file-hint { display: block; font-size: 0.8rem; color: var(--text-muted); margin-top: 8px; }

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 48px;
    align-items: start;
}

@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info { display: flex; flex-direction: column; gap: 24px; }

.contact-item { display: flex; align-items: center; gap: 16px; color: var(--text-secondary); }
.contact-item svg { color: var(--accent-light); flex-shrink: 0; }
.contact-item div { display: flex; flex-direction: column; }
.contact-item strong { color: var(--text-primary); }
.contact-form { padding: 40px; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}

@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand p { color: var(--text-secondary); margin-top: 16px; max-width: 300px; }
.footer-links h4 { color: var(--text-primary); font-size: 1rem; margin-bottom: 16px; }
.footer-links a { display: block; color: var(--text-secondary); padding: 6px 0; transition: var(--transition); }
.footer-links a:hover { color: var(--accent-light); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; text-align: center; color: var(--text-muted); font-size: 0.9rem; }

/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 20px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    min-width: 300px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transform: translateX(100%);
    opacity: 0;
    transition: var(--transition);
}

.toast.show { transform: translateX(0); opacity: 1; }
.toast-success { border-left: 4px solid var(--success); }
.toast-error { border-left: 4px solid var(--error); }
.toast button { color: var(--text-muted); font-size: 1.2rem; padding: 4px; }

/* ============================================
   AUTH PAGES
   ============================================ */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    background: var(--bg-dark);
}

.auth-card { width: 100%; max-width: 440px; padding: 48px; }
.auth-header { text-align: center; margin-bottom: 32px; }
.auth-header img { height: 50px; margin: 0 auto 24px; }
.auth-header h1 { font-size: 1.75rem; margin-bottom: 8px; }
.auth-header p { color: var(--text-secondary); }

.auth-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.auth-divider::before,
.auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }

.auth-social { display: flex; gap: 12px; margin-bottom: 24px; }
.auth-social .btn { flex: 1; }
.auth-footer { text-align: center; margin-top: 24px; color: var(--text-secondary); }
.auth-footer a { color: var(--accent-light); font-weight: 500; }
.auth-footer a:hover { text-decoration: underline; }

/* ============================================
   DASHBOARD MODERN
   ============================================ */
.dashboard-container { 
    max-width: 1400px;
    margin: 0 auto;
    padding: 120px 24px 60px;
    min-height: 100vh;
}

.dashboard-header-modern {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 48px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.welcome-text {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
}

/* Modern Glow Button */
.btn-glow-modern {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--accent);
    color: white;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px -5px rgba(99, 102, 241, 0.5);
    border: 1px solid transparent;
}

.btn-glow-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px -5px rgba(99, 102, 241, 0.6);
    background: var(--accent-light);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.stat-card-modern {
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 28px;
    display: flex;
    align-items: center;
    gap: 24px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.stat-card-modern:hover {
    transform: translateY(-4px);
    border-color: rgba(99, 102, 241, 0.2);
    background: rgba(30, 41, 59, 0.6);
}

.stat-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 4px;
}

.icon-blue { background: rgba(59, 130, 246, 0.1); color: #60a5fa; }
.icon-purple { background: rgba(139, 92, 246, 0.1); color: #a78bfa; }
.icon-green { background: rgba(16, 185, 129, 0.1); color: #34d399; }

.stat-icon { width: 32px; height: 32px; }

.stat-info { display: flex; flex-direction: column; }
.stat-value {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.1;
    margin-bottom: 4px;
}
.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Content Grid & Table */
.dashboard-content-grid {
    display: grid;
    gap: 32px;
}

.content-card-modern {
    background: rgba(30, 41, 59, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
}

.card-header {
    padding: 24px 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-header h3 { font-size: 1.25rem; font-weight: 700; color: var(--text-primary); }

.modern-table-container { padding: 8px 0; }
.modern-table { width: 100%; border-collapse: separate; border-spacing: 0; }

.modern-table th {
    text-align: left;
    padding: 16px 32px;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.modern-table td {
    padding: 20px 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
    vertical-align: middle;
    transition: background 0.2s;
}

.modern-table tr:last-child td { border-bottom: none; }
.modern-table tr:hover td { background: rgba(255, 255, 255, 0.02); }

.table-project-info { display: flex; align-items: center; gap: 16px; }
.project-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--accent), var(--secondary));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.project-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1rem;
}

/* Status Badges */
.status-badge {
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-block;
}

.status-pending { background: rgba(251, 146, 60, 0.15); color: #fb923c; border: 1px solid rgba(251, 146, 60, 0.2); }
.status-in_progress { background: rgba(56, 189, 248, 0.15); color: #38bdf8; border: 1px solid rgba(56, 189, 248, 0.2); }
.status-completed { background: rgba(52, 211, 153, 0.15); color: #34d399; border: 1px solid rgba(52, 211, 153, 0.2); }
.status-rejected { background: rgba(248, 113, 113, 0.15); color: #f87171; border: 1px solid rgba(248, 113, 113, 0.2); }

.btn-icon-only {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: var(--text-muted);
    transition: all 0.2s;
}

.btn-icon-only:hover { background: rgba(255,255,255,0.1); color: var(--text-primary); }

.empty-state { text-align: center; padding: 60px 20px; color: var(--text-muted); }
.empty-icon { font-size: 3rem; margin-bottom: 16px; opacity: 0.5; }

@media (max-width: 768px) {
    .dashboard-header-modern { flex-direction: column; align-items: flex-start; gap: 24px; }
    .modern-table th, .modern-table td { padding: 16px; }
    .status-badge { display: block; text-align: center; width: fit-content; }
}

/* Cursor Glow */
.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-in { animation: fadeInUp 0.6s ease forwards; }

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-fade-in { animation: fadeIn 1s ease forwards; }
.animate-fade-in-delay { animation: fadeIn 1s ease 0.3s forwards; opacity: 0; }
.animate-fade-in-delay-2 { animation: fadeIn 1s ease 0.6s forwards; opacity: 0; }

/* ============================================
   ENHANCED TYPEWRITER
   ============================================ */
.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 0;
    min-height: 1.2em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.hero-title-sub {
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    min-height: 1.2em;
}

.typewriter-line {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.typewriter-cursor {
    color: var(--accent);
    font-weight: 300;
    margin-left: 4px;
    animation: none;
}

/* ============================================
   ENHANCED STATS
   ============================================ */
.hero-stats {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    align-items: center;
}

.stat-card {
    text-align: center;
    padding: 20px 32px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.stat-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 10px 40px var(--accent-glow);
}

.stat-divider {
    width: 1px;
    height: 60px;
    background: var(--border);
}

@media (max-width: 768px) {
    .stat-divider { display: none; }
    .hero-stats { gap: 16px; }
    .stat-card { padding: 16px 24px; }
}

/* ============================================
   GLOW BUTTON
   ============================================ */
.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: 0.5s;
}

.btn-glow:hover::before {
    left: 100%;
}

/* ============================================
   PARTICLES
   ============================================ */
.particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.3;
    animation: particleFloat 10s infinite ease-in-out;
}

@keyframes particleFloat {
    0%, 100% { transform: translateY(0) translateX(0); opacity: 0.3; }
    25% { transform: translateY(-30px) translateX(10px); opacity: 0.6; }
    50% { transform: translateY(-60px) translateX(-10px); opacity: 0.3; }
    75% { transform: translateY(-30px) translateX(20px); opacity: 0.6; }
}

/* ============================================
   PARTNER SECTION
   ============================================ */
.partner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    max-width: 800px;
    margin: 0 auto 48px;
}

.partner-card {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    text-decoration: none;
}

.partner-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.15);
}

.partner-logo {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.partner-logo-fallback {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    color: white;
}

.partner-info h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.partner-info p {
    color: var(--text-secondary);
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.partner-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-light);
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
}

.partner-card:hover .partner-link {
    gap: 12px;
}

.partner-cta {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.partner-cta p {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

@media (max-width: 480px) {
    .hero-stats { gap: 24px; }
    .stat-number { font-size: 2rem; }
    .glass-card { padding: 24px; }
    .request-form-card, .contact-form, .auth-card { padding: 24px; }
    .partner-card { flex-direction: column; text-align: center; }
    .partner-grid { grid-template-columns: 1fr; }
}

/* ============================================
   TICKET SYSTEM & SUPPORT PAGE
   ============================================ */

/* Typewriting Support Hero */
.support-hero {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: radial-gradient(circle at center, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
}

.typewriter h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-primary);
    overflow: hidden;
    white-space: nowrap;
    border-right: 4px solid var(--accent);
    margin: 0 auto;
    animation: 
        typing 3.5s steps(30, end),
        blink-caret 0.75s step-end infinite;
}

@keyframes typing { from { width: 0 } to { width: 100% } }
@keyframes blink-caret { from, to { border-color: transparent } 50% { border-color: var(--accent) } }

.support-actions {
    display: flex;
    gap: 24px;
    margin-top: 48px;
}

/* Chat Interface */
.chat-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 24px;
    max-height: 600px;
    overflow-y: auto;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.message-bubble {
    max-width: 80%;
    padding: 16px 24px;
    border-radius: 20px;
    position: relative;
    line-height: 1.6;
}

.msg-user {
    align-self: flex-end;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: white;
    border-bottom-right-radius: 4px;
}

.msg-support {
    align-self: flex-start;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    color: var(--text-primary);
    border-bottom-left-radius: 4px;
}

.msg-meta {
    font-size: 0.75rem;
    opacity: 0.7;
    margin-top: 8px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.attachment-preview {
    margin-top: 12px;
    padding: 12px;
    background: rgba(0,0,0,0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Attachment Dropzone */
.file-upload-modern {
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.file-upload-modern:hover {
    border-color: var(--accent);
    background: rgba(99, 102, 241, 0.05);
}

/* ============================================
   MODERN DASHBOARD LAYOUT (SIDEBAR)
   ============================================ */

.dashboard-wrapper {
    display: flex;
    min-height: 100vh;
    padding-top: 80px; /* Navbar height */
}

/* Sidebar */
.modern-sidebar {
    width: 280px;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-right: 1px solid var(--border);
    position: fixed;
    top: 80px; /* Below navbar */
    bottom: 0;
    left: 0;
    padding: 32px 20px;
    display: flex;
    flex-direction: column;
    z-index: 90;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-header {
    margin-bottom: 40px;
    padding-left: 12px;
}

.sidebar-brand {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Sidebar Navigation */
.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 12px;
    color: var(--text-secondary);
    font-weight: 500;
    transition: all 0.2s;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.nav-item:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.03);
}

.nav-item.active {
    background: rgba(99, 102, 241, 0.1);
    color: var(--accent-light);
    font-weight: 600;
}

.nav-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 20px;
    width: 3px;
    background: var(--accent);
    border-radius: 0 4px 4px 0;
}

.nav-icon {
    width: 20px;
    height: 20px;
    opacity: 0.8;
}

.nav-item.active .nav-icon {
    opacity: 1;
}

/* Sidebar Footer (User) */
.sidebar-footer {
    padding-top: 24px;
    border-top: 1px solid var(--border);
    margin-top: auto;
}

.sidebar-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
    transition: background 0.2s;
    cursor: pointer;
}

.sidebar-user:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* Main Content Area */
.dashboard-main {
    flex: 1;
    margin-left: 280px; /* Sidebar width */
    padding: 40px;
    width: calc(100% - 280px);
}

/* Typewriter in Sidebar */
.sidebar-typewriter {
    font-size: 0.8rem;
    color: var(--text-muted);
    min-height: 1.2em;
    margin-top: 4px;
}

/* Mobile Responsive Sidebar */
@media (max-width: 992px) {
    .modern-sidebar {
        transform: translateX(-100%);
        width: 280px;
        background: var(--bg-card); /* Solid bg on mobile */
    }
    
    .dashboard-main {
        margin-left: 0;
        width: 100%;
        padding: 24px;
    }

    .modern-sidebar.open {
        transform: translateX(0);
    }
}

/* Fix for Stats Grid in Main Content */
.stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); /* Better sizing */
    margin-top: 24px;
}

/* Custom Tickets Card Design */
.ticket-stat-card {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.02));
    border: 1px solid rgba(245, 158, 11, 0.2);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.ticket-stat-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.1) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
}

.ticket-stat-card:hover::after {
    opacity: 1;
}

.ticket-stat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(245, 158, 11, 0.4);
    box-shadow: 0 10px 30px -10px rgba(245, 158, 11, 0.3);
}

.ticket-icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(245, 158, 11, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fb923c;
    margin-bottom: 16px;
}


