/* 
  Theme: Dark, High-Tech & Premium
  Colors: Deep Space Black, Electric Blue/Cyan, Neon Accents 
*/

:root {
    --bg-main: #07070a; /* Very deep dark blue/black */
    --bg-alt: #0a0a0f;
    --bg-card: rgba(18, 18, 25, 0.6);
    --bg-card-hover: rgba(25, 25, 35, 0.85);
    
    --text-main: #f0f0f5;
    --text-muted: #9494a0;
    
    --primary: #00e5ff; /* Electric Cyan */
    --primary-glow: rgba(0, 229, 255, 0.35);
    --secondary: #2979ff; /* Deep Blue */
    --accent: #d500f9; /* Neon Purple for contrast */
    
    --border-color: rgba(255, 255, 255, 0.08);
    --border-highlight: rgba(0, 229, 255, 0.25);
    
    --font-sans: 'Inter', sans-serif;
    --font-display: 'Outfit', sans-serif;
    
    --transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

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

body {
    font-family: var(--font-sans);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

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

/* Background Effects */
.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: 
        linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -1;
    pointer-events: none;
}

.glow-bg {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -2;
    opacity: 0.4;
    animation: drift 20s infinite alternate ease-in-out;
}

.glow-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
}

.glow-2 {
    bottom: -20%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.15) 0%, transparent 70%);
    animation-delay: -5s;
}

@keyframes drift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(5%, 5%); }
}

/* Typography elements */
h1, h2, h3, h4, .logo-text {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-main);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    font-family: var(--font-display);
    border: none;
    outline: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
    box-shadow: 0 6px 25px var(--primary-glow);
    transform: translateY(-2px);
}

.btn-outline {
    background: rgba(25, 25, 35, 0.4);
    color: var(--text-main);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(0, 229, 255, 0.08);
    box-shadow: 0 4px 15px var(--primary-glow);
    transform: translateY(-2px);
    color: var(--primary);
}

.btn-block {
    width: 100%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 15px 0;
    background: rgba(7, 7, 10, 0.85);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-main);
    min-width: 0;
}

.logo h1 {
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.12;
    letter-spacing: -0.02em;
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
    /* Convert image to blue using filter chain */
    filter: brightness(0) invert(1) sepia(100%) saturate(500%) hue-rotate(180deg) brightness(1.2); 
}

.logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 8px;
    color: #fff;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.logo-text {
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.logo-text .highlight {
    font-weight: 300;
    color: var(--primary);
}

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

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
}

.nav-links a:hover, 
.nav-links a.active {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
    box-shadow: 0 0 10px var(--primary);
}

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

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--text-main);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    border: 0;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 24px 60px;
    position: relative;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 10;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid var(--border-highlight);
    border-radius: 20px;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 1px;
    box-shadow: inset 0 0 10px rgba(0, 229, 255, 0.1);
}

.hero h1 {
    font-size: clamp(2.35rem, 5vw, 4rem);
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

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

.hero-actions .btn {
    min-height: 52px;
}

/* Abstract Visual & Media */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 500px;
    position: relative;
    perspective: 1000px;
}

.hero-image {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 229, 255, 0.15);
    border: 1px solid rgba(0, 229, 255, 0.2);
    animation: floatImage 6s ease-in-out infinite alternate;
}

@keyframes floatImage {
    0% { transform: translateY(0) scale(1.0); }
    100% { transform: translateY(-15px) scale(1.02); }
}

.abstract-shape {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    transform-style: preserve-3d;
}

.ring {
    position: absolute;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.05);
    background: rgba(0, 229, 255, 0.02);
    backdrop-filter: blur(2px);
    box-shadow: inset 0 0 20px rgba(0, 229, 255, 0.05);
}

.ring-1 {
    width: 100%;
    height: 100%;
    border-top-color: var(--primary);
    animation: spin 20s linear infinite;
    transform: rotateX(60deg) rotateY(20deg);
}

.ring-2 {
    width: 75%;
    height: 75%;
    border-right-color: var(--secondary);
    animation: spin-reverse 15s linear infinite;
    transform: rotateX(70deg) rotateY(-20deg);
}

.ring-3 {
    width: 50%;
    height: 50%;
    border-bottom-color: var(--accent);
    animation: spin 10s linear infinite;
    transform: rotateX(50deg) rotateY(40deg);
}

.core {
    width: 25%;
    height: 25%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    box-shadow: 0 0 40px var(--primary-glow);
    animation: pulse 2s ease-in-out infinite alternate;
}

@keyframes spin {
    to { transform: rotateX(60deg) rotateY(20deg) rotateZ(360deg); }
}

@keyframes spin-reverse {
    to { transform: rotateX(70deg) rotateY(-20deg) rotateZ(-360deg); }
}

@keyframes pulse {
    from { transform: scale(0.9); box-shadow: 0 0 20px var(--primary-glow); }
    to { transform: scale(1.1); box-shadow: 0 0 50px var(--primary-glow); }
}

/* Services */
.services {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 16px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-card);
    backdrop-filter: blur(15px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px 30px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

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

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--border-highlight);
    background: var(--bg-card-hover);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), inset 0 0 20px rgba(0, 229, 255, 0.05);
}

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

.card-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 229, 255, 0.1);
    color: var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 24px;
    transition: var(--transition);
    border: 1px solid rgba(0, 229, 255, 0.1);
}

.service-card:hover .card-icon {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 0 20px var(--primary-glow);
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 16px;
}

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

.card-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.service-card:hover .card-link {
    gap: 10px;
    text-shadow: 0 0 8px var(--primary-glow);
}

/* About Section */
.about {
    padding: 100px 0;
    background: linear-gradient(to bottom, transparent, rgba(0, 229, 255, 0.03), transparent);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* Management Philosophy */
.management-philosophy {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.phi-item {
    flex: 1;
    min-width: 180px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition);
}

.phi-item:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    background: rgba(0, 229, 255, 0.05);
}

.phi-item i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 12px;
    text-shadow: 0 0 10px var(--primary-glow);
}

.phi-item h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--text-main);
}

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

/* History Timeline */
.about-history {
    flex: 1;
    min-width: 300px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.subsection-title {
    font-size: 1.6rem;
    margin-bottom: 30px;
    color: var(--primary);
}

.timeline {
    list-style: none;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10px;
    height: 100%;
    width: 2px;
    background: var(--border-color);
}

.timeline li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 25px;
}

.timeline li::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-glow);
}

.timeline .time {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.timeline .desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.timeline .desc strong {
    color: #fff;
    font-weight: 600;
}

/* Certifications Section */
.certifications {
    padding: 100px 24px;
    background: #07070a;
}

.cert-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 50px;
    align-items: center;
    flex-wrap: wrap;
}

.cert-text {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.cert-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.02);
    padding: 24px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.cert-item:hover {
    background: rgba(0, 229, 255, 0.05);
    border-color: var(--primary);
    transform: translateX(10px);
}

.cert-icon {
    font-size: 2rem;
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary-glow);
}

.cert-info h3 {
    color: var(--text-main);
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.cert-info p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.cert-gallery {
    flex: 1;
    min-width: 300px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.cert-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: var(--transition);
}

.cert-img:hover {
    transform: scale(1.05);
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(0, 229, 255, 0.2);
}

/* Portfolio Section */
.portfolio {
    padding: 100px 24px;
    background: var(--bg-alt);
}

.portfolio-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.portfolio-category {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px;
    overflow: hidden;
}

.category-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 12px;
}

.category-title i {
    color: var(--accent);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.port-item {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 24px;
    border-radius: 16px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.port-item:hover {
    border-color: var(--secondary);
    background: rgba(41, 121, 255, 0.05);
    transform: translateY(-5px);
}

.port-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.port-item h4 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.port-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    line-height: 1.6;
}

.port-item p strong {
    color: #e0e0e0;
}

/* Contact */
.contact {
    max-width: 1000px;
    margin: 0 auto;
    padding: 100px 24px;
}

.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    display: flex;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}

.contact-info {
    flex: 1;
    padding: 50px;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.08), rgba(41, 121, 255, 0.03));
    border-right: 1px solid var(--border-color);
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.contact-info p {
    color: var(--text-muted);
    margin-bottom: 40px;
}

.contact-list {
    list-style: none;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
    color: var(--text-main);
    font-weight: 500;
}

.contact-list i {
    color: var(--primary);
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
    text-shadow: 0 0 5px var(--primary-glow);
}

.contact-form {
    flex: 1;
    padding: 50px;
    background: #0a0a0f;
}

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

input, textarea {
    width: 100%;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-main);
    font-family: var(--font-sans);
    transition: var(--transition);
}

input::placeholder, textarea::placeholder {
    color: #60606b;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(0, 229, 255, 0.02);
    box-shadow: 0 0 0 4px rgba(0, 229, 255, 0.1);
}

/* Footer */
footer {
    border-top: 1px solid var(--border-color);
    padding: 40px 24px;
    margin-top: 50px;
    background: #050508;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
}

.footer-logo-img {
    height: 35px;
    width: auto;
    object-fit: contain;
    /* Convert image to blue using filter chain with opacity */
    filter: brightness(0) invert(1) sepia(100%) saturate(500%) hue-rotate(180deg) brightness(1.2) opacity(0.7);
    transition: var(--transition);
}

.footer-logo-img:hover {
    filter: brightness(0) invert(1) sepia(100%) saturate(500%) hue-rotate(180deg) brightness(1.2) opacity(1);
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Animations using GSAP or CSS */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
}

.fade-in {
    opacity: 0;
    animation: fadeIn 1s forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

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

/* Responsive */
@media (max-width: 992px) {
    .hero { flex-direction: column; text-align: center; padding-top: 150px; }
    .hero-content { margin-bottom: 60px; max-width: 100%; }
    .hero-actions { justify-content: center; }
    .hero h1 { font-size: 3.2rem; }
    
    .about-container, .cert-container { flex-direction: column; }
    
    .contact-card { flex-direction: column; }
    .contact-info, .contact-form { padding: 40px 30px; }
    .contact-info { border-right: none; border-bottom: 1px solid var(--border-color); }
}

@media (max-width: 768px) {
    .nav-links { display: none; } /* Add JS for mobile menu later */
    .mobile-menu-btn { display: block; color: var(--text-main); }
    
    .hero h1 { font-size: 2.5rem; }
    .hero-visual { display: none; }
    
    .section-title { font-size: 2rem; }
    
    .stats { flex-direction: column; gap: 20px; align-items: center; }
    
    .footer-content { flex-direction: column; gap: 20px; text-align: center; }
}


.port-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}
.port-link:hover { color: #fff; }
.shimadzu-section { padding: 100px 24px; }
.shimadzu-wrap {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 32px;
    align-items: start;
}
.shimadzu-copy, .shim-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(14px);
    border-radius: 24px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.25);
}
.shimadzu-copy { padding: 36px; }
.shimadzu-copy h3 { font-size: 2rem; margin-bottom: 18px; }
.shimadzu-copy p { color: var(--text-muted); margin-bottom: 20px; }
.shimadzu-points { list-style: none; display: grid; gap: 12px; margin-bottom: 28px; }
.shimadzu-points li { position: relative; padding-left: 22px; color: var(--text-main); }
.shimadzu-points li::before { content: '▹'; position: absolute; left: 0; color: var(--primary); }
.shimadzu-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.shim-card { padding: 20px; text-decoration: none; color: var(--text-main); transition: var(--transition); }
.shim-card:hover { transform: translateY(-6px); border-color: var(--border-highlight); box-shadow: 0 20px 40px rgba(0,229,255,0.14); }
.shim-card img { width: 100%; aspect-ratio: 1/1; object-fit: contain; background: rgba(255,255,255,0.04); border-radius: 16px; padding: 14px; margin-bottom: 16px; }
.shim-card strong { display: block; font-size: 1.05rem; margin-bottom: 6px; }
.shim-card span { color: var(--text-muted); font-size: 0.95rem; }
@media (max-width: 1024px) {
    .shimadzu-wrap { grid-template-columns: 1fr; }
    .shimadzu-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
    .shimadzu-section { padding: 80px 20px; }
    .shimadzu-copy { padding: 24px; }
    .shimadzu-copy h3 { font-size: 1.6rem; }
    .shimadzu-cards { grid-template-columns: 1fr; }
}

/* Home Hero Network Refresh v2 */
.hero-network.premium-home {
    max-width: 1320px;
    padding: 138px 24px 56px;
    min-height: auto;
}

.hero-shell {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(540px, 1fr);
    gap: 34px;
    align-items: center;
}

.hero-content-wide {
    max-width: 100%;
}

.hero-content-wide .hero-desc {
    max-width: 700px;
    line-height: 1.75;
}

.hero-info-ribbon {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 28px;
}

.hero-info-card {
    position: relative;
    padding: 18px 18px 20px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(10,16,26,0.72));
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 20px 40px rgba(0,0,0,0.18);
    backdrop-filter: blur(16px);
}

.hero-info-eyebrow,
.home-models-kicker {
    display: inline-block;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(163, 231, 255, 0.74);
    margin-bottom: 10px;
}

.hero-info-card strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 6px;
    color: var(--text-main);
}

.hero-info-card p {
    color: var(--text-muted);
    font-size: 0.93rem;
    line-height: 1.55;
}

.hero-diagram {
    position: relative;
    min-height: 760px;
    height: 760px;
    width: 100%;
    max-width: 820px;
    margin-left: auto;
    border-radius: 36px;
    background: radial-gradient(circle at 50% 48%, rgba(25, 48, 79, 0.42), rgba(5, 8, 14, 0.05) 58%, rgba(7, 7, 10, 0) 74%);
    isolation: isolate;
}

.hero-ambient-ring {
    position: absolute;
    inset: 50% auto auto 50%;
    width: 470px;
    height: 470px;
    border-radius: 50%;
    border: 1px solid rgba(0, 229, 255, 0.1);
    transform: translate(-50%, -50%);
    pointer-events: none;
    filter: drop-shadow(0 0 18px rgba(0, 229, 255, 0.08));
}

.hero-ambient-ring.ring-a {
    animation: ambientSpin 28s linear infinite;
}

.hero-ambient-ring.ring-b {
    width: 610px;
    height: 610px;
    border-style: dashed;
    animation: ambientSpinReverse 34s linear infinite;
}

.diagram-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.diagram-lines path {
    fill: none;
    stroke: rgba(110, 213, 255, 0.42);
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-dasharray: 7 10;
    animation: lineFlow 12s linear infinite;
}

@keyframes lineFlow {
    to { stroke-dashoffset: -34; }
}

@keyframes ambientSpin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes ambientSpinReverse {
    to { transform: translate(-50%, -50%) rotate(-360deg); }
}

.hub-core,
.hub-node {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    text-decoration: none;
    overflow: hidden;
}

.hub-core {
    width: 206px;
    height: 206px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    flex-direction: column;
    border-radius: 50%;
    z-index: 6;
    background: radial-gradient(circle at 32% 32%, rgba(41, 128, 204, 0.96), rgba(13, 45, 73, 0.98));
    border: 1px solid rgba(161, 234, 255, 0.2);
    box-shadow: 0 24px 80px rgba(0,0,0,0.42), 0 0 0 8px rgba(255,255,255,0.02), 0 0 42px rgba(0, 229, 255, 0.12);
}

.hub-core::before {
    content: '';
    position: absolute;
    inset: 16px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.08);
    pointer-events: none;
}

.hub-core span {
    position: relative;
    z-index: 1;
    font-family: var(--font-display);
    font-size: 2.12rem;
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.hub-core small {
    position: relative;
    z-index: 1;
    margin-top: 12px;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.76);
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hub-node {
    width: 196px;
    height: 196px;
    border-radius: 50%;
    z-index: 5;
    border: 1px solid rgba(161, 234, 255, 0.18);
    box-shadow: 0 20px 50px rgba(0,0,0,0.35);
    backdrop-filter: blur(18px);
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.7s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.55s ease;
    animation: nodeFloat 10s ease-in-out infinite;
}

.hub-node::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(180deg, rgba(8, 15, 28, 0.05), rgba(8, 15, 28, 0.76));
    z-index: 1;
}

.hub-node:nth-of-type(2) { animation-delay: -1.4s; }
.hub-node:nth-of-type(3) { animation-delay: -2.1s; }
.hub-node:nth-of-type(4) { animation-delay: -3.3s; }
.hub-node:nth-of-type(5) { animation-delay: -4.2s; }
.hub-node:nth-of-type(6) { animation-delay: -5s; }

@keyframes nodeFloat {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(0, -10px, 0); }
}

.node-image,
.node-shine,
.node-kicker,
.node-label {
    position: absolute;
    z-index: 2;
}

.node-image {
    inset: 0;
}

.node-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1), filter 0.7s ease;
    filter: saturate(0.92) brightness(0.72);
}

.node-shine {
    inset: -35% auto auto -70%;
    width: 120%;
    height: 48%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: rotate(-18deg);
    opacity: 0;
    transition: transform 0.9s ease, opacity 0.45s ease;
}

.node-kicker {
    top: 28%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(216, 245, 255, 0.82);
}

.node-label {
    left: 50%;
    top: 47%;
    transform: translate(-50%, -50%);
    width: 74%;
    font-family: var(--font-display);
    font-size: 1.18rem;
    font-weight: 700;
    line-height: 1.28;
    letter-spacing: -0.03em;
    text-shadow: 0 8px 22px rgba(0,0,0,0.45);
}

.hub-node:hover,
.hub-node:focus-visible {
    transform: translateY(-14px) scale(1.05);
    border-color: rgba(144, 234, 255, 0.72);
    box-shadow: 0 32px 70px rgba(0,0,0,0.42), 0 0 36px rgba(0,229,255,0.16);
}

.hub-node:hover .node-image img,
.hub-node:focus-visible .node-image img {
    transform: scale(1.14);
    filter: saturate(1.08) brightness(0.84);
}

.hub-node:hover .node-shine,
.hub-node:focus-visible .node-shine {
    opacity: 1;
    transform: translateX(180%) rotate(-18deg);
}

.node-preview {
    position: absolute;
    left: 50%;
    top: calc(100% + 18px);
    transform: translateX(-50%) translateY(14px);
    width: 250px;
    padding: 16px;
    border-radius: 22px;
    background: rgba(8, 14, 24, 0.94);
    border: 1px solid rgba(130, 225, 255, 0.18);
    box-shadow: 0 24px 50px rgba(0,0,0,0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    backdrop-filter: blur(16px);
    text-align: left;
    overflow: hidden;
}

.hub-node:hover .node-preview,
.hub-node:focus-visible .node-preview {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.node-preview img {
    width: 100%;
    height: 126px;
    object-fit: cover;
    border-radius: 14px;
    margin-bottom: 12px;
    border: 1px solid rgba(255,255,255,0.06);
}

.node-preview strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 6px;
}

.node-preview p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.72);
    line-height: 1.6;
}

.node-about { left: 5%; top: 7%; }
.node-certifications { right: 5%; top: 7%; }
.node-leak { right: 4%; top: 48%; }
.node-portfolio { left: 50%; bottom: 2%; transform: translateX(-50%); }
.node-business { left: 4%; top: 48%; }

.node-portfolio .node-preview {
    top: auto;
    bottom: calc(100% + 18px);
}

.node-leak:hover,
.node-leak:focus-visible,
.node-business:hover,
.node-business:focus-visible {
    transform: translateY(-14px) scale(1.05);
}

.node-portfolio:hover,
.node-portfolio:focus-visible {
    transform: translateX(-50%) translateY(-14px) scale(1.05);
}

.home-models {
    padding: 0 24px 90px;
    margin-top: -6px;
}

.home-models-wrap {
    max-width: 1320px;
    margin: 0 auto;
    padding: 34px;
    border-radius: 34px;
    background: linear-gradient(180deg, rgba(12, 17, 28, 0.94), rgba(8, 10, 18, 0.78));
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 28px 80px rgba(0,0,0,0.32);
}

.home-models-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 26px;
}

.home-model-grid,
.shimadzu-cards-seven {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 16px;
}

.home-model-card,
.shimadzu-cards-seven .shim-card {
    position: relative;
    overflow: hidden;
}

.home-model-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    padding: 18px 14px 20px;
    text-decoration: none;
    color: var(--text-main);
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.08);
    background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(13, 18, 28, 0.88));
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.5s ease, border-color 0.5s ease;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.home-model-card::before,
.shimadzu-cards-seven .shim-card::before {
    content: '';
    position: absolute;
    inset: auto -35% 70% -35%;
    height: 40%;
    background: radial-gradient(circle, rgba(0,229,255,0.2), transparent 70%);
    pointer-events: none;
}

.home-model-card:hover,
.shimadzu-cards-seven .shim-card:hover {
    transform: translateY(-8px);
    border-color: rgba(149, 232, 255, 0.5);
    box-shadow: 0 20px 45px rgba(0,0,0,0.35), 0 0 28px rgba(0,229,255,0.12);
}

.home-model-card img,
.shimadzu-cards-seven .shim-card img {
    width: 100%;
    max-width: 126px;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    padding: 12px;
    border-radius: 18px;
    background: rgba(255,255,255,0.05);
}

.home-model-card strong,
.shimadzu-cards-seven .shim-card strong {
    font-size: 0.98rem;
}

.home-model-card span,
.shimadzu-cards-seven .shim-card span {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.45;
}

.shimadzu-section {
    padding-top: 76px;
}

.shimadzu-wrap {
    gap: 26px;
}

.shimadzu-copy {
    padding: 38px;
}

.shimadzu-cards-seven {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-content: start;
}

.shimadzu-cards-seven .shim-card {
    min-height: 100%;
}

@media (max-width: 1280px) {
    .hero-shell {
        grid-template-columns: 1fr;
    }
    .hero-diagram {
        margin: 0 auto;
    }
    .home-model-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 1024px) {
    .hero-network.premium-home {
        padding-top: 124px;
    }
    .hero-diagram {
        min-height: 690px;
        height: 690px;
    }
    .hero-info-ribbon {
        grid-template-columns: 1fr;
    }
    .home-models-wrap {
        padding: 28px;
    }
    .home-models-head {
        flex-direction: column;
        align-items: start;
    }
    .home-model-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .shimadzu-cards-seven {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    html {
        scroll-padding-top: 84px;
    }
    .grid-overlay {
        background-size: 32px 32px;
        opacity: 0.45;
    }
    .glow-bg {
        filter: blur(90px);
        opacity: 0.28;
    }
    .navbar {
        padding: 14px 0;
    }
    .nav-container {
        position: relative;
        gap: 12px;
    }
    .nav-links {
        position: absolute;
        top: calc(100% + 14px);
        right: 24px;
        left: 24px;
        display: none;
        flex-direction: column;
        gap: 0;
        padding: 14px;
        border-radius: 20px;
        background: rgba(7, 10, 16, 0.96);
        border: 1px solid rgba(255,255,255,0.08);
        box-shadow: 0 22px 60px rgba(0,0,0,0.42);
        backdrop-filter: blur(14px);
        max-height: calc(100vh - 110px);
        overflow-y: auto;
    }
    .nav-links.mobile-open {
        display: flex;
    }
    .nav-links li + li {
        border-top: 1px solid rgba(255,255,255,0.06);
    }
    .nav-links a {
        display: block;
        padding: 14px 6px;
    }
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 46px;
        height: 46px;
        border-radius: 14px;
        background: rgba(255,255,255,0.03);
        border: 1px solid rgba(255,255,255,0.08);
        flex-shrink: 0;
    }
    .mobile-menu-btn.active {
        color: var(--primary);
        border-color: rgba(0, 229, 255, 0.35);
        box-shadow: 0 0 0 4px rgba(0, 229, 255, 0.08);
    }
    .logo {
        gap: 8px;
        max-width: calc(100% - 58px);
    }
    .logo-img {
        height: 34px;
    }
    .logo h1 {
        font-size: 1rem;
    }
    .hero-network.premium-home {
        padding: 108px 20px 40px;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero-actions {
        flex-wrap: wrap;
        justify-content: center;
    }
    .hero-diagram {
        min-height: auto;
        height: auto;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 14px;
        padding-top: 12px;
        background: none;
    }
    .hero-ambient-ring,
    .diagram-lines,
    .hub-core {
        display: none;
    }
    .hub-node,
    .node-about,
    .node-certifications,
    .node-leak,
    .node-portfolio,
    .node-business {
        position: relative;
        inset: auto;
        width: 100%;
        height: 210px;
        border-radius: 28px;
        transform: none !important;
        animation: none;
    }
    .hub-node::before {
        border-radius: 28px;
    }
    .node-image img {
        border-radius: 28px;
    }
    .node-kicker {
        top: 22px;
    }
    .node-label {
        top: auto;
        bottom: 30px;
        transform: translateX(-50%);
        font-size: 1.12rem;
    }
    .node-preview {
        display: none;
    }
    .management-philosophy {
        flex-direction: column;
    }
    .about-history {
        padding: 28px 22px;
    }
    .cert-item {
        flex-direction: column;
        gap: 12px;
    }
    .portfolio-category {
        padding: 28px 22px;
    }
    .category-title {
        font-size: 1.45rem;
        margin-bottom: 18px;
        align-items: flex-start;
    }
    .home-models {
        padding: 0 20px 72px;
    }
    .home-models-wrap {
        padding: 22px;
        border-radius: 26px;
    }
    .home-model-grid,
    .shimadzu-cards-seven {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .shimadzu-section {
        padding: 72px 20px;
    }
    .shimadzu-copy {
        padding: 26px;
    }
}

@media (max-width: 640px) {
    .home-model-grid,
    .shimadzu-cards-seven {
        grid-template-columns: 1fr;
    }
    .cert-gallery {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .hero-shell {
        gap: 22px;
    }
    .hero h1 {
        font-size: 2.15rem;
    }
    .hero-desc {
        font-size: 1.04rem;
    }
    .nav-links {
        right: 16px;
        left: 16px;
    }
    .logo h1 {
        font-size: 0.92rem;
    }
    .logo h1 .text-gradient {
        font-size: 0.78rem !important;
    }
    .hero-actions .btn {
        width: 100%;
    }
    .home-model-grid,
    .shimadzu-cards-seven,
    .hero-diagram {
        grid-template-columns: 1fr;
    }
    .home-model-card img,
    .shimadzu-cards-seven .shim-card img {
        max-width: 150px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hub-node,
    .diagram-lines path,
    .hero-ambient-ring {
        animation: none !important;
    }
    .hub-node,
    .node-image img,
    .node-preview,
    .home-model-card,
    .shim-card {
        transition: none !important;
    }
}


/* Portfolio regrouping: 검사기 / 디스플레이 / 비전 */
.portfolio-category-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 26px;
}

.category-desc {
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.7;
    margin-top: 8px;
    max-width: 720px;
}

.category-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.category-tags span {
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(0, 229, 255, 0.08);
    border: 1px solid rgba(0, 229, 255, 0.14);
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

@media (max-width: 768px) {
    .portfolio-category-head {
        flex-direction: column;
    }

    .category-tags {
        justify-content: flex-start;
    }
}


/* Shimadzu title logo lockup */
.title-with-logo {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.shimadzu-title-lockup {
    align-items: center;
}

.shimadzu-title-logo {
    width: clamp(132px, 14vw, 210px);
    height: auto;
    display: block;
    filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.28));
}

.home-models-head .title-with-logo {
    margin-bottom: 10px;
}

.shimadzu-section-title {
    justify-content: center;
    margin-bottom: 14px;
}

.shimadzu-section-title .section-title,
.home-models-head .section-title {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .title-with-logo {
        gap: 12px;
    }

    .shimadzu-title-logo {
        width: clamp(112px, 42vw, 168px);
    }

    .home-models-head,
    .shimadzu-section-title {
        align-items: flex-start;
    }
}


/* Shinsung-inspired light corporate refresh */
:root {
    --bg-main: #edf4fb;
    --bg-alt: #f6f9fc;
    --bg-card: rgba(255, 255, 255, 0.94);
    --bg-card-hover: #ffffff;
    --text-main: #162538;
    --text-muted: #5d6d7f;
    --primary: #cf2140;
    --primary-glow: rgba(207, 33, 64, 0.22);
    --secondary: #6baedc;
    --accent: #dcecf8;
    --border-color: rgba(22, 37, 56, 0.08);
    --border-highlight: rgba(107, 174, 220, 0.35);
}

html {
    background: #edf4fb;
}

body.shinsung-inspired {
    background:
        radial-gradient(circle at 12% 8%, rgba(141, 197, 235, 0.26), transparent 23%),
        radial-gradient(circle at 88% 12%, rgba(255, 255, 255, 0.9), transparent 24%),
        linear-gradient(180deg, #f9fcff 0%, #edf4fb 32%, #f7fafc 100%);
    color: var(--text-main);
}

body.shinsung-inspired::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 18% 20%, rgba(102, 167, 219, 0.12), transparent 28%), radial-gradient(circle at 78% 18%, rgba(214, 31, 58, 0.06), transparent 20%);
    z-index: -3;
}

.grid-overlay {
    background-image:
        linear-gradient(to right, rgba(104, 142, 178, 0.08) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(104, 142, 178, 0.08) 1px, transparent 1px);
    opacity: 0.55;
}

.glow-bg {
    filter: blur(140px);
    opacity: 0.6;
}

.glow-1 {
    background: radial-gradient(circle, rgba(130, 189, 229, 0.45) 0%, transparent 72%);
}

.glow-2 {
    background: radial-gradient(circle, rgba(255, 223, 228, 0.4) 0%, transparent 72%);
}

.text-gradient {
    background: linear-gradient(135deg, #c91f3d, #f26a82);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar,
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(22, 37, 56, 0.08);
    box-shadow: 0 16px 34px rgba(15, 38, 63, 0.08);
    padding: 16px 0;
}

.nav-container {
    max-width: 1280px;
}

.logo h1 {
    color: #17304a;
    font-size: 1.15rem;
}

.logo-img {
    height: 44px;
    filter: none;
}

.nav-links a {
    color: #44576b;
    font-weight: 700;
}

.nav-links a.active,
.nav-links a:hover {
    color: var(--primary);
}

.nav-links a::after {
    background: linear-gradient(135deg, var(--primary), #ef6880);
}

.mobile-menu-btn {
    background: #ffffff;
    color: #17304a;
    border: 1px solid rgba(22, 37, 56, 0.08);
    box-shadow: 0 12px 24px rgba(15, 38, 63, 0.08);
}

.hero-network.premium-home {
    max-width: 1360px;
    padding: 148px 24px 72px;
    min-height: 100vh;
}

.hero-shell {
    grid-template-columns: minmax(0, 0.92fr) minmax(500px, 1fr);
    gap: 48px;
    align-items: center;
}

.badge {
    background: rgba(107, 174, 220, 0.14);
    color: #436b8e;
    border: 1px solid rgba(107, 174, 220, 0.22);
}

.hero h1 {
    color: #15304b;
    font-size: clamp(2.8rem, 5vw, 5rem);
    letter-spacing: -0.04em;
}

.hero-content-wide .hero-desc,
.hero-desc {
    color: #607184;
    font-size: 1.06rem;
    max-width: 680px;
}

.btn {
    border-radius: 999px;
    font-weight: 700;
    min-height: 54px;
}

.btn-primary {
    background: linear-gradient(135deg, #cf2140, #ea6078);
    color: #fff;
    box-shadow: 0 16px 30px rgba(207, 33, 64, 0.22);
}

.btn-primary:hover {
    box-shadow: 0 18px 36px rgba(207, 33, 64, 0.26);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.92);
    color: #1f3449;
    border: 1px solid rgba(31, 52, 73, 0.1);
    backdrop-filter: blur(12px);
}

.btn-outline:hover {
    color: var(--primary);
    border-color: rgba(207, 33, 64, 0.2);
    background: #fff;
    box-shadow: 0 14px 28px rgba(15, 38, 63, 0.08);
}

.hero-slider-indicator {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
    color: #5f7488;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.indicator-line {
    width: 160px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #c9deee 0%, #cf2140 100%);
}

.hero-info-card {
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(22, 37, 56, 0.07);
    box-shadow: 0 24px 48px rgba(24, 47, 72, 0.09);
    backdrop-filter: blur(14px);
}

.hero-info-eyebrow,
.home-models-kicker {
    color: #6788a4;
}

.hero-info-card strong,
.hero-info-card p {
    color: #17304a;
}

.hero-info-card p {
    color: #617283;
}

.hero-diagram {
    min-height: 730px;
    height: 730px;
    border-radius: 42px;
    background: radial-gradient(circle at 50% 45%, rgba(183, 219, 242, 0.55), rgba(255, 255, 255, 0.7) 52%, rgba(237, 244, 251, 0) 74%);
}

.hero-ambient-ring {
    border-color: rgba(107, 174, 220, 0.22);
    filter: none;
}

.diagram-lines path {
    stroke: rgba(102, 157, 205, 0.62);
}

.hub-core,
.hub-node {
    color: #17304a;
}

.hub-core {
    width: 226px;
    height: 226px;
    border-radius: 34px;
    background: linear-gradient(180deg, #ffffff 0%, #eef6fc 100%);
    border: 1px solid rgba(22, 37, 56, 0.08);
    box-shadow: 0 26px 60px rgba(17, 42, 68, 0.14);
}

.hub-core::before {
    inset: 14px;
    border-radius: 28px;
    border-color: rgba(107, 174, 220, 0.18);
}

.hub-core span {
    color: #17304a;
    font-size: 2rem;
}

.hub-core small {
    color: #cf2140;
    letter-spacing: 0.16em;
}

.hub-node {
    width: 188px;
    height: 188px;
    border-radius: 28px;
    border: 1px solid rgba(22, 37, 56, 0.08);
    box-shadow: 0 22px 42px rgba(17, 42, 68, 0.12);
    background: #ffffff;
    backdrop-filter: blur(12px);
}

.hub-node::before {
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.84) 70%, rgba(255, 255, 255, 0.97));
}

.node-image img {
    filter: saturate(1) brightness(1);
}

.node-kicker {
    top: 22px;
    color: var(--primary);
    font-weight: 700;
}

.node-label {
    top: auto;
    bottom: 24px;
    color: #17304a;
    text-shadow: none;
    font-size: 1.04rem;
}

.hub-node:hover,
.hub-node:focus-visible {
    border-color: rgba(107, 174, 220, 0.45);
    box-shadow: 0 26px 52px rgba(17, 42, 68, 0.16);
}

.node-preview {
    background: #ffffff;
    border: 1px solid rgba(22, 37, 56, 0.08);
    box-shadow: 0 24px 50px rgba(17, 42, 68, 0.12);
}

.node-preview strong {
    color: #17304a;
}

.node-preview p {
    color: #617283;
}

.home-models,
.about,
.certifications,
.services,
.portfolio,
.shimadzu-section,
.contact {
    background: transparent;
}

.section-title,
.subsection-title,
.category-title,
.contact-info h2,
.shimadzu-copy h3,
.service-card h3,
.port-item h4,
.about-text h3,
.timeline .time,
.cert-info h3 {
    color: #17304a;
}

.section-subtitle,
.about-text p,
.service-card p,
.port-item p,
.contact-info p,
.shimadzu-copy p,
.timeline .desc,
.cert-info p,
.category-desc,
.contact-list li,
.shim-card span,
.home-model-card span {
    color: #617283;
}

.home-models-wrap,
.about-container,
.cert-container,
.service-card,
.port-item,
.contact-card,
.shimadzu-copy,
.shim-card,
.home-model-card,
.cert-item,
.phi-item,
.about-history {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(22, 37, 56, 0.07);
    box-shadow: 0 20px 44px rgba(17, 42, 68, 0.08);
    backdrop-filter: blur(12px);
}

.home-models-wrap,
.about-container,
.cert-container,
.contact-card {
    border-radius: 30px;
    padding: 40px;
}

.services-grid,
.portfolio-grid,
.home-model-grid,
.shimadzu-cards {
    gap: 20px;
}

.card-icon,
.cert-icon {
    background: linear-gradient(135deg, #e7f2fa, #ffffff);
    color: var(--primary);
    box-shadow: none;
}

.service-card:hover,
.port-item:hover,
.shim-card:hover,
.home-model-card:hover,
.cert-item:hover,
.phi-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(17, 42, 68, 0.12);
}

.service-card::before {
    background: linear-gradient(90deg, rgba(107, 174, 220, 0.55), rgba(207, 33, 64, 0.45));
}

.timeline::before {
    background: linear-gradient(180deg, rgba(107, 174, 220, 0.25), rgba(207, 33, 64, 0.2));
}

.timeline li::before {
    background: #ffffff;
    border-color: rgba(207, 33, 64, 0.65);
    box-shadow: 0 0 0 8px rgba(207, 33, 64, 0.06);
}

.port-img,
.shim-card img,
.home-model-card img,
.cert-img {
    background: linear-gradient(180deg, #fbfdff 0%, #eef6fc 100%);
    border: 1px solid rgba(22, 37, 56, 0.06);
}

.shimadzu-wrap {
    gap: 24px;
}

.shimadzu-copy,
.shim-card {
    color: #17304a;
}

.contact-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.96) 0%, rgba(241,247,252,0.96) 100%);
}

.contact-form input,
.contact-form textarea,
.contact-form select,
.form-group input,
.form-group textarea {
    background: #ffffff;
    border: 1px solid rgba(22, 37, 56, 0.1);
    color: #17304a;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder,
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #8b9aaa;
}

.quick-float {
    position: fixed;
    right: 28px;
    bottom: 28px;
    z-index: 1200;
    display: grid;
    gap: 12px;
}

.quick-float a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 56px;
    padding: 0 18px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    color: #17304a;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(22, 37, 56, 0.08);
    box-shadow: 0 18px 36px rgba(17, 42, 68, 0.12);
}

.quick-float a i {
    color: var(--primary);
}

footer {
    margin-top: 110px;
    padding: 36px 24px 60px;
    background: rgba(255, 255, 255, 0.94);
    border-top: 1px solid rgba(22, 37, 56, 0.08);
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    color: #64768a;
}

.footer-logo-img {
    filter: none;
}

@media (max-width: 1024px) {
    .hero-shell {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .hero-diagram {
        max-width: 760px;
        margin: 0 auto;
    }

    .home-models-wrap,
    .about-container,
    .cert-container,
    .contact-card {
        padding: 28px;
    }
}

@media (max-width: 768px) {
    .nav-links.mobile-open {
        background: rgba(255, 255, 255, 0.97);
        border: 1px solid rgba(22, 37, 56, 0.08);
        box-shadow: 0 20px 40px rgba(17, 42, 68, 0.12);
    }

    .hero-network.premium-home {
        padding-top: 126px;
        padding-bottom: 36px;
        min-height: auto;
    }

    .hero-info-ribbon {
        grid-template-columns: 1fr;
    }

    .hero-diagram {
        min-height: 560px;
        height: 560px;
    }

    .hub-core {
        width: 176px;
        height: 176px;
    }

    .hub-node {
        width: 138px;
        height: 138px;
        border-radius: 22px;
    }

    .node-kicker {
        top: 16px;
        font-size: 0.62rem;
    }

    .node-label {
        bottom: 16px;
        font-size: 0.88rem;
        width: 80%;
    }

    .hero-slider-indicator {
        margin-top: 18px;
    }

    .indicator-line {
        width: 110px;
    }

    .quick-float {
        right: 14px;
        bottom: 14px;
    }

    .quick-float a {
        min-height: 48px;
        padding: 0 14px;
        font-size: 0.92rem;
    }
}

@media (max-width: 640px) {
    .home-models-wrap,
    .about-container,
    .cert-container,
    .contact-card {
        padding: 22px;
        border-radius: 24px;
    }

    .hero-diagram {
        min-height: 460px;
        height: 460px;
    }

    .hub-node {
        width: 118px;
        height: 118px;
    }

    .quick-float a span {
        display: none;
    }

    .quick-float a {
        width: 48px;
        justify-content: center;
        padding: 0;
    }
}
