/* ==========================================================================
   PUBLIC LANDING PAGE STYLES - SHULEVORA (BLUE & GREEN PREMIUM)
   ========================================================================== */

/* Body override for public pages to enable scrolling */
html.public-mode, 
body.public-mode,
body.public-mode #app,
body:has(.public-layout-root) #app,
body:has(.login-split-layout) #app,
body:has(.glass-login-root) #app {
    overflow: visible !important;
    height: auto !important;
    min-height: 100vh;
    display: block !important;
}

body.public-mode,
body:has(.public-layout-root),
body:has(.login-split-layout),
body:has(.glass-login-root) {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    height: auto !important;
}

:root {
    --brand-blue: #0284c7;
    --brand-blue-dark: #0f172a;
    --brand-green: #10b981;
    --brand-green-light: #d1fae5;
    --brand-blue-light: #e0f2fe;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
}

.public-layout-root {
    width: 100%;
    max-width: 100vw;
    font-family: 'Inter', sans-serif;
    background: #0f172a; /* Solid Deep Slate Base */
    color: #f8fafc;
    scroll-behavior: smooth;
}

.public-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- Animations --- */
.fade-up-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-up-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.text-balance {
    text-wrap: balance;
}

.text-break-word {
    overflow-wrap: break-word;
    word-break: break-word;
}


/* --- Public Header & Nav --- */
.public-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(16px);
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.public-header.scrolled {
    background: rgba(15, 23, 42, 0.98);
    box-shadow: 0 4px 30px rgba(0,0,0,0.4);
    border-bottom: 1px solid rgba(0,0,0,0.2);
    padding: 0.5rem 0;
}

.public-nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    transition: padding 0.3s ease;
}

.public-nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.public-nav-links a {
    color: rgba(255,255,255,0.7);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.public-nav-links a:hover {
    color: white;
}

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

.public-hamburger {
    display: none;
    font-size: 1.75rem;
    cursor: pointer;
    color: white;
}

/* --- Mobile Navigation Drawer --- */
.public-mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: #0f172a;
    box-shadow: -10px 0 50px rgba(0,0,0,0.5);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 1px solid rgba(255,255,255,0.1);
}

.public-mobile-nav.open {
    right: 0;
}

.public-mobile-close {
    align-self: flex-end;
    font-size: 1.5rem;
    cursor: pointer;
    color: white;
    margin-bottom: 2rem;
}

.public-mobile-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.public-mobile-links a {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
}

/* --- Hero Section & Custom Slider --- */
.hero-section {
    position: relative;
    padding: 8rem 0 6rem 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    overflow: hidden;
    text-align: center;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 20% -10%, rgba(56, 189, 248, 0.3) 0%, transparent 40%),
                radial-gradient(circle at 80% 50%, rgba(16, 185, 129, 0.25) 0%, transparent 40%);
    pointer-events: none;
}

.hero-bg-glow {
    position: absolute;
    top: -10%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(2, 132, 199, 0.08) 0%, rgba(16, 185, 129, 0.04) 50%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--brand-blue-light);
    color: var(--brand-blue);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(2, 132, 199, 0.1);
}

.hero-title {
    font-size: 5rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.1;
    color: white;
    margin-bottom: 1.5rem;
    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
}

.hero-title span {
    background: linear-gradient(135deg, #38bdf8 0%, #34d399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.8);
    max-width: 700px;
    margin: 0 auto 2.5rem auto;
    line-height: 1.6;
}

/* Custom Hero Slider */
.hero-slider-wrapper {
    position: relative;
    max-width: 1050px;
    margin: 4rem auto 0 auto;
    border-radius: 20px;
    box-shadow: 0 40px 80px -20px rgba(2, 132, 199, 0.15), 0 0 0 1px rgba(0,0,0,0.05);
    z-index: 2;
    overflow: hidden;
    background: #0f172a;
    aspect-ratio: 16 / 9;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    transform: scale(1.05);
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.slider-controls {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 1rem;
    align-items: center;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    padding: 0.5rem 1.5rem;
    border-radius: 100px;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s;
}

.slider-dot.active {
    background: var(--brand-green);
    transform: scale(1.2);
}

.slider-arrow {
    background: none;
    border: none;
    color: rgba(255,255,255,0.8);
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    padding: 0.25rem;
    transition: color 0.2s;
}

.slider-arrow:hover {
    color: white;
}

/* --- Trust Strip --- */
.trust-strip {
    padding: 3rem 0;
    background: transparent;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.trust-brands {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3rem;
    opacity: 0.8;
    align-items: center;
}

.trust-item {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

/* --- Section Pads & Title --- */
.section-pad {
    padding: 4.5rem 0;
}
.section-pad.dense {
    padding: 2rem 0;
}
.section-pad.flush-bottom {
    padding-bottom: 0;
}

.section-title {
    text-align: center;
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    letter-spacing: -0.04em;
    color: white;
    line-height: 1.1;
}

.section-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: #94a3b8;
    max-width: 700px;
    margin: 0 auto 4rem auto;
    line-height: 1.6;
}

/* --- Feature Grids --- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.premium-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border-radius: 24px;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.premium-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-blue) 0%, var(--brand-green) 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.premium-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.1);
    border-color: rgba(2, 132, 199, 0.2);
}

.premium-card:hover::after {
    opacity: 1;
}

.premium-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    background: var(--brand-blue-light);
    color: var(--brand-blue);
}

.premium-card.accent-green .premium-card-icon {
    background: var(--brand-green-light);
    color: var(--brand-green);
}

.premium-card h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: var(--brand-blue-dark);
}

.premium-card p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* --- High-Density Feature Grid (Section 6) --- */
.dense-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.dense-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 1.25rem;
    border-radius: 16px;
    font-weight: 700;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s;
}

.dense-item:hover {
    border-color: var(--brand-green);
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-2px);
}

.dense-item i {
    color: var(--brand-green);
    font-size: 1.25rem;
}

/* --- Alternating Splitted Sections --- */
.split-section {
    display: flex;
    align-items: center;
    gap: 5rem;
    padding: 6rem 0;
}

.split-section.reverse {
    flex-direction: row-reverse;
}

.split-content {
    flex: 1;
}

.split-content h2 {
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    color: white;
    margin-bottom: 1.5rem;
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    line-height: 1.1;
}

.split-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.split-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.split-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 1.05rem;
    color: var(--text-main);
}

.split-list i {
    color: var(--brand-green);
    font-size: 1.4rem;
    margin-top: 0.1rem;
}

.split-visual {
    flex: 1;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 40px 100px -20px rgba(0,0,0,0.4);
    aspect-ratio: 4 / 3;
    background: #0f172a;
    border: 1px solid rgba(255,255,255,0.05);
}

.split-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- Testimonials --- */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 3rem;
    border-radius: 24px;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.testimonial-quote {
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.6;
    color: var(--brand-blue-dark);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--brand-blue-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-blue);
    font-weight: 800;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-size: 6rem;
    font-family: Georgia, serif;
    color: rgba(255, 255, 255, 0.05);
    line-height: 1;
    z-index: 1;
}

/* --- FAQ Accordion --- */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-question {
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.1rem;
    transition: color 0.2s;
    color: var(--brand-blue-dark);
}

.faq-question:hover {
    color: var(--brand-blue);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: 1.5rem;
}

.faq-icon {
    transition: transform 0.3s ease;
    color: var(--brand-green);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* --- Final CTA --- */
.final-cta {
    background: linear-gradient(135deg, var(--brand-blue-dark) 0%, var(--brand-blue) 100%);
    padding: 7rem 2rem;
    text-align: center;
    color: white;
    border-radius: 32px;
    margin: 4rem 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(2, 132, 199, 0.4);
    position: relative;
    overflow: hidden;
}

.final-cta::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, transparent 60%);
    border-radius: 50%;
}

.final-cta h2 {
    font-size: 3.5rem;
    font-weight: 900;
    color: white;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.final-cta p {
    font-size: 1.25rem;
    opacity: 0.9;
    color: var(--brand-blue-light);
    max-width: 600px;
    margin: 0 auto 3rem auto;
    position: relative;
    z-index: 2;
}

.final-cta-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    position: relative;
    z-index: 2;
}

/* --- Public Footer --- */
.public-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 5rem 0 2rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-col h4 {
    color: white;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col li {
    margin-bottom: 0.75rem;
}

.footer-col a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

/* --- Global Responsive --- */
@media (max-width: 1024px) {
    .hero-title { font-size: 4rem; }
    .split-section { flex-direction: column !important; gap: 3rem; text-align: center; }
    .split-content h2 { text-align: center !important; margin-left: auto !important; margin-right: auto !important; }
    .split-list li { align-items: center; justify-content: center; flex-direction: column; text-align: center; gap: 0.5rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .public-nav-links, .public-nav-actions { display: none; }
    .public-hamburger { display: block; }
    .hero-title { font-size: 2.8rem; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .hero-slider-wrapper { margin-top: 2rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 1rem; }
    .final-cta { margin: 2rem 1rem; border-radius: 24px; padding: 4rem 1.5rem; }
    .final-cta h2 { font-size: 2.25rem; }
    .final-cta-actions { flex-direction: column; }
    .section-title { font-size: 2.2rem; }
}

/* === CONTACT PAGE STYLES === */
.contact-hero {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    padding: 6rem 0 3rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.contact-layout {
    display: flex;
    gap: 4rem;
    padding: 4rem 0;
}

.contact-form-wrapper {
    flex: 3;
    background: white;
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.1);
    border: 1px solid var(--border-color);
}

.contact-info-wrapper {
    flex: 2;
}

.contact-info-card {
    background: var(--brand-blue-dark);
    color: white;
    padding: 2.5rem;
    border-radius: 24px;
    margin-bottom: 2rem;
}

.contact-info-card h3 {
    color: white;
    margin-bottom: 1.5rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-item i {
    font-size: 1.5rem;
    color: var(--brand-green);
}

.input-stacked {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.5rem;
}

.input-stacked label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.input-stacked input, .input-stacked select, .input-stacked textarea {
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: #f8fafc;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.2s;
}

.input-stacked input:focus, .input-stacked select:focus, .input-stacked textarea:focus {
    outline: none;
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.2);
    background: white;
}

@media (max-width: 900px) {
    .contact-layout { flex-direction: column; }
    .contact-form-wrapper { padding: 2rem; }
}

/* === PREMIUM LOGIN PAGE SPLIT === */
.login-split-layout {
    display: flex;
    min-height: 100vh;
    overflow: hidden;
}

.login-left {
    flex: 1.2;
    background: linear-gradient(135deg, var(--brand-blue-dark) 0%, var(--brand-blue) 100%);
    position: relative;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem;
}

.login-left::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMDAgMjAwIj48cGF0aCBkPSJNMTAwIDBDNDQuOCAwIDAgNDQuOCAwIDEwMHM0NC44IDEwMCAxMDAgMTAwIDEwMC00NC44IDEwMC0xMDBTMTU1LjIgMCAxMDAgMHptMCA1MGMyNy42IDAgNTAgMjIuNCA1MCA1MHMtMjIuNCA1MC01MCA1MC01MC0yMi40LTUwLTUwIDIyLjQtNTAgNTAtNTB6IiBmaWxsPSJyZ2JhKDI1NSwyNTUsMjU1LDAuMDUpIi8+PC9zdmc+') repeat 0 0 / 100px 100px;
    opacity: 0.15;
}

.login-left-content {
    position: relative;
    z-index: 2;
    max-width: 480px;
}

.login-left-icon {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    color: var(--brand-green-light);
}

.login-left h1 {
    color: white;
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-align: left !important;
    padding-left: 0;
}

.login-left h1::before {
    display: none;
}

.login-left p {
    color: #e0f2fe;
    font-size: 1.1rem;
    line-height: 1.6;
}

.login-right {
    flex: 1;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.login-form-container {
    width: 100%;
    max-width: 440px;
}

@media (max-width: 900px) {
    .login-split-layout { flex-direction: column; }
    .login-left { padding: 3rem 2rem; flex: auto; min-height: 300px; }
    .login-left h1 { font-size: 2.5rem; }
    .login-right { padding: 3rem 1.5rem; }
}

/* ==========================================================================
   MAXIMALIST BENTO & MOCK UI UPGRADES
   ========================================================================== */

/* Colorful Gradients */
.bg-gradient-emerald {
    background: linear-gradient(135deg, var(--brand-green-light) 0%, #10b981 100%) !important;
    color: var(--brand-blue-dark);
}
.bg-gradient-deepblue {
    background: linear-gradient(135deg, var(--brand-blue-dark) 0%, #1e3a8a 100%) !important;
    color: white !important;
    border-color: rgba(2, 132, 199, 0.5) !important;
}
.bg-gradient-darkslate {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
    color: white !important;
    border-color: rgba(255,255,255,0.1) !important;
}
.bg-gradient-deepblue p, .bg-gradient-darkslate p {
    color: rgba(255,255,255,0.75) !important;
}
.bg-gradient-deepblue h3, .bg-gradient-darkslate h3 {
    color: white !important;
}
.bg-gradient-mesh {
    background: radial-gradient(at 0% 0%, rgba(2, 132, 199, 0.08) 0px, transparent 50%),
                radial-gradient(at 100% 100%, rgba(16, 185, 129, 0.08) 0px, transparent 50%),
                #0f172a;
}
.bg-dark-mesh {
    background: radial-gradient(at 0% 0%, rgba(2, 132, 199, 0.3) 0px, transparent 50%),
                radial-gradient(at 100% 100%, rgba(16, 185, 129, 0.15) 0px, transparent 50%),
                var(--brand-blue-dark);
}

/* Bento Grid System */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minsize;
    gap: 1.5rem;
}
.bento-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border-radius: 24px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.05);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}
.bento-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(2, 132, 199, 0.15);
    border-color: rgba(2, 132, 199, 0.3);
}
.bento-item.col-span-2 { grid-column: span 2; }
.bento-item.row-span-2 { grid-row: span 2; }
.bento-item h3 { font-size: 1.4rem; font-weight: 900; color: var(--brand-blue-dark); margin-bottom: 0.5rem; letter-spacing: -0.02em; }
.bento-item p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.5; margin: 0; }
.bento-icon { font-size: 2.2rem; margin-bottom: 1rem; color: var(--brand-blue); display: inline-block; padding: 1rem; background: var(--brand-blue-light); border-radius: 16px; width: fit-content; }
.bento-icon.dark-mode { background: rgba(255,255,255,0.08); color: white; border: 1px solid rgba(255,255,255,0.1); box-shadow: inset 0 2px 4px rgba(255,255,255,0.05); }
.bento-accent-top { border-top: 4px solid var(--brand-blue); }
.bento-accent-green { border-top: 4px solid var(--brand-green); }

/* Floating Mock UI Chips */
.mock-ui-container { position: absolute; inset: 0; pointer-events: none; z-index: 5; }
.mock-chip {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.8);
    box-shadow: 0 15px 35px -5px rgba(0,0,0,0.15), inset 0 2px 4px rgba(255,255,255,0.5);
    padding: 1.25rem 1.5rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 800;
    color: var(--brand-blue-dark);
    animation: float 6s ease-in-out infinite;
    pointer-events: auto;
}
.mock-chip.revenue { top: 15%; right: -8%; animation-delay: 0s; border-left: 4px solid var(--brand-green); }
.mock-chip.active-users { bottom: 15%; left: -8%; animation-delay: 2s; border-left: 4px solid var(--brand-blue); }
.mock-chip.exams { top: 50%; right: -12%; animation-delay: 3s; border-left: 4px solid #7c3aed; }
.mock-chip span { font-size: 1.2rem; color: var(--brand-green); font-weight: 900; }
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Stat Bars inside Bento */
.stat-bar-bg { background: #e2e8f0; height: 10px; border-radius: 6px; overflow: hidden; margin-top: 2rem; position: relative; }
.stat-bar-fill { background: linear-gradient(90deg, var(--brand-blue) 0%, #3b82f6 100%); height: 100%; border-radius: 6px; width: 0%; transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1); }
.stat-bar-fill.green { background: linear-gradient(90deg, var(--brand-green) 0%, #34d399 100%); }

@media (max-width: 1024px) {
    .bento-grid { grid-template-columns: repeat(2, 1fr); }
    .bento-item.col-span-2 { grid-column: span 2; }
}
@media (max-width: 640px) {
    .bento-grid { grid-template-columns: 1fr; }
    .bento-item.col-span-2 { grid-column: span 1; }
    .mock-chip { display: none; }
}

/* ==========================================================================
   ELITE GLASSMORPHISM LOGIN SYSTEM (Variation 1)
   ========================================================================== */
.glass-login-root {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 0% 0%, #0f172a 0%, #1e1b4b 50%, #0f172a 100%);
    background-size: 400% 400%;
    animation: loginMeshGradient 15s ease infinite;
    position: relative;
    overflow: hidden;
    padding: 2rem;
}

@keyframes loginMeshGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.glass-mesh-sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    opacity: 0.4;
    pointer-events: none;
}
.sphere-1 { width: 500px; height: 500px; background: #6366f1; top: -10%; left: -10%; animation: loginSphereFloat 12s infinite; }
.sphere-2 { width: 400px; height: 400px; background: #4f46e5; bottom: -5%; right: -5%; animation: loginSphereFloat 10s infinite reverse; }

@keyframes loginSphereFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, 50px) scale(1.1); }
}

.glass-login-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 32px;
    padding: 3.5rem;
    width: 100%;
    max-width: 480px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    z-index: 10;
    position: relative;
    animation: loginCardSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes loginCardSlideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.glass-login-logo {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.3);
}

.glass-login-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.25rem;
    font-weight: 800;
    color: white;
    text-align: center;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.glass-login-subtitle {
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 0.95rem;
    font-weight: 500;
}

.glass-input-group {
    margin-bottom: 1.5rem;
}

.glass-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.6rem;
    padding-left: 0.25rem;
}

.glass-input-wrapper {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-input-wrapper:focus-within {
    background: rgba(255, 255, 255, 0.07);
    border-color: #6366f1;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
    transform: translateY(-1px);
}

.glass-input-icon {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.3);
    font-size: 1.25rem;
    transition: color 0.3s;
}

.glass-input-wrapper:focus-within .glass-input-icon {
    color: #6366f1;
}

.glass-input {
    width: 100%;
    background: transparent;
    border: none;
    padding: 1.1rem 1.25rem 1.1rem 3.5rem;
    color: white;
    font-size: 1rem;
    outline: none;
    font-family: inherit;
}

.glass-input::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

.glass-pw-toggle {
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: color 0.3s;
}

.glass-pw-toggle:hover {
    color: white;
}

.glass-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.glass-remember {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.glass-forgot {
    color: #6366f1;
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.2s;
}

.glass-forgot:hover {
    opacity: 0.8;
}

.glass-btn-primary {
    width: 100%;
    padding: 1.1rem;
    background: linear-gradient(135deg, #6366f1 0%, #4338ca 100%);
    border: none;
    border-radius: 16px;
    color: #ffffff;
    font-weight: 800;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow: 0 12px 24px -6px rgba(79, 70, 229, 0.5);
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.glass-btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 20px 30px -8px rgba(79, 70, 229, 0.6);
    filter: brightness(1.1);
}

.glass-btn-primary:active {
    transform: translateY(0) scale(1);
}

.glass-btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.glass-footer {
    margin-top: 3rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
    font-weight: 500;
}

.glass-security-tag {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    color: rgba(99, 102, 241, 0.6);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 540px) {
    .glass-login-card {
        padding: 2.5rem 2rem;
        border-radius: 24px;
    }
    .glass-login-title {
        font-size: 1.75rem;
    }
}
