/* Navigaate Split Landing Page Styles */

:root {
    --bg-dark: #0a1128;
    --bg-dark-deep: #060b19;
    --primary-yellow: #ffb800;
    --primary-yellow-hover: #e6a600;
    --text-white: #ffffff;
    --text-gray: #94a3b8;
    --text-dark: #0f172a;
    --border-color: #e2e8f0;
    
    /* Dashboard Specific Colors */
    --dash-bg: #f8fafc;
    --dash-sidebar-bg: #ffffff;
    --dash-border: #f1f5f9;
    --dash-text-dark: #0f172a;
    --dash-text-gray: #64748b;
    --dash-active-bg: #1e293b;
    
    --font-main: 'Source Sans Pro', 'Inter', system-ui, -apple-system, sans-serif;
    --font-heading: 'Montserrat', var(--font-main);
}

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

body {
    font-family: var(--font-main);
    background: radial-gradient(circle at 50% 50%, #152550 0%, var(--bg-dark-deep) 100%);
    color: var(--text-white);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.5;
    position: relative;
}

/* Background grid curves */
.bg-decorations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

@keyframes rotateRings {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.bg-decorations svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1800px;
    height: 1800px;
    opacity: 0.3;
    animation: rotateRings 240s linear infinite;
}

/* Main Split Layout Container */
.landing-container {
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: 100%;
    height: 100vh;
    margin: 0;
    display: grid;
    grid-template-columns: 52% 48%;
    gap: 40px;
    padding: 0 0 0 80px;
    align-items: center;
    overflow: hidden;
}

/* Left Column */
.left-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 24px;
    height: 100%;
    max-height: 100%;
    overflow-y: auto;
    padding-right: 15px;
    max-width: 580px;
    justify-self: center;
}

/* Hide scrollbar for left column */
.left-column::-webkit-scrollbar {
    display: none;
}
.left-column {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 52px;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -0.5px;
}

.hero-title span.yellow {
    color: var(--primary-yellow);
    display: block;
    margin-top: 4px;
}

.hero-subtitle {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.8;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

.btn-primary {
    background-color: var(--primary-yellow);
    color: var(--text-dark);
    padding: 12px 28px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
    background-color: var(--primary-yellow-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-yellow);
    border: 1.5px solid var(--primary-yellow);
    padding: 12px 28px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: rgba(255, 184, 0, 0.08);
    transform: translateY(-2px);
}

/* Feature Tag Row */
.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 8px 0;
}

.feature-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #e2e8f0;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.feature-tag:hover {
    transform: translateY(-2px);
    color: var(--primary-yellow);
}

.feature-tag svg {
    color: var(--primary-yellow);
}

/* Steps Grid */
.steps-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 24px;
    margin-top: 8px;
}

.step-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: default;
}

.step-item:hover {
    transform: translateX(6px);
}

.step-title {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-yellow);
    transition: color 0.3s ease;
}

.step-item:hover .step-title {
    color: #ffffff;
}

.step-desc {
    font-size: 12px;
    color: var(--text-gray);
    line-height: 1.7;
}

/* Right Column (Dashboard Frame) */
.right-column {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
    padding: 40px 0 40px 0;
}

.dashboard-browser-frame {
    width: calc(100% + 100px);
    height: 82vh;
    max-height: 680px;
    background-color: var(--dash-bg);
    border-radius: 12px 0 0 12px;
    box-shadow: -15px 20px 50px -10px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin-right: -100px;
    pointer-events: none;
}

/* Browser Frame Top Bar */
.browser-top-bar {
    height: 32px;
    background-color: #f1f5f9;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    padding: 0 16px;
    gap: 6px;
    flex-shrink: 0;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.dot-red { background-color: #ef4444; }
.dot-yellow { background-color: #f59e0b; }
.dot-green { background-color: #10b981; }

/* Dashboard Mockup Grid Layout */
.dashboard-mockup {
    display: grid;
    grid-template-columns: 180px 1fr;
    height: 100%;
    overflow: hidden;
    color: var(--dash-text-dark);
}

/* Sidebar Styling */
.sidebar {
    background-color: var(--dash-sidebar-bg);
    border-right: 1px solid var(--dash-border);
    padding: 18px 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}

.logo-circle {
    width: 20px;
    height: 20px;
    background-color: var(--primary-yellow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 800;
    color: var(--dash-text-dark);
}

.sidebar-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sidebar-item a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    color: #475569;
    text-decoration: none;
    font-size: 11px;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.sidebar-item.active a {
    background-color: var(--dash-active-bg);
    color: var(--text-white);
}

.sidebar-item a:hover:not(.active a) {
    background-color: #f1f5f9;
    color: var(--dash-text-dark);
}

.sidebar-item.logout a {
    color: #ef4444;
}

.sidebar-item.logout a:hover {
    background-color: #fef2f2;
}

/* Main Content Area */
.main-content {
    display: flex;
    flex-direction: column;
    background-color: var(--dash-bg);
    height: 100%;
    overflow-y: auto;
}

/* Hide scrollbar for main-content */
.main-content::-webkit-scrollbar {
    width: 6px;
}
.main-content::-webkit-scrollbar-track {
    background: transparent;
}
.main-content::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

/* Dashboard Top Nav */
.top-nav {
    background-color: #ffffff;
    border-bottom: 1px solid var(--dash-border);
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.search-bar {
    position: relative;
    width: 220px;
}

.search-bar input {
    width: 100%;
    padding: 6px 12px 6px 28px;
    border: 1px solid var(--dash-border);
    border-radius: 14px;
    background-color: #f8fafc;
    font-size: 11px;
    outline: none;
    color: #334155;
    transition: all 0.2s ease;
}

.search-bar input:focus {
    border-color: #cbd5e1;
    background-color: #ffffff;
}

.search-bar svg {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
}

/* User Profile Row */
.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.notification-bell {
    position: relative;
    cursor: pointer;
    color: #64748b;
    display: flex;
    align-items: center;
}

.notification-bell .bell-dot {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 5px;
    height: 5px;
    background-color: #ef4444;
    border-radius: 50%;
}

.profile-avatar {
    width: 24px;
    height: 24px;
    background-color: #1e293b;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 10px;
}

/* Dashboard Inner Body */
.dashboard-body {
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.body-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.body-title h1 {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 800;
    color: var(--dash-text-dark);
}

.body-title p {
    font-size: 10px;
    color: var(--dash-text-gray);
    margin-top: 1px;
}

/* Stats Cards Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.stat-card {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 10px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px -10px rgba(0, 0, 0, 0.1);
    border-color: rgba(226, 232, 240, 1);
}

.stat-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stat-label {
    font-size: 8px;
    color: var(--dash-text-gray);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.stat-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--dash-text-dark);
}

.stat-subtext {
    font-size: 8px;
    font-weight: 600;
}
.stat-subtext.green { color: #10b981; }
.stat-subtext.purple { color: #8b5cf6; }
.stat-subtext.red { color: #ef4444; }

.stat-icon {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.stat-icon.green { background-color: #ecfdf5; color: #10b981; }
.stat-icon.purple { background-color: #f5f3ff; color: #8b5cf6; }
.stat-icon.red { background-color: #fef2f2; color: #ef4444; }
.stat-icon.yellow { background-color: #fffbeb; color: #f59e0b; }

/* Filter Dropdown Row */
.filter-bar {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-bar label {
    font-size: 8px;
    font-weight: 700;
    text-transform: uppercase;
    color: #64748b;
    letter-spacing: 0.3px;
}

.filter-select {
    padding: 4px 8px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background-color: #ffffff;
    font-size: 9px;
    color: #334155;
    outline: none;
    cursor: pointer;
    font-weight: 500;
}

/* Table Card Container */
.table-container {
    background-color: #ffffff;
    border-radius: 8px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    overflow: hidden;
}

.table-header-title {
    padding: 10px 14px;
    font-size: 11px;
    font-weight: 700;
    color: var(--dash-text-dark);
    border-bottom: 1px solid var(--dash-border);
}

.quotation-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.quotation-table th {
    background-color: #fafaf9;
    padding: 8px 14px;
    font-size: 8px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: #78716c;
    font-weight: 600;
    border-bottom: 1px solid var(--dash-border);
}

.quotation-table td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--dash-border);
    font-size: 9px;
    color: #475569;
    font-weight: 500;
}

.quotation-table tr:last-child td {
    border-bottom: none;
}

.quotation-table td.quote-id {
    color: var(--dash-text-dark);
    font-weight: 700;
}

.quotation-table td.quote-title {
    color: var(--dash-text-dark);
    font-weight: 700;
}

.status-badge {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 8px;
    font-weight: 700;
    text-align: center;
}

.status-badge.received { background-color: #fef3c7; color: #b45309; }
.status-badge.created { background-color: #dcfce7; color: #15803d; }
.status-badge.awaited { background-color: #dbeafe; color: #1d4ed8; }
.status-badge.closed { background-color: #f1f5f9; color: #64748b; }

/* Micro-animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title, .hero-subtitle, .hero-actions, .hero-features, .steps-grid {
    animation: fadeInUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-subtitle { animation-delay: 0.1s; }
.hero-actions { animation-delay: 0.2s; }
.hero-features { animation-delay: 0.3s; }
.steps-grid { animation-delay: 0.4s; }

.dashboard-browser-frame {
    animation: fadeInUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
    animation-delay: 0.5s;
}

/* Hover effects for dashboard cells */
.quotation-table tbody tr {
    transition: background-color 0.2s ease;
}
.quotation-table tbody tr:hover {
    background-color: #f8fafc;
}

.sidebar-menu li a {
    transition: transform 0.2s ease, background-color 0.2s ease;
}
.sidebar-menu li a:hover {
    transform: translateX(2px);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .landing-container {
        grid-template-columns: 1fr;
        height: auto;
        overflow-y: auto;
        padding: 60px 30px;
        gap: 60px;
    }
    
    .left-column {
        height: auto;
        overflow-y: visible;
        padding-right: 0;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .dashboard-browser-frame {
        height: 600px;
    }
}

@media (max-width: 640px) {
    .landing-container {
        padding: 40px 16px;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-primary, .btn-secondary {
        text-align: center;
    }
    
    .dashboard-browser-frame {
        height: 500px;
    }
    
    .dashboard-mockup {
        grid-template-columns: 60px 1fr; /* Narrow sidebar on mobile */
    }
    
    .logo-text, .sidebar-item span {
        display: none;
    }
    
    .sidebar-brand {
        justify-content: center;
    }
}
