/* ==========================================================================
   Scoot QMS Landing Page Stylesheet
   Theme: Warm Cream & Coppery Brown (Dark Slate/Copper hybrid)
   ========================================================================== */

/* Variables */
:root {
    --color-bg: #130a06;
    --color-bg-card: #1f120c;
    --color-bg-hover: #2e1c14;
    --color-brand: #96593e;
    --color-brand-light: #cbac9f;
    --color-brand-dark: #3c2a21;
    --color-accent: #e28f6b;
    --color-accent-glow: rgba(226, 143, 107, 0.15);
    --color-text: #f5ebe6;
    --color-text-muted: #b5a69e;
    --color-border: #362118;
    --color-success: #5c8f67;
    --color-warning: #d19a66;
    --color-error: #c95d5d;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --border-radius: 12px;
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Utilities */
.gradient-text {
    background: linear-gradient(135deg, #fff 30%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    background-color: rgba(150, 89, 62, 0.15);
    border: 1px solid rgba(150, 89, 62, 0.3);
    color: var(--color-brand-light);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 16px;
    animation: pulseGlow 3s infinite ease-in-out;
}

.text-muted {
    color: var(--color-text-muted);
}

.status-badge {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-badge.ok {
    background-color: rgba(92, 143, 103, 0.15);
    color: #8ebd99;
}

.status-badge.nok {
    background-color: rgba(201, 93, 93, 0.15);
    color: #e59393;
}

.status-badge.warning {
    background-color: rgba(209, 154, 102, 0.15);
    color: #e5c07b;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--color-brand);
    color: #fff;
    border: 1px solid var(--color-brand);
    box-shadow: 0 4px 14px rgba(150, 89, 62, 0.4);
}

.btn-primary:hover {
    background-color: var(--color-bg-hover);
    border-color: var(--color-brand-light);
    box-shadow: 0 6px 20px rgba(150, 89, 62, 0.6);
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    background-color: var(--color-bg-card);
    border-color: var(--color-brand);
    transform: translateY(-2px);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    padding: 12px 0;
    background-color: rgba(19, 10, 6, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    font-family: var(--font-heading);
}

.logo-icon {
    background-color: var(--color-brand);
    color: #fff;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: 900;
}

.logo-text .accent {
    color: var(--color-accent);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: #fff;
}

.nav-cta {
    padding: 8px 18px;
    font-size: 0.85rem;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 160px 0 100px;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 80%;
    background: radial-gradient(circle, rgba(150, 89, 62, 0.25) 0%, rgba(19, 10, 6, 0) 70%);
    z-index: 1;
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    margin-bottom: 36px;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    font-family: var(--font-heading);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background-color: var(--color-border);
}

/* Hero Media Image */
.hero-media {
    position: relative;
}

.media-frame {
    position: relative;
    border-radius: var(--border-radius);
    padding: 8px;
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    transition: var(--transition);
}

.media-frame:hover {
    transform: scale(1.02);
    border-color: var(--color-brand);
}

.mockup-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

.media-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(150, 89, 62, 0.15) 0%, rgba(19, 10, 6, 0) 60%);
    z-index: -1;
    pointer-events: none;
}

/* Sections Header */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

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

/* Core Modules Section & Tabs */
.modules-section {
    padding: 100px 0;
    background-color: rgba(31, 18, 12, 0.2);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.tab-navigation {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    background-color: var(--color-bg-card);
    padding: 6px;
    border-radius: 50px;
    border: 1px solid var(--color-border);
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.tab-btn {
    background: none;
    border: none;
    padding: 10px 24px;
    color: var(--color-text-muted);
    font-weight: 600;
    font-family: var(--font-body);
    font-size: 0.95rem;
    cursor: pointer;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.tab-btn i {
    width: 16px;
    height: 16px;
}

.tab-btn:hover {
    color: #fff;
}

.tab-btn.active {
    background-color: var(--color-brand);
    color: #fff;
}

.tab-container {
    position: relative;
    min-height: 400px;
}

.tab-content {
    display: none;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.tab-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.tab-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.tab-info h3 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.tab-lead {
    font-size: 1.1rem;
    color: var(--color-brand-light);
    margin-bottom: 24px;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-list li {
    position: relative;
    padding-left: 24px;
}

.feature-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-accent);
    font-weight: bold;
}

.tab-visual {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 32px;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* PPAP visual grid */
.ppap-elements-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    width: 100%;
}

.element-tag {
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
    border: 1px solid transparent;
}

.element-tag.success {
    background-color: rgba(92, 143, 103, 0.08);
    color: #8ebd99;
    border-color: rgba(92, 143, 103, 0.2);
}

.element-tag.warning {
    background-color: rgba(209, 154, 102, 0.08);
    color: #e5c07b;
    border-color: rgba(209, 154, 102, 0.2);
}

.element-tag.error {
    background-color: rgba(201, 93, 93, 0.08);
    color: #e59393;
    border-color: rgba(201, 93, 93, 0.2);
}

/* Doc control mock */
.doc-mock {
    width: 100%;
}

.doc-mock-header {
    display: flex;
    justify-content: space-between;
    border-bottom: 2px solid var(--color-border);
    padding-bottom: 12px;
    margin-bottom: 16px;
    font-weight: 600;
}

.doc-mock-table {
    width: 100%;
    border-collapse: collapse;
}

.doc-mock-table th, .doc-mock-table td {
    padding: 10px 8px;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

.doc-mock-table th {
    color: var(--color-text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
}

/* Calibration card */
.gauge-card {
    border: 1px solid var(--color-border);
    background-color: var(--color-bg-hover);
    padding: 20px;
    border-radius: 8px;
    width: 100%;
}

.gauge-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 12px;
    margin-bottom: 16px;
    font-weight: 700;
}

.gauge-card-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.gauge-metric {
    display: flex;
    flex-direction: column;
}

.metric-label {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.metric-val {
    font-weight: 600;
    margin-top: 4px;
}

.text-success {
    color: #8ebd99;
}

/* CAPA timeline */
.capa-timeline {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

.timeline-step {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 12px;
    border-radius: 8px;
    border-left: 4px solid transparent;
}

.timeline-step.done {
    background-color: rgba(92, 143, 103, 0.05);
    border-left-color: var(--color-success);
}

.timeline-step.active {
    background-color: rgba(226, 143, 107, 0.05);
    border-left-color: var(--color-accent);
}

.timeline-step.pending {
    background-color: transparent;
    opacity: 0.5;
}

.step-num {
    background-color: var(--color-bg-hover);
    width: 60px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.85rem;
    border: 1px solid var(--color-border);
}

.timeline-step.done .step-num {
    background-color: var(--color-success);
    color: #fff;
    border-color: var(--color-success);
}

.timeline-step.active .step-num {
    background-color: var(--color-brand);
    color: #fff;
    border-color: var(--color-brand);
}

/* Chart mock */
.chart-mock {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.chart-bar-container {
    display: flex;
    height: 180px;
    width: 100%;
    align-items: flex-end;
    gap: 24px;
    border-bottom: 2px solid var(--color-border);
    padding-bottom: 12px;
    margin-bottom: 16px;
}

.chart-bar {
    flex: 1;
    background-color: var(--color-brand);
    border-radius: 6px 6px 0 0;
    position: relative;
    min-height: 20px;
    transition: var(--transition);
}

.chart-bar:hover {
    filter: brightness(1.2);
}

.chart-bar span {
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    font-weight: bold;
    white-space: nowrap;
}

.chart-bar:nth-child(2) {
    background-color: var(--color-accent);
}

.chart-bar:nth-child(3) {
    background-color: var(--color-error);
}

.chart-title {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* Key Features Grid */
.features-section {
    padding: 100px 0;
}

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

.feature-card {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    padding: 36px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-brand);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background-color: var(--color-bg-hover);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    margin-bottom: 24px;
    border: 1px solid var(--color-border);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* Simulator Section */
.simulator-section {
    padding: 100px 0;
    background-color: rgba(31, 18, 12, 0.1);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.sim-wrapper {
    display: grid;
    grid-template-columns: 240px 1fr;
    min-height: 540px;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    overflow: hidden;
    background-color: var(--color-bg-card);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.sim-sidebar {
    background-color: rgba(19, 10, 6, 0.4);
    border-right: 1px solid var(--color-border);
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sim-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-family: var(--font-heading);
    font-size: 1.05rem;
}

.brand-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-accent);
    border-radius: 50%;
}

.sim-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 40px 0;
}

.sim-menu li {
    padding: 10px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.sim-menu li i {
    width: 16px;
    height: 16px;
}

.sim-menu li:hover, .sim-menu li.active {
    background-color: var(--color-bg-hover);
    color: #fff;
}

.sim-menu li.active {
    border-left: 3px solid var(--color-accent);
    padding-left: 11px;
}

.sim-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sim-user-avatar {
    width: 32px;
    height: 32px;
    background-color: var(--color-brand);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.8rem;
}

.sim-user-info {
    display: flex;
    flex-direction: column;
}

.sim-user-info .name {
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
}

.sim-user-info .role {
    font-size: 0.7rem;
    color: var(--color-text-muted);
}

/* Simulator Main content */
.sim-main {
    padding: 32px;
    display: flex;
    flex-direction: column;
}

.sim-page {
    display: none;
    flex-direction: column;
    flex-grow: 1;
}

.sim-page.active {
    display: flex;
}

.sim-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 16px;
}

.sim-page-header h2 {
    font-size: 1.5rem;
}

.sim-select {
    background-color: var(--color-bg);
    color: var(--color-text);
    border: 1px solid var(--color-border);
    padding: 6px 12px;
    border-radius: 6px;
    outline: none;
    font-weight: 600;
}

/* KPI Simulator */
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.kpi-card {
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    padding: 20px;
    border-radius: 8px;
}

.kpi-title {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    font-weight: 600;
}

.kpi-value {
    font-size: 1.8rem;
    font-weight: 800;
    margin: 8px 0;
    font-family: var(--font-heading);
}

.kpi-progress-bar {
    height: 4px;
    background-color: var(--color-bg-hover);
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: var(--color-brand);
}

.progress-fill.success {
    background-color: var(--color-success);
}

.progress-fill.warning {
    background-color: var(--color-warning);
}

.sim-chart-container {
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    padding: 24px;
    border-radius: 8px;
    flex-grow: 1;
}

.sim-chart-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.sim-chart-header h3 {
    font-size: 1rem;
}

.chart-type {
    font-size: 0.7rem;
    color: var(--color-accent);
    font-weight: bold;
}

/* Simulator Bar Charts */
.bar-chart-visual {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    height: 200px;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 8px;
}

.bar-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 60px;
}

.bar-group {
    display: flex;
    gap: 4px;
    align-items: flex-end;
    height: 160px;
}

.bar-fill {
    width: 14px;
    border-radius: 4px 4px 0 0;
}

.bar-fill.blue {
    background-color: var(--color-brand);
}

.bar-fill.green {
    background-color: var(--color-success);
}

.bar-label {
    margin-top: 8px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Simulator Table */
.sim-table-wrapper {
    overflow-x: auto;
}

.sim-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.sim-table th, .sim-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

.sim-table th {
    background-color: rgba(19,10,6,0.3);
    color: var(--color-text-muted);
    font-weight: 600;
}

.badge-status {
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
}

.badge-status.yes {
    background-color: rgba(92,143,103,0.15);
    color: #8ebd99;
}

.badge-status.no {
    background-color: rgba(201,93,93,0.15);
    color: #e59393;
}

.badge-status.na {
    background-color: var(--color-bg-hover);
    color: var(--color-text-muted);
}

.badge-status.warning {
    background-color: rgba(209, 154, 102, 0.15);
    color: #e5c07b;
}

.badge-status.error {
    background-color: rgba(201, 93, 93, 0.15);
    color: #e59393;
}

.progress-text {
    font-weight: 600;
}

.btn-action {
    background-color: var(--color-bg-hover);
    color: var(--color-text);
    border: 1px solid var(--color-border);
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.75rem;
    transition: var(--transition);
}

.btn-action:hover {
    background-color: var(--color-brand);
    border-color: var(--color-brand);
}

.btn-action.error {
    background-color: rgba(201,93,93,0.1);
    color: #e59393;
    border-color: rgba(201,93,93,0.2);
}

.btn-action.error:hover {
    background-color: var(--color-error);
    color: #fff;
}

/* Pulse animation for actions */
.pulse {
    position: relative;
    box-shadow: 0 0 0 0 rgba(209, 154, 102, 0.7);
    animation: pulseAction 1.6s infinite cubic-bezier(0.66, 0, 0, 1);
}

/* Technical Specs & Code */
.tech-specs-section {
    padding: 100px 0;
}

.tech-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 32px;
}

.tech-card {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    padding: 32px;
    border-radius: var(--border-radius);
}

.tech-card h4 {
    font-size: 1.25rem;
    margin-bottom: 20px;
    border-left: 3px solid var(--color-accent);
    padding-left: 12px;
}

.tech-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.tech-table th, .tech-table td {
    padding: 12px 8px;
    border-bottom: 1px solid var(--color-border);
}

.tech-table th {
    text-align: left;
    color: var(--color-text-muted);
    font-weight: 600;
    width: 35%;
}

.code-box {
    background-color: #0c0604;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    margin-top: 16px;
    overflow: hidden;
}

.code-header {
    display: flex;
    justify-content: space-between;
    background-color: rgba(19, 10, 6, 0.8);
    padding: 10px 16px;
    font-size: 0.75rem;
    font-family: monospace;
    color: var(--color-text-muted);
    border-bottom: 1px solid var(--color-border);
}

.btn-copy {
    background: none;
    border: none;
    color: var(--color-text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
}

.btn-copy:hover {
    color: #fff;
}

.code-box pre {
    padding: 16px;
    overflow-x: auto;
}

.code-box code {
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.85rem;
    color: var(--color-brand-light);
}

/* Footer */
.footer {
    background-color: #0c0604;
    border-top: 1px solid var(--color-border);
    padding: 40px 0;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-top: 8px;
}

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

/* Keyframes */
@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 4px rgba(150, 89, 62, 0.1);
        border-color: rgba(150, 89, 62, 0.3);
    }
    50% {
        box-shadow: 0 0 12px rgba(150, 89, 62, 0.4);
        border-color: rgba(150, 89, 62, 0.6);
    }
}

@keyframes pulseAction {
    to {
        box-shadow: 0 0 0 8px rgba(209, 154, 102, 0);
    }
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-stats {
        justify-content: center;
    }
    .tab-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .features-grid {
        grid-template-columns: 1fr 1fr;
    }
    .sim-wrapper {
        grid-template-columns: 1fr;
    }
    .sim-sidebar {
        border-right: none;
        border-bottom: 1px solid var(--color-border);
    }
    .sim-menu {
        flex-direction: row;
        overflow-x: auto;
        margin: 20px 0;
        padding-bottom: 10px;
    }
    .sim-menu li {
        white-space: nowrap;
    }
    .tech-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .nav-links {
        display: none;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .kpi-grid {
        grid-template-columns: 1fr;
    }
    .footer-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background-color: rgba(19, 10, 6, 0.4);
    border-top: 1px solid var(--color-border);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
    align-items: flex-start;
}

/* Info Panel */
.contact-info-panel {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.info-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.info-icon {
    width: 48px;
    height: 48px;
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    flex-shrink: 0;
}

.info-text h4 {
    font-size: 1.15rem;
    margin-bottom: 6px;
    color: #fff;
}

.info-text p {
    font-size: 0.95rem;
    color: var(--color-text);
}

.info-text a:hover {
    color: var(--color-accent);
    text-decoration: underline;
}

.info-features {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 28px;
    margin-top: 16px;
}

.info-features h4 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    border-left: 3px solid var(--color-accent);
    padding-left: 12px;
    color: #fff;
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.steps-list li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.step-num-badge {
    width: 28px;
    height: 28px;
    background-color: var(--color-brand);
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.steps-list span {
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Form Panel */
.contact-form-panel {
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.contact-form.hidden {
    opacity: 0;
    transform: scale(0.95);
    pointer-events: none;
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    padding: 0;
    margin: 0;
    border: none;
}

.form-row {
    width: 100%;
}

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

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-muted);
}

.form-group label .required {
    color: var(--color-accent);
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper input,
.input-wrapper textarea {
    width: 100%;
    background-color: rgba(19, 10, 6, 0.6);
    border: 1px solid var(--color-border);
    color: var(--color-text);
    border-radius: 8px;
    padding: 12px 16px 12px 44px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}

.input-wrapper textarea {
    padding-left: 16px;
    resize: vertical;
}

.input-wrapper input:focus,
.input-wrapper textarea:focus {
    border-color: var(--color-brand);
    box-shadow: 0 0 10px rgba(150, 89, 62, 0.25);
    background-color: rgba(19, 10, 6, 0.9);
}

.input-wrapper input.invalid,
.input-wrapper textarea.invalid {
    border-color: var(--color-error);
    box-shadow: 0 0 10px rgba(201, 93, 93, 0.2);
}

.input-icon {
    position: absolute;
    left: 14px;
    color: var(--color-text-muted);
    width: 18px;
    height: 18px;
    pointer-events: none;
    transition: var(--transition);
}

.input-wrapper input:focus + .input-icon {
    color: var(--color-accent);
}

/* Checkbox Grid */
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 4px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--color-text);
    user-select: none;
}

.checkbox-label input[type="checkbox"] {
    appearance: none;
    background-color: rgba(19, 10, 6, 0.6);
    border: 1px solid var(--color-border);
    width: 18px;
    height: 18px;
    border-radius: 4px;
    display: grid;
    place-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.checkbox-label input[type="checkbox"]::before {
    content: "";
    width: 10px;
    height: 10px;
    transform: scale(0);
    transition: 120ms transform ease-in-out;
    box-shadow: inset 1em 1em var(--color-accent);
    transform-origin: center;
    clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

.checkbox-label input[type="checkbox"]:checked {
    border-color: var(--color-brand);
    background-color: var(--color-bg-hover);
}

.checkbox-label input[type="checkbox"]:checked::before {
    transform: scale(1);
}

/* Error Messages */
.error-msg {
    display: none;
    color: #e59393;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 4px;
}

.error-msg.visible {
    display: block;
    animation: shake 0.2s ease-in-out;
}

/* Form Submit Button */
.btn-submit-form {
    border: none;
    width: 100%;
    padding: 14px;
    display: flex;
    justify-content: center;
    gap: 8px;
    font-size: 1rem;
    margin-top: 8px;
}

.btn-submit-form i {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.btn-submit-form:hover i {
    transform: translate(3px, -3px);
}

/* Success State styling */
.success-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px 0;
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.success-state.hidden {
    display: none;
    opacity: 0;
    transform: scale(0.95);
}

.success-icon-wrapper {
    width: 64px;
    height: 64px;
    background-color: rgba(92, 143, 103, 0.15);
    color: #8ebd99;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 24px;
    border: 1px solid rgba(92, 143, 103, 0.3);
}

.success-icon-wrapper i {
    width: 32px;
    height: 32px;
}

.success-state h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.success-lead {
    font-size: 1.1rem;
    color: var(--color-brand-light);
    margin-bottom: 16px;
}

.success-state p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    max-width: 400px;
    margin-bottom: 24px;
    line-height: 1.6;
}

.request-summary-card {
    background-color: rgba(19, 10, 6, 0.5);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 20px;
    width: 100%;
    max-width: 400px;
    text-align: left;
    margin-bottom: 28px;
}

.request-summary-card h5 {
    color: var(--color-accent);
    font-size: 0.95rem;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 8px;
}

.request-summary-card p {
    font-size: 0.85rem;
    color: var(--color-text);
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
}

.request-summary-card p:last-child {
    margin-bottom: 0;
}

.request-summary-card strong {
    color: var(--color-text-muted);
}

/* Animations */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-4px); }
    75% { transform: translateX(4px); }
}

/* Contact responsiveness */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 500px) {
    .checkbox-grid {
        grid-template-columns: 1fr;
    }
    .contact-form-panel {
        padding: 24px;
    }
}

