:root {
    --header-bg: #005284;
    --green: #28a745;
    --white: #ffffff;
    --tab-inactive: #00416a;
    --folder-manila: #f1f1f1; 
	--gs-invert: 0.78;
}

body {
    font-family: 'DM Sans', Segoe UI, sans-serif;
    background: var(--header-bg);
    margin: 0;
    padding: 0;
    color: var(--white);
    line-height: 1.6;
}

/* Header Styles */
.app-header {
    position: sticky;
    top: 0;
    background: var(--header-bg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1em 2em;
    z-index: 1000;
}

.app-logo { height: 40px; }

.header-login-links {
    display: flex;
    gap: 0.8em;
    align-items: center;
}

.header-login-link {
    font-size: 0.9em;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: color 0.2s;
}

.header-login-link:hover { color: #6ee08a; text-decoration: underline; }
.header-login-sep { color: rgba(255,255,255,0.3); }

/* Hero Layout */
.hero-container {
    padding: 0 2rem 2rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-inner {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
    flex-wrap: wrap;
}

.hero-content { flex: 1; min-width: 350px; }

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.6rem, 5vw, 3.8rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-content h1 em { font-style: normal; color: #6ee08a; }

.hero-sub {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2.5rem;
}

.hero-sub em { color: #6ee08a; font-style: normal; font-weight: 500; }

.hero-btn-primary {
    background: var(--green);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
    transition: transform 0.2s;
}

.hero-btn-primary:hover { transform: translateY(-2px); }

/* Manila Folder Tab Visual */
.hero-visual {
    flex: 1.2;
    min-width: 400px;
    margin-top: 4em;
}

.folder-tabs {
    display: flex;
    gap: 4px;
    margin-left: 10px;
}

.tab {
    background: var(--tab-inactive);
    padding: 6px 16px;
    border-radius: 10px 10px 0 0;
    cursor: pointer;
    font-size: 0.85em;
    font-weight: 500;
    transition: background 0.3s;
    border: 1px solid rgba(255,255,255,0.1);
    border-bottom: none;
    color: rgba(255,255,255,0.6);
    white-space: nowrap;
}

.tab.active {
    background: var(--folder-manila);
    color: #333;
    position: relative;
    z-index: 2;
}

.folder-content {
    background: var(--folder-manila);
    border-radius: 8px;
    /* Fixed height to prevent resizing jitters */
    height: 480px; 
    overflow-y: auto;
    padding: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    position: relative;
    top: -1px;
	font-size: 0.9em;
    color: rgba(0,0,0,0.85);

}

.tab-pane { display: none; }
.tab-pane.active { display: block; animation: fadeIn 0.3s ease; }

.app-view {
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    border-radius: 4px;
    display: block;
}
.tub-text {
	margin: 0 1em;
}
/* Custom Scrollbar */
.folder-content::-webkit-scrollbar {
    width: 8px;
}
.folder-content::-webkit-scrollbar-track {
    background: #e0e0e0;
    border-radius: 0 8px 8px 0;
}
.folder-content::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}
.folder-content::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Footer Styles */
.app-footer {
    padding: 1rem 2rem;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-social-connect {
    padding: 0.8rem 2rem;
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.gsicon {
    filter: invert(var(--gs-invert));
    -webkit-user-drag: none;
    user-drag: none;
    -moz-user-drag: none;
}

.footer-links { display: flex; gap: 1rem; align-items: center; }
.footer-link { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.85em; }
.footer-link:hover { color: white; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
    border-top: 1px solid rgba(255,255,255,0.05);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (max-width: 768px) {
    .hero-inner { flex-direction: column; text-align: center; }
    .hero-sub { margin-left: auto; margin-right: auto; }
    .footer-top { flex-direction: column; }
    .hero-visual { min-width: 100%; }
    .folder-content { height: 350px; } /* Slightly shorter on mobile */
}