/* ==========================================================================
   Geektraders Global - Styles
   "FinTech meets Oil" - Dark, Professional, Minimal
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Variables
   -------------------------------------------------------------------------- */
:root {
    /* Colors */
    --color-bg-primary: #0a0e17;
    --color-bg-secondary: #0f1520;
    --color-bg-tertiary: #141c2b;
    --color-bg-card: #1a2332;

    --color-text-primary: #ffffff;
    --color-text-secondary: #94a3b8;
    --color-text-muted: #64748b;

    --color-accent: #3b82f6;
    --color-accent-hover: #2563eb;
    --color-accent-glow: rgba(59, 130, 246, 0.3);

    --color-border: rgba(148, 163, 184, 0.1);
    --color-border-hover: rgba(148, 163, 184, 0.2);

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --section-padding: 120px;
    --container-max: 1200px;
    --container-padding: 24px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* --------------------------------------------------------------------------
   Reset & Base
   -------------------------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-primary);
    background-color: var(--color-bg-primary);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

button, input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* --------------------------------------------------------------------------
   Container
   -------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-text-primary);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto 60px;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all var(--transition-medium);
    white-space: nowrap;
}

.btn-primary {
    background: var(--color-accent);
    color: var(--color-text-primary);
    box-shadow: 0 0 30px var(--color-accent-glow);
}

.btn-primary:hover {
    background: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 0 40px var(--color-accent-glow);
}

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

.btn-outline:hover {
    border-color: var(--color-text-secondary);
    background: rgba(255, 255, 255, 0.05);
}

.btn-full {
    width: 100%;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    background: linear-gradient(to bottom, var(--color-bg-primary), transparent);
    transition: all var(--transition-medium);
}

.header.scrolled {
    background: rgba(10, 14, 23, 0.95);
    backdrop-filter: blur(20px);
    padding: 16px 0;
    border-bottom: 1px solid var(--color-border);
}

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

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

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

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

.nav {
    display: flex;
    gap: 40px;
}

.nav a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width var(--transition-medium);
}

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

.nav a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-text-primary);
    transition: all var(--transition-medium);
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(10, 14, 23, 0.7) 0%,
        rgba(10, 14, 23, 0.8) 50%,
        rgba(10, 14, 23, 1) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 120px 0;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--color-text-secondary);
    max-width: 640px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-tagline {
    display: inline-block;
    padding: 12px 24px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 100px;
    font-size: 0.875rem;
    color: var(--color-accent);
    letter-spacing: 0.02em;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--color-text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--color-text-muted), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* --------------------------------------------------------------------------
   Clients Section
   -------------------------------------------------------------------------- */
.clients {
    padding: var(--section-padding) 0;
    background: var(--color-bg-secondary);
    text-align: center;
}

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

.client-card {
    background: var(--color-bg-card);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: all var(--transition-medium);
}

.client-card:hover {
    border-color: var(--color-border-hover);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.client-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.client-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.client-card:hover .client-card-image img {
    transform: scale(1.05);
}

.client-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--color-bg-card), transparent);
}

.client-card-content {
    padding: 30px;
    text-align: left;
}

.client-card-content h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.client-card-content p {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Advantages Section
   -------------------------------------------------------------------------- */
.advantages {
    padding: var(--section-padding) 0;
    text-align: center;
}

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

.advantage-card {
    padding: 50px 40px;
    background: var(--color-bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--color-border);
    text-align: left;
    transition: all var(--transition-medium);
}

.advantage-card:hover {
    border-color: var(--color-accent);
    box-shadow: 0 0 60px rgba(59, 130, 246, 0.1);
}

.advantage-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    margin-bottom: 24px;
}

.advantage-icon svg {
    width: 28px;
    height: 28px;
    color: var(--color-accent);
}

.advantage-card h3 {
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.advantage-card p {
    font-size: 0.9375rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Product Section
   -------------------------------------------------------------------------- */
.product {
    padding: var(--section-padding) 0;
    background: var(--color-bg-secondary);
}

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

.product-label {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

.product-info .section-title {
    margin-bottom: 8px;
}

.product-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    margin-bottom: 8px;
}

.product-origin {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-bottom: 32px;
}

.product-specs {
    display: grid;
    gap: 20px;
}

.spec-card {
    padding: 30px;
    background: var(--color-bg-card);
    border-radius: 12px;
    border: 1px solid var(--color-border);
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
}

.spec-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-text-primary);
    letter-spacing: -0.02em;
}

.spec-unit {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-accent);
}

.spec-label {
    width: 100%;
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-top: 8px;
}

/* --------------------------------------------------------------------------
   Workflow Section
   -------------------------------------------------------------------------- */
.workflow {
    padding: var(--section-padding) 0;
    text-align: center;
}

.workflow-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
    position: relative;
}

.workflow-timeline::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: linear-gradient(
        to right,
        var(--color-border),
        var(--color-accent),
        var(--color-accent),
        var(--color-border)
    );
}

.workflow-step {
    position: relative;
    text-align: center;
}

.step-number {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    background: var(--color-bg-secondary);
    border: 2px solid var(--color-accent);
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-accent);
    position: relative;
    z-index: 2;
    transition: all var(--transition-medium);
}

.workflow-step:hover .step-number {
    background: var(--color-accent);
    color: var(--color-text-primary);
    box-shadow: 0 0 40px var(--color-accent-glow);
}

.step-content h3 {
    font-size: 1.125rem;
    margin-bottom: 8px;
}

.step-content p {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Contact Section
   -------------------------------------------------------------------------- */
.contact {
    padding: var(--section-padding) 0;
    background: var(--color-bg-secondary);
}

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

.contact-info .section-title {
    text-align: left;
}

.contact-info > p {
    color: var(--color-text-secondary);
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-item svg {
    width: 24px;
    height: 24px;
    color: var(--color-accent);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-item strong {
    font-weight: 600;
    color: var(--color-text-primary);
}

.contact-item span,
.contact-item a {
    color: var(--color-text-secondary);
    font-size: 0.9375rem;
}

.contact-item a:hover {
    color: var(--color-accent);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 20px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    color: var(--color-text-primary);
    outline: none;
    transition: all var(--transition-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

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

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--color-border);
}

.footer-brand p {
    margin-top: 20px;
    color: var(--color-text-secondary);
    font-size: 0.9375rem;
    max-width: 300px;
}

.footer-links h4 {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

.footer-links a {
    display: block;
    color: var(--color-text-secondary);
    font-size: 0.9375rem;
    margin-bottom: 12px;
}

.footer-links a:hover {
    color: var(--color-text-primary);
}

.footer-bottom {
    padding-top: 40px;
    text-align: center;
}

.footer-bottom p {
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

/* --------------------------------------------------------------------------
   Animations
   -------------------------------------------------------------------------- */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }

    .clients-grid,
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .workflow-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .workflow-timeline::before {
        display: none;
    }

    .product-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
        --container-padding: 20px;
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--color-bg-secondary);
        flex-direction: column;
        padding: 100px 40px;
        gap: 24px;
        transition: right var(--transition-medium);
        border-left: 1px solid var(--color-border);
    }

    .nav.active {
        right: 0;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .hero-cta .btn {
        width: 100%;
        max-width: 280px;
    }

    .clients-grid,
    .advantages-grid,
    .workflow-timeline {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .spec-value {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 0.875rem;
    }
}

/* --------------------------------------------------------------------------
   Workflow CTA Button
   -------------------------------------------------------------------------- */
.workflow-cta {
    margin-top: 80px;
    text-align: center;
}

.workflow-cta-text {
    font-size: 1.125rem;
    color: var(--color-text-secondary);
    margin-bottom: 24px;
}

.btn-workflow-procedure {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    padding: 20px 30px;
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    cursor: pointer;
    transition: all var(--transition-medium);
    text-align: left;
}

.btn-workflow-procedure:hover {
    border-color: var(--color-accent);
    background: var(--color-bg-tertiary);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 60px rgba(59, 130, 246, 0.1);
}

.btn-workflow-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    flex-shrink: 0;
}

.btn-workflow-icon svg {
    width: 28px;
    height: 28px;
    color: var(--color-accent);
}

.btn-workflow-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.btn-workflow-label {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text-primary);
}

.btn-workflow-sublabel {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.btn-workflow-arrow {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    margin-left: 10px;
    transition: all var(--transition-medium);
}

.btn-workflow-arrow svg {
    width: 20px;
    height: 20px;
    color: var(--color-text-muted);
    transition: all var(--transition-medium);
}

.btn-workflow-procedure:hover .btn-workflow-arrow {
    background: var(--color-accent);
}

.btn-workflow-procedure:hover .btn-workflow-arrow svg {
    color: var(--color-bg-primary);
    transform: translateX(3px);
}

@media (max-width: 768px) {
    .btn-workflow-procedure {
        width: 100%;
        max-width: 400px;
        padding: 16px 20px;
        gap: 15px;
    }

    .btn-workflow-icon {
        width: 48px;
        height: 48px;
    }

    .btn-workflow-icon svg {
        width: 24px;
        height: 24px;
    }

    .btn-workflow-label {
        font-size: 1rem;
    }

    .btn-workflow-arrow {
        display: none;
    }
}

/* --------------------------------------------------------------------------
   Procedure Button
   -------------------------------------------------------------------------- */
.hero-procedure {
    margin-top: 30px;
}

.btn-procedure {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: transparent;
    border: 2px solid #38BDF8;
    color: #38BDF8;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition-medium);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-procedure:hover {
    background: #38BDF8;
    color: var(--color-bg-primary);
    box-shadow: 0 0 40px rgba(56, 189, 248, 0.4);
    transform: translateY(-2px);
}

.btn-procedure svg {
    width: 22px;
    height: 22px;
}

/* --------------------------------------------------------------------------
   Modal Styles
   -------------------------------------------------------------------------- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 14, 23, 0.95);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: flex-start;
    padding: 40px 20px;
    overflow-y: auto;
    backdrop-filter: blur(10px);
}

.modal-overlay.active {
    display: flex;
}

.modal-container {
    width: 100%;
    max-width: 900px;
    background: #1E293B;
    border: 1px solid #334155;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: modalSlideIn 0.4s ease;
}

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

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: #94A3B8;
    font-size: 28px;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.modal-close:hover {
    background: #38BDF8;
    color: #0F172A;
}

.modal-content {
    padding: 60px;
    position: relative;
    overflow: hidden;
}

.modal-top-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, #38BDF8, #0EA5E9);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 2px solid #334155;
}

.modal-brand h1 {
    font-family: 'JetBrains Mono', 'Inter', monospace;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    letter-spacing: -1px;
    color: white;
}

.modal-brand h1 span {
    color: #38BDF8;
}

.modal-tagline {
    font-size: 12px;
    letter-spacing: 2px;
    color: #94A3B8;
    margin-top: 4px;
}

.modal-meta {
    text-align: right;
    font-family: 'JetBrains Mono', 'Inter', monospace;
    font-size: 12px;
    color: #94A3B8;
}

.modal-doc-title {
    font-size: 14px;
    color: #38BDF8;
    font-weight: bold;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-section-title {
    font-family: 'JetBrains Mono', 'Inter', monospace;
    font-size: 16px;
    color: white;
    margin-top: 50px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-section-title::before {
    content: "//";
    color: #38BDF8;
    margin-right: 10px;
    font-weight: bold;
}

.modal-specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    background: #0F172A;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #334155;
}

.modal-spec-item {
    display: flex;
    flex-direction: column;
}

.modal-spec-label {
    font-family: 'JetBrains Mono', 'Inter', monospace;
    font-size: 10px;
    text-transform: uppercase;
    color: #94A3B8;
    margin-bottom: 6px;
    letter-spacing: 1px;
}

.modal-spec-value {
    font-size: 15px;
    font-weight: 500;
    color: #F1F5F9;
}

.modal-highlight {
    color: #38BDF8;
}

.modal-procedure-list {
    counter-reset: item;
    list-style: none;
    padding: 0;
    margin: 0;
}

.modal-procedure-list > li {
    position: relative;
    padding-left: 50px;
    margin-bottom: 20px;
    color: #CBD5E1;
    line-height: 1.7;
}

.modal-procedure-list > li::before {
    content: counter(item, decimal-leading-zero);
    counter-increment: item;
    position: absolute;
    left: 0;
    top: 0;
    font-family: 'JetBrains Mono', 'Inter', monospace;
    font-size: 14px;
    color: #38BDF8;
    font-weight: bold;
    opacity: 0.8;
}

.modal-doc-list {
    margin-top: 10px;
    background: rgba(255, 255, 255, 0.03);
    padding: 15px 15px 15px 25px;
    border-left: 2px solid #334155;
    border-radius: 0 4px 4px 0;
    list-style: none;
}

.modal-doc-list li {
    font-size: 13px;
    color: #94A3B8;
    margin-bottom: 5px;
    position: relative;
    padding-left: 15px;
}

.modal-doc-list li::before {
    content: ">";
    position: absolute;
    left: 0;
    color: #38BDF8;
    font-family: monospace;
}

.modal-note {
    font-size: 13px;
    color: #94A3B8;
    background: rgba(56, 189, 248, 0.05);
    padding: 10px 15px;
    border-radius: 4px;
    border-left: 3px solid #38BDF8;
    margin-top: 10px;
}

.modal-footer {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #334155;
    font-size: 13px;
    color: #94A3B8;
    line-height: 1.8;
}

.modal-footer strong {
    color: #F1F5F9;
    font-size: 14px;
}

/* Modal Responsive */
@media (max-width: 768px) {
    .modal-content {
        padding: 40px 25px;
    }

    .modal-header {
        flex-direction: column;
        gap: 20px;
    }

    .modal-meta {
        text-align: left;
    }

    .modal-specs-grid {
        grid-template-columns: 1fr;
    }

    .modal-procedure-list > li {
        padding-left: 35px;
    }
}

/* Body scroll lock when modal is open */
body.modal-open {
    overflow: hidden;
}
