
:root {
    --navy-950: #060E1A;
    --navy-900: #0B192C;
    --navy-800: #13294B;
    --navy-700: #1E3E6E;
    --crimson-600: #C81E32;
    --crimson-700: #9E1424;
    --crimson-50: #FFF1F2;
    --gold-500: #D4AF37;
    --gold-400: #E5C454;
    --gold-100: #FEF9E7;
    --slate-900: #0F172A;
    --slate-700: #334155;
    --slate-600: #475569;
    --slate-400: #94A3B8;
    --slate-200: #E2E8F0;
    --slate-100: #F1F5F9;
    --slate-50: #F8FAFC;
    --white: #FFFFFF;
    --radius-lg: 18px;
    --radius-md: 12px;
    --shadow-card: 0 12px 32px rgba(11, 25, 44, 0.08);
    --shadow-lg: 0 22px 50px rgba(6, 14, 26, 0.18);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Vazirmatn', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--slate-50);
    color: var(--slate-900);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Utility Bar */
.topbar {
    background: var(--navy-950);
    color: rgba(255,255,255,0.88);
    font-size: 0.83rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
    padding: 8px 0;
}
.topbar-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.rate-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(200, 30, 50, 0.22);
    border: 1px solid rgba(200, 30, 50, 0.55);
    padding: 3px 12px;
    border-radius: 999px;
    color: #fff;
    font-weight: 600;
}
.rate-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #FF4D62;
    box-shadow: 0 0 8px #FF4D62;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.55; transform: scale(1.25); }
}

.lang-switcher { display: flex; align-items: center; gap: 6px; }
.lang-btn {
    color: rgba(255,255,255,0.78);
    text-decoration: none;
    padding: 3px 10px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.8rem;
    transition: all 0.2s;
    border: 1px solid transparent;
}
.lang-btn:hover { color: #fff; border-color: rgba(255,255,255,0.25); }
.lang-btn.active { background: var(--crimson-600); color: #fff; border-color: var(--crimson-600); }

/* Vessel Laycan Strip */
.vessel-strip {
    background: linear-gradient(90deg, #7f101d 0%, var(--crimson-600) 50%, #7f101d 100%);
    color: #fff;
    font-size: 0.86rem;
    padding: 7px 0;
    text-align: center;
    font-weight: 600;
}
.vessel-strip strong { color: #FDE047; margin-inline-end: 6px; }

/* Main Header */
.navbar {
    background: var(--navy-900);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 6px 24px rgba(6, 14, 26, 0.35);
    border-bottom: 2px solid var(--crimson-600);
}
.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    gap: 16px;
}
.brand-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}
.brand-logo img {
    max-height: 50px;
    max-width: 220px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
    list-style: none;
}
.nav-links a {
    color: rgba(255,255,255,0.92);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold-400); }
.nav-cta {
    background: linear-gradient(135deg, var(--crimson-600), var(--crimson-700));
    color: #fff !important;
    padding: 9px 18px;
    border-radius: 10px;
    font-weight: 700 !important;
    box-shadow: 0 4px 14px rgba(200, 30, 50, 0.4);
}
.nav-cta:hover { transform: translateY(-1px); }

/* Mobile Hamburger */
.mobile-toggle {
    display: none;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.22);
    color: #fff;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    font-size: 1.35rem;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}
.mobile-drawer {
    display: none;
    background: var(--navy-950);
    border-top: 1px solid rgba(255,255,255,0.12);
    padding: 14px 20px 20px;
}
.mobile-drawer.open { display: block; }
.mobile-drawer a {
    display: block;
    color: rgba(255,255,255,0.92);
    text-decoration: none;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    font-weight: 600;
}
.mobile-drawer a:last-child { border-bottom: none; }

/* Hero Section */
.hero {
    background: radial-gradient(circle at top right, #1A365D 0%, var(--navy-900) 55%, var(--navy-950) 100%);
    color: var(--white);
    padding: 68px 0 60px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(212, 175, 55, 0.04) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(212, 175, 55, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 38px;
    align-items: center;
    position: relative;
    z-index: 2;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 175, 55, 0.14);
    border: 1px solid rgba(212, 175, 55, 0.45);
    color: var(--gold-400);
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 18px;
}
.hero h1 { font-size: 2.3rem; line-height: 1.3; font-weight: 800; margin-bottom: 18px; color: #fff; }
.hero p { font-size: 1.04rem; color: rgba(255,255,255,0.84); margin-bottom: 28px; max-width: 650px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--crimson-600), var(--crimson-700));
    color: #fff;
    padding: 13px 24px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.96rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(200, 30, 50, 0.35);
    transition: all 0.2s;
    font-family: inherit;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(200, 30, 50, 0.48); }

.btn-outline-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255,255,255,0.06);
    color: var(--gold-400);
    border: 1.5px solid var(--gold-500);
    padding: 12px 22px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}
.btn-outline-gold:hover { background: var(--gold-500); color: var(--navy-950); }

.btn-secondary-dark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--navy-800);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.18);
    padding: 10px 16px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.86rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}
.btn-secondary-dark:hover { background: var(--navy-700); }

.btn-wa { background: #16A34A; color: #fff; border-color: #16A34A; }
.btn-wa:hover { background: #15803D; }
.btn-tg { background: #0284C7; color: #fff; border-color: #0284C7; }
.btn-tg:hover { background: #0369A1; }

/* Live Ticker Card */
.hero-card {
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-lg);
}
.hero-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    padding-bottom: 12px;
    margin-bottom: 16px;
}
.hero-card-title { font-weight: 700; color: var(--gold-400); font-size: 0.92rem; }
.ticker-item {
    background: rgba(6, 14, 26, 0.65);
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 12px;
    border-inline-start: 4px solid var(--crimson-600);
}
.ticker-item:last-child { margin-bottom: 0; }
.ticker-name { font-weight: 700; font-size: 0.95rem; color: #fff; margin-bottom: 4px; }
.ticker-prices { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 6px; font-size: 0.84rem; color: rgba(255,255,255,0.75); }
.ticker-usd { font-size: 1.25rem; font-weight: 800; color: #4ADE80; direction: ltr; }

/* Stats Strip */
.stats-strip { background: var(--white); border-bottom: 1px solid var(--slate-200); padding: 26px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-box { padding: 10px 16px; border-inline-start: 3px solid var(--crimson-600); }
.stat-val { font-size: 1.22rem; font-weight: 800; color: var(--navy-900); }
.stat-lbl { font-size: 0.84rem; color: var(--slate-600); margin-top: 2px; }

/* Sections */
.section { padding: 70px 0; }
.section-header { text-align: center; max-width: 780px; margin: 0 auto 44px; }
.section-tag {
    display: inline-block;
    background: var(--crimson-50);
    color: var(--crimson-600);
    font-weight: 800;
    font-size: 0.78rem;
    padding: 4px 14px;
    border-radius: 999px;
    margin-bottom: 10px;
    border: 1px solid rgba(200, 30, 50, 0.22);
}
.section-header h2 { font-size: 1.85rem; color: var(--navy-900); font-weight: 800; margin-bottom: 10px; }
.section-header p { color: var(--slate-600); font-size: 0.98rem; }

/* Product Cards */
.products-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--slate-200);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s, box-shadow 0.25s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-head {
    background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
    color: #fff;
    padding: 24px 26px;
    border-bottom: 3px solid var(--crimson-600);
}
.product-status {
    display: inline-block;
    background: rgba(74, 222, 128, 0.16);
    color: #4ADE80;
    border: 1px solid rgba(74, 222, 128, 0.4);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
    margin-bottom: 10px;
}
.product-head h3 { font-size: 1.32rem; font-weight: 800; margin-bottom: 6px; }
.product-head p { font-size: 0.88rem; color: rgba(255,255,255,0.82); }
.product-body { padding: 24px 26px; flex: 1; display: flex; flex-direction: column; }

.breakdown-box {
    background: var(--slate-50);
    border: 1.5px solid var(--slate-200);
    border-radius: 14px;
    padding: 18px;
    margin-bottom: 18px;
}
.breakdown-heading {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--navy-900);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.breakdown-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px dashed var(--slate-200);
    font-size: 0.9rem;
}
.breakdown-row:last-child { border-bottom: none; }
.breakdown-row .lbl { color: var(--slate-700); }
.breakdown-row .val { font-weight: 700; color: var(--navy-900); direction: ltr; }
.breakdown-row.subtotal {
    background: rgba(11, 25, 44, 0.045);
    padding: 9px 10px;
    border-radius: 8px;
    margin: 4px 0;
    border-bottom: none;
}
.breakdown-row.freight .val { color: var(--crimson-600); }

.final-price-banner {
    background: linear-gradient(135deg, var(--crimson-600), var(--crimson-700));
    color: #fff;
    border-radius: 12px;
    padding: 16px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    box-shadow: 0 8px 20px rgba(200, 30, 50, 0.25);
}
.final-price-banner .fp-label { font-size: 0.92rem; font-weight: 700; }
.final-price-banner .fp-sub { font-size: 0.78rem; opacity: 0.85; display: block; }
.final-price-banner .fp-amount { font-size: 1.65rem; font-weight: 900; direction: ltr; }

.specs-box { margin-bottom: 18px; flex: 1; }
.specs-box h4 { font-size: 0.92rem; color: var(--navy-900); margin-bottom: 8px; font-weight: 800; }
.specs-list { list-style: none; font-size: 0.87rem; color: var(--slate-700); }
.specs-list li {
    padding: 5px 0;
    border-bottom: 1px solid var(--slate-100);
    display: flex;
    align-items: center;
    gap: 8px;
}
.specs-list li::before { content: '▪'; color: var(--crimson-600); font-weight: bold; }

.product-meta {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.83rem;
    color: var(--slate-700);
    background: var(--gold-100);
    border: 1px solid rgba(212, 175, 55, 0.35);
    padding: 10px 14px;
    border-radius: 10px;
    margin-bottom: 16px;
}
.coa-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    background: var(--slate-100);
    color: var(--navy-900);
    border: 1.5px solid var(--slate-200);
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none;
    transition: all 0.2s;
}
.coa-btn:hover { border-color: var(--navy-900); background: #e2e8f0; }

/* Calculator & RFQ */
.rfq-section { background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-950) 100%); color: #fff; }
.rfq-section .section-header h2 { color: #fff; }
.rfq-section .section-header p { color: rgba(255,255,255,0.78); }
.rfq-wrapper { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 32px; align-items: start; }
.calc-panel {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: var(--radius-lg);
    padding: 28px;
}
.form-panel {
    background: var(--white);
    color: var(--slate-900);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-lg);
    border-top: 5px solid var(--crimson-600);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fg { margin-bottom: 16px; }
.fg label { display: block; font-size: 0.86rem; font-weight: 700; margin-bottom: 6px; }
.calc-panel .fg label { color: var(--gold-400); }
.form-panel .fg label { color: var(--navy-900); }
.fc {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1.5px solid var(--slate-200);
    font-family: inherit;
    font-size: 0.94rem;
    transition: border-color 0.2s;
}
.calc-panel .fc { background: rgba(6, 14, 26, 0.78); border-color: rgba(255,255,255,0.22); color: #fff; }
.fc:focus { outline: none; border-color: var(--crimson-600); }

.calc-result-card {
    background: linear-gradient(135deg, rgba(200, 30, 50, 0.22), rgba(11, 25, 44, 0.9));
    border: 1px solid rgba(200, 30, 50, 0.6);
    border-radius: 14px;
    padding: 20px;
    margin-top: 18px;
}
.calc-total-num { font-size: 2.05rem; font-weight: 900; color: #4ADE80; direction: ltr; display: inline-block; }
.calc-sub-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,0.15);
    font-size: 0.85rem;
}
.calc-actions-bar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 16px;
}
.calc-msg-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* Logistics Steps */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-card);
    border-top: 4px solid var(--navy-900);
    transition: border-color 0.2s;
}
.step-card:hover { border-top-color: var(--crimson-600); }
.step-num {
    width: 44px; height: 44px; border-radius: 12px;
    background: var(--crimson-50); color: var(--crimson-600);
    font-weight: 900; font-size: 1.2rem;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 16px;
}
.step-card h3 { font-size: 1.12rem; color: var(--navy-900); margin-bottom: 10px; }
.step-card p { font-size: 0.92rem; color: var(--slate-600); }

/* FAQ Accordion */
.faq-list { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(11,25,44,0.04);
}
.faq-item summary {
    padding: 18px 22px;
    font-weight: 700;
    color: var(--navy-900);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-item summary::after {
    content: '+';
    font-size: 1.3rem;
    color: var(--crimson-600);
    font-weight: 800;
}
.faq-item[open] summary::after { content: '−'; }
.faq-body {
    padding: 0 22px 18px;
    color: var(--slate-600);
    font-size: 0.93rem;
    border-top: 1px solid var(--slate-100);
    padding-top: 12px;
}

/* Blog Cards */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--slate-200);
    display: flex;
    flex-direction: column;
}
.blog-thumb {
    height: 170px;
    background: linear-gradient(135deg, var(--navy-900), var(--crimson-700));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-400);
    font-weight: 800;
    font-size: 1.05rem;
    padding: 20px;
    text-align: center;
}
.blog-thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-content { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.blog-meta { font-size: 0.8rem; color: var(--slate-400); margin-bottom: 8px; }
.blog-content h3 { font-size: 1.06rem; color: var(--navy-900); margin-bottom: 10px; line-height: 1.45; }
.blog-content h3 a { color: inherit; text-decoration: none; }
.blog-content h3 a:hover { color: var(--crimson-600); }
.blog-content p { font-size: 0.88rem; color: var(--slate-600); margin-bottom: 16px; flex: 1; }
.blog-link { color: var(--crimson-600); font-weight: 700; text-decoration: none; font-size: 0.9rem; }

/* Floating Messenger Buttons */
.floating-desk {
    position: fixed;
    bottom: 22px;
    left: 22px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
[dir="ltr"] .floating-desk { left: auto; right: 22px; }
.float-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(0,0,0,0.28);
    transition: transform 0.2s;
}
.float-btn:hover { transform: scale(1.08); }
.float-wa { background: #25D366; }
.float-tg { background: #0088CC; }

/* Alerts */
.alert { padding: 16px 20px; border-radius: 12px; margin-bottom: 24px; font-weight: 600; }
.alert-success { background: #DCFCE7; color: #166534; border: 1px solid #86EFAC; }
.alert-error { background: #FEE2E2; color: #991B1B; border: 1px solid #FCA5A5; }

/* Footer */
.footer {
    background: var(--navy-950);
    color: rgba(255,255,255,0.78);
    padding: 58px 0 28px;
    border-top: 4px solid var(--crimson-600);
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 1fr; gap: 36px; margin-bottom: 36px; }
.footer h4 { color: var(--gold-400); margin-bottom: 14px; font-size: 1.04rem; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 8px; }
.footer ul a { color: rgba(255,255,255,0.78); text-decoration: none; }
.footer ul a:hover { color: #fff; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.12);
    padding-top: 18px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.84rem;
}

@media (max-width: 980px) {
    .hero-grid, .products-grid, .rfq-wrapper, .steps-grid, .blog-grid, .footer-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .nav-links { display: none; }
    .mobile-toggle { display: inline-flex; }
    .hero h1 { font-size: 1.8rem; }
}
@media (max-width: 560px) {
    .stats-grid, .form-row, .calc-sub-grid, .calc-msg-row { grid-template-columns: 1fr; }
}
