/* ===== KYNATRON TECHNOLOGIES - Professional Stylesheet ===== */
/* Launch-ready • No external CSS dependencies */

/* ===== RESET & BASE ===== */
:root {
    --primary: #1e3a5f;
    --primary-dark: #0f172a;
    --accent: #f97316;
    --accent-soft: #ffedd5;
    --text: #111827;
    --muted: #6b7280;
    --surface: #f8fafc;
    --border: #e5e7eb;
    --success: #16a34a;
}

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

html {
    scroll-behavior: smooth;
}

::selection {
    background: rgba(249,115,22,0.28);
    color: var(--primary-dark);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
    animation: fadeInBody 0.8s ease both;
}

@keyframes fadeInBody {
    from { opacity: 0; }
    to { opacity: 1; }
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    transform-origin: left center;
    transform: scaleX(0);
    background: linear-gradient(90deg, var(--accent), #3b82f6);
    z-index: 200;
    box-shadow: 0 0 20px rgba(249,115,22,0.35);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: radial-gradient(circle at top left, rgba(59,130,246,0.08), transparent 24%), radial-gradient(circle at 80% 20%, rgba(249,115,22,0.08), transparent 20%);
    pointer-events: none;
    z-index: -1;
    opacity: 0.9;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ===== LAYOUT ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
}

.section-gray {
    background: linear-gradient(180deg, #f8fafc 0%, #f3f4f6 100%);
}

.section-soft {
    padding: 40px 0 0;
}

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

/* ===== HERO BADGES ===== */
.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.24);
    color: #f8fafc;
    font-size: 0.82rem;
    font-weight: 600;
    backdrop-filter: blur(6px);
}

/* ===== FEATURE STRIP ===== */
.feature-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: -18px;
    position: relative;
    z-index: 2;
}

.feature-card {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 22px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(15,23,42,0.08);
}

.feature-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--accent-soft), #fff);
    color: var(--accent);
    font-size: 1rem;
}

.feature-card h3 {
    font-size: 0.98rem;
    margin-bottom: 6px;
    color: var(--text);
}

.feature-card p {
    font-size: 0.86rem;
    color: var(--muted);
    line-height: 1.6;
}

/* ===== SCROLL REVEAL ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Stagger children */
.stagger-children .card,
.stagger-children .product-card,
.stagger-children .service-card,
.stagger-children .why-card,
.stagger-children .spec-card {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.stagger-children.visible .card,
.stagger-children.visible .product-card,
.stagger-children.visible .service-card,
.stagger-children.visible .why-card,
.stagger-children.visible .spec-card {
    opacity: 1;
    transform: translateY(0);
}

.stagger-children.visible > :nth-child(1) { transition-delay: 0.05s; }
.stagger-children.visible > :nth-child(2) { transition-delay: 0.12s; }
.stagger-children.visible > :nth-child(3) { transition-delay: 0.19s; }
.stagger-children.visible > :nth-child(4) { transition-delay: 0.26s; }
.stagger-children.visible > :nth-child(5) { transition-delay: 0.33s; }
.stagger-children.visible > :nth-child(6) { transition-delay: 0.40s; }

/* ===== NAVBAR ===== */
.navbar {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.04);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: box-shadow 0.3s ease, background 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-mark-img {
    height: 42px;
    width: auto;
    object-fit: contain;
    border-radius: 6px;
    transition: transform 0.3s ease;
}

.logo:hover .logo-mark-img {
    transform: scale(1.05);
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1e3a5f;
    letter-spacing: 2.5px;
    font-family: 'Segoe UI', Arial, sans-serif;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: #4b5563;
    font-weight: 500;
    font-size: 0.92rem;
    padding: 6px 0;
    position: relative;
    transition: color 0.2s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #1e3a5f;
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-links a:hover,
.nav-links a.active {
    color: #1e3a5f;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #4b5563;
    padding: 8px;
    border-radius: 6px;
    transition: background 0.2s;
}

.mobile-menu-btn:hover {
    background: #f3f4f6;
}

/* ===== HERO ===== */
.hero {
    background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%);
    color: #fff;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(59,130,246,0.08) 0%, transparent 70%);
    pointer-events: none;
    animation: heroGlow 8s ease-in-out infinite;
}

@keyframes heroGlow {
    0%, 100% { transform: translateX(0) scale(1); opacity: 0.75; }
    50% { transform: translateX(-10px) scale(1.04); opacity: 1; }
}

.hero-small {
    padding: 60px 0;
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.15;
    letter-spacing: -0.02em;
    animation: heroTitleFade 0.8s ease both;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #93c5fd;
    max-width: 560px;
    line-height: 1.7;
    animation: heroTitleFade 0.9s ease 0.08s both;
}

@keyframes heroTitleFade {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.hero-buttons {
    display: flex;
    gap: 14px;
    margin-top: 32px;
    flex-wrap: wrap;
    animation: riseIn 0.8s ease 0.2s both;
}

@keyframes riseIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.btn:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 10px 24px rgba(0,0,0,0.13);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: #f97316;
    color: #fff;
}

.btn-primary:hover {
    background: #ea580c;
    box-shadow: 0 8px 24px rgba(249,115,22,0.3);
}

.btn-outline {
    border: 2px solid rgba(255,255,255,0.8);
    color: #fff;
    background: transparent;
}

.btn-outline:hover {
    background: #fff;
    color: #1e3a5f;
    border-color: #fff;
}

.btn-dark {
    background: #1e3a5f;
    color: #fff;
}

.btn-dark:hover {
    background: #162d4a;
    box-shadow: 0 8px 24px rgba(30,58,95,0.3);
}

/* ===== TRUST BAR ===== */
.trust-bar {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    padding: 14px 0;
    box-shadow: 0 2px 14px rgba(15,23,42,0.03);
}

.trust-items {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    font-size: 0.82rem;
    color: #4b5563;
    font-weight: 500;
}

.trust-items i,
.trust-item i {
    color: #1e3a5f;
    margin-right: 6px;
}

/* ===== STATS ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
    padding: 48px 0;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1e3a5f;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
}

.stat-label {
    color: #6b7280;
    margin-top: 6px;
    font-size: 0.9rem;
}

/* ===== SECTION HEADERS ===== */
.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
    color: var(--text);
    position: relative;
}

.section-header h2::after {
    content: "";
    width: 64px;
    height: 3px;
    display: block;
    margin: 12px auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent), var(--primary));
    transition: width 0.3s ease;
}

.section-header:hover h2::after {
    width: 84px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--muted);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ===== CARDS ===== */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }

.card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 10px 26px rgba(15,23,42,0.04);
}

.card:hover {
    box-shadow: 0 18px 40px rgba(0,0,0,0.08);
    transform: translateY(-4px) scale(1.01);
    border-color: #d1d5db;
}

.card-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.4rem;
}

.card-icon-blue { background: #dbeafe; color: #1e40af; }
.card-icon-orange { background: #ffedd5; color: #c2410c; }
.card-icon-green { background: #dcfce7; color: #15803d; }
.card-icon-purple { background: #f3e8ff; color: #7c3aed; }

.card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
    color: #111827;
    font-weight: 600;
}

.card p {
    color: #6b7280;
    font-size: 0.92rem;
    line-height: 1.65;
}

/* ===== WHY CARDS ===== */
.why-card {
    padding: 28px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #e5e7eb;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.why-card:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,0.06);
    transform: translateY(-3px) scale(1.01);
}

.why-number {
    font-size: 0.75rem;
    font-weight: 700;
    color: #f97316;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.why-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #111827;
}

.why-card p {
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.65;
}

/* ===== PRODUCT CARDS ===== */
.product-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.product-card:hover {
    box-shadow: 0 16px 48px rgba(0,0,0,0.08);
    transform: translateY(-4px) scale(1.01);
}

.product-image {
    background: linear-gradient(135deg, #f8fafc, #e5e7eb);
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    transition: transform 0.4s ease;
}

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

.product-info {
    padding: 24px;
}

.product-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.product-info .subtitle {
    color: #6b7280;
    font-size: 0.85rem;
    margin-bottom: 14px;
}

.product-info ul {
    margin-bottom: 16px;
}

.product-info ul li {
    font-size: 0.83rem;
    color: #6b7280;
    padding: 3px 0;
}

.product-info ul li::before {
    content: "• ";
    color: #1e3a5f;
    font-weight: 700;
}

.product-link {
    color: #1e3a5f;
    font-weight: 600;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.2s ease;
}

.product-link:hover {
    gap: 8px;
}

/* ===== FEATURED PRODUCT ===== */
.product-featured {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.product-featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #f97316;
    color: #fff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    z-index: 2;
    letter-spacing: 0.3px;
}

.product-featured-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    padding: 48px;
    align-items: center;
}

.product-featured-image img {
    width: 100%;
    border-radius: 12px;
}

.product-featured-info h2 {
    font-size: 2rem;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.product-tagline {
    color: #6b7280;
    font-size: 1.05rem;
    margin-bottom: 16px;
}

.product-desc {
    color: #4b5563;
    margin-bottom: 24px;
    line-height: 1.7;
    font-size: 0.95rem;
}

.product-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 20px;
    margin-bottom: 28px;
}

.product-highlights li {
    font-size: 0.88rem;
    color: #374151;
    padding: 7px 0;
    border-bottom: 1px solid #f3f4f6;
}

.product-card-cta {
    border: 2px dashed #d1d5db;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fafafa;
}

.product-card-cta:hover {
    border-color: #f97316;
    background: #fff;
}

/* ===== FEATURED PRODUCT (Home) ===== */
.featured-product {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.featured-product-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.featured-product-image:hover img {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 16px 44px rgba(0,0,0,0.16);
}

.featured-product-info h3 {
    font-size: 2rem;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.featured-tagline {
    color: #6b7280;
    font-size: 1.05rem;
    margin-bottom: 20px;
}

.featured-specs {
    margin-bottom: 28px;
}

.featured-specs li {
    padding: 7px 0;
    color: #374151;
    font-size: 0.92rem;
    border-bottom: 1px solid #f3f4f6;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%);
    padding: 56px 0;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(59,130,246,0.14), transparent 72%);
    pointer-events: none;
    animation: pulseGlow 5s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.04); opacity: 1; }
}

.cta-section h2 {
    font-size: 1.8rem;
    margin-bottom: 12px;
    position: relative;
}

.cta-section p {
    color: #93c5fd;
    font-size: 1.05rem;
    margin-bottom: 24px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

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

.about-grid h2 {
    font-size: 2rem;
    margin-bottom: 24px;
}

.about-grid p {
    color: #4b5563;
    margin-bottom: 16px;
    line-height: 1.7;
}

.about-image-showcase {
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
    border-radius: 16px;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.mission-card {
    background: #fff;
    border-radius: 14px;
    padding: 32px;
    border: 1px solid #e5e7eb;
    transition: box-shadow 0.3s ease;
}

.mission-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.05);
}

.mission-card h3 {
    color: #1e3a5f;
    font-size: 1.4rem;
    margin-bottom: 14px;
}

.mission-card p {
    color: #6b7280;
    line-height: 1.7;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    text-align: center;
}

.value-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 1.4rem;
}

.values-grid h4 { margin-bottom: 8px; font-size: 0.95rem; }
.values-grid p { color: #6b7280; font-size: 0.85rem; line-height: 1.5; }

/* ===== SERVICES PAGE ===== */
.service-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 32px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.service-card:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,0.06);
    transform: translateY(-3px);
}

.service-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.service-card > p {
    color: #6b7280;
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.service-card ul li {
    padding: 4px 0;
    color: #4b5563;
    font-size: 0.88rem;
}

.service-card ul li::before {
    content: "✓ ";
    color: #16a34a;
    font-weight: 700;
    margin-right: 6px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    text-align: center;
}

.process-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #1e3a5f, #0f172a);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 1.2rem;
    font-weight: 700;
}

.process-grid h4 { margin-bottom: 8px; font-size: 0.95rem; }
.process-grid p { color: #6b7280; font-size: 0.85rem; }

/* ===== HERO IMAGE ===== */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 100%;
    border-radius: 14px;
    box-shadow: 0 24px 64px rgba(0,0,0,0.35);
    animation: float 6s ease-in-out infinite;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.hero-image:hover img {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 30px 72px rgba(0,0,0,0.4);
}

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

/* ===== SPEC CARDS ===== */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.spec-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 28px;
    transition: box-shadow 0.3s ease;
}

.spec-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.05);
}

.spec-card h3 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #6b7280;
    margin-bottom: 6px;
}

.spec-card h4 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: #111827;
}

.spec-card h5 {
    margin-top: 14px;
    margin-bottom: 8px;
    font-size: 0.88rem;
    color: #374151;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
}

.spec-table tr { border-bottom: 1px solid #f3f4f6; }
.spec-table td { padding: 9px 0; font-size: 0.88rem; }
.spec-table td:first-child { color: #6b7280; width: 40%; }
.spec-table td:last-child { font-weight: 500; color: #1e3a5f; }

.spec-note {
    margin-top: 14px;
    padding: 12px 16px;
    background: #eff6ff;
    border-radius: 8px;
    font-size: 0.83rem;
    color: #1e3a5f;
    border-left: 3px solid #3b82f6;
}

.spec-card ul li {
    font-size: 0.85rem;
    color: #4b5563;
    padding: 3px 0;
}

.spec-card ul li::before {
    content: "• ";
    color: #f97316;
}

/* ===== DATASHEET ===== */
.datasheet-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.datasheet-page {
    width: 100%;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.datasheet-page:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

/* ===== CONTACT PAGE ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
}

.contact-main h2 {
    font-size: 1.75rem;
    margin-bottom: 16px;
}

.contact-intro {
    color: #6b7280;
    margin-bottom: 32px;
    font-size: 1.02rem;
    line-height: 1.7;
}

.email-cta {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #eff6ff;
    border: 2px solid #bfdbfe;
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 32px;
    transition: border-color 0.3s ease;
}

.email-cta:hover {
    border-color: #3b82f6;
}

.email-icon { font-size: 2.5rem; }
.email-cta h3 { font-size: 0.95rem; color: #6b7280; margin-bottom: 4px; }

.email-link {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e3a5f;
}

.email-link:hover { text-decoration: underline; }

.contact-topics h4 { margin-bottom: 12px; color: #374151; }
.contact-topics ul li { padding: 6px 0; color: #6b7280; font-size: 0.92rem; }
.contact-topics ul li::before { content: "✓ "; color: #16a34a; margin-right: 8px; }

.contact-sidebar { display: flex; flex-direction: column; gap: 16px; }

.contact-card {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 22px;
    transition: border-color 0.3s ease;
}

.contact-card:hover { border-color: #d1d5db; }
.contact-card-icon { font-size: 1.4rem; margin-bottom: 8px; }
.contact-card h4 { font-weight: 600; margin-bottom: 4px; font-size: 0.95rem; }
.contact-card p { color: #6b7280; font-size: 0.9rem; }

/* ===== NEWSLETTER BAR ===== */
.newsletter-bar {
    background: #0f172a;
    padding: 24px 0;
    border-bottom: 1px solid #1e293b;
}

.newsletter-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.newsletter-bar strong { color: #f8fafc; font-size: 0.95rem; }
.newsletter-bar span { color: #94a3b8; font-size: 0.85rem; margin-left: 10px; }

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-form input {
    background: #1e293b;
    border: 1px solid #374151;
    border-radius: 8px;
    padding: 10px 16px;
    color: #f8fafc;
    font-size: 0.88rem;
    width: 240px;
    transition: border-color 0.3s ease;
    outline: none;
}

.newsletter-form input:focus {
    border-color: #3b82f6;
}

.newsletter-form button {
    background: #f97316;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.newsletter-form button:hover {
    background: #ea580c;
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(135deg, #0f172a 0%, #111827 100%);
    color: #d1d5db;
    padding: 48px 0 0;
    position: relative;
    overflow: hidden;
}

.footer-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 22px 24px;
    margin-bottom: 24px;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 16px;
    background: linear-gradient(90deg, rgba(249,115,22,0.16), rgba(59,130,246,0.12));
    backdrop-filter: blur(8px);
}

.footer-cta strong {
    color: #ffffff;
    font-size: 1rem;
    display: block;
    margin-bottom: 4px;
}

.footer-cta p {
    color: #cbd5e1;
    font-size: 0.9rem;
    margin: 0;
}

.footer-cta-btn {
    border-color: rgba(255,255,255,0.24);
    color: #fff;
    background: rgba(255,255,255,0.08);
}

.footer-cta-btn:hover {
    background: #fff;
    color: var(--primary);
}

.footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(249,115,22,0.14), transparent 30%);
    pointer-events: none;
}

.footer-content {
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.9fr 1fr;
    gap: 36px;
    align-items: start;
    padding-top: 12px;
    position: relative;
    z-index: 1;
}

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

.footer-brand-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-brand {
    font-size: 1.1rem;
    color: #fff;
    margin: 0;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.footer-intro {
    font-size: 0.92rem;
    color: #cbd5e1;
    line-height: 1.7;
    margin: 0;
    max-width: 360px;
    flex: 1 1 260px;
}

.footer-certifications {
    margin-top: 14px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 0.8rem;
}

.footer-certifications span {
    color: #cbd5e1;
    padding: 7px 10px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 999px;
}

.footer-certifications i {
    color: #f97316;
    margin-right: 4px;
}

.footer h4 {
    color: #fff;
    margin-bottom: 14px;
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.footer ul li {
    padding: 6px 0;
    font-size: 0.88rem;
    color: #cbd5e1;
}

.footer ul li a,
.footer ul li {
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer ul li:hover {
    color: #fff;
    transform: translateX(2px);
}

.footer a {
    color: inherit;
}

.footer a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.12);
    margin-top: 32px;
    padding: 24px 0 32px;
    text-align: center;
    color: #94a3b8;
    font-size: 0.85rem;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: #1e3a5f;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, background 0.3s ease;
    z-index: 99;
}

.back-to-top:hover {
    background: #f97316;
    transform: translateY(-3px);
}

/* ===== COMPLIANCE BAR ===== */
.compliance-bar {
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
    padding: 14px 0;
}

.compliance-items {
    display: flex;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
    font-size: 0.82rem;
    color: #4b5563;
    font-weight: 500;
}

.compliance-items i {
    color: #1e3a5f;
    margin-right: 5px;
}

/* ===== TESTIMONIALS ===== */
.testimonial-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 28px;
    border-left: 4px solid;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.testimonial-card:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,0.06);
    transform: translateY(-3px);
}

.testimonial-card:nth-child(1) { border-left-color: #22c55e; }
.testimonial-card:nth-child(2) { border-left-color: #3b82f6; }
.testimonial-card:nth-child(3) { border-left-color: #f97316; }

.testimonial-text {
    color: #4b5563;
    font-style: italic;
    margin-bottom: 20px;
    line-height: 1.75;
    font-size: 0.92rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 38px;
    height: 38px;
    background: #1e3a5f;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
}

.testimonial-name { font-weight: 600; font-size: 0.88rem; color: #111827; }
.testimonial-role { font-size: 0.75rem; color: #6b7280; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero h1 { font-size: 2.5rem; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .feature-strip { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        background: #fff;
        padding: 24px;
        box-shadow: 0 8px 24px rgba(0,0,0,0.1);
        gap: 8px;
        border-bottom: 1px solid #e5e7eb;
    }

    .nav-links.show { display: flex; }
    .nav-links a { padding: 10px 0; }
    .nav-links a::after { display: none; }
    .mobile-menu-btn { display: block; }

    .hero { padding: 60px 0; }
    .hero h1 { font-size: 2rem; }
    .hero-content { grid-template-columns: 1fr; gap: 32px; }
    .section { padding: 56px 0; }
    .hero-badges { margin-top: 18px; }
    .pill { width: 100%; justify-content: center; }

    .featured-product,
    .product-featured-content,
    .about-grid,
    .contact-grid,
    .specs-grid,
    .datasheet-grid {
        grid-template-columns: 1fr;
    }

    .grid-3, .grid-4, .values-grid, .process-grid {
        grid-template-columns: 1fr 1fr;
    }

    .product-highlights { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .mission-grid { grid-template-columns: 1fr; }
    .newsletter-inner { flex-direction: column; align-items: flex-start; }
    .newsletter-form { width: 100%; }
    .newsletter-form input { flex: 1; width: auto; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-cta { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
    .grid-3, .grid-4, .values-grid, .process-grid, .grid-2 {
        grid-template-columns: 1fr;
    }

    .hero h1 { font-size: 1.75rem; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .trust-items { gap: 16px; font-size: 0.75rem; }
}

/* ===== ANIMATIONS KEYFRAMES ===== */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

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


/* ===== CAREERS PAGE ===== */
.job-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.job-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 28px 32px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    align-items: center;
    transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.job-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
    transform: translateY(-2px);
    border-color: #d1d5db;
}

.job-header {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.job-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: #111827;
}

.job-id {
    font-size: 0.78rem;
    color: #6b7280;
    font-family: monospace;
    letter-spacing: 0.5px;
}

.job-desc {
    color: #4b5563;
    font-size: 0.9rem;
    margin-top: 6px;
    line-height: 1.6;
}

.job-meta {
    display: flex;
    gap: 16px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.job-meta span {
    font-size: 0.82rem;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 5px;
}

.job-meta i {
    color: #1e3a5f;
    font-size: 0.78rem;
}

.job-skills {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.job-skill {
    background: #eff6ff;
    color: #1e3a5f;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
}

.perks-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.perk-card {
    text-align: center;
    padding: 28px 20px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.perk-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.05);
    transform: translateY(-2px);
}

.perk-icon {
    font-size: 2rem;
    margin-bottom: 14px;
}

.perk-card h4 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: #111827;
}

.perk-card p {
    color: #6b7280;
    font-size: 0.85rem;
    line-height: 1.5;
}

/* Apply Section */
.apply-instructions {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 36px;
    max-width: 700px;
    margin: 0 auto;
}

.apply-email {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e3a5f;
    margin-bottom: 16px;
}

.apply-steps {
    margin-top: 16px;
}

.apply-steps li {
    padding: 6px 0;
    color: #4b5563;
    font-size: 0.92rem;
}

.apply-steps li::before {
    content: none;
}

@media (max-width: 768px) {
    .job-card {
        grid-template-columns: 1fr;
    }
    .perks-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .perks-grid {
        grid-template-columns: 1fr;
    }
}
