/* ==========================================================================
   SARJET.COM - LIGHT CORPORATE DESIGN SYSTEM (HUMANOID CHARGING ONLY)
   ========================================================================== */

/* Design Variables */
:root {
    --color-bg-body: #f8fafc;
    --color-bg-card: #ffffff;
    --color-text-main: #0f172a;
    --color-text-muted: #64748b;
    
    /* Primary brand colors */
    --color-primary: #0284c7;
    --color-primary-hover: #0369a1;
    --color-primary-light: #e0f2fe;
    --color-primary-glow: rgba(2, 132, 199, 0.15);
    
    /* System state colors (Light Theme) */
    --color-green: #10b981;
    --color-green-light: #d1fae5;
    --color-red: #ef4444;
    --color-red-light: #fee2e2;
    --color-orange: #f59e0b;
    --color-orange-light: #fef3c7;
    
    /* Font families */
    --font-sans: 'Outfit', sans-serif;
    --font-mono: 'Share Tech Mono', monospace;
    
    /* Borders & Shadows */
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.02);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
}

/* Global Reset & Base Setup */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-bg-body);
    color: var(--color-text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Font Styles & Helpers */
.font-mono {
    font-family: var(--font-mono);
}

.text-center { text-align: center; }
.text-warning { color: var(--color-orange); }
.text-danger { color: var(--color-red); }
.text-success { color: var(--color-green); }
.highlight { color: var(--color-primary); font-weight: 700; }
.highlight-total { color: var(--color-primary); font-weight: 800; font-size: 1.2rem; }

/* Grid overlay for high-tech background detail */
.grid-line-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        linear-gradient(rgba(15, 23, 42, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, 0.02) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
    z-index: 1;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    outline: none;
    gap: 8px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), #0ea5e9);
    border: none;
    color: #ffffff;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
    background: var(--color-primary-hover);
}

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

.btn-secondary:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary-light);
}

/* Navigation Bar */
.site-header {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-dot {
    width: 10px;
    height: 10px;
    background-color: var(--color-primary);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--color-primary);
}

.logo-text {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--color-text-main);
}

.site-nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--color-primary);
}

/* Hero Section */
.hero-block {
    padding: 80px 20px;
    background: radial-gradient(circle at 80% 20%, var(--color-primary-light) 0%, transparent 60%);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 50px;
}

.hero-text-area {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.badge {
    background-color: var(--color-primary-light);
    color: var(--color-primary-hover);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.hero-text-area h1 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--color-text-main);
}

.lead {
    font-size: 1.1rem;
    color: var(--color-text-muted);
}

.hero-actions {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

/* Hero Image area */
.image-wrapper {
    position: relative;
    border-radius: 12px;
    padding: 8px;
    background: #ffffff;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.hero-img {
    width: 100%;
    border-radius: 8px;
    display: block;
}

.image-label {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background-color: rgba(15, 23, 42, 0.95);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-md);
}

.indicator.active {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-green);
    box-shadow: 0 0 6px var(--color-green);
}

/* Technology and Features block */
.features-block {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-badge {
    color: var(--color-primary);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-text-main);
    margin-bottom: 15px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    max-width: 650px;
    margin: 0 auto 50px auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background-color: var(--color-bg-card);
    border: 1px solid var(--border-color);
    padding: 35px 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-primary-light);
}

.feature-icon {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-text-main);
}

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

/* Map Logistics Simulator Block */
.map-block {
    background-color: #ffffff;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 80px 20px;
}

.map-container-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 50px;
    align-items: center;
}

.map-info h2 {
    font-size: 2rem;
    font-weight: 800;
    margin: 12px 0;
}

.map-info p {
    color: var(--color-text-muted);
    margin-bottom: 30px;
}

.live-logs-feed {
    background-color: #0f172a;
    color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.feed-title {
    background-color: #1e293b;
    padding: 10px 16px;
    font-size: 0.75rem;
    font-weight: bold;
    letter-spacing: 0.5px;
    color: #94a3b8;
}

.logs-container {
    padding: 16px;
    height: 180px;
    overflow-y: auto;
    font-size: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.log-line {
    border-left: 2px solid rgba(255, 255, 255, 0.15);
    padding-left: 8px;
}

/* Interactive Canvas Map Viewer */
.map-viewport-wrapper {
    background-color: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.map-header {
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 700;
}

.map-title {
    color: var(--color-text-main);
}

.map-status {
    color: var(--color-green);
    display: flex;
    align-items: center;
    gap: 6px;
}

.map-status::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: var(--color-green);
    border-radius: 50%;
}

.canvas-wrapper {
    position: relative;
    background-color: #ffffff;
}

#tactical-radar {
    display: block;
    width: 100%;
    height: auto;
    background-color: #ffffff;
}

.map-legend {
    background-color: #ffffff;
    border-top: 1px solid var(--border-color);
    padding: 12px 20px;
    font-size: 0.75rem;
    display: flex;
    gap: 20px;
}

.legend-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.pod-dot { background-color: var(--color-primary); }
.robot-dot { background-color: var(--color-green); }
.request-dot { background-color: var(--color-orange); }

/* Calculator Block */
.calculator-block {
    padding: 80px 20px;
}

.calc-container-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 40px;
}

.calc-desc {
    color: var(--color-text-muted);
    margin: 10px 0 25px 0;
}

.calc-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-input, select {
    font-family: var(--font-sans);
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    outline: none;
    color: var(--color-text-main);
    transition: all 0.2s ease;
}

.form-input:focus, select:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-glow);
}

.slider-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.range-slider {
    flex-grow: 1;
    -webkit-appearance: none;
    height: 6px;
    background: var(--border-color);
    outline: none;
    border-radius: 3px;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    background: var(--color-primary);
    cursor: pointer;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.slider-value {
    font-size: 0.9rem;
    font-weight: 700;
    min-width: 40px;
    text-align: right;
}

/* Quote Receipt and Console */
.quote-card {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow-md);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
}

.quote-card h3 {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--color-text-muted);
}

.quote-lines {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quote-line {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.divider {
    border: none;
    border-top: 1px dashed var(--border-color);
    margin: 6px 0;
}

.quote-line.total {
    border-top: 1px solid var(--border-color);
    padding-top: 12px;
}

.console-box {
    background-color: #0f172a;
    color: var(--color-green);
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 0.75rem;
    height: 80px;
    overflow-y: auto;
    line-height: 1.5;
}

/* Pricing Models Plan grids */
.pricing-block {
    background-color: #ffffff;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 80px 20px;
}

.pricing-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.price-card {
    background-color: var(--color-bg-card);
    border: 1px solid var(--border-color);
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    transition: all 0.3s ease;
}

.price-card.popular {
    border: 2px solid var(--color-primary);
    box-shadow: var(--shadow-lg);
    transform: scale(1.02);
}

.card-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-primary);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.price-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.price {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--color-primary);
}

.price-desc {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.price-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 0.85rem;
    margin-top: 10px;
    flex-grow: 1;
}

.price-features li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.price-features li::before {
    content: '✓';
    color: var(--color-green);
    font-weight: bold;
}

/* Contact Block */
.contact-block {
    padding: 80px 20px;
}

.contact-container {
    max-width: 700px;
    margin: 0 auto;
}

.contact-form {
    margin-top: 40px;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Footer Section */
.site-footer {
    background-color: #0f172a;
    color: #ffffff;
    padding: 40px 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-brand h4 {
    font-size: 1.1rem;
    font-weight: 800;
}

.footer-brand p {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-top: 4px;
}

.footer-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-size: 0.75rem;
    color: #94a3b8;
    gap: 4px;
}

/* Modal Popup standard */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.4);
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.modal-content {
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    padding: 30px;
    max-width: 450px;
    width: 90%;
    border-radius: 12px;
}

.modal-header h2 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 15px;
}

.modal-body {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.modal-intro {
    font-size: 0.8rem;
    font-weight: bold;
    color: var(--color-text-muted);
}

.modal-stats {
    background-color: #f8fafc;
    border: 1px solid var(--border-color);
    padding: 15px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.85rem;
}

.radar-dispatch-sim {
    position: relative;
    height: 50px;
    border: 1px dashed var(--border-color);
    background: radial-gradient(circle, rgba(2, 132, 199, 0.04) 0%, transparent 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: bold;
}

.sim-scan {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(2, 132, 199, 0.1), transparent);
    animation: sim-scan-move 2.5s infinite linear;
}

@keyframes sim-scan-move {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Media Queries (Responsive Layouts) */
@media (max-width: 992px) {
    .hero-container, .map-container-grid, .calc-container-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-text-area {
        align-items: center;
        text-align: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .site-nav {
        display: none; /* In a real project a hamburger menu is preferred, for simplicity we keep meta-minimal */
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .price-card.popular {
        transform: scale(1);
    }
}

@media (max-width: 600px) {
    .form-row, .form-row-2 {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}
