/* ============================================
   NANMO Technology - Corporate Website Styles
   Theme: Black & Blue tech aesthetic
   ============================================ */

:root {
    /* Brand Colors */
    --color-black: #0A0A0A;
    --color-black-800: #1A1A1A;
    --color-black-700: #2A2A2A;
    --color-black-600: #3A3A3A;
    
    --color-blue: #0A5DFF;
    --color-blue-dark: #0642C4;
    --color-blue-light: #3D7BFF;
    --color-blue-50: #EEF3FF;
    --color-blue-100: #DCE6FF;
    
    /* Neutrals */
    --color-gray-50: #F8F9FC;
    --color-gray-100: #EEF0F5;
    --color-gray-200: #DCE0E8;
    --color-gray-300: #BFC5D1;
    --color-gray-500: #6B7280;
    --color-gray-600: #4B5563;
    --color-gray-700: #374151;
    
    --color-white: #FFFFFF;
    
    /* Gradients */
    --gradient-blue: linear-gradient(135deg, #0A5DFF 0%, #0642C4 100%);
    --gradient-dark: linear-gradient(180deg, #0A0A0A 0%, #1A1A1A 100%);
    --gradient-hero: linear-gradient(110deg, rgba(10,10,10,0.85) 0%, rgba(10,10,10,0.6) 50%, rgba(10,93,255,0.25) 100%);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.12);
    --shadow-blue: 0 8px 24px rgba(10, 93, 255, 0.2);
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.06);
    --shadow-card-hover: 0 16px 40px rgba(10, 93, 255, 0.12);
    
    /* Typography */
    --font-display: 'DM Sans', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Noto Sans SC', 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --section-padding: 120px;
    --section-padding-mobile: 72px;
    --container-max: 1240px;
    
    /* Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-black-800);
    background: var(--color-white);
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 32px;
}

/* Section Base */
.section {
    padding: var(--section-padding) 0;
    position: relative;
}

.section-header {
    margin-bottom: 64px;
    max-width: 680px;
}

.section-header.centered {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-eyebrow {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-blue);
    margin-bottom: 16px;
    position: relative;
    padding-left: 24px;
}

.section-eyebrow::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 2px;
    background: var(--color-blue);
}

.section-eyebrow.light {
    color: var(--color-blue-light);
}

.section-eyebrow.light::before {
    background: var(--color-blue-light);
}

.section-title {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--color-black);
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.section-header.centered .section-title {
    text-align: center;
}

.section-desc {
    font-size: 17px;
    color: var(--color-gray-600);
    line-height: 1.7;
}

.section-header.centered .section-desc {
    text-align: center;
    margin: 0 auto;
}

.section-header.light .section-title {
    color: var(--color-white);
}

.section-header.light .section-desc {
    color: rgba(255, 255, 255, 0.7);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-blue);
    color: var(--color-white);
    box-shadow: 0 4px 14px rgba(10, 93, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(10, 93, 255, 0.4);
}

.btn-ghost {
    background: transparent;
    color: var(--color-white);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-ghost-light {
    background: transparent;
    color: var(--color-white);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn-ghost-light:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-large {
    padding: 18px 36px;
    font-size: 16px;
}

.btn-full {
    width: 100%;
}

/* ============================================
   Navigation
   ============================================ */
.nav-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition-base);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.nav-header.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 12px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.nav-header.scrolled .logo-img {
    height: 34px;
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.nav-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px;
    width: auto;
    transition: height var(--transition-base);
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    background: transparent !important;
    display: block;
    border: none;
    outline: none;
}

.nav-header.scrolled .logo-img {
    height: 34px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-link {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 500;
    color: var(--color-gray-700);
    position: relative;
    padding: 6px 0;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-blue);
    transition: width var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-blue);
}

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

.nav-cta {
    flex-shrink: 0;
    padding: 10px 22px;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    background: var(--gradient-blue);
    color: var(--color-white);
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 12px rgba(10, 93, 255, 0.3);
    transition: all var(--transition-base);
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(10, 93, 255, 0.4);
}

.nav-lang {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    padding: 8px 14px;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-base);
}

.nav-lang:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--color-white);
}

.nav-lang span {
    transition: color var(--transition-base);
}

.nav-lang .lang-divider {
    color: rgba(255, 255, 255, 0.25);
    font-weight: 400;
}

.nav-lang .active {
    color: var(--color-white);
    text-shadow: 0 0 8px rgba(10, 93, 255, 0.6);
}

.nav-header.scrolled .nav-lang {
    background: var(--color-gray-50);
    color: var(--color-gray-600);
    border-color: var(--color-gray-200);
}

.nav-header.scrolled .nav-lang:hover {
    background: var(--color-blue-50);
    border-color: var(--color-blue-200);
    color: var(--color-blue);
}

.nav-header.scrolled .nav-lang .lang-divider {
    color: var(--color-gray-300);
}

.nav-header.scrolled .nav-lang .active {
    color: var(--color-blue);
    text-shadow: none;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-black);
    border-radius: 1px;
    transition: all var(--transition-base);
}

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

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

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

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 120px 32px 80px;
    width: 100%;
    color: var(--color-white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 28px;
    backdrop-filter: blur(10px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-blue-light);
    box-shadow: 0 0 12px var(--color-blue-light);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    max-width: 780px;
    text-wrap: pretty;
}

.hero-highlight {
    background: linear-gradient(135deg, #3D7BFF 0%, #0A5DFF 50%, #0642C4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-slogan {
    font-family: var(--font-display);
    font-size: clamp(16px, 1.8vw, 22px);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 24px;
    max-width: 680px;
    letter-spacing: 0.02em;
    position: relative;
    padding-left: 20px;
}

.hero-slogan::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #3D7BFF, #0A5DFF);
    border-radius: 2px;
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.75);
    max-width: 620px;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 72px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 48px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    max-width: 720px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, #93b4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    justify-content: center;
}

.hero-scroll-indicator span {
    display: block;
    width: 22px;
    height: 36px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    position: relative;
}

.hero-scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 8px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 2px;
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0% { top: 6px; opacity: 1; }
    100% { top: 20px; opacity: 0; }
}

/* ============================================
   Partners Marquee
   ============================================ */
.partners-strip {
    background: var(--color-black);
    padding: 24px 0;
    overflow: hidden;
    position: relative;
}

.partners-track {
    display: flex;
    gap: 0;
    animation: marquee 40s linear infinite;
    white-space: nowrap;
}

.partners-row {
    display: inline-flex;
    align-items: center;
    gap: 32px;
    padding: 0 32px;
    flex-shrink: 0;
}

.partners-row span {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.02em;
}

.partners-row .dot {
    color: var(--color-blue);
    font-size: 24px;
}

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

/* ============================================
   About Section
   ============================================ */
.about {
    background: var(--color-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text .about-lead {
    font-size: 20px;
    line-height: 1.7;
    color: var(--color-black-800);
    font-weight: 500;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-gray-600);
    margin-bottom: 16px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 40px;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.feature-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: var(--color-blue-50);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-blue);
}

.feature-icon svg {
    width: 22px;
    height: 22px;
}

.feature-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: 4px;
}

.feature-desc {
    font-size: 13px;
    color: var(--color-gray-500);
    line-height: 1.5;
}

.about-visual {
    position: relative;
}

.about-image-frame {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image-frame img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.about-image-frame::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 40px;
    bottom: 40px;
    border: 2px solid var(--color-blue);
    border-radius: var(--radius-xl);
    z-index: -1;
    opacity: 0.3;
}

.about-image-badge {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background: var(--color-white);
    padding: 20px 28px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.badge-year {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 800;
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 4px;
}

.badge-text {
    font-size: 13px;
    color: var(--color-gray-600);
    font-weight: 500;
}

/* ============================================
   Industries Section
   ============================================ */
.industries {
    background: var(--color-white);
}

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

.industry-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-gray-100);
    overflow: hidden;
    transition: all var(--transition-base);
    cursor: default;
}

.industry-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(10, 93, 255, 0.2);
}

.industry-image {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.industry-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.industry-card:hover .industry-image img {
    transform: scale(1.08);
}

.industry-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,10,10,0) 50%, rgba(10,93,255,0.15) 100%);
    transition: opacity var(--transition-base);
}

.industry-card:hover .industry-overlay {
    background: linear-gradient(180deg, rgba(10,10,10,0) 30%, rgba(10,93,255,0.3) 100%);
}

.industry-name {
    padding: 20px 24px;
    font-size: 17px;
    font-weight: 600;
    color: var(--color-black-800);
    text-align: center;
    border-top: 1px solid var(--color-gray-100);
    letter-spacing: 0.02em;
    transition: color var(--transition-base);
}

.industry-card:hover .industry-name {
    color: var(--color-blue);
}

/* ============================================
   Products Section
   ============================================ */
.products {
    background: var(--color-gray-50);
}

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

.product-card {
    background: var(--color-white);
    padding: 36px 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-gray-100);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
    z-index: 2;
}

.product-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity var(--transition-base);
    z-index: 0;
}

.product-card > * {
    position: relative;
    z-index: 1;
}

.product-card[data-product="mcu"]::after {
    background-image: url('assets/products/mcu.png'), linear-gradient(135deg, rgba(0,20,50,0.30) 0%, rgba(0,10,30,0.40) 100%);
    background-blend-mode: overlay;
}

.product-card[data-product="memory"]::after {
    background-image: url('assets/products/memory.png'), linear-gradient(135deg, rgba(0,20,50,0.30) 0%, rgba(0,10,30,0.40) 100%);
    background-blend-mode: overlay;
}

.product-card[data-product="power"]::after {
    background-image: url('assets/products/power.png'), linear-gradient(135deg, rgba(0,20,50,0.30) 0%, rgba(0,10,30,0.40) 100%);
    background-blend-mode: overlay;
}

.product-card[data-product="analog"]::after {
    background-image: url('assets/products/analog.png'), linear-gradient(135deg, rgba(0,20,50,0.30) 0%, rgba(0,10,30,0.40) 100%);
    background-blend-mode: overlay;
}

.product-card[data-product="discrete"]::after {
    background-image: url('assets/products/discrete.png'), linear-gradient(135deg, rgba(0,20,50,0.30) 0%, rgba(0,10,30,0.40) 100%);
    background-blend-mode: overlay;
}

.product-card[data-product="connector"]::after {
    background-image: url('assets/products/connector.png'), linear-gradient(135deg, rgba(0,20,50,0.30) 0%, rgba(0,10,30,0.40) 100%);
    background-blend-mode: overlay;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(20, 80, 180, 0.25);
    border-color: var(--color-blue-300);
}

.product-card:hover::before {
    transform: scaleX(1);
}

.product-card:hover::after {
    opacity: 1;
}

.product-card:hover .product-name,
.product-card:hover .product-desc {
    color: var(--color-white);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.product-card:hover .product-brands {
    color: var(--color-blue-200);
    border-top-color: rgba(255, 255, 255, 0.15);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.product-icon {
    width: 56px;
    height: 56px;
    background: var(--color-blue-50);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-blue);
    margin-bottom: 24px;
    transition: all var(--transition-base);
}

.product-card:hover .product-icon {
    background: var(--gradient-blue);
    color: var(--color-white);
    transform: scale(1.05);
}

.product-icon svg {
    width: 28px;
    height: 28px;
}

.product-name {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 12px;
}

.product-desc {
    font-size: 14px;
    color: var(--color-gray-600);
    line-height: 1.7;
    margin-bottom: 20px;
}

.product-brands {
    font-size: 13px;
    color: var(--color-blue);
    font-weight: 500;
    padding-top: 16px;
    border-top: 1px solid var(--color-gray-100);
}

/* ============================================
   Brands Section
   ============================================ */
.brands {
    background: var(--color-white);
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.brand-card {
    background: var(--color-gray-50);
    border: 1px solid var(--color-gray-100);
    border-radius: var(--radius-lg);
    padding: 36px 24px 28px;
    text-align: center;
    transition: all var(--transition-base);
    cursor: default;
}

.brand-card:hover {
    background: var(--color-white);
    border-color: var(--color-blue-100);
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-4px);
}

.brand-logo-wrap {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background: var(--color-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--color-gray-100);
    padding: 12px 16px;
    transition: all var(--transition-base);
}

.brand-logo {
    max-width: 100%;
    max-height: 72px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: all var(--transition-base);
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.brand-card:hover .brand-logo-wrap {
    border-color: var(--color-blue-100);
    box-shadow: 0 4px 12px rgba(10, 93, 255, 0.08);
}

.brand-card:hover .brand-logo {
    transform: scale(1.05);
}

.brand-name {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: 6px;
}

.brand-tag {
    font-size: 13px;
    color: var(--color-gray-500);
}

.brands-cta {
    text-align: center;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--color-gray-100);
}

.brands-cta p {
    color: var(--color-gray-600);
    font-size: 15px;
}

.brands-cta a {
    color: var(--color-blue);
    font-weight: 600;
    margin-left: 4px;
}

.brands-cta a:hover {
    color: var(--color-blue-dark);
}

/* ============================================
   Services Section
   ============================================ */
.services {
    background: var(--color-black);
    color: var(--color-white);
    overflow: hidden;
}

.services-bg-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.08;
    background-image: 
        linear-gradient(rgba(10, 93, 255, 0.3) 1px, transparent 1px),
        linear-gradient(90deg, rgba(10, 93, 255, 0.3) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 93, 255, 0.15) 0%, transparent 60%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.service-card:hover {
    border-color: rgba(10, 93, 255, 0.5);
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card > * {
    position: relative;
    z-index: 1;
}

.service-number {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--color-blue-light) 0%, var(--color-blue-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 20px;
}

.service-title {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 14px;
}

.service-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.75;
    margin-bottom: 20px;
}

.service-list {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.service-list li {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    padding-left: 18px;
    position: relative;
    margin-bottom: 8px;
    line-height: 1.6;
}

.service-list li:last-child {
    margin-bottom: 0;
}

.service-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: var(--color-blue);
    border-radius: 50%;
}

/* ============================================
   Advantages Section
   ============================================ */
.advantages {
    background: var(--color-gray-50);
}

.advantages-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.advantages-intro {
    font-size: 17px;
    line-height: 1.8;
    color: var(--color-gray-600);
    margin-bottom: 36px;
}

.advantages-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.advantage-item {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-gray-100);
    transition: all var(--transition-base);
}

.advantage-item:hover {
    border-color: var(--color-blue-100);
    box-shadow: var(--shadow-card);
    transform: translateX(4px);
}

.advantage-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: var(--gradient-blue);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
}

.advantage-icon svg {
    width: 22px;
    height: 22px;
}

.advantage-item h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: 6px;
}

.advantage-item p {
    font-size: 14px;
    color: var(--color-gray-500);
    line-height: 1.6;
}

.advantages-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.advantages-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    width: 100%;
    max-width: 400px;
}

.big-stat {
    background: var(--color-white);
    padding: 40px 36px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-gray-100);
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: all var(--transition-base);
}

.big-stat:nth-child(2) {
    margin-left: -40px;
    margin-right: 40px;
    background: var(--gradient-blue);
    color: var(--color-white);
    border-color: var(--color-blue);
    box-shadow: var(--shadow-blue);
}

.big-stat:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.big-stat:nth-child(2):hover {
    box-shadow: 0 16px 40px rgba(10, 93, 255, 0.4);
}

.big-stat-number {
    font-family: var(--font-display);
    font-size: 52px;
    font-weight: 800;
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.big-stat:nth-child(2) .big-stat-number {
    background: linear-gradient(135deg, #ffffff 0%, #c7d8ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.big-stat-label {
    font-size: 16px;
    font-weight: 500;
    color: var(--color-gray-600);
}

.big-stat:nth-child(2) .big-stat-label {
    color: rgba(255, 255, 255, 0.85);
}

/* ============================================
   Contact Section
   ============================================ */
.contact {
    background: var(--color-white);
}

.contact-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-intro {
    font-size: 17px;
    line-height: 1.8;
    color: var(--color-gray-600);
    margin-bottom: 40px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-method {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.contact-method-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background: var(--color-blue-50);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-blue);
}

.contact-method-icon svg {
    width: 24px;
    height: 24px;
}

.contact-method-label {
    font-size: 14px;
    color: var(--color-gray-500);
    margin-bottom: 6px;
}

.contact-method-value {
    font-size: 17px;
    font-weight: 600;
    color: var(--color-black);
    line-height: 1.5;
}

.contact-form-wrap {
    background: var(--color-gray-50);
    border: 1px solid var(--color-gray-100);
    border-radius: var(--radius-xl);
    padding: 44px;
    box-shadow: var(--shadow-card);
    position: relative;
}

.form-thanks {
    display: none;
    text-align: center;
    padding: 60px 20px;
}

.thanks-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thanks-title {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 12px;
}

.thanks-desc {
    font-size: 16px;
    color: var(--color-gray-500);
    margin-bottom: 32px;
    line-height: 1.7;
}

/* Show thanks panel when active class is set */
.form-thanks.show {
    display: block;
}

.contact-form.hide {
    display: none;
}

.form-title {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 8px;
}

.form-desc {
    font-size: 14px;
    color: var(--color-gray-500);
    margin-bottom: 32px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.form-group {
    margin-bottom: 16px;
}

.form-row .form-group {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-gray-700);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--color-black);
    background: var(--color-white);
    border: 1.5px solid var(--color-gray-200);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-blue);
    box-shadow: 0 0 0 3px rgba(10, 93, 255, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-gray-300);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-form .btn {
    margin-top: 8px;
}

.spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ============================================
   CTA Banner
   ============================================ */
.cta-banner {
    background: var(--gradient-blue);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-banner::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    position: relative;
    z-index: 1;
}

.cta-text h2 {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.cta-text p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.8);
}

.cta-actions {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}

.cta-banner .btn-primary {
    background: var(--color-white);
    color: var(--color-blue);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.cta-banner .btn-primary:hover {
    background: #f0f4ff;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--color-gray-50);
    color: var(--color-gray-600);
    padding: 72px 0 0;
    border-top: 1px solid var(--color-gray-100);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr;
    gap: 48px;
    padding-bottom: 56px;
    border-bottom: 1px solid var(--color-gray-200);
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    height: 36px;
    width: auto;
    margin-bottom: 20px;
    background: transparent !important;
    display: block;
    border: none;
    outline: none;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.footer-brand-desc {
    font-size: 14px;
    line-height: 1.8;
    color: var(--color-gray-500);
}

.footer-links-group h4 {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: 20px;
}

.footer-links-group ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-group a {
    font-size: 14px;
    color: var(--color-gray-500);
    transition: color var(--transition-fast);
}

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

.footer-contact h4 {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: 20px;
}

.footer-contact p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--color-gray-500);
    margin-bottom: 8px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    font-size: 13px;
    color: var(--color-gray-500);
    border-top: 1px solid var(--color-gray-100);
}

/* ============================================
   Reveal Animations
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.product-card:nth-child(1) { transition-delay: 0.05s; }
.product-card:nth-child(2) { transition-delay: 0.1s; }
.product-card:nth-child(3) { transition-delay: 0.15s; }
.product-card:nth-child(4) { transition-delay: 0.2s; }
.product-card:nth-child(5) { transition-delay: 0.25s; }
.product-card:nth-child(6) { transition-delay: 0.3s; }

.brand-card:nth-child(1) { transition-delay: 0.02s; }
.brand-card:nth-child(2) { transition-delay: 0.05s; }
.brand-card:nth-child(3) { transition-delay: 0.08s; }
.brand-card:nth-child(4) { transition-delay: 0.11s; }
.brand-card:nth-child(5) { transition-delay: 0.14s; }
.brand-card:nth-child(6) { transition-delay: 0.17s; }
.brand-card:nth-child(7) { transition-delay: 0.20s; }
.brand-card:nth-child(8) { transition-delay: 0.23s; }
.brand-card:nth-child(9) { transition-delay: 0.26s; }
.brand-card:nth-child(10) { transition-delay: 0.29s; }
.brand-card:nth-child(11) { transition-delay: 0.32s; }
.brand-card:nth-child(12) { transition-delay: 0.35s; }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    :root {
        --section-padding: 96px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .brands-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid,
    .advantages-wrap,
    .contact-wrap {
        grid-template-columns: 1fr;
        gap: 56px;
    }
    
    .about-visual {
        max-width: 560px;
        margin: 0 auto;
    }
    
    .advantages-visual {
        order: -1;
    }
    
    .big-stat:nth-child(2) {
        margin-left: 0;
        margin-right: 0;
    }
    
    .advantages-stats {
        max-width: 100%;
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
    
    .footer-top {
        grid-template-columns: 1fr 1fr 1fr;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
        max-width: none;
    }
    
    .cta-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 72px;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .nav-container {
        padding: 0 20px;
    }
    
    .section-title {
        font-size: 30px;
    }
    
    .section-header {
        margin-bottom: 48px;
    }
    
    /* Mobile Nav */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 320px;
        height: 100vh;
        background: var(--color-white);
        flex-direction: column;
        padding: 80px 32px 32px;
        gap: 8px;
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.open {
        right: 0;
    }
    
    .nav-link {
        color: var(--color-gray-700);
        font-size: 17px;
        padding: 12px 0;
        width: 100%;
        border-bottom: 1px solid var(--color-gray-100);
    }
    
    .nav-link.active {
        color: var(--color-blue);
    }
    
    .nav-cta {
        display: none;
    }
    
    .nav-lang {
        font-size: 12px;
        padding: 6px 10px;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    /* Hero */
    .hero-content {
        padding: 100px 20px 60px;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-stats {
        gap: 24px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .stat-divider {
        display: none;
    }
    
    /* Products */
    .products-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    /* Industries */
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .industry-name {
        padding: 14px 16px;
        font-size: 15px;
    }
    
    /* Brands */
    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .brand-card {
        padding: 24px 16px 20px;
    }
    
    .brand-logo {
        max-width: 100px;
        max-height: 36px;
    }
    
    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    /* Advantages */
    .advantages-stats {
        grid-template-columns: 1fr;
        max-width: 360px;
        margin: 0 auto;
    }
    
    .big-stat {
        padding: 32px 24px;
    }
    
    .big-stat-number {
        font-size: 42px;
    }
    
    /* About features */
    .about-features {
        grid-template-columns: 1fr;
    }
    
    /* Contact */
    .contact-form-wrap {
        padding: 32px 24px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .form-row .form-group {
        margin-bottom: 16px;
    }
    
    /* CTA */
    .cta-text h2 {
        font-size: 28px;
    }
    
    .cta-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-actions .btn {
        width: 100%;
    }
    
    /* Footer */
    .footer {
        padding-top: 56px;
    }
    
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    
    .footer-contact {
        grid-column: 1 / -1;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .about-image-frame::before {
        display: none;
    }
    
    .about-image-badge {
        bottom: 16px;
        right: 16px;
        padding: 14px 20px;
    }
    
    .badge-year {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-title {
        font-size: 26px;
    }
}

/* ============================================
   English language layout adjustments
   ============================================ */
body.lang-en .hero-title {
    font-size: 62px;
    line-height: 1.1;
}

body.lang-en .hero-subtitle {
    font-size: 17px;
    max-width: 620px;
}

body.lang-en .hero-stats {
    gap: 20px;
}

body.lang-en .stat-label {
    font-size: 13px;
    white-space: nowrap;
}

body.lang-en .product-name {
    font-size: 18px;
}

body.lang-en .product-desc {
    font-size: 13px;
    line-height: 1.6;
}

body.lang-en .service-title {
    font-size: 19px;
}

body.lang-en .service-desc {
    font-size: 13.5px;
    line-height: 1.65;
}

body.lang-en .service-list li {
    font-size: 13px;
}

body.lang-en .brand-name {
    font-size: 15px;
}

body.lang-en .brand-tag {
    font-size: 12px;
}

body.lang-en .big-stat-number {
    font-size: 44px;
}

body.lang-en .big-stat-label {
    font-size: 14px;
}

body.lang-en .footer-brand-desc {
    font-size: 13px;
}

body.lang-en .footer-links-group h4 {
    font-size: 15px;
}

body.lang-en .footer-links-group a {
    font-size: 13px;
}

body.lang-en .section-title {
    font-size: 34px;
}

@media (max-width: 768px) {
    body.lang-en .hero-title {
        font-size: 36px;
    }
    
    body.lang-en .hero-subtitle {
        font-size: 14px;
    }
    
    body.lang-en .stat-label {
        font-size: 11px;
        white-space: normal;
    }
    
    body.lang-en .hero-stats {
        gap: 12px;
    }
    
    body.lang-en .section-title {
        font-size: 24px;
    }
    
    body.lang-en .big-stat-number {
        font-size: 36px;
    }
}
