/* ============================================
   Flashomics - Spatial Proteomics Solution
   Inspired by clean scientific aesthetics
   ============================================ */

:root {
    --color-bg: #ffffff;
    --color-bg-soft: #f5f8fa;
    --color-bg-dark: #001b2e;
    --color-bg-darker: #00111e;
    --color-primary: #003a5c;
    --color-primary-light: #0073a8;
    --color-accent: #00b8d4;
    --color-accent-bright: #00e5a0;
    --color-text: #1a2332;
    --color-text-soft: #4a5566;
    --color-text-muted: #7a8594;
    --color-border: #e5ebf0;
    --color-border-soft: #eef2f5;

    --font-display: 'Outfit', 'Noto Sans KR', sans-serif;
    --font-body: 'Noto Sans KR', 'Outfit', sans-serif;

    --container: 1240px;
    --header-height: 72px;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

a {
    color: inherit;
    text-decoration: none;
}

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

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

/* ============== Typography ============== */
h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--color-primary);
}

.section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: var(--color-accent);
    text-transform: uppercase;
    margin-bottom: 18px;
    padding: 6px 14px;
    background: rgba(0, 184, 212, 0.08);
    border-radius: 100px;
}

.section-tag.light {
    color: #00e5a0;
    background: rgba(0, 229, 160, 0.15);
}

.section-title {
    font-size: clamp(32px, 4.5vw, 52px);
    margin-bottom: 24px;
}

.section-lead {
    font-size: 18px;
    color: var(--color-text-soft);
    max-width: 680px;
    margin: 0 auto 24px;
}

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

/* ============== Header ============== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 1000;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.site-header.scrolled {
    border-bottom-color: var(--color-border);
    box-shadow: 0 4px 24px rgba(0, 26, 47, 0.06);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 22px;
    color: var(--color-primary);
    letter-spacing: -0.02em;
    flex-shrink: 0;
}

.logo-img {
    height: 30px;
    width: auto;
    display: block;
    transition: transform 0.4s ease;
}

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

.logo-img-footer {
    height: 30px;
    width: auto;
    display: block;
    filter: brightness(1.1);
}

.footer-logo-wrap {
    margin-bottom: 20px;
}

.logo-mark {
    font-size: 26px;
    color: var(--color-accent);
    transform: rotate(0deg);
    transition: transform 0.6s ease;
}

.logo:hover .logo-mark {
    transform: rotate(180deg);
}

.main-nav {
    flex: 1;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 36px;
    justify-content: center;
}

.main-nav a {
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text);
    position: relative;
    padding: 8px 0;
    transition: color var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--color-accent);
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-accent);
    border-radius: 2px;
}

.has-dropdown {
    position: relative;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: -20px;
    background: white;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 12px;
    min-width: 280px;
    box-shadow: 0 12px 40px rgba(0, 26, 47, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: var(--transition);
}

.dropdown a {
    display: block;
    padding: 10px 14px;
    font-size: 14px;
    border-radius: 8px;
    transition: background var(--transition);
}

.dropdown a:hover {
    background: var(--color-bg-soft);
    color: var(--color-accent);
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.btn-cta {
    background: var(--color-primary);
    color: white;
    padding: 11px 22px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
    flex-shrink: 0;
}

.btn-cta:hover {
    background: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 184, 212, 0.3);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* ============== Buttons ============== */
.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: white;
    box-shadow: 0 8px 24px rgba(0, 58, 92, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 58, 92, 0.3);
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-accent) 100%);
}

.btn-secondary {
    background: transparent;
    color: var(--color-primary);
    border: 1.5px solid var(--color-border);
}

.btn-secondary:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background: rgba(0, 184, 212, 0.04);
}

.btn-primary.large, .btn-secondary.large {
    padding: 18px 40px;
    font-size: 16px;
}

.btn-text {
    display: inline-block;
    color: var(--color-accent);
    font-weight: 600;
    font-size: 15px;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
}

.btn-text:hover {
    border-bottom-color: var(--color-accent);
    color: var(--color-primary-light);
}

/* ============== Hero ============== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: calc(var(--header-height) + 60px) 32px 80px;
    overflow: hidden;
    background: var(--color-bg-dark);
    color: white;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.45;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 27, 46, 0.75) 0%, rgba(0, 58, 92, 0.55) 50%, rgba(0, 17, 30, 0.85) 100%);
    z-index: 1;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 20% 30%, rgba(0, 184, 212, 0.25), transparent),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(0, 229, 160, 0.18), transparent),
        radial-gradient(ellipse 50% 50% at 50% 100%, rgba(0, 115, 168, 0.3), transparent);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black, transparent);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black, transparent);
}

.hero-content {
    position: relative;
    max-width: var(--container);
    margin: 0 auto;
    width: 100%;
    z-index: 2;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.25em;
    color: var(--color-accent-bright);
    margin-bottom: 28px;
    padding: 8px 18px;
    border: 1px solid rgba(0, 229, 160, 0.4);
    border-radius: 100px;
    background: rgba(0, 229, 160, 0.08);
}

.hero-title {
    font-size: clamp(40px, 7vw, 78px);
    color: white;
    font-weight: 800;
    margin-bottom: 28px;
    letter-spacing: -0.03em;
    line-height: 1.05;
}

.highlight {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-bright) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(16px, 1.6vw, 19px);
    color: rgba(255, 255, 255, 0.75);
    max-width: 660px;
    margin-bottom: 44px;
    line-height: 1.7;
}

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

.hero .btn-secondary {
    color: white;
    border-color: rgba(255, 255, 255, 0.2);
}

.hero .btn-secondary:hover {
    color: var(--color-accent-bright);
    border-color: var(--color-accent-bright);
    background: rgba(0, 229, 160, 0.05);
}

.hero-stats {
    position: relative;
    max-width: var(--container);
    margin: 80px auto 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
    z-index: 2;
}

.stat-item {
    padding: 0 24px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(36px, 4.5vw, 56px);
    font-weight: 800;
    color: var(--color-accent-bright);
    line-height: 1;
    letter-spacing: -0.04em;
}

.stat-number span {
    color: var(--color-accent);
}

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

/* ============== Intro Section ============== */
.intro {
    padding: 120px 0;
    background: var(--color-bg);
}

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

.intro-text p {
    font-size: 16px;
    color: var(--color-text-soft);
    margin-bottom: 24px;
    line-height: 1.8;
}

.intro-text strong {
    color: var(--color-primary);
    font-weight: 600;
}

.intro-visual {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.visual-card {
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
    overflow: hidden;
    transition: transform var(--transition);
    cursor: default;
}

.visual-card:hover {
    transform: translateY(-8px) scale(1.02);
}

.card-glow {
    position: absolute;
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(0, 229, 160, 0.4), transparent);
    filter: blur(30px);
    top: -20%;
    left: -20%;
}

.card-2 { background: linear-gradient(135deg, #0073a8 0%, #00b8d4 100%); }
.card-3 { background: linear-gradient(135deg, #00b8d4 0%, #00e5a0 100%); }
.card-4 { background: linear-gradient(135deg, #003a5c 0%, #00b8d4 100%); }
.card-5 { background: linear-gradient(135deg, #00e5a0 0%, #0073a8 100%); }
.card-6 { background: linear-gradient(135deg, #0073a8 0%, #003a5c 100%); }

.card-icon {
    font-size: 38px;
    margin-bottom: 8px;
    z-index: 2;
}

.card-text {
    font-size: 14px;
    font-weight: 600;
    z-index: 2;
}

/* ============== Pipeline Section ============== */
.pipeline {
    padding: 120px 0;
    background: var(--color-bg-soft);
}

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

.pipeline-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
    border: 1px solid var(--color-border-soft);
}

.pipeline-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 26, 47, 0.1);
}

.pipeline-img {
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.pipeline-img::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.15), transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1), transparent 50%);
}

.pipeline-icon {
    font-size: 56px;
    z-index: 2;
    color: rgba(255, 255, 255, 0.95);
}

.pipeline-card h3 {
    font-size: 22px;
    padding: 28px 28px 12px;
}

.pipeline-card p {
    color: var(--color-text-soft);
    padding: 0 28px;
    margin-bottom: 20px;
    line-height: 1.7;
}

.card-link {
    display: inline-block;
    padding: 0 28px 28px;
    color: var(--color-accent);
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.card-link:hover {
    color: var(--color-primary);
    transform: translateX(4px);
}

.pipeline-cta {
    text-align: center;
    margin-top: 56px;
}

/* ============== Pipeline Card V2 (modern, no large image) ============== */
.pipeline-card-v2 {
    background: white;
    border-radius: 24px;
    padding: 40px 36px;
    border: 1px solid var(--color-border-soft);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.pipeline-card-v2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-accent-bright) 100%);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.5s ease;
}

.pipeline-card-v2:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 26, 47, 0.1);
    border-color: var(--color-accent);
}

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

.pipeline-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.pipeline-num {
    font-family: var(--font-display);
    font-size: 44px;
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 2px var(--color-accent);
    line-height: 1;
    letter-spacing: -0.04em;
}

.pipeline-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 8px 20px rgba(0, 184, 212, 0.25);
    transition: var(--transition);
}

.pipeline-card-v2:hover .pipeline-icon-wrap {
    transform: rotate(-8deg) scale(1.05);
}

.pipeline-icon-wrap svg {
    width: 26px;
    height: 26px;
}

.pipeline-card-v2 h3 {
    font-size: 22px;
    color: var(--color-primary);
    margin-bottom: 14px;
    line-height: 1.3;
}

.pipeline-card-v2 p {
    color: var(--color-text-soft);
    font-size: 15px;
    line-height: 1.75;
    margin-bottom: 24px;
}

.pipeline-card-v2 .card-link {
    padding: 0;
    display: inline-block;
}

/* ============== Featured Service ============== */
.featured-service {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--color-bg-dark) 0%, var(--color-primary) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.featured-service::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 229, 160, 0.15), transparent 70%);
    pointer-events: none;
}

.featured-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.featured-content h2 {
    color: white;
    font-size: clamp(30px, 4vw, 44px);
    margin-bottom: 12px;
}

.featured-content h3 {
    color: var(--color-accent-bright);
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 24px;
}

.featured-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    margin-bottom: 32px;
    line-height: 1.8;
}

.featured-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 36px;
}

.feature-item {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    font-weight: 500;
}

.featured-visual {
    position: relative;
    aspect-ratio: 1;
}

.featured-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(0, 229, 160, 0.2), transparent 60%);
    filter: blur(40px);
}

.featured-circle svg {
    width: 100%;
    height: 100%;
    animation: rotate 30s linear infinite;
}

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

/* ============== Why Us ============== */
.why-us {
    padding: 120px 0;
    background: var(--color-bg);
}

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

.why-card {
    padding: 36px 32px;
    border-radius: 20px;
    border: 1px solid var(--color-border);
    transition: var(--transition);
    background: white;
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-bright));
    transition: width 0.4s ease;
}

.why-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-accent);
    box-shadow: 0 12px 32px rgba(0, 184, 212, 0.12);
}

.why-card:hover::before {
    width: 100%;
}

.why-num {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 14px;
    letter-spacing: 0.05em;
}

.why-card h4 {
    font-size: 20px;
    margin-bottom: 10px;
}

.why-card p {
    color: var(--color-text-soft);
    font-size: 15px;
    line-height: 1.7;
}

/* ============== Applications ============== */
.applications {
    padding: 120px 0;
    background: var(--color-bg-soft);
}

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

.app-card {
    padding: 32px 28px;
    background: white;
    border-radius: 16px;
    border-left: 4px solid var(--color-accent);
    transition: var(--transition);
}

.app-card:hover {
    transform: translateX(4px);
    box-shadow: 0 12px 32px rgba(0, 26, 47, 0.06);
}

.app-card h4 {
    font-size: 19px;
    margin-bottom: 10px;
}

.app-card p {
    color: var(--color-text-soft);
    font-size: 15px;
    line-height: 1.6;
}

/* ============== CTA Section ============== */
.cta-section {
    padding: 120px 0;
    background: var(--color-bg);
}

.cta-inner {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    border-radius: 32px;
    padding: 80px 40px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-inner::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 229, 160, 0.3), transparent 70%);
}

.cta-inner::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 184, 212, 0.3), transparent 70%);
}

.cta-inner h2 {
    color: white;
    font-size: clamp(28px, 4vw, 44px);
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.cta-inner p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 17px;
    margin-bottom: 36px;
    position: relative;
    z-index: 2;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.cta-section .btn-primary {
    background: white;
    color: var(--color-primary);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.cta-section .btn-primary:hover {
    background: var(--color-accent-bright);
    color: var(--color-primary);
}

.cta-section .btn-secondary {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.cta-section .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: white;
}

/* ============== Footer ============== */
.site-footer {
    background: var(--color-bg-darker);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr 0.7fr 1.3fr;
    gap: 48px;
    margin-bottom: 56px;
}

.footer-brand .logo {
    color: white;
    margin-bottom: 20px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    line-height: 1.7;
}

.footer-col h5 {
    color: white;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 18px;
    letter-spacing: 0.02em;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    transition: color var(--transition);
}

.footer-col a:hover {
    color: var(--color-accent-bright);
}

.footer-address {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.footer-address strong {
    color: white;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 4px;
}

.footer-bottom {
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
}

/* ============== Animations ============== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============== Page Header (subpages) ============== */
.page-header {
    padding: calc(var(--header-height) + 80px) 0 80px;
    background: linear-gradient(135deg, var(--color-bg-dark) 0%, var(--color-primary) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 40% at 30% 50%, rgba(0, 184, 212, 0.2), transparent),
        radial-gradient(ellipse 60% 40% at 70% 50%, rgba(0, 229, 160, 0.15), transparent);
}

.page-header-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.page-header .section-tag {
    color: var(--color-accent-bright);
    background: rgba(0, 229, 160, 0.12);
}

.page-header h1 {
    color: white;
    font-size: clamp(34px, 5vw, 60px);
    margin-bottom: 20px;
}

.page-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    line-height: 1.7;
    max-width: 700px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.6);
    transition: color var(--transition);
}

.breadcrumb a:hover {
    color: var(--color-accent-bright);
}

.breadcrumb .sep {
    color: rgba(255, 255, 255, 0.3);
}

/* ============== Content Sections (subpages) ============== */
.content-section {
    padding: 100px 0;
}

.content-section.alt {
    background: var(--color-bg-soft);
}

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

.content-grid.reverse .content-text { order: 2; }
.content-grid.reverse .content-visual { order: 1; }

.content-text h2 {
    font-size: clamp(28px, 3.5vw, 40px);
    margin-bottom: 20px;
}

.content-text p {
    color: var(--color-text-soft);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.content-text ul {
    list-style: none;
    margin-bottom: 28px;
}

.content-text ul li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    color: var(--color-text-soft);
    line-height: 1.7;
}

.content-text ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: 700;
}

.content-visual {
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 80px;
}

.content-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.2), transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(0, 229, 160, 0.2), transparent 50%);
}

/* Image visual variant - shows full image without cropping */
.content-visual.image-visual {
    padding: 24px;
    aspect-ratio: auto;
    min-height: 360px;
}

.content-visual.image-visual::before {
    display: none;
}

.content-visual.image-visual img {
    width: 100%;
    height: auto;
    max-height: 560px;
    object-fit: contain;
    border-radius: 12px;
    position: relative;
    z-index: 2;
    display: block;
}

/* ============== Process Steps ============== */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    counter-reset: step;
    margin-top: 32px;
}

.step-card {
    padding: 32px;
    background: white;
    border-radius: 20px;
    border: 1px solid var(--color-border);
    counter-increment: step;
    position: relative;
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 26, 47, 0.08);
    border-color: var(--color-accent);
}

.step-card::before {
    content: counter(step, decimal-leading-zero);
    position: absolute;
    top: 24px;
    right: 24px;
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    color: var(--color-bg-soft);
    line-height: 1;
}

.step-card h4 {
    font-size: 18px;
    margin-bottom: 12px;
    margin-right: 60px;
}

.step-card p {
    color: var(--color-text-soft);
    font-size: 14px;
    line-height: 1.7;
}

/* ============== Contact Form ============== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.contact-info {
    padding: 40px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    border-radius: 24px;
    color: white;
    position: relative;
    overflow: hidden;
}

.contact-info::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(0, 229, 160, 0.25), transparent 70%);
}

.contact-info h3 {
    color: white;
    font-size: 24px;
    margin-bottom: 12px;
    position: relative;
}

.contact-info > p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
    position: relative;
}

.contact-info-block {
    margin-bottom: 28px;
    position: relative;
}

.contact-info-block strong {
    display: block;
    color: var(--color-accent-bright);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.contact-info-block p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    line-height: 1.7;
}

.contact-form {
    padding: 40px;
    background: white;
    border-radius: 24px;
    border: 1px solid var(--color-border);
}

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

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

.form-group label .required {
    color: var(--color-accent);
    margin-left: 2px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid var(--color-border);
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    color: var(--color-text);
    background: white;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(0, 184, 212, 0.1);
}

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

.form-submit {
    width: 100%;
    padding: 16px 32px;
    border: none;
    border-radius: 100px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 184, 212, 0.3);
}

.form-success {
    display: none;
    padding: 16px 20px;
    background: rgba(0, 229, 160, 0.1);
    border: 1px solid rgba(0, 229, 160, 0.3);
    border-radius: 12px;
    color: #008060;
    font-size: 14px;
    margin-bottom: 20px;
}

.form-success.show {
    display: block;
}

/* ============== Thanks Page ============== */
.thanks-section {
    min-height: 100vh;
    padding: calc(var(--header-height) + 80px) 0 80px;
    background:
        radial-gradient(ellipse 60% 50% at 20% 10%, rgba(0, 184, 212, 0.08), transparent),
        radial-gradient(ellipse 60% 50% at 80% 90%, rgba(0, 229, 160, 0.08), transparent),
        var(--color-bg-soft);
    display: flex;
    align-items: center;
}

.thanks-card {
    max-width: 720px;
    margin: 0 auto;
    background: white;
    border: 1px solid var(--color-border);
    border-radius: 24px;
    padding: 64px 56px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 26, 47, 0.06);
}

.thanks-check {
    width: 88px;
    height: 88px;
    margin: 0 auto 28px;
    color: var(--color-accent-bright);
    background: rgba(0, 229, 160, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: thanksPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.thanks-check svg {
    width: 56px;
    height: 56px;
}

@keyframes thanksPop {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.thanks-card h1 {
    font-size: clamp(28px, 4vw, 40px);
    margin: 12px 0 20px;
}

.thanks-lead {
    font-size: 16px;
    color: var(--color-text-soft);
    line-height: 1.8;
    margin-bottom: 40px;
}

.thanks-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 0 0 40px;
    text-align: left;
}

.thanks-meta-item {
    background: var(--color-bg-soft);
    border: 1px solid var(--color-border-soft);
    border-radius: 14px;
    padding: 20px 22px;
}

.thanks-meta-item strong {
    display: block;
    color: var(--color-primary);
    font-family: var(--font-display);
    font-size: 14px;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.thanks-meta-item p {
    font-size: 13px;
    color: var(--color-text-soft);
    line-height: 1.6;
    margin: 0;
}

.thanks-meta-item a {
    color: var(--color-accent);
    font-weight: 500;
}

.thanks-meta-item a:hover {
    text-decoration: underline;
}

.thanks-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .thanks-card {
        padding: 48px 24px;
        border-radius: 18px;
    }

    .thanks-meta {
        grid-template-columns: 1fr;
    }

    .thanks-buttons {
        flex-direction: column;
    }

    .thanks-buttons .btn-primary,
    .thanks-buttons .btn-secondary {
        width: 100%;
    }
}

/* ============== About / Team ============== */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.value-card {
    padding: 40px 32px;
    background: white;
    border-radius: 20px;
    text-align: center;
    border: 1px solid var(--color-border);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 26, 47, 0.08);
    border-color: var(--color-accent);
}

.value-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
}

.value-card h4 {
    font-size: 20px;
    margin-bottom: 12px;
}

.value-card p {
    color: var(--color-text-soft);
    font-size: 15px;
    line-height: 1.7;
}

/* ============== Vision Block (full-width text) ============== */
.vision-block {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.vision-block .section-tag {
    margin-bottom: 18px;
}

.vision-block .section-title {
    margin-bottom: 28px;
}

.vision-text {
    font-size: 17px;
    color: var(--color-text-soft);
    line-height: 1.85;
    margin-bottom: 20px;
}

.vision-text:last-child {
    margin-bottom: 0;
}

/* ============== Tech Block (2-column text layout) ============== */
.tech-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 48px 56px;
    background: linear-gradient(135deg, var(--color-bg-soft) 0%, #ffffff 100%);
    border-radius: 24px;
    border: 1px solid var(--color-border);
}

.tech-text-col h2 {
    margin: 12px 0 20px;
    font-size: clamp(26px, 3vw, 36px);
}

.tech-text-col p {
    color: var(--color-text-soft);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 24px;
}

.tech-feature-list {
    list-style: none;
    padding: 0;
}

.tech-feature-list li {
    position: relative;
    padding: 14px 0 14px 36px;
    color: var(--color-text);
    font-size: 15px;
    font-weight: 500;
    border-bottom: 1px solid var(--color-border-soft);
    line-height: 1.5;
}

.tech-feature-list li:last-child {
    border-bottom: none;
}

.tech-feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-bright) 100%);
}

.tech-feature-list li::after {
    content: '✓';
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-weight: 700;
    font-size: 13px;
}

/* ============== Team Section ============== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.team-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: var(--transition);
    text-align: center;
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 26, 47, 0.1);
    border-color: var(--color-accent);
}

.team-photo {
    aspect-ratio: 4 / 5;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.team-card:hover .team-photo img {
    transform: scale(1.05);
}

/* Placeholder when image is missing */
.team-photo.no-image::after {
    content: '👤';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: rgba(255, 255, 255, 0.6);
}

.team-info {
    padding: 24px 18px 28px;
}

.team-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 6px;
}

.team-position {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-accent);
    letter-spacing: 0.05em;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--color-border);
}

.team-credentials p {
    font-size: 13px;
    color: var(--color-text-soft);
    line-height: 1.6;
    margin: 0 0 4px 0;
}

.team-credentials p:last-child {
    margin-bottom: 0;
    color: var(--color-primary-light);
    font-weight: 500;
    margin-top: 6px;
}

/* ============== Use Case Grid (ATLAS page) ============== */
.usecase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.usecase-card {
    background: white;
    border-radius: 20px;
    padding: 36px 32px;
    border: 1px solid var(--color-border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.usecase-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(180deg, var(--color-accent) 0%, var(--color-accent-bright) 100%);
    transition: height 0.4s ease;
}

.usecase-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 26, 47, 0.08);
    border-color: var(--color-accent);
}

.usecase-card:hover::before {
    height: 100%;
}

.usecase-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--color-bg-soft) 0%, rgba(0, 184, 212, 0.08) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
}

.usecase-card h4 {
    font-size: 19px;
    margin-bottom: 12px;
    color: var(--color-primary);
}

.usecase-card p {
    color: var(--color-text-soft);
    font-size: 14px;
    line-height: 1.7;
}

.usecase-cta {
    text-align: center;
    margin-top: 48px;
}

/* ============== Deliverables Grid (spatial proteomic page) ============== */
.deliverables-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 32px;
}

.deliverable-card {
    background: white;
    border-radius: 20px;
    padding: 32px 20px;
    border: 1px solid var(--color-border);
    text-align: center;
    transition: var(--transition);
}

.deliverable-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 26, 47, 0.08);
    border-color: var(--color-accent);
}

.deliverable-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
}

.deliverable-card h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--color-primary);
    line-height: 1.3;
}

.deliverable-card p {
    color: var(--color-text-soft);
    font-size: 13px;
    line-height: 1.6;
}

/* ============== Service Cards (services page) ============== */
.service-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 32px;
}

.service-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(0, 26, 47, 0.1);
    border-color: var(--color-accent);
}

.service-card-img {
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 64px;
    position: relative;
    overflow: hidden;
    background: #001b2e;
}

.service-card-img::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.2), transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 229, 160, 0.25), transparent 50%);
}

.service-card-img.has-image::before {
    display: none;
}

.service-card-img.has-image {
    aspect-ratio: auto;
    padding: 20px;
    min-height: 280px;
}

.service-card-img.has-image img {
    width: 100%;
    height: auto;
    max-height: 360px;
    object-fit: contain;
    display: block;
    border-radius: 12px;
    transition: transform 0.6s ease;
}

.service-card:hover .service-card-img.has-image img {
    transform: scale(1.04);
}

/* ============== Step Cards Grid (services page pipeline) ============== */
.step-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 40px;
}

.step-card-large {
    background: white;
    border-radius: 24px;
    padding: 40px 36px;
    border: 1px solid var(--color-border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.step-card-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-accent-bright) 100%);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.5s ease;
}

.step-card-large:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 26, 47, 0.1);
    border-color: var(--color-accent);
}

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

.step-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.step-number {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 2px var(--color-accent);
    line-height: 1;
    letter-spacing: -0.04em;
}

.step-tag {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: var(--color-accent);
    text-transform: uppercase;
    padding: 6px 14px;
    background: rgba(0, 184, 212, 0.08);
    border-radius: 100px;
}

.step-card-large h3 {
    font-size: 22px;
    margin-bottom: 14px;
    color: var(--color-primary);
    line-height: 1.3;
}

.step-card-large > p {
    color: var(--color-text-soft);
    font-size: 15px;
    line-height: 1.75;
    margin-bottom: 24px;
}

.step-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.step-feature-list li {
    position: relative;
    padding: 10px 0 10px 26px;
    color: var(--color-text);
    font-size: 14px;
    line-height: 1.5;
    border-top: 1px solid var(--color-border-soft);
}

.step-feature-list li:first-child {
    border-top: none;
}

.step-feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-bright) 100%);
}

.step-feature-list li::after {
    content: '✓';
    position: absolute;
    left: 3px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-weight: 700;
    font-size: 10px;
}

.service-card-body {
    padding: 36px 32px;
}

.service-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--color-text-soft);
    line-height: 1.7;
    margin-bottom: 24px;
}

/* ============== Responsive ============== */
@media (max-width: 1024px) {
    .intro-grid,
    .featured-inner,
    .content-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .content-grid.reverse .content-text { order: 1; }
    .content-grid.reverse .content-visual { order: 2; }

    .pipeline-grid,
    .why-grid,
    .apps-grid,
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .tech-block {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 40px 32px;
    }

    .step-cards-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .usecase-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .deliverables-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .service-cards {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 0;
    }

    .stat-item:nth-child(2) { border-right: none; }
}

@media (max-width: 768px) {
    .container { padding: 0 20px; }
    .header-inner { padding: 0 20px; }

    .main-nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: white;
        border-top: 1px solid var(--color-border);
        padding: 20px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }

    .main-nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .main-nav a {
        display: block;
        padding: 12px 0;
        border-bottom: 1px solid var(--color-border-soft);
    }

    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding: 0 0 0 16px;
        min-width: 0;
    }

    .btn-cta { display: none; }
    .mobile-toggle { display: flex; }

    .hero { padding: calc(var(--header-height) + 40px) 20px 60px; }

    .intro,
    .pipeline,
    .featured-service,
    .why-us,
    .applications,
    .cta-section {
        padding: 80px 0;
    }

    .pipeline-grid,
    .why-grid,
    .apps-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .team-info {
        padding: 18px 12px 22px;
    }

    .team-name {
        font-size: 17px;
    }

    .team-credentials p {
        font-size: 12px;
    }

    .tech-block {
        padding: 32px 20px;
        gap: 24px;
    }

    .step-card-large {
        padding: 32px 24px;
    }

    .step-card-large h3 {
        font-size: 20px;
    }

    .step-number {
        font-size: 40px;
    }

    .usecase-grid {
        grid-template-columns: 1fr;
    }

    .deliverables-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .vision-text {
        font-size: 16px;
    }

    .logo-img {
        height: 24px;
    }

    .logo-img-footer {
        height: 26px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .featured-features {
        grid-template-columns: 1fr;
    }

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

    .cta-inner {
        padding: 60px 24px;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .contact-info,
    .contact-form {
        padding: 28px;
    }
}
