@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    /* Color Palette */
    --bg-dark: #080b11;
    --bg-dark-secondary: #0f1524;
    --bg-card: rgba(17, 24, 39, 0.7);
    --bg-card-hover: rgba(26, 36, 57, 0.85);
    
    --primary: #38bdf8; /* Cyan */
    --secondary: #6366f1; /* Indigo */
    --accent: #f59e0b; /* Premium Gold accent for trust elements */
    
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    
    --border-color: rgba(255, 255, 255, 0.07);
    --border-hover: rgba(56, 189, 248, 0.3);
    
    --glow-primary: rgba(56, 189, 248, 0.15);
    --glow-secondary: rgba(99, 102, 241, 0.15);
    
    /* Layout */
    --header-height: 80px;
    --max-width: 1200px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html, body {
    width: 100%;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    position: relative;
}

/* Subtle background glowing spots */
body::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, rgba(0,0,0,0) 70%);
    top: -100px;
    left: -100px;
    z-index: -1;
    pointer-events: none;
}

body::after {
    content: '';
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.06) 0%, rgba(0,0,0,0) 70%);
    top: 600px;
    right: -200px;
    z-index: -1;
    pointer-events: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #ffffff;
}

h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.2rem;
    line-height: 1.3;
    margin-bottom: 1.2rem;
}

h3 {
    font-size: 1.5rem;
    line-height: 1.4;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.2rem;
    line-height: 1.4;
    margin-bottom: 0.8rem;
}


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

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

.section {
    padding: 8rem 0 4rem;
    position: relative;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-border {
    position: relative;
    border: 1px solid transparent;
    background: linear-gradient(var(--bg-card), var(--bg-card)) padding-box,
                linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%) border-box;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(56, 189, 248, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.btn-gold {
    background: linear-gradient(135deg, var(--accent) 0%, #d97706 100%);
    color: #000;
    font-weight: 700;
    border: none;
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.2);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(245, 158, 11, 0.35);
}

/* Glassmorphism Cards */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    background: var(--bg-dark-secondary);
    border-color: var(--border-hover);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px var(--glow-primary);
}

/* Navigation */
header {
    height: var(--header-height);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
}

header.scrolled {
    background: rgba(8, 11, 17, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    height: 70px;
    --header-height: 70px;
}

.nav-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    color: #ffffff;
}

.logo-icon {
    width: 40px;
    height: 40px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a:hover, .nav-links a.active {
    color: #ffffff;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: var(--transition);
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-subtitle {
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    color: var(--primary);
    margin-bottom: 1rem;
    display: inline-block;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 580px;
}

.hero-cta {
    display: flex;
    gap: 1.2rem;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-globe-container {
    width: 100%;
    max-width: 450px;
    aspect-ratio: 1 / 1;
    height: auto;
    position: relative;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, rgba(8,11,17,0) 70%);
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px dashed rgba(255, 255, 255, 0.05);
}

.hero-device-mock {
    position: absolute;
    width: 65%;
    border-radius: 28px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.6), 0 0 40px rgba(56, 189, 248, 0.2);
    border: 3px solid rgba(255, 255, 255, 0.1);
    transform: rotate(-10deg) translateY(-10px);
    transition: var(--transition);
    z-index: 2;
}

.hero-device-mock-2 {
    position: absolute;
    width: 55%;
    aspect-ratio: 9 / 13;
    height: auto !important;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5), 0 0 30px rgba(99, 102, 241, 0.15);
    border: 3px solid rgba(255, 255, 255, 0.08);
    transform: rotate(15deg) translate(80px, 40px);
    transition: var(--transition);
    z-index: 1;
    opacity: 0.8;
}

.hero-visual:hover .hero-device-mock {
    transform: rotate(-5deg) translateY(-20px);
}

.hero-visual:hover .hero-device-mock-2 {
    transform: rotate(10deg) translate(90px, 20px);
}

/* Quick Stats Bar */
.stats-bar {
    background: rgba(15, 21, 36, 0.7);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 3rem 0;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    background: linear-gradient(135deg, #ffffff 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
}

/* Core Highlights / Services Section */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem;
}

.section-subtitle {
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    color: var(--primary);
    margin-bottom: 0.75rem;
    display: inline-block;
}

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

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

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(56, 189, 248, 0.2);
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

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

/* Supply Chain map visual */
.map-section {
    background: radial-gradient(circle at center, rgba(15, 21, 36, 0.5) 0%, var(--bg-dark) 100%);
}

.map-container {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 8 / 4.5;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    background: rgba(10, 15, 26, 0.8) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='1' fill='rgba(255,255,255,0.03)'/%3E%3C/svg%3E") repeat;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: inset 0 0 50px rgba(0,0,0,0.8);
}

/* SVG interactive graphic instead of plain map */
.supply-svg {
    width: 90%;
    height: 85%;
}

.pulse-circle {
    animation: mapPulse 2s infinite;
}

@keyframes mapPulse {
    0% { r: 6; opacity: 1; }
    50% { r: 18; opacity: 0.4; }
    100% { r: 30; opacity: 0; }
}

.flow-line {
    stroke-dasharray: 8;
    animation: dash 30s linear infinite;
}

@keyframes dash {
    to {
        stroke-dashoffset: -1000;
    }
}

/* About/Profile Highlight Style */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.split-image-wrapper {
    position: relative;
}

.split-image {
    width: 100%;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.badge-float {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 1.5rem;
    color: #ffffff;
    box-shadow: 0 15px 30px rgba(99, 102, 241, 0.3);
    text-align: center;
    backdrop-filter: blur(10px);
}

.badge-title {
    font-size: 1.8rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
}

.badge-text {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Info List */
.info-list {
    list-style: none;
    margin-top: 2rem;
}

.info-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
    font-size: 1rem;
    color: var(--text-secondary);
}

.info-list li svg {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.info-list strong {
    color: #ffffff;
}

/* Grading Grid styles */
.grading-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.grading-card {
    background: var(--bg-dark-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: var(--transition);
}

.grading-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(56, 189, 248, 0.1);
}

.grade-badge {
    display: inline-block;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.grade-a-plus { background: rgba(16, 185, 129, 0.15); color: #10b981; border: 1px solid rgba(16, 185, 129, 0.3); }
.grade-a { background: rgba(56, 189, 248, 0.15); color: #38bdf8; border: 1px solid rgba(56, 189, 248, 0.3); }
.grade-b { background: rgba(245, 158, 11, 0.15); color: #f59e0b; border: 1px solid rgba(245, 158, 11, 0.3); }
.grade-c { background: rgba(239, 68, 68, 0.15); color: #ef4444; border: 1px solid rgba(239, 68, 68, 0.3); }

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-control {
    width: 100%;
    background: rgba(8, 11, 17, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.9rem 1.2rem;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.2);
}

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

/* Footer */
footer {
    background: #04060b;
    border-top: 1px solid var(--border-color);
    padding: 6rem 0 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-top: 1rem;
    max-width: 280px;
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 5px;
}

.contact-info-list {
    list-style: none;
}

.contact-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.contact-info-list li svg {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

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

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

/* Custom Responsive Layout Classes */
.val-prop-card {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
}

.workflow-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
}

.cta-card {
    padding: 4rem 2rem;
}

.office-mock-card {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.15) 0%, rgba(99, 102, 241, 0.15) 100%);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 4rem;
    text-align: center;
    position: relative;
}

.params-card {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(56, 189, 248, 0.1) 100%);
    border-radius: 16px;
    padding: 3rem;
    border: 1px solid var(--border-color);
}

.page-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-title {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

/* Responsiveness */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
    
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .split-section {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .grading-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }

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

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }
    
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.3rem; }
    h4 { font-size: 1.1rem; }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    header.scrolled {
        height: 60px;
        --header-height: 60px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .section {
        padding: 3.5rem 0 2rem;
    }
    
    .section-header {
        margin-bottom: 2.5rem;
    }
    
    .split-section {
        gap: 2.5rem;
    }
    
    .nav-links {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--bg-dark);
        flex-direction: column;
        justify-content: center;
        gap: 2.5rem;
        padding: 2rem;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-top: 1px solid var(--border-color);
        z-index: 999;
        overflow-y: auto; /* Fallback for small heights */
    }
    
    .nav-links.active {
        transform: translateX(0);
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .grading-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    header.nav-active {
        background: var(--bg-dark) !important;
        border-bottom: 1px solid var(--border-color);
    }

    .val-prop-card {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }

    .badge-float {
        position: relative;
        bottom: 0;
        right: 0;
        margin-top: 1.5rem;
        margin-left: auto;
        margin-right: auto;
        max-width: 250px;
    }

    .hero-globe-container {
        max-width: 320px;
    }
    
    .hero-device-mock {
        width: 60%;
        transform: rotate(-6deg) translateY(-5px);
    }
    
    .hero-device-mock-2 {
        width: 50%;
        transform: rotate(10deg) translate(35px, 20px);
    }

    .map-container {
        height: auto;
        aspect-ratio: 8 / 5.5;
    }

    .split-image-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 1.5rem !important;
    }

    .cta-card {
        padding: 3rem 1.5rem;
    }

    .office-mock-card {
        padding: 3rem 2rem;
    }

    .params-card {
        padding: 2rem 1.5rem;
    }

    .page-title {
        font-size: 2.2rem;
    }

    .cta-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }
    
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.2rem; }
    h4 { font-size: 1rem; }

    
    .hero {
        min-height: auto;
        padding: 4.5rem 0 2.5rem;
    }

    .hero h1 {
        font-size: 2.1rem;
    }
    
    .hero-device-mock {
        width: 55%;
        transform: rotate(-4deg) translateY(-5px);
    }
    
    .hero-device-mock-2 {
        width: 45%;
        transform: rotate(6deg) translate(25px, 10px);
    }
    
    .section {
        padding: 2.5rem 0 1.25rem;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .split-section {
        gap: 2rem;
    }

    .hero-desc {
        font-size: 1rem;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
        gap: 0.8rem;
    }

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

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .workflow-grid {
        grid-template-columns: 1fr;
    }

    .badge-title {
        font-size: 1.5rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .card {
        padding: 1.5rem;
    }

    .grading-card {
        padding: 1.25rem;
    }

    .cta-card {
        padding: 2rem 1.25rem;
    }

    .office-mock-card {
        padding: 2rem 1.25rem;
    }

    .params-card {
        padding: 1.5rem 1rem;
    }

    .page-title {
        font-size: 1.8rem;
    }

    .cta-title {
        font-size: 1.5rem;
    }
}

/* Body Scroll Lock */
body.scroll-locked {
    overflow: hidden !important;
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    z-index: 9999;
    width: 0%;
    transition: width 0.1s ease-out;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(15, 21, 36, 0.8);
    border: 1px solid var(--border-color);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--bg-dark-secondary);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(56, 189, 248, 0.25);
}

/* CTA Buttons Group */
.cta-btn-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

@media (max-width: 480px) {
    .cta-btn-group {
        flex-direction: column;
        width: 100%;
        gap: 0.8rem;
    }
    .cta-btn-group .btn {
        width: 100%;
    }
}

/* Supply Map Label Sizing */
.map-label {
    font-size: 12px;
    letter-spacing: 0.05em;
    fill: #ffffff;
    transition: var(--transition);
}

@media (max-width: 768px) {
    .map-label {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .map-label {
        font-size: 24px;
    }
}

/* B2B Portal Login Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(4, 6, 11, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    padding: 1.5rem;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: var(--bg-dark-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    width: 100%;
    max-width: 480px;
    padding: 3rem;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 50px rgba(56, 189, 248, 0.1);
    transform: translateY(20px) scale(0.95);
    transition: var(--transition);
    backdrop-filter: blur(16px);
}

.modal-overlay.active .modal-container {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid transparent;
}

.modal-close:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--border-color);
}

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.4rem;
    color: #ffffff;
    text-decoration: none;
}

.modal-logo-icon {
    width: 32px;
    height: 32px;
}

.modal-header h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.modal-header p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Modal feedback animations/states */
.modal-feedback {
    display: none;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    line-height: 1.4;
    animation: slideIn 0.3s ease-out;
}

.modal-feedback.error {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.modal-feedback.success {
    display: block;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #10b981;
}

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

@media (max-width: 480px) {
    .modal-container {
        padding: 2rem 1.5rem;
    }
}

