/* ============================================
   PHARMA AI LAB - Design System
   ============================================ */

:root {
    /* Colors */
    --bg-primary: #0a0a0f;
    --bg-secondary: #111118;
    --bg-card: #16161f;
    --bg-card-hover: #1c1c28;

    --text-primary: #e8e8ef;
    --text-secondary: #8888a0;
    --text-muted: #555570;

    --accent-purple: #8b5cf6;
    --accent-purple-light: #a78bfa;
    --accent-cyan: #06b6d4;
    --accent-cyan-light: #22d3ee;
    --accent-green: #10b981;
    --accent-green-light: #34d399;
    --accent-pink: #ec4899;
    --accent-orange: #f59e0b;

    --gradient-primary: linear-gradient(135deg, #8b5cf6, #06b6d4);
    --gradient-secondary: linear-gradient(135deg, #06b6d4, #10b981);
    --gradient-warm: linear-gradient(135deg, #ec4899, #f59e0b);
    --gradient-hero: linear-gradient(180deg, rgba(139, 92, 246, 0.08) 0%, transparent 50%);

    --border-color: rgba(255, 255, 255, 0.06);
    --border-glow: rgba(139, 92, 246, 0.3);

    /* Typography */
    --font-primary: 'Inter', 'Noto Sans JP', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Spacing */
    --section-padding: 120px;

    /* Animations */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

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

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

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

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

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

/* ============================================
   Particle Canvas
   ============================================ */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.4s var(--ease-out-expo);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 10px 0;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.3rem;
    z-index: 1001;
}

.logo-icon {
    font-size: 1.5rem;
    animation: spin 8s linear infinite;
}

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

.logo-accent {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s var(--ease-out-expo);
}

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s;
}

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

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    left: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.12), transparent 60%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.08), transparent 60%);
    pointer-events: none;
}

.hero-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--accent-purple-light);
    margin-bottom: 32px;
    animation: fadeInUp 0.8s var(--ease-out-expo) 0.2s both;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--accent-green);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.title-line {
    display: block;
    animation: fadeInUp 0.8s var(--ease-out-expo) both;
}

.title-line:nth-child(1) { animation-delay: 0.3s; }
.title-line:nth-child(2) { animation-delay: 0.45s; }
.title-line:nth-child(3) { animation-delay: 0.6s; }

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 540px;
    animation: fadeInUp 0.8s var(--ease-out-expo) 0.7s both;
}

.hero-subtitle strong {
    color: var(--text-primary);
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 56px;
    animation: fadeInUp 0.8s var(--ease-out-expo) 0.85s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo);
    border: none;
    font-family: var(--font-primary);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 24px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.45);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--accent-purple);
    background: rgba(139, 92, 246, 0.05);
    transform: translateY(-2px);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    animation: fadeInUp 0.8s var(--ease-out-expo) 1s both;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline;
}

.stat-suffix {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.stat-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

/* Hero Visual */
.hero-visual {
    flex: 0 0 380px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
    animation: fadeIn 1.2s var(--ease-out-expo) 0.5s both;
}

.orbit-system {
    position: relative;
    width: 320px;
    height: 320px;
}

.orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.orbit-1 {
    width: 160px;
    height: 160px;
    animation: orbit 6s linear infinite;
}

.orbit-2 {
    width: 240px;
    height: 240px;
    animation: orbit 10s linear infinite reverse;
    border-color: rgba(6, 182, 212, 0.12);
}

.orbit-3 {
    width: 320px;
    height: 320px;
    animation: orbit 15s linear infinite;
    border-color: rgba(16, 185, 129, 0.08);
}

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

.orbit-dot {
    position: absolute;
    top: -4px;
    left: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    transform: translateX(-50%);
}

.orbit-1 .orbit-dot { background: var(--accent-purple); box-shadow: 0 0 12px var(--accent-purple); }
.orbit-2 .orbit-dot { background: var(--accent-cyan); box-shadow: 0 0 12px var(--accent-cyan); }
.orbit-3 .orbit-dot { background: var(--accent-green); box-shadow: 0 0 10px var(--accent-green); }

.core-sphere {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 800;
    color: white;
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.4), 0 0 80px rgba(139, 92, 246, 0.15);
    animation: coreGlow 3s ease-in-out infinite alternate;
}

@keyframes coreGlow {
    from { box-shadow: 0 0 40px rgba(139, 92, 246, 0.4), 0 0 80px rgba(139, 92, 246, 0.15); }
    to { box-shadow: 0 0 60px rgba(6, 182, 212, 0.5), 0 0 120px rgba(6, 182, 212, 0.2); }
}

/* Hero Scroll */
.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    animation: fadeIn 1s var(--ease-out-expo) 1.2s both;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--text-muted), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    50% { transform: scaleY(0.5); opacity: 0.3; }
}

/* ============================================
   Section Common Styles
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--accent-purple-light);
    margin-bottom: 16px;
    text-transform: uppercase;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.3;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 540px;
    margin: 0 auto;
}

/* ============================================
   Services Section
   ============================================ */
.services {
    position: relative;
    padding: var(--section-padding) 0;
    z-index: 1;
}

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

.service-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 36px 28px;
    transition: all 0.4s var(--ease-out-expo);
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(139, 92, 246, 0.2);
    background: var(--bg-card-hover);
}

.service-card.featured {
    border-color: rgba(6, 182, 212, 0.2);
    background: linear-gradient(180deg, rgba(6, 182, 212, 0.05), var(--bg-card));
}

.service-card.featured:hover {
    border-color: rgba(6, 182, 212, 0.35);
}

.card-glow {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

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

.card-glow-purple { background: radial-gradient(circle, rgba(139, 92, 246, 0.12), transparent 70%); }
.card-glow-cyan { background: radial-gradient(circle, rgba(6, 182, 212, 0.12), transparent 70%); }
.card-glow-green { background: radial-gradient(circle, rgba(16, 185, 129, 0.12), transparent 70%); }

.card-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 4px 12px;
    border-radius: 100px;
    background: var(--gradient-warm);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.card-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(139, 92, 246, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--accent-purple-light);
    transition: all 0.3s;
}

.service-card:hover .card-icon {
    transform: scale(1.05);
    background: rgba(139, 92, 246, 0.12);
}

.service-card.featured .card-icon {
    color: var(--accent-cyan-light);
    background: rgba(6, 182, 212, 0.08);
}

.service-card:nth-child(3) .card-icon {
    color: var(--accent-green-light);
    background: rgba(16, 185, 129, 0.08);
}

.card-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

.card-subtitle {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    font-weight: 500;
}

.card-desc {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin-bottom: 24px;
}

.card-tags li {
    padding: 4px 12px;
    border-radius: 100px;
    background: rgba(139, 92, 246, 0.06);
    border: 1px solid rgba(139, 92, 246, 0.12);
    font-size: 0.72rem;
    color: var(--accent-purple-light);
    font-weight: 500;
}

.service-card.featured .card-tags li {
    background: rgba(6, 182, 212, 0.06);
    border-color: rgba(6, 182, 212, 0.12);
    color: var(--accent-cyan-light);
}

.service-card:nth-child(3) .card-tags li {
    background: rgba(16, 185, 129, 0.06);
    border-color: rgba(16, 185, 129, 0.12);
    color: var(--accent-green-light);
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-purple-light);
    transition: gap 0.3s var(--ease-out-expo);
}

.card-link:hover {
    gap: 12px;
}

.service-card.featured .card-link { color: var(--accent-cyan-light); }
.service-card:nth-child(3) .card-link { color: var(--accent-green-light); }

/* ============================================
   About Section
   ============================================ */
.about {
    position: relative;
    padding: var(--section-padding) 0;
    z-index: 1;
    background: linear-gradient(180deg, transparent, rgba(139, 92, 246, 0.03), transparent);
}

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

.about-visual {
    position: relative;
    height: 400px;
}

.about-card-stack {
    position: relative;
    width: 100%;
    height: 100%;
}

.about-floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    border-radius: 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s var(--ease-out-expo);
}

.about-floating-card:hover {
    transform: scale(1.05) !important;
}

.floating-icon {
    font-size: 1.5rem;
}

.card-sas { top: 20px; left: 10px; animation: float 6s ease-in-out infinite; }
.card-ai { top: 100px; right: 0; animation: float 6s ease-in-out 1.5s infinite; }
.card-python { top: 200px; left: 30px; animation: float 6s ease-in-out 3s infinite; }
.card-quantum { top: 290px; right: 20px; animation: float 6s ease-in-out 4.5s infinite; }

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

.about-content .section-tag {
    text-align: left;
}

.about-content .section-title {
    text-align: left;
}

.about-text {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.8;
}

.about-text strong {
    color: var(--text-primary);
}

.about-skills {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.skill-bar {
    position: relative;
    height: 36px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.skill-name {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-primary);
    z-index: 2;
}

.skill-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.15;
    border-radius: 8px;
    width: 0;
    transition: width 1.5s var(--ease-out-expo);
}

/* ============================================
   Articles Section
   ============================================ */
.articles {
    position: relative;
    padding: var(--section-padding) 0;
    z-index: 1;
}

.articles-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.article-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.4s var(--ease-out-expo);
}

.article-card:hover {
    transform: translateY(-4px);
    border-color: rgba(139, 92, 246, 0.2);
}

.article-card.article-featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
}

.article-image {
    position: relative;
    overflow: hidden;
}

.article-image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.article-featured .article-image-placeholder {
    min-height: 280px;
}

.article-emoji {
    font-size: 4rem;
    filter: drop-shadow(0 0 20px rgba(255,255,255,0.2));
}

.gradient-bg-1 { background: linear-gradient(135deg, #1a0533, #0d2137); }
.gradient-bg-2 { background: linear-gradient(135deg, #0d2137, #0a1f2e); }
.gradient-bg-3 { background: linear-gradient(135deg, #0a1f1a, #0d2137); }
.gradient-bg-4 { background: linear-gradient(135deg, #1a0533, #2d0a1f); }

.article-category {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.cat-ai { background: rgba(139, 92, 246, 0.2); color: var(--accent-purple-light); border: 1px solid rgba(139, 92, 246, 0.3); }
.cat-quantum { background: rgba(6, 182, 212, 0.2); color: var(--accent-cyan-light); border: 1px solid rgba(6, 182, 212, 0.3); }
.cat-coding { background: rgba(16, 185, 129, 0.2); color: var(--accent-green-light); border: 1px solid rgba(16, 185, 129, 0.3); }

.article-body {
    padding: 28px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.article-title {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
    transition: color 0.3s;
}

.article-card:hover .article-title {
    color: var(--accent-purple-light);
}

.article-excerpt {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.article-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-purple-light);
    transition: all 0.3s;
}

.article-link:hover {
    color: var(--accent-cyan-light);
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    position: relative;
    padding: var(--section-padding) 0;
    z-index: 1;
}

.cta-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 72px 48px;
    text-align: center;
    overflow: hidden;
}

.cta-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(139, 92, 246, 0.08), transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.08), transparent 50%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.cta-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 40px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-social {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
    transition: all 0.3s var(--ease-out-expo);
}

.btn-social:hover {
    transform: translateY(-2px);
    border-color: rgba(139, 92, 246, 0.3);
}

.btn-x:hover { border-color: rgba(255, 255, 255, 0.3); }
.btn-note:hover { border-color: rgba(65, 192, 91, 0.5); }
.btn-youtube:hover { border-color: rgba(255, 0, 0, 0.4); }

.note-icon {
    font-size: 1.1rem;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    position: relative;
    z-index: 1;
    padding: 64px 0 32px;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 12px;
}

.footer-links h4 {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.88rem;
    color: var(--text-muted);
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.footer-tech {
    margin-top: 6px;
    font-style: italic;
    color: var(--text-muted);
    opacity: 0.6;
}

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

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

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

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

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 968px) {
    :root {
        --section-padding: 80px;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 100px;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        flex: none;
        margin-top: 20px;
    }

    .orbit-system {
        width: 260px;
        height: 260px;
    }

    .orbit-3 { width: 260px; height: 260px; }
    .orbit-2 { width: 190px; height: 190px; }
    .orbit-1 { width: 130px; height: 130px; }

    .services-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-visual {
        height: 320px;
    }

    .about-content .section-tag,
    .about-content .section-title {
        text-align: center;
    }

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

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

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

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

@media (max-width: 640px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(10, 10, 15, 0.97);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        transition: right 0.4s var(--ease-out-expo);
        border-left: 1px solid var(--border-color);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-toggle {
        display: flex;
    }

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

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

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

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .cta-card {
        padding: 48px 24px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-scroll {
        display: none;
    }
}
