/* ===========================
   BENZEN TECHNOLOGY — Main Stylesheet
   Ferrari-Inspired | Light Mode | Precision | Innovation
   =========================== */

/* --- CSS Variables --- */
:root {
    --bg-primary: #FAFBFC;
    --bg-secondary: #F0F2F5;
    --bg-tertiary: #E8EAF0;
    --bg-card: #FFFFFF;
    --bg-card-hover: #F6F7FA;
    --bg-elevated: #EDEFF4;

    --text-primary: #1A1A1A;
    --text-secondary: #555555;
    --text-muted: #888888;
    --text-highlight: #000000;

    --accent-primary: #FF2800;
    --accent-secondary: #FFCC00;
    --accent-glow: rgba(255, 40, 0, 0.12);
    --accent-glow-strong: rgba(255, 40, 0, 0.22);
    --accent-gradient: linear-gradient(135deg, #FF2800 0%, #D40000 50%, #CC0000 100%);
    --accent-gradient-yr: linear-gradient(135deg, #FFCC00 0%, #FF2800 100%);

    --border-subtle: rgba(0, 0, 0, 0.06);
    --border-muted: rgba(0, 0, 0, 0.12);
    --border-accent: rgba(255, 40, 0, 0.3);

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.07);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.09);
    --shadow-glow: 0 0 30px var(--accent-glow);

    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Consolas', monospace;
}

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

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: #CCC var(--bg-primary);
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: #CCC; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #AAA; }

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

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea {
    font-family: inherit;
    background: var(--bg-primary);
    border: 1px solid var(--border-muted);
    color: var(--text-primary);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-size: 0.95rem;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    outline: none;
    width: 100%;
}
input:focus, select:focus, textarea:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(255, 40, 0, 0.08);
}
select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%23555' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
textarea { resize: vertical; min-height: 100px; }

/* --- Preloader --- */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
.preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-content { text-align: center; }
.preloader-logo {
    font-size: 3rem;
    font-weight: 900;
    font-family: var(--font-mono);
    background: var(--accent-gradient-yr);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 24px;
    letter-spacing: 4px;
}
.preloader-bar {
    width: 120px;
    height: 2px;
    background: var(--bg-elevated);
    border-radius: 1px;
    overflow: hidden;
    margin: 0 auto;
}
.preloader-progress {
    height: 100%;
    width: 0;
    background: var(--accent-gradient-yr);
    border-radius: 1px;
    animation: preloaderBar 1.5s ease-in-out forwards;
}
@keyframes preloaderBar {
    0% { width: 0; }
    60% { width: 80%; }
    100% { width: 100%; }
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition-base);
}
.navbar.scrolled {
    background: rgba(250, 251, 252, 0.90);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 10px 0;
    box-shadow: 0 1px 8px rgba(0,0,0,0.04);
}
.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 1px;
    color: var(--text-highlight);
}
.logo-icon {
    font-size: 1.4rem;
    background: var(--accent-gradient-yr);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.logo-accent { color: var(--accent-primary); font-weight: 700; }
.nav-links { display: flex; gap: 4px; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.lang-switch {
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-secondary);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
}
.lang-switch:hover {
    color: var(--accent-primary);
    border-color: var(--border-accent);
    background: rgba(255, 40, 0, 0.04);
}
.lang-switch.active-lang {
    color: var(--accent-primary);
    border-color: var(--border-accent);
    background: rgba(255, 40, 0, 0.06);
}
.portal-nav-link {
    background: var(--accent-gradient) !important;
    color: #fff !important;
    font-weight: 600 !important;
    padding: 8px 18px !important;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}
.portal-nav-link:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px var(--accent-glow);
    background: var(--accent-gradient) !important;
    color: #fff !important;
}
.nav-link {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    letter-spacing: 0.3px;
}
.nav-link:hover, .nav-link.active {
    color: var(--text-highlight);
    background: var(--bg-card-hover);
}
.nav-link.active { color: var(--accent-primary); }
.nav-link.active:hover { background: rgba(255, 40, 0, 0.05); }
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}
.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-fast);
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}
.btn-primary {
    background: var(--accent-gradient);
    color: #FFFFFF;
    box-shadow: 0 0 20px var(--accent-glow);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 35px var(--accent-glow-strong);
}
.btn-outline {
    border: 1px solid var(--border-muted);
    color: var(--text-primary);
    background: var(--bg-card);
}
.btn-outline:hover {
    border-color: var(--accent-primary);
    background: rgba(255, 40, 0, 0.04);
    transform: translateY(-2px);
}
.btn-submit { width: 100%; justify-content: center; margin-top: 8px; }

/* --- Sections --- */
section { position: relative; }
.section-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 100px 32px;
}
.section-header {
    text-align: center;
    margin-bottom: 64px;
}
.section-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-primary);
    padding: 6px 16px;
    border: 1px solid var(--border-accent);
    border-radius: 100px;
    margin-bottom: 20px;
    background: rgba(255, 40, 0, 0.04);
}
.section-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
    color: var(--text-highlight);
}
.section-title .accent {
    background: var(--accent-gradient-yr);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.section-desc {
    max-width: 640px;
    margin: 0 auto;
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 120px 32px 60px;
}
.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 40, 0, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 40, 0, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 70%);
}
.hero-particles { position: absolute; inset: 0; pointer-events: none; }
.hero-particles .particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--accent-primary);
    border-radius: 50%;
    animation: floatUp linear infinite;
    opacity: 0;
}
@keyframes floatUp {
    0% { transform: translateY(0) scale(1); opacity: 0; }
    10% { opacity: 0.8; }
    90% { opacity: 0; }
    100% { transform: translateY(-100vh) scale(0.3); opacity: 0; }
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    text-align: center;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 100px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 32px;
    letter-spacing: 0.5px;
}
.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 0 8px var(--accent-primary);
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}
.hero-title {
    font-size: clamp(2.8rem, 6vw, 4.8rem);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
    color: var(--text-highlight);
}
.title-line { display: block; }
.title-line.accent {
    background: var(--accent-gradient-yr);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.75;
    font-weight: 400;
}
.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 28px 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}
.stat { text-align: center; }
.stat-value {
    font-size: 2rem;
    font-weight: 800;
    font-family: var(--font-mono);
    color: var(--accent-primary);
}
.stat-unit { font-size: 1.2rem; color: var(--accent-primary); font-weight: 600; }
.stat-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 4px;
}
.stat-divider { width: 1px; height: 40px; background: var(--border-subtle); }
.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--accent-primary), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.3); }
}

/* --- Sectors Section --- */
.sectors { background: var(--bg-secondary); }
.sectors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.sector-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}
.sector-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent-gradient-yr);
    opacity: 0;
    transition: opacity var(--transition-base);
    z-index: 0;
}
.sector-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-accent);
    box-shadow: var(--shadow-lg), 0 0 30px var(--accent-glow);
}
.sector-card:hover::before { opacity: 0.02; }
.sector-card > * { position: relative; z-index: 1; }
.sector-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 40, 0, 0.06);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    color: var(--accent-primary);
    transition: all var(--transition-base);
}
.sector-card:hover .sector-icon {
    background: rgba(255, 40, 0, 0.12);
    box-shadow: 0 0 20px rgba(255, 40, 0, 0.15);
}
.sector-icon svg { width: 32px; height: 32px; }
.sector-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
    color: var(--text-highlight);
}
.sector-card > p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
}
.sector-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
}
.sector-features li {
    font-size: 0.82rem;
    color: var(--text-secondary);
    padding-left: 16px;
    position: relative;
}
.sector-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 6px;
    height: 6px;
    background: var(--accent-primary);
    border-radius: 50%;
}
.sector-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-primary);
    letter-spacing: 0.3px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    font-family: inherit;
    transition: opacity var(--transition-fast);
}
.sector-link:hover { opacity: 0.8; }

/* --- Technology Section --- */
.technology { background: var(--bg-primary); }
.tech-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.tech-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.tech-ring {
    position: relative;
    width: 320px;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ring-outer, .ring-middle, .ring-inner {
    position: absolute;
    border-radius: 50%;
    border: 1px solid var(--border-subtle);
    animation: ringRotate 20s linear infinite;
}
.ring-outer { width: 100%; height: 100%; animation-direction: normal; border-color: rgba(255, 40, 0, 0.15); }
.ring-middle { width: 75%; height: 75%; animation-direction: reverse; animation-duration: 15s; border-color: rgba(255, 204, 0, 0.15); }
.ring-inner { width: 50%; height: 50%; animation-direction: normal; animation-duration: 10s; border-color: rgba(255, 40, 0, 0.2); }
@keyframes ringRotate { to { transform: rotate(360deg); } }
.ring-core {
    position: relative;
    z-index: 2;
    text-align: center;
    background: var(--bg-card);
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-accent);
    box-shadow: 0 0 40px var(--accent-glow);
}
.core-value {
    font-size: 1.6rem;
    font-weight: 800;
    font-family: var(--font-mono);
    color: var(--accent-primary);
}
.core-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 2px;
}
.tech-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.tech-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    transition: all var(--transition-base);
    background: var(--bg-card);
}
.tech-item:hover {
    border-color: var(--border-accent);
    background: var(--bg-card-hover);
    transform: translateX(6px);
}
.tech-number {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-primary);
    opacity: 0.6;
    line-height: 1;
    min-width: 40px;
}
.tech-info h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: -0.2px;
    color: var(--text-highlight);
}
.tech-info p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- Instruments Section --- */
.instruments { background: var(--bg-secondary); }
.instruments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 24px;
}
.instrument-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all var(--transition-base);
    position: relative;
    box-shadow: var(--shadow-sm);
}
.instrument-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-accent);
    box-shadow: var(--shadow-md);
}
.instrument-card.featured {
    border-color: var(--border-accent);
    background: linear-gradient(180deg, rgba(255, 40, 0, 0.03) 0%, var(--bg-card) 30%);
}
.instrument-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 4px 12px;
    border-radius: 100px;
    background: var(--accent-gradient);
    color: #FFFFFF;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.instrument-series {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--accent-primary);
    letter-spacing: 2px;
    margin-bottom: 8px;
}
.instrument-header h3 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
    color: var(--text-highlight);
}
.instrument-spec {
    padding: 20px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    border-left: 3px solid var(--accent-primary);
}
.spec-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    display: block;
    margin-bottom: 6px;
}
.spec-value {
    font-family: var(--font-mono);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 4px;
}
.spec-detail {
    font-size: 0.8rem;
    color: var(--text-secondary);
}
.instrument-features {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.instrument-features span {
    padding: 4px 10px;
    background: var(--bg-secondary);
    border-radius: 100px;
    font-size: 0.72rem;
    color: var(--text-secondary);
    letter-spacing: 0.3px;
}

/* --- Innovation Section --- */
.innovation { background: var(--bg-primary); }
.innovation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
}
.innovation-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.innovation-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-3px);
}
.innovation-card.large {
    grid-row: span 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 360px;
}
.innovation-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 20%, rgba(255, 40, 0, 0.08) 0%, transparent 60%);
    z-index: 0;
}
.innovation-content { position: relative; z-index: 1; }
.innovation-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--accent-primary);
    margin-bottom: 12px;
    padding: 4px 10px;
    background: rgba(255, 40, 0, 0.06);
    border-radius: 100px;
}
.innovation-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.3px;
    color: var(--text-highlight);
}
.innovation-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
}
.innovation-card.large .innovation-content {
    max-width: 90%;
}
.innovation-card.large p {
    margin-bottom: 4px;
}
.innovation-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-primary);
    transition: gap var(--transition-fast);
}
.innovation-link:hover { gap: 12px; }

/* --- Trust Section --- */
.trust {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}
.trust .section-container { padding: 60px 32px; }
.trust .section-header { margin-bottom: 40px; }
.trust-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}
.trust-logo {
    padding: 20px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    text-align: center;
    transition: all var(--transition-base);
    cursor: default;
    box-shadow: var(--shadow-sm);
}
.trust-logo:hover {
    border-color: var(--border-accent);
    transform: scale(1.05);
}
.trust-logo span {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* --- Contact Section --- */
.contact { background: var(--bg-primary); }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 64px;
    align-items: start;
}
.contact-info .section-header { text-align: left; margin-bottom: 24px; }
.contact-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 32px;
}
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: all var(--transition-base);
}
.contact-item:hover {
    border-color: var(--border-accent);
    color: var(--text-primary);
}
.contact-item svg { color: var(--accent-primary); flex-shrink: 0; }
.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; margin-bottom: 16px; }
.form-group label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
}

/* --- Footer --- */
.footer {
    background: #1A1A1A;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 64px 32px 32px;
    color: #AAA;
}
.footer-container { max-width: 1280px; margin: 0 auto; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    color: #FFF;
    margin-bottom: 16px;
    line-height: 1.3;
}
.footer-logo .logo-icon {
    background: var(--accent-gradient-yr);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.footer-brand p {
    font-size: 0.85rem;
    color: #888;
    line-height: 1.7;
}
.footer-links h4 {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #FFF;
    margin-bottom: 16px;
}
.footer-links a {
    display: block;
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 10px;
    transition: color var(--transition-fast);
}
.footer-links a:hover { color: var(--accent-secondary); }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.06);
    font-size: 0.8rem;
    color: #888;
}
.footer-legal { display: flex; align-items: center; gap: 8px; }
.footer-legal a { color: #888; transition: color var(--transition-fast); }
.footer-legal a:hover { color: var(--accent-secondary); }
.dot { color: #888; }

/* --- Animations --- */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Modal --- */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.modal-container {
    background: var(--bg-card);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-xl);
    max-width: 720px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    padding: 48px 40px 40px;
    transform: translateY(20px) scale(0.96);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.modal-overlay.active .modal-container {
    transform: translateY(0) scale(1);
}
.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    z-index: 2;
}
.modal-close:hover {
    background: rgba(255, 40, 0, 0.1);
    color: var(--accent-primary);
}
.modal-body {}
.modal-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 40, 0, 0.06);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
    color: var(--accent-primary);
}
.modal-icon svg { width: 36px; height: 36px; }
.modal-body h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
    color: var(--text-highlight);
}
.modal-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 28px;
}
.modal-applications {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 28px;
}
.modal-app {
    padding: 18px;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
}
.modal-app h4 {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--accent-primary);
}
.modal-app p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
}
.modal-specs {
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    padding: 20px 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}
.modal-spec {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.modal-spec .spec-val {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-primary);
}
.modal-spec .spec-lbl {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .tech-showcase { grid-template-columns: 1fr; gap: 40px; }
    .tech-visual { order: -1; }
    .tech-ring { width: 240px; height: 240px; }
    .ring-core { width: 100px; height: 100px; }
    .core-value { font-size: 1.3rem; }
    .innovation-grid { grid-template-columns: 1fr; }
    .innovation-card.large { grid-row: span 1; min-height: 240px; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-card);
        flex-direction: column;
        padding: 80px 24px 24px;
        gap: 8px;
        transition: right var(--transition-base);
        border-left: 1px solid var(--border-subtle);
        z-index: 1000;
        box-shadow: -4px 0 20px rgba(0,0,0,0.08);
    }
    .nav-links.active { right: 0; }
    .nav-link { padding: 12px 16px; font-size: 1rem; }
    .nav-toggle { display: flex; z-index: 1001; }

    .hero { padding: 100px 20px 40px; }
    .hero-stats { flex-direction: column; gap: 16px; padding: 24px 20px; }
    .stat-divider { width: 60px; height: 1px; }

    .section-container { padding: 60px 20px; }
    .section-header { margin-bottom: 40px; }

    .sectors-grid { grid-template-columns: 1fr; }
    .instruments-grid { grid-template-columns: 1fr; }
    .tech-showcase { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    .hero-actions { flex-direction: column; align-items: center; }
    .modal-container { padding: 36px 24px 28px; }
    .modal-applications { grid-template-columns: 1fr; }
    .modal-specs { gap: 16px; }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
