/*
   Protextile Inc — Modern Industrial Theme
   Webbing, elastic & narrow fabric manufacturing
*/

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #0c1222;
    --primary-light: #1a2332;
    --brand: #7551a8;
    --brand-dark: #5c3d8f;
    --brand-light: #9b7bd4;
    --brand-pale: #c4b0e0;
    --accent: var(--brand);
    --accent-hover: var(--brand-dark);
    --accent-light: rgba(117, 81, 168, 0.12);
    --accent-glow: rgba(117, 81, 168, 0.45);
    --success: #059669;

    --bg-main: #ffffff;
    --bg-alt: #f4f6f8;
    --bg-warm: #faf8f5;
    --bg-dark: #0c1222;
    --bg-darker: #060a12;
    --hero-dark: #0d0818;

    --text-main: #0c1222;
    --text-muted: #5c6578;
    --text-light: #94a3b8;
    --text-white: #ffffff;

    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --shadow-sm: 0 1px 2px rgb(12 18 34 / 0.06);
    --shadow-md: 0 8px 24px rgb(12 18 34 / 0.08);
    --shadow-lg: 0 20px 48px rgb(12 18 34 / 0.12);
    --shadow-accent: 0 12px 32px rgb(117 81 168 / 0.35);
    --shadow-hero: 0 32px 64px rgb(0 0 0 / 0.45);

    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    --container: 1200px;
    --header-h: 88px;
    --top-bar-h: 40px;
    --section-pad: 96px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    padding-top: calc(var(--header-h) + var(--top-bar-h));
}

/* Mobile nav open state */
body.nav-open {
    overflow: hidden;
}

.mobile-menu-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.open span:nth-child(2) { opacity: 0; }

.mobile-menu-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

::selection {
    background: var(--accent-light);
    color: var(--primary);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
h3 { font-size: 1.35rem; font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 700; }

p { margin-bottom: 1.25rem; }

.lead {
    font-size: 1.15rem;
    color: var(--text-muted);
    font-weight: 400;
    line-height: 1.7;
}

a { color: inherit; }

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

.section {
    padding: var(--section-pad) 0;
}

.bg-light { background-color: var(--bg-alt); }
.bg-warm { background-color: var(--bg-warm); }
.bg-dark { background-color: var(--bg-dark); color: var(--text-white); }
.text-center { text-align: center; }

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 3.5rem;
}

.section-header h2 { margin-bottom: 0.75rem; }
.section-header p { margin-bottom: 0; color: var(--text-muted); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.75rem;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 999px;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    gap: 0.5rem;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-light) 100%);
    color: white;
    box-shadow: var(--shadow-accent);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgb(117 81 168 / 0.45);
}

.btn-outline {
    background: transparent;
    border-color: rgb(12 18 34 / 0.15);
    color: var(--primary);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-light);
}

.btn-outline-white {
    border-color: rgb(255 255 255 / 0.35);
    color: white;
}

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

.btn-sm {
    padding: 0.55rem 1.25rem;
    font-size: 0.875rem;
}

.hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Top Bar */
.top-bar {
    background: linear-gradient(90deg, var(--bg-darker) 0%, #12081f 50%, #1a0e30 100%);
    color: var(--text-white);
    padding: 0;
    font-size: 0.8rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    height: var(--top-bar-h);
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgb(117 81 168 / 0.25);
}

.top-bar-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    width: 100%;
}

.top-bar-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: rgb(255 255 255 / 0.75);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
}

.top-bar-item:hover { color: white; }

.top-bar-item .tb-icon {
    opacity: 0.7;
    font-size: 0.85em;
}

/* Header */
.site-header {
    height: var(--header-h);
    position: fixed;
    top: var(--top-bar-h);
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgb(255 255 255 / 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgb(12 18 34 / 0.06);
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.site-header.scrolled {
    height: 72px;
    background: rgb(255 255 255 / 0.95);
    box-shadow: var(--shadow-sm);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: relative;
}

.logo img {
    height: 56px;
    transition: var(--transition);
}

.site-header.scrolled .logo img { height: 48px; }

.main-nav ul {
    display: flex;
    gap: 0.25rem;
    list-style: none;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    transition: var(--transition);
}

.main-nav a:hover {
    color: var(--primary);
    background: var(--bg-alt);
}

.main-nav a.active {
    color: var(--accent);
    background: var(--accent-light);
}

.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.logo {
    flex-shrink: 0;
}

.header-actions {
    flex-shrink: 0;
}

@media (min-width: 993px) {
    .main-nav {
        display: flex !important;
        position: static;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        height: auto;
        background: transparent;
        padding: 0;
        box-shadow: none;
        overflow: visible;
        flex-direction: row;
    }
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    height: 40px;
    padding: 4px;
    position: relative;
    z-index: 10002;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.mobile-menu-toggle span {
    width: 26px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-menu-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle.open span:nth-child(2) { opacity: 0; }

.mobile-menu-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Hero — Home */
.hero-section {
    position: relative;
    padding: calc(var(--header-h) + 32px) 0 7rem;
    background: linear-gradient(145deg, #07040f 0%, var(--hero-dark) 35%, #1a0e30 70%, #0d0818 100%);
    overflow: hidden;
    min-height: 620px;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.55;
    animation: hero-float 8s ease-in-out infinite;
}

.hero-orb-1 {
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, var(--brand) 0%, transparent 70%);
    top: -180px;
    right: -120px;
    animation-delay: 0s;
}

.hero-orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #4a2d7a 0%, transparent 70%);
    bottom: -100px;
    left: -80px;
    animation-delay: -3s;
}

.hero-orb-3 {
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, var(--brand-light) 0%, transparent 70%);
    top: 40%;
    left: 35%;
    opacity: 0.25;
    animation-delay: -5s;
}

@keyframes hero-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -20px) scale(1.05); }
}

.hero-thread-pattern {
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 40px,
            rgb(117 81 168 / 0.04) 40px,
            rgb(117 81 168 / 0.04) 41px
        );
    mask-image: linear-gradient(to bottom, black 30%, transparent 100%);
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, var(--bg-main) 0%, transparent 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgb(117 81 168 / 0.15);
    border: 1px solid rgb(155 123 212 / 0.35);
    padding: 0.45rem 1.1rem 0.45rem 0.55rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--brand-pale);
    margin-bottom: 1.75rem;
    backdrop-filter: blur(8px);
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: #34d399;
    border-radius: 50%;
    box-shadow: 0 0 8px #34d399;
    animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 8px #34d399; }
    50% { opacity: 0.7; transform: scale(0.85); box-shadow: 0 0 16px #34d399; }
}

.hero-text h1 {
    margin-bottom: 1.25rem;
    color: white;
    font-size: clamp(2.4rem, 5.5vw, 4rem);
}

.hero-text h1 em {
    font-style: normal;
    background: linear-gradient(135deg, var(--brand-pale) 0%, var(--brand-light) 50%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text .lead {
    margin-bottom: 2rem;
    max-width: 520px;
    color: rgb(255 255 255 / 0.72);
    font-size: 1.1rem;
}

.hero-section .btn-outline {
    border-color: rgb(255 255 255 / 0.3);
    color: white;
    background: rgb(255 255 255 / 0.06);
    backdrop-filter: blur(4px);
}

.hero-section .btn-outline:hover {
    border-color: var(--brand-light);
    color: white;
    background: rgb(117 81 168 / 0.25);
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgb(255 255 255 / 0.1);
}

.hero-stat strong {
    display: block;
    font-size: 1.65rem;
    font-weight: 800;
    color: white;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 0.35rem;
}

.hero-stat span {
    font-size: 0.78rem;
    color: rgb(255 255 255 / 0.55);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* Hero image + floating tags */
.hero-visual {
    position: relative;
}

.hero-image {
    position: relative;
    z-index: 1;
}

.hero-image::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-light) 50%, #c084fc 100%);
    border-radius: calc(var(--radius-xl) + 3px);
    z-index: -1;
}

.hero-image::after {
    content: '';
    position: absolute;
    inset: -24px;
    background: radial-gradient(ellipse at center, rgb(117 81 168 / 0.35) 0%, transparent 70%);
    z-index: -2;
    animation: hero-glow 4s ease-in-out infinite alternate;
}

@keyframes hero-glow {
    0% { opacity: 0.6; transform: scale(0.98); }
    100% { opacity: 1; transform: scale(1.02); }
}

.hero-image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-hero);
    display: block;
}

.hero-float {
    position: absolute;
    z-index: 3;
    background: rgb(255 255 255 / 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgb(117 81 168 / 0.2);
    padding: 0.55rem 1rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--brand-dark);
    box-shadow: 0 8px 24px rgb(0 0 0 / 0.2);
    white-space: nowrap;
    animation: float-tag 5s ease-in-out infinite;
}

.hero-float::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--brand);
    border-radius: 50%;
    margin-right: 0.45rem;
    vertical-align: middle;
}

.hero-float-1 {
    top: 8%;
    left: -8%;
    animation-delay: 0s;
}

.hero-float-2 {
    bottom: 18%;
    left: -12%;
    animation-delay: -1.5s;
}

.hero-float-3 {
    top: 12%;
    right: -6%;
    animation-delay: -3s;
}

@keyframes float-tag {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Stats bar — overlaps hero */
.stats-bar-wrap {
    position: relative;
    z-index: 2;
    margin-top: -3.5rem;
    padding-bottom: 1rem;
}

.stats-bar {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: 2rem 0;
    border: 1px solid rgb(117 81 168 / 0.12);
}
.page-hero {
    position: relative;
    padding: calc(var(--header-h) + 56px) 0 64px;
    background: linear-gradient(180deg, rgb(117 81 168 / 0.06) 0%, var(--bg-warm) 100%);
    text-align: center;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 80% at 50% 0%, rgb(117 81 168 / 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero h1 { margin-bottom: 0.75rem; }
.page-hero .lead { max-width: 560px; margin: 0 auto; }

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.stat-item {
    text-align: center;
    padding: 0.5rem 1rem;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 40px;
    width: 1px;
    background: rgb(12 18 34 / 0.08);
}

.stat-item strong {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 0.35rem;
}

.stat-item span {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* Info Card */
.info-card {
    background: white;
    border: 1px solid rgb(12 18 34 / 0.08);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.info-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.info-card p {
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}

.card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgb(12 18 34 / 0.06);
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgb(117 81 168 / 0.3);
}

.card-img-wrap {
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--bg-alt);
}

.card-img-top {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--accent-light);
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    margin-bottom: 0.75rem;
    width: fit-content;
}

.card-body h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.card-body p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    flex: 1;
}

.card-link {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: gap var(--transition);
}

.card:hover .card-link { gap: 0.6rem; }

/* Slider (legacy) */
.slider { overflow: hidden; padding: 1rem 0; }

.slide-track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    animation: scroll 40s linear infinite;
}

.slide-track .card { width: 300px; flex-shrink: 0; }

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Industries */
.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
}

.industry-item {
    padding: 2rem 1.5rem;
    background: white;
    border: 1px solid rgb(12 18 34 / 0.06);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    text-align: left;
}

.industry-item:hover {
    border-color: rgb(117 81 168 / 0.3);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.industry-item h4,
.industry-item h3 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.industry-item p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.55;
}

.ind-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-light);
    border-radius: var(--radius-md);
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
}

/* Feature cards (dark section) */
.why-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    padding: 2.5rem 2rem;
    background: rgb(255 255 255 / 0.04);
    border: 1px solid rgb(255 255 255 / 0.08);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.feature-card:hover {
    background: rgb(255 255 255 / 0.07);
    border-color: rgb(117 81 168 / 0.4);
    transform: translateY(-4px);
}

.feature-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgb(117 81 168 / 0.2);
    border-radius: var(--radius-md);
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.feature-card h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: rgb(255 255 255 / 0.7);
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, #12081f 0%, var(--brand-dark) 50%, var(--brand) 100%);
    border-radius: var(--radius-xl);
    padding: 3.5rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgb(155 123 212 / 0.3) 0%, transparent 50%);
    pointer-events: none;
}

.cta-banner .container-inner {
    position: relative;
    z-index: 1;
}

.cta-banner h2 {
    color: white;
    margin-bottom: 0.75rem;
}

.cta-banner p {
    color: rgb(255 255 255 / 0.75);
    max-width: 520px;
    margin: 0 auto 2rem;
}

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

/* Contact Cards */
.contact-card {
    background: white;
    border: 1px solid rgb(12 18 34 / 0.08);
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.contact-card:hover {
    box-shadow: var(--shadow-md);
    border-color: rgb(117 81 168 / 0.25);
}

.contact-card-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-light);
    border-radius: var(--radius-md);
    font-size: 1.5rem;
}

.contact-card h3 { margin-bottom: 0.75rem; }

.contact-card p {
    color: var(--text-muted);
    margin-bottom: 1.75rem;
    flex: 1;
    font-size: 0.95rem;
}

.contact-card .btn { width: 100%; }

/* Product page */
.product-section .product-panel {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgb(12 18 34 / 0.06);
    box-shadow: var(--shadow-md);
    align-items: start;
}

.product-badge {
    background: var(--accent-light);
    color: var(--accent);
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.product-header h2 { margin: 0; }

.filter-bar {
    margin-bottom: 3.5rem;
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgb(12 18 34 / 0.06);
    font-size: 0.95rem;
}

.spec-row:last-child { border-bottom: none; }

.spec-row span:first-child { color: var(--text-muted); }
.spec-row span:last-child { font-weight: 600; }

.spec-box {
    background: var(--bg-alt);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
}

/* Image styling */
.img-rounded {
    width: 100%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.img-stack {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

/* Dark sections */
.bg-dark,
.bg-darker,
.site-footer {
    color: white;
}

.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4,
.bg-darker h1, .bg-darker h2, .bg-darker h3, .bg-darker h4,
.site-footer h1, .site-footer h2, .site-footer h3, .site-footer h4 {
    color: white;
}

.bg-dark p, .bg-darker p, .site-footer p {
    color: rgb(255 255 255 / 0.75);
}

.bg-dark .section-header p {
    color: rgb(255 255 255 / 0.6);
}

/* Footer */
.site-footer {
    padding: 72px 0 32px;
    background: var(--bg-darker);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .footer-logo {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 1rem;
    display: block;
    color: white;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    color: white;
    margin-bottom: 1.25rem;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-links ul { list-style: none; }

.footer-links a {
    color: rgb(255 255 255 / 0.55);
    text-decoration: none;
    transition: var(--transition);
    display: block;
    margin-bottom: 0.65rem;
    font-size: 0.9rem;
}

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

.footer-contact p {
    margin-bottom: 0.65rem;
    font-size: 0.9rem;
    color: rgb(255 255 255 / 0.55);
}

.footer-contact a {
    color: rgb(255 255 255 / 0.75);
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact a:hover { color: var(--accent); }

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgb(255 255 255 / 0.08);
    text-align: center;
    color: rgb(255 255 255 / 0.4);
    font-size: 0.85rem;
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Utilities */
.responsive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.text-body { font-size: 1.05rem; color: var(--text-main); }
.text-muted { color: var(--text-muted); }

.stat-card-light {
    padding: 2rem 1.5rem;
    background: white;
    border: 1px solid rgb(12 18 34 / 0.06);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
}

.stat-card-light:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.stat-card-light h3 {
    font-size: 2.25rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.stat-card-light p {
    color: var(--text-muted);
    margin-bottom: 0;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    :root {
        --header-h: 76px;
        --section-pad: 64px;
    }

    .top-bar {
        display: none;
    }

    body {
        padding-top: var(--header-h);
    }

    .site-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 10050;
        height: var(--header-h);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: #ffffff;
    }

    .site-header.scrolled {
        height: 68px;
    }

    .main-nav {
        display: none;
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 10049;
        background: #ffffff;
        padding: 1.5rem;
        flex-direction: column;
        align-items: stretch;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        box-shadow: var(--shadow-lg);
    }

    .main-nav.is-open {
        display: flex;
    }

    .main-nav ul {
        flex-direction: column;
        text-align: center;
        gap: 0.25rem;
        width: 100%;
    }

    .main-nav a {
        font-size: 1.1rem;
        display: block;
        padding: 0.85rem 1rem;
    }

    .header-actions {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
        z-index: 10051;
    }

    .logo img {
        height: 44px;
        max-width: 150px;
        object-fit: contain;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2.5rem;
    }

    .hero-text .lead { margin-left: auto; margin-right: auto; }
    .hero-btns { justify-content: center; }
    .hero-stats { justify-content: center; flex-wrap: wrap; gap: 1.5rem; }

    .hero-section {
        min-height: auto;
        padding-bottom: 5.5rem;
    }

    .hero-float-1 { top: 6%; left: 2%; }
    .hero-float-2 { bottom: 10%; left: 2%; }
    .hero-float-3 { top: 6%; right: 2%; left: auto; }

    .stats-bar-wrap { margin-top: -2.5rem; }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-item:nth-child(2)::after { display: none; }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-stats {
        flex-wrap: wrap;
        gap: 1.5rem;
    }

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

    .stat-item::after { display: none; }

    .cta-banner { padding: 2.5rem 1.5rem; }

    .product-section .product-panel { padding: 1.5rem; }

    .product-header { flex-direction: column; align-items: flex-start; }

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

    .footer-brand p { max-width: none; }

    .footer-brand,
    .footer-links,
    .footer-contact {
        align-items: center;
        display: flex;
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-btns { flex-direction: column; }
    .btn { width: 100%; }
    .stats-grid { grid-template-columns: 1fr; }
    .container { padding: 0 1.25rem; }
    .hero-float { font-size: 0.68rem; padding: 0.4rem 0.7rem; }
    .hero-float-2 { display: none; }
    .hero-section { padding-bottom: 4.5rem; }
}
