:root {
    --primary: #0f2a43;
    --primary-light: #2c5f8a;
    --primary-lighter: #3a7ab0;
    --accent: #e67e22;
    --accent-light: #f39c12;
    --accent-dark: #c0671a;
    --accent-soft: rgba(230, 126, 34, 0.1);
    --dark: #0a1622;
    --gray-900: #14202d;
    --gray-800: #1f2d3d;
    --gray-700: #385063;
    --gray-600: #5a7184;
    --gray-500: #7a8fa0;
    --gray-400: #a5b5c2;
    --gray-300: #c8d3dd;
    --gray-200: #dbe3ea;
    --gray-100: #eef2f6;
    --gray-50: #f6f8fa;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #0f2a43 0%, #1a3a5c 40%, #2c5f8a 100%);
    --gradient-accent: linear-gradient(135deg, #e67e22 0%, #f39c12 100%);
    --gradient-dark: linear-gradient(180deg, #0a1622 0%, #0f2a43 100%);
    --shadow-sm: 0 1px 3px rgba(10,22,34,0.06), 0 1px 2px rgba(10,22,34,0.04);
    --shadow: 0 4px 12px rgba(10,22,34,0.07), 0 1px 3px rgba(10,22,34,0.04);
    --shadow-md: 0 8px 24px rgba(10,22,34,0.09), 0 2px 6px rgba(10,22,34,0.04);
    --shadow-lg: 0 16px 48px rgba(10,22,34,0.12), 0 4px 12px rgba(10,22,34,0.04);
    --shadow-accent: 0 8px 24px rgba(230,126,34,0.25);
    --radius: 10px;
    --radius-md: 14px;
    --radius-lg: 18px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 0.15s ease;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--gray-800);
    line-height: 1.65;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', 'Segoe UI', system-ui, sans-serif;
    font-weight: 700;
}

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

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

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 88px 0;
}
.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-title {
    font-size: 2.3rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 14px;
    position: relative;
    display: inline-block;
    line-height: 1.25;
}
.section-title::after {
    content: '';
    display: block;
    width: 64px;
    height: 4px;
    background: var(--gradient-accent);
    margin: 16px auto 0;
    border-radius: 2px;
}
.section-desc {
    max-width: 720px;
    margin: 0 auto;
    color: var(--gray-600);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: box-shadow var(--transition), background var(--transition);
}
.header.scrolled {
    box-shadow: var(--shadow);
    background: rgba(255,255,255,0.98);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 78px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}
.logo:hover {
    color: inherit;
}
.logo-img {
    height: 44px;
    width: auto;
    border-radius: 4px;
}
.logo-text {
    display: flex;
    flex-direction: column;
}
.logo-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.12rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
    letter-spacing: -0.2px;
}
.logo-subtitle {
    font-size: 0.7rem;
    color: var(--gray-500);
    line-height: 1.3;
    white-space: nowrap;
    font-weight: 500;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 4px;
}
.nav-link {
    display: block;
    padding: 9px 18px;
    border-radius: var(--radius);
    font-size: 0.93rem;
    font-weight: 500;
    color: var(--gray-700);
    transition: all var(--transition);
    position: relative;
}
.nav-link:hover,
.nav-link.active {
    color: var(--accent);
    background: var(--accent-soft);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.nav-toggle span {
    display: block;
    width: 26px;
    height: 2.5px;
    background: var(--primary);
    border-radius: 2px;
    transition: all var(--transition);
}
.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5.5px);
}
.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5.5px);
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--gradient-primary);
}
.hero-bg {
    position: absolute;
    inset: 0;
    background: url('../images/banner.jpg') center/cover no-repeat;
    opacity: 0.22;
    transform: scale(1.05);
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 50%, rgba(44,95,138,0.25) 0%, transparent 70%),
        linear-gradient(180deg, rgba(15,42,67,0.7) 0%, rgba(10,22,34,0.85) 100%);
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 600"><defs><pattern id="grid" width="48" height="48" patternUnits="userSpaceOnUse"><path d="M 48 0 L 0 0 0 48" fill="none" stroke="rgba(255,255,255,0.035)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>') center;
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 80px 0;
    max-width: 820px;
}
.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
    backdrop-filter: blur(4px);
}
.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
    line-height: 1.15;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.hero-subtitle {
    font-size: 1.18rem;
    margin: 0 auto 36px;
    color: rgba(255,255,255,0.82);
    line-height: 1.7;
    max-width: 720px;
}
.hero-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 42px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 14px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
    z-index: 3;
    animation: bounceY 2s ease-in-out infinite;
}
.scroll-indicator span {
    display: block;
    width: 3px;
    height: 8px;
    background: rgba(255,255,255,0.5);
    border-radius: 2px;
    animation: scrollDot 2s ease-in-out infinite;
}
@keyframes bounceY {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-6px); }
}
@keyframes scrollDot {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(14px); }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 34px;
    border-radius: var(--radius);
    font-size: 0.96rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
    border: 2px solid transparent;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.2px;
}
.btn-primary {
    background: var(--gradient-accent);
    color: var(--white);
    border-color: transparent;
    box-shadow: var(--shadow-accent);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(230,126,34,0.35);
    color: var(--white);
}
.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.4);
}
.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.7);
    color: var(--white);
}
.btn-block {
    width: 100%;
}

/* About */
.about {
    background: var(--gray-50);
    position: relative;
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 64px;
}
.about-card {
    background: var(--white);
    padding: 36px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-100);
    position: relative;
    overflow: hidden;
}
.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--gradient-accent);
}
.about-card h3 {
    font-size: 1.35rem;
    color: var(--primary);
    margin-bottom: 16px;
}
.about-card p {
    color: var(--gray-600);
    margin-bottom: 14px;
    font-size: 0.96rem;
    line-height: 1.7;
}
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}
.stat-item {
    background: var(--white);
    padding: 36px 20px 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-100);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 4px;
    background: var(--gradient-accent);
    transition: width var(--transition);
}
.stat-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.stat-item:hover::before {
    width: 80%;
}
.stat-number {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    display: inline-block;
}
.stat-plus {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent);
}
.stat-label {
    display: block;
    margin-top: 8px;
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.3;
    font-weight: 500;
}

/* Products */
.products {
    background: var(--white);
}
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-100);
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gray-200);
}
.product-img-wrapper {
    height: 200px;
    overflow: hidden;
    background: var(--gray-100);
    position: relative;
}
.product-img-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(15,42,67,0.15) 100%);
}
.product-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.product-card:hover .product-img-wrapper img {
    transform: scale(1.08);
}
.product-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.product-info h3 {
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: 8px;
    line-height: 1.35;
}
.product-info p {
    font-size: 0.84rem;
    color: var(--gray-600);
    margin-bottom: 16px;
    line-height: 1.55;
    flex: 1;
}
.product-link {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap var(--transition), color var(--transition);
}
.product-link:hover {
    color: var(--accent-dark);
    gap: 8px;
}

/* Advantages */
.advantages {
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}
.advantages::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 50%;
    height: 200%;
    background: radial-gradient(circle, rgba(44,95,138,0.25) 0%, transparent 60%);
    pointer-events: none;
}
.advantages .section-title {
    color: var(--white);
}
.advantages .section-desc {
    color: rgba(255,255,255,0.6);
}
.advantages .section-title::after {
    background: var(--gradient-accent);
}
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}
.advantage-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--transition);
    backdrop-filter: blur(8px);
}
.advantage-card:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(230,126,34,0.4);
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(0,0,0,0.3);
}
.advantage-icon {
    width: 76px;
    height: 76px;
    margin: 0 auto 20px;
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(230, 126, 34, 0.12);
    border: 1px solid rgba(230, 126, 34, 0.2);
    border-radius: 22px;
    transition: all var(--transition);
}
.advantage-card:hover .advantage-icon {
    background: var(--gradient-accent);
    color: var(--white);
    transform: rotate(-6deg) scale(1.08);
    box-shadow: var(--shadow-accent);
}
.advantage-card h3 {
    font-size: 1.15rem;
    color: var(--white);
    margin-bottom: 10px;
}
.advantage-card p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.65;
}

/* Applications */
.applications-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 36px;
}
.app-tab {
    padding: 11px 24px;
    border-radius: 50px;
    font-size: 0.92rem;
    font-weight: 500;
    border: 2px solid var(--gray-200);
    background: var(--white);
    color: var(--gray-700);
    cursor: pointer;
    transition: all var(--transition);
    font-family: 'Inter', sans-serif;
}
.app-tab:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-1px);
}
.app-tab.active {
    background: var(--gradient-accent);
    color: var(--white);
    border-color: transparent;
    box-shadow: var(--shadow-accent);
}

.applications-content {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    min-height: 300px;
    border: 1px solid var(--gray-100);
}
.app-panel {
    display: none;
    animation: fadeIn 0.4s ease;
}
.app-panel.active {
    display: block;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.app-panel-inner {
    display: flex;
    gap: 0;
    align-items: stretch;
}
.app-panel-inner img {
    width: 45%;
    object-fit: cover;
    flex-shrink: 0;
    min-height: 320px;
}
.app-info {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.app-info h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 18px;
}
.app-info ul {
    list-style: none;
}
.app-info ul li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 12px;
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.65;
}
.app-info ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 9px;
    height: 9px;
    background: var(--gradient-accent);
    border-radius: 50%;
    box-shadow: 0 0 0 3px var(--accent-soft);
}

/* Partners */
.partners {
    background: var(--gray-50);
}
.partners-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}
.partner-item {
    background: var(--white);
    padding: 26px 16px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    text-align: center;
    font-weight: 600;
    font-size: 0.86rem;
    color: var(--gray-600);
    transition: all var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
}
.partner-item:hover {
    color: var(--accent);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
    border-color: var(--accent-light);
}

/* Contact */
.contact {
    background: var(--white);
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.contact-card {
    display: flex;
    gap: 18px;
    padding: 24px;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-100);
    transition: all var(--transition);
}
.contact-card:hover {
    background: var(--white);
    box-shadow: var(--shadow);
    border-color: var(--gray-200);
    transform: translateX(4px);
}
.contact-icon {
    flex-shrink: 0;
    color: var(--accent);
    margin-top: 2px;
    width: 44px;
    height: 44px;
    background: var(--accent-soft);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.contact-card h4 {
    font-size: 0.98rem;
    color: var(--dark);
    margin-bottom: 6px;
}
.contact-card p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.55;
}
.contact-card a {
    color: var(--primary-light);
}
.contact-card a:hover {
    color: var(--accent);
}

.contact-form {
    background: var(--gray-50);
    padding: 36px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-100);
}
.contact-form h3 {
    font-size: 1.35rem;
    color: var(--primary);
    margin-bottom: 24px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 7px;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 13px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 0.94rem;
    color: var(--dark);
    background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition);
    font-family: inherit;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(230, 126, 34, 0.1);
}
.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.65);
    padding: 64px 0 0;
    position: relative;
}
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 40px;
    padding-bottom: 44px;
}
.footer-col h4 {
    color: var(--white);
    font-size: 1.08rem;
    margin-bottom: 18px;
    font-weight: 600;
}
.footer-col p {
    font-size: 0.9rem;
    line-height: 1.65;
}
.footer-col ul {
    list-style: none;
}
.footer-col ul li {
    margin-bottom: 10px;
}
.footer-col ul li a {
    color: rgba(255,255,255,0.55);
    font-size: 0.9rem;
    transition: color var(--transition), padding var(--transition);
}
.footer-col ul li a:hover {
    color: var(--accent);
    padding-left: 4px;
}
.footer-col address {
    font-style: normal;
    font-size: 0.9rem;
    line-height: 1.8;
}
.footer-col address a {
    color: rgba(255,255,255,0.55);
}
.footer-col address a:hover {
    color: var(--accent);
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 22px 0;
    text-align: center;
    font-size: 0.84rem;
    color: rgba(255,255,255,0.35);
}

/* Product detail pages */
.page-hero a {
    text-decoration: none;
}
.page-hero a:hover {
    text-decoration: underline;
}
.product-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}
.product-sidebar {
    width: 260px;
    flex-shrink: 0;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    position: sticky;
    top: 96px;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-100);
}
.product-sidebar h3 {
    font-size: 1.05rem;
    color: var(--dark);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--gray-100);
}
.sidebar-nav {
    list-style: none;
}
.sidebar-nav li {
    margin-bottom: 3px;
}
.sidebar-nav li a {
    display: block;
    padding: 10px 16px;
    border-radius: var(--radius);
    font-size: 0.88rem;
    color: var(--gray-700);
    text-decoration: none;
    transition: all var(--transition);
    border-left: 3px solid transparent;
}
.sidebar-nav li a:hover {
    background: var(--gray-50);
    color: var(--accent);
    border-left-color: var(--accent);
}
.sidebar-nav li a.active {
    background: var(--gradient-accent);
    color: var(--white);
    border-left-color: transparent;
    font-weight: 600;
}
.sidebar-sub {
    list-style: none;
    margin: 2px 0 6px 16px;
    padding-left: 8px;
    border-left: 2px solid var(--gray-200);
}
.sidebar-sub li a {
    display: block;
    padding: 6px 12px;
    font-size: 0.82rem;
    color: var(--gray-600);
    border-radius: 6px;
    transition: all var(--transition);
    border-left: none;
}
.sidebar-sub li a:hover {
    color: var(--accent);
    background: var(--accent-soft);
}
.sidebar-sub li a.active {
    color: var(--accent);
    background: transparent;
    font-weight: 600;
}
.product-main {
    flex: 1;
    min-width: 0;
}
.product-main h2 {
    font-size: 1.7rem;
    color: var(--primary);
    margin: 32px 0 18px;
}
.product-main h2:first-child {
    margin-top: 0;
}
.product-main h3 {
    font-size: 1.25rem;
    color: var(--dark);
    margin: 30px 0 14px;
}
.product-main > p {
    font-size: 0.97rem;
    color: var(--gray-600);
    line-height: 1.75;
    margin-bottom: 18px;
}
.product-intro {
    margin-bottom: 12px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.cert-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}
.cert-badges span {
    display: inline-block;
    padding: 7px 16px;
    background: var(--gradient-primary);
    color: #fff;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.4px;
    box-shadow: var(--shadow-sm);
}
.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
    font-size: 0.92rem;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.spec-table th,
.spec-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--gray-100);
    text-align: left;
}
.spec-table tr:last-child th,
.spec-table tr:last-child td {
    border-bottom: none;
}
.spec-table th {
    background: var(--gray-50);
    color: var(--primary);
    font-weight: 600;
    width: 30%;
}
.spec-table td {
    color: var(--gray-600);
    background: var(--white);
}
.subcats {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 12px;
}
.subcat-card {
    background: var(--gray-50);
    border-radius: var(--radius-md);
    padding: 24px 28px;
    border: 1px solid var(--gray-100);
    border-left: 4px solid var(--accent);
    transition: all var(--transition);
}
.subcat-card:hover {
    box-shadow: var(--shadow);
    transform: translateX(3px);
}
.subcat-card h4 {
    font-size: 1.05rem;
    color: var(--primary);
    margin-bottom: 8px;
}
.subcat-card p {
    font-size: 0.91rem;
    color: var(--gray-600);
    line-height: 1.65;
    margin-bottom: 6px;
}
.subcat-card ul {
    color: var(--gray-600);
    font-size: 0.9rem;
    line-height: 1.65;
}

/* Detailed product listing grid (real scraped products) */
.prod-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    margin: 12px 0 8px;
}
.prod-card {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all var(--transition);
}
.prod-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-light);
}
.prod-card-img {
    height: 200px;
    overflow: hidden;
    background: var(--gray-100);
    position: relative;
}
.prod-card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 70%, rgba(10,22,34,0.18) 100%);
    pointer-events: none;
}
.prod-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.prod-card:hover .prod-card-img img {
    transform: scale(1.06);
}
.prod-card-body {
    padding: 18px 20px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.prod-card-name {
    font-size: 1rem;
    color: var(--dark);
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.35;
    font-family: 'Poppins', 'Segoe UI', sans-serif;
}
.prod-card-code {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.9px;
    color: var(--accent);
    text-transform: uppercase;
}
.prod-card-desc {
    font-size: 0.88rem;
    color: var(--gray-600);
    line-height: 1.62;
    margin-bottom: 16px;
    flex: 1;
}
.prod-card-link {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: var(--radius);
    background: var(--accent-soft);
    color: var(--accent-dark);
    font-size: 0.83rem;
    font-weight: 700;
    border: 1px solid rgba(230,126,34,0.22);
    transition: all var(--transition);
}
.prod-card-link:hover {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
    gap: 9px;
}
.prod-card-link svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}
@media (max-width: 900px) {
    .prod-list {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 480px) {
    .prod-card-img {
        height: 180px;
    }
}

/* Featured product gallery */
.product-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 24px 0 32px;
}
.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    aspect-ratio: 1;
    background: var(--gray-100);
    transition: all var(--transition);
}
.gallery-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.gallery-item:hover img {
    transform: scale(1.06);
}
.gallery-item .gallery-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 14px;
    background: linear-gradient(180deg, transparent 0%, rgba(10,22,34,0.85) 100%);
    color: var(--white);
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.3;
}
.product-hero-img {
    width: 100%;
    max-height: 360px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}
.subcat-img {
    width: 100%;
    max-height: 220px;
    object-fit: cover;
    border-radius: var(--radius);
    margin: 12px 0 6px;
    box-shadow: var(--shadow-sm);
}
@media (max-width: 768px) {
    .product-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Product detail page */
.pd-gallery {
    margin-bottom: 28px;
}
.pd-main-img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: 14px;
    background: var(--gray-100);
}
.pd-thumbs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.pd-thumb {
    width: 88px;
    height: 88px;
    object-fit: cover;
    border-radius: var(--radius);
    border: 2px solid var(--gray-200);
    cursor: pointer;
    transition: all var(--transition);
    background: var(--gray-100);
}
.pd-thumb:hover,
.pd-thumb.active {
    border-color: var(--accent);
    transform: translateY(-2px);
}
.pd-features {
    list-style: none;
    margin: 0 0 28px;
}
.pd-features li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 10px;
    color: var(--gray-600);
    font-size: 0.94rem;
    line-height: 1.65;
}
.pd-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 8px;
    height: 8px;
    background: var(--gradient-accent);
    border-radius: 50%;
}
.pd-back {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid var(--gray-100);
    flex-wrap: wrap;
}
.pd-back a {
    font-weight: 600;
    font-size: 0.92rem;
}
.pd-external {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-top: 12px;
}
.pd-external:hover {
    color: var(--accent);
}
@media (max-width: 768px) {
    .pd-main-img {
        max-height: 300px;
    }
    .pd-back {
        flex-direction: column;
        align-items: stretch;
    }
}

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

/* Responsive */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .partners-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .app-panel-inner {
        flex-direction: column;
    }
    .app-panel-inner img {
        width: 100%;
        height: 240px;
        min-height: 240px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .about-grid {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 2.5rem;
    }
}
@media (max-width: 768px) {
    .hero {
        min-height: 600px;
    }
    .hero-title {
        font-size: 2rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    .hero-badge {
        font-size: 0.72rem;
        padding: 6px 16px;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .section {
        padding: 64px 0;
    }
    .products-grid {
        grid-template-columns: 1fr 1fr;
    }
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    .stats {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .applications-tabs {
        gap: 6px;
    }
    .app-tab {
        padding: 9px 16px;
        font-size: 0.84rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .nav-toggle {
        display: flex;
    }
    .nav {
        position: fixed;
        top: 78px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--white);
        padding: 24px;
        transform: translateX(100%);
        transition: transform var(--transition);
        z-index: 999;
        overflow-y: auto;
        box-shadow: -8px 0 32px rgba(0,0,0,0.1);
    }
    .nav.open {
        transform: translateX(0);
    }
    .nav-list {
        flex-direction: column;
        gap: 2px;
    }
    .nav-link {
        padding: 14px 18px;
        font-size: 1rem;
        border-radius: var(--radius);
    }
    .logo-subtitle {
        display: none;
    }

    .product-layout {
        flex-direction: column;
    }
    .product-sidebar {
        width: 100%;
        position: static;
    }
    .sidebar-nav {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
    }
    .sidebar-nav li a {
        padding: 8px 14px;
        font-size: 0.8rem;
        border-left: none;
    }
}
@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-btns {
        flex-direction: column;
        align-items: stretch;
    }
    .btn {
        width: 100%;
    }
    .hero-title {
        font-size: 1.7rem;
    }
    .section-title {
        font-size: 1.5rem;
    }
    .stat-number {
        font-size: 2.4rem;
    }
    .app-info {
        padding: 24px;
    }
}
