/* ===== CSS VARIABLES — LIGHT THEME ===== */
:root {
    /* Colors — Refined Premium Palette */
    --bg-page: #FDFDFD;
    --bg-surface: #FFFFFF;
    --bg-elevated: #F8FAFC;
    --bg-dark: #0F172A;

    --border: #E2E8F0;
    --border-hover: #CBD5E1;

    --primary: #0284C7;
    --primary-dark: #075985;
    --primary-light: rgba(2, 132, 199, 0.08);
    --primary-glow: rgba(2, 132, 199, 0.12);

    --secondary: #4F46E5;
    --accent: #0891B2;

    --text-main: #1E293B;
    --text-muted: #475569;
    --text-dim: #94A3B8;

    --success: #059669;
    --warning: #D97706;

    /* Shadows — Softer, Multi-layered */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 20px -2px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px -4px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 50px var(--primary-glow);

    /* Typography — Better Spacing */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Manrope', var(--font-sans);

    /* Layout */
    --container: 1280px;
    --header-h: 80px;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    /* Transitions */
    --ease: cubic-bezier(0.23, 1, 0.32, 1);
    --transition: 350ms var(--ease);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background: var(--bg-page);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(32px, 5vw, 48px);
}

h2 {
    font-size: clamp(26px, 4vw, 36px);
    margin-bottom: 16px;
}

h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

h4 {
    font-size: 18px;
}

p {
    margin-bottom: 16px;
    color: var(--text-muted);
}

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

a:hover {
    color: var(--primary-dark);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all var(--transition);
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 14px rgba(14, 165, 233, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.4);
}

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

.btn-outline:hover {
    background: var(--primary-light);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 14px;
}

.btn-icon {
    padding: 12px;
    border-radius: var(--radius-sm);
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-h);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-main);
}

.logo-mark {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    color: white;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 20px;
    letter-spacing: -0.5px;
}

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

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

.nav-link {
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-weight: 500;
    font-size: 15px;
    transition: all var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-main);
    background: var(--bg-elevated);
}

.nav-link.active {
    font-weight: 600;
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 24px;
}

.header-phone-group {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
    font-size: 14px;
    line-height: 1.2;
}

.header-phone:first-child {
    color: var(--success);
    /* WhatsApp color or primary */
    font-size: 15px;
}

.header-phone:hover {
    color: var(--primary);
}

.header-phone svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
}

.header-location {
    font-size: 14px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.header-location svg {
    width: 16px;
    height: 16px;
}

.menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--bg-surface);
    color: var(--text-main);
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.menu-toggle span {
    width: 20px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
}

/* ===== PARTNERS MARQUEE ===== */
.partners-section {
    padding: 40px 0;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.partners-marquee {
    display: flex;
    gap: 60px;
    align-items: center;
    width: max-content;
    animation: marquee 30s linear infinite;
}

.partners-marquee:hover {
    animation-play-state: paused;
}

.partner-logo {
    height: 40px;
    width: auto;
    filter: grayscale(1) opacity(0.6);
    transition: all var(--transition);
}

.partner-logo:hover {
    filter: grayscale(0) opacity(1);
    transform: scale(1.05);
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ===== HERO SECTION ===== */
.hero {
    padding: calc(var(--header-h) + 80px) 0 100px;
    background: var(--bg-page);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('images/warehouse_bg.png');
    background-size: cover;
    background-position: center;
    opacity: 0.05;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    inset: -30% -10%;
    background: radial-gradient(circle at 20% 30%, var(--primary-light) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--primary-light);
    border: 1px solid rgba(14, 165, 233, 0.3);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 20px;
}

.hero-title {
    margin-bottom: 20px;
    color: var(--text-main);
}

.hero-title .highlight {
    color: var(--primary);
    position: relative;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 100%;
    height: 12px;
    background: rgba(14, 165, 233, 0.15);
    border-radius: 8px;
    z-index: -1;
}

.hero-desc {
    font-size: 18px;
    margin-bottom: 32px;
    max-width: 520px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 6px;
}

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

.hero-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-xl);
    padding: 32px;
    width: 100%;
    max-width: 440px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.hero-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.1), transparent);
    z-index: -1;
}

.bearing-illustration {
    aspect-ratio: 16/10;
    background: var(--bg-elevated);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.bearing-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

.hero-card:hover .bearing-img {
    transform: scale(1.05);
}

.bearing-illustration::after {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.08) 0%, transparent 60%);
    animation: float 8s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.bearing-svg {
    width: 140px;
    height: 140px;
    position: relative;
    z-index: 1;
}

.card-info {
    text-align: center;
}

.card-title {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text-main);
}

.card-desc {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.card-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

/* ===== SECTIONS ===== */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 56px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 17px;
    color: var(--text-muted);
    margin-top: 12px;
}

/* ===== ABOUT / SERVICES ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.about-image {
    background: var(--bg-elevated);
    border-radius: var(--radius-lg);
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.about-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.05), transparent 60%);
}

.about-image svg {
    width: 80%;
    height: 80%;
    opacity: 0.9;
}

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

.about-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 24px 0;
}

.about-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.about-check {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--success);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.about-check svg {
    width: 14px;
    height: 14px;
}

/* ===== ADVANTAGES ===== */
.advantages {
    background: var(--bg-surface);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.advantage-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all var(--transition);
}

.advantage-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.advantage-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: var(--primary-light);
    border: 1px solid rgba(14, 165, 233, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 20px;
}

.advantage-icon svg {
    width: 28px;
    height: 28px;
}

.advantage-title {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-main);
}

.advantage-desc {
    font-size: 15px;
    color: var(--text-muted);
}

/* ===== CONTACTS / CTA ===== */
.cta-section {
    background: linear-gradient(135deg, var(--bg-surface), var(--bg-elevated));
    border-radius: var(--radius-xl);
    padding: 60px;
    text-align: center;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.2), rgba(99, 102, 241, 0.15), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

.cta-title {
    margin-bottom: 16px;
    color: var(--text-main);
}

.cta-desc {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-note {
    margin-top: 24px;
    font-size: 14px;
    color: var(--text-dim);
}

.cta-note strong {
    color: var(--text-main);
}

/* ===== CONTACT DETAILS ===== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.contact-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-card-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 18px;
    color: var(--text-main);
}

.contact-card-title svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: var(--text-muted);
}

.contact-detail svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-detail a {
    color: var(--text-main);
    font-weight: 500;
}

.contact-detail a:hover {
    color: var(--primary);
}

.wa-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: white;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    margin-top: 8px;
    transition: background var(--transition);
    width: fit-content;
}

.wa-button:hover {
    background: #128C7E;
}

.wa-button svg {
    width: 20px;
    height: 20px;
}

/* ===== FOOTER ===== */
.footer {
    border-top: 1px solid var(--border);
    padding: 50px 0 30px;
    background: var(--bg-surface);
}

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

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-desc {
    font-size: 15px;
    color: var(--text-muted);
    margin-bottom: 24px;
    max-width: 320px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    transition: all var(--transition);
}

.social-link:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}

.footer-column h4 {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 20px;
    color: var(--text-main);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 14px;
    transition: color var(--transition);
}

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

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 14px;
    color: var(--text-dim);
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: var(--text-dim);
}

.footer-legal a:hover {
    color: var(--text-main);
}

/* ===== FLOATING CONTACT ===== */
.fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    border: none;
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    transition: all var(--transition);
    text-decoration: none;
}

.fab:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(14, 165, 233, 0.5);
}

.fab svg {
    width: 24px;
    height: 24px;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate {
    animation: fadeInUp 0.5s var(--ease) both;
}

.animate-delay-1 {
    animation-delay: 0.1s;
}

.animate-delay-2 {
    animation-delay: 0.2s;
}

.animate-delay-3 {
    animation-delay: 0.3s;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
    }

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

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

@media (max-width: 768px) {
    .header-inner {
        gap: 16px;
    }

    .nav {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .header-contact {
        display: none;
    }

    .hero {
        padding: calc(var(--header-h) + 30px) 0 60px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }

    .cta-section {
        padding: 40px 24px;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand .logo {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    :root {
        --header-h: 64px;
        --radius-lg: 16px;
        --radius-xl: 20px;
    }

    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-desc {
        font-size: 16px;
    }

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

    .btn-lg {
        padding: 14px 28px;
    }

    .stat-value {
        font-size: 28px;
    }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-page);
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 4px;
    border: 2px solid var(--bg-page);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}