/* ===== Design Tokens ===== */
:root {
    --bg-primary: #fefefe;
    --bg-secondary: #f9f8f6;
    --bg-tertiary: #f3f1ed;
    --bg-warm: #faf9f7;
    
    --text-primary: #111111;
    --text-secondary: #555555;
    --text-tertiary: #888888;
    
    --accent: #1e40af;
    --accent-light: #2563eb;
    --accent-dark: #1e3a8a;
    
    --border: #e5e3df;
    --border-light: #efeee9;
    
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --section-padding: 100px;
    --container-max: 1120px;
    --transition: 0.25s ease;
}

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

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

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

body.menu-open {
    overflow: hidden;
}

/* ===== Utilities ===== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

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

h1 { 
    font-size: clamp(2.25rem, 4.5vw, 3.25rem); 
    letter-spacing: -0.025em;
    font-weight: 700;
}

h2 { 
    font-size: clamp(1.75rem, 3.5vw, 2.5rem); 
    letter-spacing: -0.02em;
}

h3 { 
    font-size: 1.375rem;
    letter-spacing: -0.01em;
}

h4 { 
    font-size: 1.0625rem;
    font-weight: 600;
}

h5 { 
    font-size: 0.8125rem; 
    text-transform: uppercase; 
    letter-spacing: 0.08em; 
    color: var(--text-tertiary);
    font-weight: 600;
}

.lead { 
    font-size: 1.125rem; 
    color: var(--text-secondary);
    line-height: 1.7;
}

.section-label {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}

.section-label.light {
    color: rgba(255, 255, 255, 0.5);
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 6px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: var(--font-primary);
}

.btn-primary {
    background: var(--accent);
    color: white;
}

.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.25);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.35);
}

.btn-nav {
    padding: 9px 18px;
    background: var(--text-primary);
    color: white;
    font-size: 0.8125rem;
}

.btn-nav:hover { background: #333; }

.btn-large {
    padding: 16px 32px;
    font-size: 0.9375rem;
}

.btn-full { width: 100%; }

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
}

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

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    position: relative;
    z-index: 210;
}

.logo span {
    font-weight: 400;
    color: var(--text-tertiary);
    margin-left: 0.35em;
}

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

.nav-links a {
    font-size: 0.875rem;
    color: var(--text-secondary);
    transition: var(--transition);
    font-weight: 450;
}

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

/* ===== Hamburger ===== */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 28px;
    height: 28px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    position: relative;
    z-index: 210;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
    border-radius: 2px;
}

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

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

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

/* ===== Mobile Menu ===== */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    z-index: 200;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    overflow-y: auto;
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu-inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;
    padding: 88px 24px 40px;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
}

.mobile-link {
    display: block;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition);
}

.mobile-link:first-child {
    border-top: 1px solid var(--border-light);
}

.mobile-link:hover {
    padding-left: 8px;
}

.mobile-link-label {
    display: block;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    margin-bottom: 4px;
}

.mobile-link-desc {
    display: block;
    font-size: 0.875rem;
    color: var(--text-tertiary);
    font-weight: 400;
}

.mobile-menu-footer {
    padding-top: 32px;
}

.mobile-menu-email {
    text-align: center;
    margin-top: 16px;
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

/* ===== Floating Contact ===== */
.floating-contact {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 99;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: var(--accent);
    color: white;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    box-shadow: 0 4px 20px rgba(30, 64, 175, 0.35);
    transition: var(--transition);
    cursor: pointer;
}

.floating-contact:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(30, 64, 175, 0.4);
}

.floating-contact svg { width: 18px; height: 18px; }

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

.hero-video-wrapper {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-fallback {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-video {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        135deg,
        rgba(10, 15, 30, 0.88) 0%,
        rgba(20, 30, 50, 0.78) 50%,
        rgba(10, 15, 30, 0.88) 100%
    );
}

.hero-container {
    position: relative;
    z-index: 3;
    padding-top: 64px;
}

.hero-content {
    max-width: 640px;
    color: white;
}

.hero-purpose {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 16px;
}

.hero-content h1 {
    color: white;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-sub {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 32px;
    max-width: 540px;
    line-height: 1.7;
}

.hero-ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-line {
    width: 1px;
    height: 48px;
    background: rgba(255, 255, 255, 0.12);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.6);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0% { top: -100%; }
    100% { top: 100%; }
}

/* ===== Stats ===== */
.stats-bar {
    background: var(--bg-tertiary);
    padding: 40px 0;
    border-bottom: 1px solid var(--border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.stat {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
    flex-wrap: wrap;
}

.stat-number {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    letter-spacing: -0.02em;
}

.stat-suffix {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent);
}

.stat-label {
    width: 100%;
    font-size: 0.8125rem;
    color: var(--text-tertiary);
    margin-top: 6px;
}

/* ===== About ===== */
.about {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
}

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

.about-content h2 { margin-bottom: 20px; }
.about-content .lead { margin-bottom: 20px; }

.about-content p {
    color: var(--text-secondary);
    margin-bottom: 14px;
    font-size: 0.9375rem;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.value-card {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: var(--bg-secondary);
    border-radius: 10px;
    border: 1px solid var(--border-light);
    transition: var(--transition);
    align-items: flex-start;
}

.value-card:hover {
    border-color: var(--border);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
}

.value-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(30, 64, 175, 0.08);
    border-radius: 8px;
    color: var(--accent);
}

.value-icon svg { width: 20px; height: 20px; }

.value-text h4 { margin-bottom: 6px; }

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

/* ===== Services ===== */
.services {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.section-header {
    max-width: 520px;
    margin-bottom: 56px;
}

.section-header h2 { margin-bottom: 12px; }

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

/* Process Flow */
.process-flow {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    margin-bottom: 56px;
    padding: 40px 0;
    background: var(--bg-primary);
    border-radius: 12px;
    border: 1px solid var(--border);
}

.process-step {
    text-align: center;
    flex: 1;
    padding: 0 20px;
}

.process-num {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.04em;
    margin-bottom: 8px;
}

.process-step h4 {
    font-size: 0.9375rem;
    margin-bottom: 4px;
}

.process-step p {
    font-size: 0.8125rem;
    color: var(--text-tertiary);
    margin: 0;
    line-height: 1.5;
}

.process-connector {
    width: 40px;
    height: 1px;
    background: var(--border);
    flex-shrink: 0;
    margin-top: 14px;
    position: relative;
}

.process-connector::after {
    content: '';
    position: absolute;
    right: 0;
    top: -3px;
    width: 7px;
    height: 7px;
    border-top: 1px solid var(--border);
    border-right: 1px solid var(--border);
    transform: rotate(45deg);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.service-card {
    padding: 40px;
    background: var(--bg-primary);
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.service-card:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
}

.service-header-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.service-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(30, 64, 175, 0.06);
    border-radius: 10px;
    color: var(--accent);
    flex-shrink: 0;
}

.service-icon svg { width: 22px; height: 22px; }

.service-card > p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 0.9375rem;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-list li {
    font-size: 0.875rem;
    color: var(--text-secondary);
    padding-left: 20px;
    position: relative;
}

.service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}

.services-secondary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-small {
    padding: 28px;
    background: var(--bg-primary);
    border-radius: 10px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.service-small:hover { border-color: var(--accent); }
.service-small h4 { margin-bottom: 8px; }

.service-small p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

/* ===== Commodities ===== */
.commodities {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
}

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

.commodity {
    padding: 28px;
    background: var(--bg-secondary);
    border-radius: 10px;
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.commodity:hover {
    border-color: var(--accent);
    background: var(--bg-warm);
}

.commodity-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 10px;
}

.commodity-symbol {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent);
    background: rgba(30, 64, 175, 0.06);
    border-radius: 8px;
    flex-shrink: 0;
}

.commodity-name {
    font-size: 1.125rem;
    font-weight: 600;
    display: block;
}

.commodity-tag {
    font-size: 0.6875rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 500;
}

.commodity p {
    font-size: 0.875rem;
    color: var(--text-tertiary);
    margin: 0;
}

/* ===== Global ===== */
.global {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, #0c1222 0%, #1a2744 100%);
    color: white;
}

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

.global h2 {
    color: white;
    margin-bottom: 16px;
}

.global .lead {
    color: rgba(255, 255, 255, 0.6);
}

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

.region {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 24px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
}

.region:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
}

.region-marker {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.3);
    flex-shrink: 0;
    padding-top: 2px;
}

.region h4 {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 6px;
}

.region p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* ===== CTA ===== */
.cta {
    padding: var(--section-padding) 0;
    background: var(--bg-tertiary);
    text-align: center;
}

.cta-content {
    max-width: 500px;
    margin: 0 auto;
}

.cta h2 { margin-bottom: 12px; }

.cta-content > p {
    color: var(--text-secondary);
    margin-bottom: 28px;
    font-size: 0.9375rem;
}

.cta-email {
    margin-top: 20px;
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

/* ===== Footer ===== */
.footer {
    padding: 64px 0 32px;
    background: var(--bg-primary);
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 64px;
    margin-bottom: 48px;
}

.footer-brand p {
    margin-top: 14px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    max-width: 260px;
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-col h5 { margin-bottom: 16px; }

.footer-col a,
.footer-col p {
    display: block;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
    transition: var(--transition);
}

.footer-col a:hover { color: var(--accent); }

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

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

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    :root { --section-padding: 72px; }
    
    .about-grid,
    .global-grid { grid-template-columns: 1fr; gap: 40px; }
    
    .services-grid { grid-template-columns: 1fr; }
    .services-secondary { grid-template-columns: 1fr; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    
    .floating-contact { bottom: 24px; right: 24px; }

    .process-connector { width: 24px; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-container .btn-nav { display: none; }
    .hamburger { display: flex; }
    
    .stats-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .stat-number { font-size: 1.75rem; }
    .stat-suffix { font-size: 1.25rem; }
    
    .commodities-grid { grid-template-columns: 1fr 1fr; }
    .regions { gap: 12px; }
    
    .footer-links { grid-template-columns: 1fr 1fr; }
    
    .hero-ctas { flex-direction: column; }
    .hero-ctas .btn { width: 100%; }
    
    .floating-contact {
        bottom: 100px;
        right: 16px;
        padding: 12px;
        border-radius: 50%;
    }
    
    .floating-contact span { display: none; }

    .process-flow {
        flex-wrap: wrap;
        gap: 20px;
        padding: 28px 20px;
    }

    .process-step { flex: 0 0 calc(50% - 10px); }
    .process-connector { display: none; }
}

@media (max-width: 480px) {
    .commodities-grid { grid-template-columns: 1fr; }
    .footer-links { grid-template-columns: 1fr; }
    .service-card { padding: 28px 20px; }
    .stats-grid { grid-template-columns: 1fr; gap: 20px; }
    .process-step { flex: 0 0 100%; }
}
