:root {
    --bg-dark: #11161B;
    --panel-grey: #1A212A;
    --accent-jade: #A3B899;
    --action-gold: #D4AF37;
    --text-white: #F4F6F9;
    --border-dark: #262626;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Inter', sans-serif; background-color: var(--bg-dark); color: var(--text-white); line-height: 1.6; -webkit-font-smoothing: antialiased; }

header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1.5rem 3rem; position: fixed; top: 0; width: 100%; z-index: 100;
    background: rgba(17, 22, 27, 0.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border-dark);
}
.logo { font-size: 1.25rem; font-weight: 800; letter-spacing: 2px; color: var(--text-white); }
.logo::after { content: '.'; color: var(--action-gold); }
.lang-switch a { color: #666; text-decoration: none; font-size: 0.85rem; font-weight: 600; margin: 0 0.5rem; transition: color 0.3s; }
.lang-switch a:hover, .lang-switch a.active { color: var(--text-white); }

/* HERO */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding: 0 3rem; overflow: hidden; }
.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; background-color: rgba(17, 22, 27, 0.8); background-blend-mode: multiply; z-index: -1; }
.hero-content { max-width: 900px; }
.hero h1 { font-size: 4rem; font-weight: 800; line-height: 1.1; margin-bottom: 1.5rem; letter-spacing: -1px; }
.hero p { font-size: 1.25rem; color: #A0AAB5; margin-bottom: 3rem; max-width: 600px; }

.btn-primary { display: inline-block; padding: 1rem 2rem; background-color: var(--action-gold); color: var(--bg-dark); text-decoration: none; font-weight: 800; letter-spacing: 1px; transition: all 0.3s ease; border: 1px solid var(--action-gold); }
.btn-primary:hover { background-color: transparent; color: var(--action-gold); }

/* SECTIONS */
section { padding: 6rem 3rem; max-width: 1400px; margin: 0 auto; }
section h2 { font-size: 0.9rem; color: #666; letter-spacing: 2px; margin-bottom: 3rem; font-weight: 600; }

/* GRIDS */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.text-block p { margin-bottom: 1.5rem; font-size: 1.1rem; color: #bbb; }

/* GLASS STATS */
.glass-stats {
    background: rgba(26, 33, 42, 0.4);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.stat-item { text-align: center; }
.stat-number { font-size: 3.5rem; font-weight: 800; color: var(--text-white); text-shadow: 0 0 10px rgba(255,255,255,0.2); }
.stat-plus { font-size: 2rem; color: var(--action-gold); font-weight: 800; }
.stat-desc { display: block; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; color: #888; }

/* CARDS */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.cards-grid.align-top { align-items: start; }
.card { background-color: var(--panel-grey); padding: 3rem 2rem; border: 1px solid transparent; transition: border-color 0.3s; }
.card:hover { border-color: var(--border-dark); }
.card h3 { font-size: 1.25rem; margin-bottom: 1rem; color: var(--text-white); }
.card p { color: #999; font-size: 0.95rem; }
.big-metric { font-size: 2.5rem; font-weight: 800; color: var(--accent-jade); margin-bottom: 1rem; }
.big-metric small { font-size: 1rem; color: #888; }

/* CAROUSEL & NEW PRODUCT CARDS */
.carousel { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 2rem; padding-bottom: 2rem; }
.carousel::-webkit-scrollbar { height: 8px; }
.carousel::-webkit-scrollbar-thumb { background: #333; }

.p-card { min-width: 330px; max-width: 350px; background: rgba(26, 33, 42, 0.4); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.1); color: var(--text-white); scroll-snap-align: start; padding: 1.5rem; border-radius: 16px; position: relative; display: flex; flex-direction: column; box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37); }
.p-badge { position: absolute; top: 1.5rem; left: 1.5rem; background: var(--action-gold); color: var(--bg-dark); padding: 0.25rem 0.5rem; font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; border-radius: 4px;}
.p-image-box { height: 180px; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; margin-top: 1.5rem;}
.p-bean-icon { font-size: 5rem; color: #888; filter: drop-shadow(0 10px 10px rgba(0,0,0,0.3)); }
.p-attributes { display: flex; align-items: center; gap: 1rem; border-top: 1px solid rgba(255,255,255,0.1); border-bottom: 1px solid rgba(255,255,255,0.1); padding: 1rem 0; margin-bottom: 1.5rem; }
.p-attr-circle { display: flex; flex-direction: column; align-items: center; padding-right: 1rem; border-right: 1px solid rgba(255,255,255,0.1); }
.p-attr-val { font-size: 1.25rem; font-weight: 800; border: 2px dashed rgba(255,255,255,0.3); border-radius: 50%; width: 45px; height: 45px; display: flex; align-items: center; justify-content: center; margin-bottom: 0.5rem; color: var(--text-white); }
.p-attr-label { font-size: 0.65rem; text-transform: uppercase; color: #aaa; font-weight: 800; letter-spacing: 1px;}
.p-attr-text { display: flex; flex-direction: column; flex: 1; align-items: center;}
.p-attr-icon { font-size: 1.5rem; color: var(--text-white); margin-bottom: 0.25rem; }
.p-info h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 0.5rem; color: var(--text-white); letter-spacing: -0.5px;}
.p-info .desc { font-size: 0.85rem; color: #aaa; line-height: 1.5; margin-bottom: 1.5rem; min-height: 60px;}
.p-footer { display: flex; justify-content: space-between; align-items: flex-end; margin-top: auto; }
.p-price strong { font-size: 1.25rem; color: var(--accent-jade); font-weight: 800;}
.p-price span { font-size: 0.85rem; color: #888; }
.p-add-btn { background: var(--accent-jade); color: var(--bg-dark); width: 45px; height: 45px; border-radius: 50%; border: none; font-size: 1.5rem; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: transform 0.2s, opacity 0.3s; box-shadow: 0 4px 10px rgba(163, 184, 153, 0.2);}
.p-add-btn:hover { opacity: 0.8; transform: scale(1.05); }

/* MAP */
.map-container { position: relative; }
.map-legend { display: flex; gap: 2rem; margin-top: 1rem; font-size: 0.85rem; color: #888; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 0.5rem; }
.line { display: inline-block; width: 20px; height: 2px; margin-right: 0.5rem; vertical-align: middle; }
.dot.hq { background: var(--action-gold); }
.dot.port { background: var(--accent-jade); }
.line.future { border-top: 2px dashed #555; background: transparent; }

/* Map Markers */
.pulse-gold { width: 12px; height: 12px; background: var(--action-gold); border-radius: 50%; box-shadow: 0 0 10px var(--action-gold); }
.pulse-jade { width: 10px; height: 10px; background: var(--accent-jade); border-radius: 50%; box-shadow: 0 0 8px var(--accent-jade); }
.pulse-grey { width: 10px; height: 10px; background: transparent; border: 2px solid #888; border-radius: 50%; }
.leaflet-popup-content-wrapper { background: var(--bg-dark); color: var(--text-white); border: 1px solid var(--border-dark); border-radius: 0; }
.leaflet-popup-tip { background: var(--bg-dark); }

/* SHIPPING */
.ship-icon { font-size: 2.5rem; margin-bottom: 1.5rem; }
.advantage { color: var(--accent-jade) !important; margin-top: 1rem; }

/* TABLES */
.data-grid { width: 100%; overflow-x: auto; margin-bottom: 2rem; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th, td { padding: 1.25rem; border-bottom: 1px solid var(--border-dark); }
th { color: #888; font-weight: 600; font-size: 0.85rem; text-transform: uppercase; }

/* PROCUREMENT */
.procurement-form { background-color: var(--panel-grey); padding: 3rem; max-width: 800px; margin: 0 auto; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-size: 0.85rem; color: #888; margin-bottom: 0.5rem; }
.form-group input { width: 100%; padding: 1rem; background-color: var(--bg-dark); border: 1px solid var(--border-dark); color: var(--text-white); }
.btn-action { width: 100%; padding: 1.25rem; background-color: var(--action-gold); color: var(--bg-dark); border: none; font-weight: 800; cursor: pointer; }

.download-btn { display: inline-block; padding: 0.5rem 1rem; background-color: var(--panel-grey); color: var(--action-gold); text-decoration: none; font-size: 0.85rem; font-weight: 600; border: 1px solid var(--border-dark); transition: all 0.3s; }
.download-btn:hover { background-color: var(--border-dark); color: var(--text-white); }

.compare-btn { background: transparent; border: 1px solid #444; color: #888; border-radius: 4px; padding: 0.4rem 0.6rem; font-size: 1rem; cursor: pointer; margin-right: 0.5rem; transition: all 0.3s; }
.compare-btn:hover { border-color: var(--accent-jade); color: var(--accent-jade); }

footer { border-top: 1px solid var(--border-dark); padding: 3rem; text-align: center; color: #666; font-size: 0.85rem; }

/* RESPONSIVENESS */
@media (max-width: 900px) {
    .grid-2 { grid-template-columns: 1fr; gap: 2rem; }
    .hero h1 { font-size: 2.5rem; margin-top: 5rem; }
    .hero p { font-size: 1rem; }
    header { flex-direction: column; padding: 1rem; gap: 0.5rem; }
    .lang-switch { display: flex; flex-wrap: wrap; justify-content: center; }
    section { padding: 4rem 1.5rem; }
    .hero { padding: 0 1.5rem; text-align: center; display: flex; justify-content: center; }
    .p-card { min-width: 280px; max-width: 300px; }
    .stat-number { font-size: 2.5rem; }
    .cards-grid { grid-template-columns: 1fr; }
    .procurement-form { padding: 1.5rem; }
    #compare-bar { flex-direction: column; gap: 1rem; padding: 1rem; text-align: center; }
    .p-image-box { height: 140px; }
}

@media (max-width: 600px) {
    .hero h1 { font-size: 2rem; }
    .data-grid th, .data-grid td { padding: 0.75rem; font-size: 0.85rem; }
}
