/* IP GLOBAL SALE LLC - Professional B2B wholesale site stylesheet */

:root {
    --brand-navy: #0d2a4a;
    --brand-navy-dark: #08182b;
    --brand-accent: #c8a04a;
    --brand-accent-dark: #a78232;
    --brand-blue: #1e63b3;
    --text-dark: #1a2330;
    --text-body: #3a4654;
    --text-muted: #6b7787;
    --bg-light: #f5f7fa;
    --bg-card: #ffffff;
    --border-color: #e1e6ed;
    --success: #2c7a3f;
    --shadow-sm: 0 1px 3px rgba(13, 42, 74, 0.06), 0 1px 2px rgba(13, 42, 74, 0.04);
    --shadow-md: 0 4px 12px rgba(13, 42, 74, 0.08), 0 2px 4px rgba(13, 42, 74, 0.04);
    --shadow-lg: 0 12px 32px rgba(13, 42, 74, 0.12);
    --radius: 4px;
    --container: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: var(--text-body);
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: -0.01em;
}

h1 { font-size: 2.75rem; margin-bottom: 1rem; }
h2 { font-size: 2rem; margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }
h4 { font-size: 1.05rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; }

a { color: var(--brand-blue); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--brand-navy); }

img { max-width: 100%; height: auto; display: block; }

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

/* Top utility bar */
.topbar {
    background: var(--brand-navy-dark);
    color: #cdd5e0;
    font-size: 0.82rem;
    padding: 0.5rem 0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; }
.topbar a { color: #cdd5e0; }
.topbar a:hover { color: #fff; }
.topbar-info { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.topbar-info span { display: inline-flex; align-items: center; gap: 0.4rem; }

/* Header / Navigation */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}
.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}
.logo-mark {
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-blue) 100%);
    color: #fff;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 0.05em;
    box-shadow: var(--shadow-sm);
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text .name { font-weight: 800; color: var(--text-dark); font-size: 1.05rem; letter-spacing: 0.02em; }
.logo-text .tag { font-size: 0.72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; }

.main-nav ul { list-style: none; display: flex; gap: 2rem; align-items: center; }
.main-nav a {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    position: relative;
}
.main-nav a:hover { color: var(--brand-blue); }
.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0; right: 0;
    height: 2px;
    background: var(--brand-accent);
}

.nav-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--border-color);
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius);
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text-dark);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.85rem 1.75rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.18s ease;
    text-align: center;
    line-height: 1.2;
    letter-spacing: 0.01em;
}
.btn-primary {
    background: var(--brand-accent);
    color: #fff;
    border-color: var(--brand-accent);
}
.btn-primary:hover {
    background: var(--brand-accent-dark);
    border-color: var(--brand-accent-dark);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}
.btn-outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover {
    background: #fff;
    color: var(--brand-navy);
    border-color: #fff;
}
.btn-dark {
    background: var(--brand-navy);
    color: #fff;
    border-color: var(--brand-navy);
}
.btn-dark:hover { background: var(--brand-navy-dark); color: #fff; }
.btn-lg { padding: 1.05rem 2.25rem; font-size: 1rem; }

/* Hero */
.hero {
    background:
        linear-gradient(135deg, rgba(8, 24, 43, 0.92) 0%, rgba(13, 42, 74, 0.88) 60%, rgba(30, 99, 179, 0.78) 100%),
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='1600' height='800' viewBox='0 0 1600 800'><defs><linearGradient id='g' x1='0' x2='1' y1='0' y2='1'><stop offset='0' stop-color='%231a3a66'/><stop offset='1' stop-color='%23081a2e'/></linearGradient></defs><rect width='1600' height='800' fill='url(%23g)'/><g fill='%23ffffff' opacity='0.04'><rect x='80' y='160' width='220' height='160'/><rect x='320' y='160' width='220' height='160'/><rect x='560' y='160' width='220' height='160'/><rect x='800' y='160' width='220' height='160'/><rect x='1040' y='160' width='220' height='160'/><rect x='1280' y='160' width='220' height='160'/><rect x='80' y='340' width='220' height='160'/><rect x='320' y='340' width='220' height='160'/><rect x='560' y='340' width='220' height='160'/><rect x='800' y='340' width='220' height='160'/><rect x='1040' y='340' width='220' height='160'/><rect x='1280' y='340' width='220' height='160'/><rect x='80' y='520' width='220' height='160'/><rect x='320' y='520' width='220' height='160'/><rect x='560' y='520' width='220' height='160'/><rect x='800' y='520' width='220' height='160'/><rect x='1040' y='520' width='220' height='160'/><rect x='1280' y='520' width='220' height='160'/></g></svg>");
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 6rem 0 5rem;
    position: relative;
}
.hero-inner { max-width: 760px; }
.hero .eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--brand-accent);
    padding: 0.35rem 0.75rem;
    border: 1px solid rgba(200, 160, 74, 0.5);
    border-radius: 2px;
    margin-bottom: 1.5rem;
}
.hero h1 {
    color: #fff;
    font-size: 3.25rem;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    font-weight: 800;
}
.hero p.lead {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.88);
    margin-bottom: 2.25rem;
    max-width: 620px;
    line-height: 1.6;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-trust {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.15);
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    color: rgba(255,255,255,0.75);
    font-size: 0.9rem;
}
.hero-trust strong { color: #fff; display: block; font-size: 1.6rem; font-weight: 700; }

/* Section base */
.section { padding: 5rem 0; }
.section-light { background: var(--bg-light); }
.section-dark { background: var(--brand-navy); color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section-head .eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--brand-accent-dark);
    margin-bottom: 0.75rem;
    display: block;
}
.section-head h2 { font-size: 2.25rem; }
.section-head p { color: var(--text-muted); font-size: 1.05rem; }

/* Value proposition cards */
.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.value-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 2rem;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}
.value-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--brand-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}
.value-card:hover {
    border-color: var(--brand-blue);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.value-card:hover::before { transform: scaleX(1); }
.value-card .icon {
    width: 52px; height: 52px;
    background: linear-gradient(135deg, var(--brand-navy), var(--brand-blue));
    color: #fff;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.4rem;
}
.value-card h3 { color: var(--text-dark); }
.value-card p { color: var(--text-muted); font-size: 0.95rem; margin: 0; }

/* Featured categories */
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.category-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
}
.category-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.category-thumb {
    height: 180px;
    background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-blue) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 3rem;
    position: relative;
}
.category-thumb.health { background: linear-gradient(135deg, #1f5f3a 0%, #2c8a55 100%); }
.category-thumb.electronics { background: linear-gradient(135deg, #1e3a6e 0%, #2c5db8 100%); }
.category-thumb.tools { background: linear-gradient(135deg, #5a3a18 0%, #a06a2c 100%); }
.category-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.category-body h3 { color: var(--text-dark); margin-bottom: 0.5rem; }
.category-body p { color: var(--text-muted); font-size: 0.92rem; flex: 1; margin-bottom: 1rem; }
.category-body .examples {
    font-size: 0.82rem;
    color: var(--text-muted);
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-color);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

/* CTA banner */
.cta-banner {
    background: linear-gradient(120deg, var(--brand-navy) 0%, var(--brand-navy-dark) 100%);
    color: #fff;
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-accent), var(--brand-accent-dark));
}
.cta-banner h2 { color: #fff; font-size: 2.25rem; margin-bottom: 1rem; }
.cta-banner p { color: rgba(255,255,255,0.85); max-width: 640px; margin: 0 auto 2rem; font-size: 1.1rem; }

/* About page */
.about-hero {
    background: linear-gradient(120deg, var(--brand-navy) 0%, var(--brand-navy-dark) 100%);
    color: #fff;
    padding: 4.5rem 0 4rem;
}
.about-hero h1 { color: #fff; font-size: 2.75rem; }
.about-hero .eyebrow {
    color: var(--brand-accent);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
}
.about-hero p { color: rgba(255,255,255,0.85); font-size: 1.15rem; max-width: 720px; }

.two-col {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}
.two-col .col-image {
    background: linear-gradient(135deg, var(--brand-navy), var(--brand-blue));
    border-radius: var(--radius);
    aspect-ratio: 4 / 3;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}
.two-col .col-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(45deg, rgba(255,255,255,0.04) 0 12px, transparent 12px 24px);
}
.two-col h2 { font-size: 2rem; margin-bottom: 1.25rem; }
.two-col p { color: var(--text-body); font-size: 1.02rem; }

.fact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}
.fact {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
}
.fact strong { display: block; font-size: 1.75rem; font-weight: 800; color: var(--brand-navy); margin-bottom: 0.25rem; }
.fact span { font-size: 0.85rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }

/* Capability list */
.capability-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}
.capability {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.25rem;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
}
.capability .num {
    flex: 0 0 36px;
    height: 36px;
    background: var(--brand-navy);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}
.capability h4 { color: var(--text-dark); margin-bottom: 0.3rem; }
.capability p { color: var(--text-muted); font-size: 0.92rem; margin: 0; }

/* Apply form */
.form-wrap {
    max-width: 820px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: 2.5rem;
}
.form-wrap h2 { margin-bottom: 0.5rem; }
.form-wrap .form-intro { color: var(--text-muted); margin-bottom: 2rem; }

.form-section { margin-bottom: 2rem; }
.form-section-title {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 700;
    color: var(--brand-accent-dark);
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1.25rem;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-group { display: flex; flex-direction: column; margin-bottom: 1rem; }
.form-group.full { grid-column: 1 / -1; }
.form-group label {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--text-dark);
    margin-bottom: 0.4rem;
}
.form-group label .req { color: #c0392b; }
.form-group input,
.form-group select,
.form-group textarea {
    font-family: inherit;
    font-size: 0.98rem;
    padding: 0.7rem 0.85rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    background: #fff;
    color: var(--text-dark);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 3px rgba(30, 99, 179, 0.12);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group .help { font-size: 0.82rem; color: var(--text-muted); margin-top: 0.3rem; }

.checkbox-row { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.9rem; color: var(--text-body); }
.checkbox-row input { margin-top: 0.25rem; }

.form-status {
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    display: none;
    font-size: 0.95rem;
}
.form-status.success { display: block; background: #e6f4ea; color: #1e5630; border: 1px solid #b6dcc1; }
.form-status.error { display: block; background: #fdecea; color: #8a2316; border: 1px solid #f3c2bd; }

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}
.contact-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 2rem;
}
.contact-line { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.25rem; }
.contact-line .ico {
    flex: 0 0 40px;
    height: 40px;
    background: var(--bg-light);
    color: var(--brand-navy);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}
.contact-line h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 0.25rem; font-weight: 700; }
.contact-line p, .contact-line a { color: var(--text-dark); margin: 0; }

.map-frame {
    width: 100%;
    height: 320px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    margin-top: 1rem;
}

/* Footer */
.site-footer {
    background: var(--brand-navy-dark);
    color: #aebbcc;
    padding: 4rem 0 1.5rem;
    font-size: 0.92rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}
.footer-grid h4 { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 1rem; }
.footer-grid p { color: #aebbcc; font-size: 0.9rem; line-height: 1.7; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 0.5rem; }
.footer-grid a { color: #aebbcc; }
.footer-grid a:hover { color: #fff; }
.footer-logo {
    display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem;
}
.footer-logo .logo-mark { background: linear-gradient(135deg, var(--brand-accent), var(--brand-accent-dark)); }
.footer-logo .name { color: #fff; font-weight: 800; font-size: 1.05rem; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
    color: #7f8b9c;
}

/* Page header (used on inner pages) */
.page-header {
    background: linear-gradient(120deg, var(--brand-navy) 0%, var(--brand-navy-dark) 100%);
    color: #fff;
    padding: 4rem 0 3rem;
}
.page-header .eyebrow {
    color: var(--brand-accent);
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
}
.page-header h1 { color: #fff; }
.page-header p { color: rgba(255,255,255,0.8); max-width: 700px; margin-top: 0.5rem; font-size: 1.05rem; }
.breadcrumb { color: rgba(255,255,255,0.6); font-size: 0.85rem; margin-bottom: 1rem; }
.breadcrumb a { color: rgba(255,255,255,0.8); }
.breadcrumb a:hover { color: #fff; }

/* Responsive */
@media (max-width: 960px) {
    h1 { font-size: 2.2rem; }
    .hero h1 { font-size: 2.4rem; }
    .hero { padding: 4rem 0 3.5rem; }
    .value-grid, .category-grid { grid-template-columns: 1fr; }
    .two-col { grid-template-columns: 1fr; gap: 2.5rem; }
    .fact-grid { grid-template-columns: repeat(2, 1fr); }
    .capability-list { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .form-row { grid-template-columns: 1fr; }
    .main-nav {
        display: none;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: #fff;
        border-bottom: 1px solid var(--border-color);
        box-shadow: var(--shadow-md);
        padding: 1rem 1.5rem;
    }
    .main-nav.open { display: block; }
    .main-nav ul { flex-direction: column; gap: 0.5rem; align-items: flex-start; }
    .main-nav a { display: block; padding: 0.6rem 0; width: 100%; }
    .nav-toggle { display: block; }
    .site-header .container { position: relative; }
}

@media (max-width: 560px) {
    .hero h1 { font-size: 1.9rem; }
    h2 { font-size: 1.6rem; }
    .section { padding: 3.5rem 0; }
    .form-wrap { padding: 1.5rem; }
    .topbar-info { gap: 0.75rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-trust { gap: 1.5rem; }
}
