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

:root {
    --primary:   #2563eb;
    --primary-d: #1d4ed8;
    --accent:    #7c3aed;
    --dark:      #0f172a;
    --mid:       #334155;
    --muted:     #64748b;
    --light-bg:  #f8fafc;
    --border:    #e2e8f0;
    --white:     #ffffff;
    --radius:    12px;
    --shadow:    0 4px 24px rgba(15,23,42,.08);
    --transition: .2s ease;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--mid);
    background: var(--white);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ── Typography ── */
h1, h2, h3, h4 { color: var(--dark); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: 1.125rem; }
p  { color: var(--muted); }
a  { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Layout ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section    { padding: 5rem 0; }
.bg-light   { background: var(--light-bg); }
.text-center{ text-align: center; }
.mt-2       { margin-top: 2rem; }
.two-col    { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }

/* ── Badge ── */
.badge {
    display: inline-block;
    background: #eff6ff;
    color: var(--primary);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: .3rem .9rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}

/* ── Buttons ── */
.btn {
    display: inline-block;
    padding: .75rem 1.75rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: .95rem;
    cursor: pointer;
    transition: background var(--transition), color var(--transition), box-shadow var(--transition);
    border: 2px solid transparent;
}
.btn-primary  { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-d); text-decoration: none; }
.btn-outline  { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: var(--white); text-decoration: none; }
.btn-white    { background: var(--white); color: var(--primary); }
.btn-white:hover { background: #eff6ff; text-decoration: none; }
.btn-full     { width: 100%; text-align: center; }

/* ── Header ── */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}
.site-header .container {
    display: flex; align-items: center; justify-content: space-between;
    height: 64px;
}
.logo { display: flex; align-items: center; text-decoration: none; }
.logo-img { height: 40px; width: auto; display: block; }
.footer-logo-img { height: 36px; filter: brightness(0) invert(1); }

.main-nav { display: flex; gap: 2rem; }
.main-nav a { font-size: .9rem; font-weight: 500; color: var(--mid); transition: color var(--transition); }
.main-nav a:hover, .main-nav a.active { color: var(--primary); text-decoration: none; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: .25rem; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--dark); border-radius: 2px; transition: transform .2s; }

/* ── Hero ── */
.hero {
    padding: 5rem 0 4rem;
    background: linear-gradient(135deg, #f0f7ff 0%, #faf5ff 100%);
    overflow: hidden;
}
.hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.hero-content { position: relative; z-index: 1; }
.hero-content .badge { margin-bottom: 1.25rem; }
.highlight { background: linear-gradient(90deg, var(--primary), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-sub { font-size: 1.1rem; margin: 1.25rem 0 2rem; max-width: 480px; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-visual { position: relative; height: 340px; }
.shape { position: absolute; border-radius: 50%; }
.shape-1 { width: 300px; height: 300px; background: linear-gradient(135deg, rgba(37,99,235,.15), rgba(124,58,237,.15)); top: 0; right: 0; }
.shape-2 { width: 180px; height: 180px; background: linear-gradient(135deg, rgba(124,58,237,.2), rgba(37,99,235,.1)); bottom: 20px; left: 20px; }
.shape-3 { width: 100px; height: 100px; background: rgba(37,99,235,.12); top: 60px; right: 100px; border-radius: var(--radius); transform: rotate(20deg); }

/* ── Stats ── */
.stats { background: var(--dark); padding: 3rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.stat-card { text-align: center; padding: 1rem; }
.stat-number { display: block; font-size: 2.5rem; font-weight: 800; color: var(--white); line-height: 1; }
.stat-label  { font-size: .875rem; color: #94a3b8; margin-top: .25rem; display: block; }

/* ── Section Header ── */
.section-header { text-align: center; max-width: 600px; margin: 0 auto 3rem; }
.section-header p { margin-top: .75rem; }

/* ── Cards ── */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.card {
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 2rem 1.5rem;
    box-shadow: var(--shadow); transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(15,23,42,.12); }
.card-icon { font-size: 2rem; margin-bottom: 1rem; display: block; }
.card h3    { margin-bottom: .5rem; }
.card p     { font-size: .9rem; }

/* ── CTA Banner ── */
.cta-banner { background: linear-gradient(135deg, var(--primary), var(--accent)); }
.cta-content { text-align: center; max-width: 600px; margin: 0 auto; }
.cta-content h2 { color: #fff; margin-bottom: 1rem; }
.cta-content p  { color: rgba(255,255,255,.85); margin-bottom: 2rem; }

/* ── About ── */
.about-text h2 { margin-bottom: 1rem; }
.about-text p  { margin-bottom: 1rem; }
.about-visual  { display: flex; align-items: center; justify-content: center; }
.about-shape {
    width: 320px; height: 320px; border-radius: 40% 60% 55% 45% / 45% 55% 60% 40%;
    background: linear-gradient(135deg, rgba(37,99,235,.12), rgba(124,58,237,.18));
}

/* ── Team ── */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; }
.team-card { text-align: center; padding: 2rem 1rem; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); }
.team-avatar {
    width: 72px; height: 72px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff; font-weight: 700; font-size: 1.1rem;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1rem;
}
.team-card h3 { font-size: 1rem; margin-bottom: .25rem; }
.team-card p  { font-size: .85rem; }

/* ── Services ── */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.service-card {
    background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 2rem 1.5rem; box-shadow: var(--shadow); transition: transform var(--transition);
}
.service-card:hover { transform: translateY(-4px); }
.service-card h3 { margin: .75rem 0 .5rem; }
.service-card p  { font-size: .9rem; margin-bottom: 1rem; }
.service-card ul { list-style: none; padding: 0; }
.service-card ul li { font-size: .875rem; padding: .3rem 0; color: var(--muted); display: flex; align-items: center; gap: .5rem; }
.service-card ul li::before { content: '✓'; color: var(--primary); font-weight: 700; font-size: .8rem; }

/* ── Page Hero ── */
.page-hero { padding: 4rem 0 2rem; background: linear-gradient(135deg, #f0f7ff, #faf5ff); }
.page-hero h1 { margin: .5rem 0 1rem; }
.page-hero .hero-sub { max-width: 560px; }

/* ── Contact ── */
.contact-info h2 { margin-bottom: 1rem; }
.contact-info > p { margin-bottom: 1.5rem; }
.contact-details { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.contact-details li { display: flex; gap: .75rem; align-items: flex-start; font-size: .95rem; }
.contact-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: .1rem; }

/* ── Form ── */
.contact-form-wrap { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.25rem; }
.form-group label { font-size: .875rem; font-weight: 600; color: var(--dark); }
.form-group input, .form-group textarea {
    border: 1px solid var(--border); border-radius: 8px;
    padding: .65rem 1rem; font-size: .95rem; font-family: inherit;
    color: var(--dark); transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,.12); }
.form-group.has-error input, .form-group.has-error textarea { border-color: #ef4444; }
.form-error { font-size: .8rem; color: #ef4444; }
.alert-success { background: #f0fdf4; border: 1px solid #86efac; color: #166534; padding: 1rem; border-radius: 8px; margin-bottom: 1.5rem; font-size: .9rem; }

/* ── Footer ── */
.site-footer { background: var(--dark); color: #94a3b8; padding: 4rem 0 2rem; margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand p { margin-top: .75rem; font-size: .875rem; }
.footer-brand .logo-text { color: var(--white); }
.footer-links h4, .footer-contact h4 { color: var(--white); font-size: .875rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1rem; }
.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: .5rem; }
.footer-links a, .footer-contact a { color: #94a3b8; font-size: .875rem; transition: color var(--transition); }
.footer-links a:hover, .footer-contact a:hover { color: var(--white); text-decoration: none; }
.footer-contact p { font-size: .875rem; margin-bottom: .4rem; }
.footer-bottom { border-top: 1px solid #1e293b; padding-top: 1.5rem; text-align: center; font-size: .8rem; }

/* ── Responsive ── */
@media (max-width: 900px) {
    .hero .container, .two-col { grid-template-columns: 1fr; }
    .hero-visual { display: none; }
    .stats-grid  { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

/* ── Product Nav Pills ── */
.product-nav { background: var(--white); border-bottom: 1px solid var(--border); position: sticky; top: 64px; z-index: 90; }
.product-nav .container { display: flex; gap: 1rem; padding-top: .75rem; padding-bottom: .75rem; }
.product-nav-pill {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .4rem 1rem; border-radius: 999px; font-size: .875rem; font-weight: 600;
    color: var(--mid); border: 1px solid var(--border); text-decoration: none;
    transition: background var(--transition), color var(--transition);
}
.product-nav-pill img { height: 18px; width: auto; object-fit: contain; }
.product-nav-pill:hover { background: var(--primary); color: #fff; border-color: var(--primary); text-decoration: none; }

/* ── Product Section ── */
.product-section { scroll-margin-top: 130px; }

/* ── PD Hero ── */
.pd-hero { display: grid; grid-template-columns: 180px 1fr; gap: 3rem; align-items: center; margin-bottom: 2.5rem; }
.pd-hero-logo { display: flex; align-items: center; justify-content: center; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.pd-hero-logo img { max-width: 140px; max-height: 70px; object-fit: contain; }
.pd-hero-text h2 { margin: .4rem 0 .75rem; }
.pd-hero-text p { max-width: 520px; margin-bottom: 1.5rem; }

/* ── Badge colours ── */
.badge-fleet { background: #eff6ff; color: #1d4ed8; }
.badge-lt    { background: #f0fdfa; color: #0f766e; }

/* ── PD Stats ── */
.pd-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-bottom: 2.5rem; }
.pd-stat { background: var(--white); text-align: center; padding: 1.25rem 1rem; }
.pd-stat span { display: block; font-size: 1.6rem; font-weight: 800; color: var(--dark); line-height: 1; }
.pd-stat small { font-size: .75rem; color: var(--muted); margin-top: .2rem; display: block; }

/* ── PD Features ── */
.pd-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; margin-bottom: 2.5rem; }
.pd-feature-card {
    display: flex; gap: 1rem; align-items: flex-start;
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius); padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(15,23,42,.05);
    transition: transform var(--transition), box-shadow var(--transition);
}
.pd-feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.pd-feature-icon { font-size: 1.75rem; flex-shrink: 0; width: 44px; text-align: center; }
.pd-feature-body h3 { font-size: .95rem; margin-bottom: .35rem; }
.pd-feature-body p  { font-size: .85rem; margin: 0; }

/* ── PD Feature accent borders ── */
.accent-fleet { border-left: 3px solid #2563eb; }
.accent-lt    { border-left: 3px solid #0d9488; }

/* ── PD CTA ── */
.pd-cta { border-radius: var(--radius); padding: 2.5rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.pd-cta-fleet { background: linear-gradient(135deg, #1d4ed8, #7c3aed); }
.pd-cta-lt    { background: linear-gradient(135deg, #0f766e, #1d4ed8); }
.pd-cta-text h3 { color: #fff; font-size: 1.2rem; margin-bottom: .35rem; }
.pd-cta-text p  { color: rgba(255,255,255,.82); margin: 0; }
.pd-cta-actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.btn-outline-white { border: 2px solid rgba(255,255,255,.6); color: #fff; background: transparent; }
.btn-outline-white:hover { background: rgba(255,255,255,.15); text-decoration: none; }

/* ── Button small ── */
.btn-sm { padding: .45rem 1rem; font-size: .8rem; }

/* ── Product card actions ── */
.product-actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: auto; padding-top: 1rem; }
.product-card { cursor: default; }

/* ── Product Detail Page ── */
.product-detail-header { display: grid; grid-template-columns: auto 1fr; gap: 3rem; align-items: center; margin-bottom: 3rem; }
.product-detail-logo { width: 160px; display: flex; align-items: center; }
.product-detail-logo img { max-width: 160px; max-height: 80px; object-fit: contain; }
.product-detail-sub { font-size: 1.05rem; margin: .75rem 0 1.5rem; max-width: 540px; }

.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; margin-bottom: 3rem; }
.feature-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem 1.5rem; box-shadow: var(--shadow); }
.feature-icon { font-size: 1.75rem; margin-bottom: .75rem; display: block; }
.feature-card h3 { font-size: 1rem; margin-bottom: .4rem; }
.feature-card p  { font-size: .875rem; }

.product-cta-box { background: linear-gradient(135deg, var(--primary), var(--accent)); border-radius: var(--radius); padding: 2.5rem; text-align: center; }
.product-cta-box h3 { color: #fff; font-size: 1.3rem; margin-bottom: .5rem; }
.product-cta-box p  { color: rgba(255,255,255,.85); margin-bottom: 1.5rem; }
.product-cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.product-cta-actions .btn-outline { border-color: rgba(255,255,255,.6); color: #fff; }
.product-cta-actions .btn-outline:hover { background: rgba(255,255,255,.15); }

.section-divider { border: none; border-top: 1px solid var(--border); margin: 0; }

@media (max-width: 700px) {
    .product-detail-header { grid-template-columns: 1fr; gap: 1.5rem; }
    .product-detail-logo { width: 120px; }
    .pd-hero { grid-template-columns: 1fr; gap: 1.5rem; }
    .pd-stats { grid-template-columns: repeat(2, 1fr); }
    .pd-cta { flex-direction: column; }
}

/* ── Products ── */
.products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.product-card {
    display: flex; flex-direction: column; align-items: flex-start;
    background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 2.5rem 2rem; box-shadow: var(--shadow);
    text-decoration: none; color: inherit;
    transition: transform var(--transition), box-shadow var(--transition);
}
.product-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(15,23,42,.13); text-decoration: none; }
.product-logo-wrap { height: 72px; display: flex; align-items: center; margin-bottom: 1.5rem; }
.product-logo-wrap img { max-height: 72px; max-width: 200px; width: auto; object-fit: contain; }
.product-card h3 { font-size: 1.25rem; margin-bottom: .6rem; color: var(--dark); }
.product-card p  { font-size: .9rem; flex: 1; margin-bottom: 1.25rem; }
.product-link { font-size: .875rem; font-weight: 600; color: var(--primary); }

/* ── Founders ── */
.founders-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 2rem; max-width: 700px; margin: 0 auto; }
.founder-card { text-align: center; }
.founder-photo-wrap {
    width: 200px; height: 200px; border-radius: 50%; overflow: hidden;
    margin: 0 auto 1.25rem; border: 4px solid var(--border);
    box-shadow: var(--shadow);
}
.founder-photo-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.founder-card h3 { font-size: 1.1rem; margin-bottom: .25rem; }
.founder-role { color: var(--primary); font-size: .9rem; font-weight: 600; }

@media (max-width: 600px) {
    .section { padding: 3rem 0; }
    .main-nav { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--border); padding: 1rem 1.5rem; gap: 1rem; }
    .main-nav.open { display: flex; }
    .nav-toggle { display: flex; }
    .form-row { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-cta { flex-direction: column; }
    .btn { text-align: center; }
}
