/* transactology.com - Neomorphic Midnight-Blue Transaction Science */
/* Colors: #1a1a2e (deep base), #4a90d9 (primary blue), #f5f0e8 (warm off-white), #e8b84b (accent gold), #6c757d (muted gray) */
/* Fonts: IBM Plex Mono, Inter */

:root {
    --deep-base: #1a1a2e;
    --primary-blue: #4a90d9;
    --off-white: #f5f0e8;
    --accent-gold: #e8b84b;
    --muted-gray: #6c757d;
    --neo-light: #222244;
    --neo-dark: #111122;
    --neo-surface: #1e1e38;
    --font-mono: 'IBM Plex Mono', monospace;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-mono);
    background-color: var(--deep-base);
    color: var(--off-white);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ============ NAVIGATION ============ */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    background: rgba(26, 26, 46, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(74, 144, 217, 0.15);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-family: var(--font-mono);
    font-size: 1.1rem;
    font-weight: 600;
}

.brand-icon {
    color: var(--accent-gold);
    font-size: 1.2rem;
    margin-right: 0.5rem;
}

.brand-name {
    color: var(--off-white);
}

.brand-dot {
    color: var(--primary-blue);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--muted-gray);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: color 0.3s ease;
}

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

.nav-link--cta {
    color: var(--deep-base);
    background: var(--accent-gold);
    padding: 0.5rem 1.2rem;
    border-radius: 4px;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.2s ease;
}

.nav-link--cta:hover {
    background: #d4a63e;
    color: var(--deep-base);
    transform: translateY(-1px);
}

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

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--off-white);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.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);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(26, 26, 46, 0.98);
    padding: 1rem 2rem 2rem;
    flex-direction: column;
    gap: 1rem;
    border-bottom: 1px solid rgba(74, 144, 217, 0.2);
}

.mobile-menu.open {
    display: flex;
}

.mobile-link {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--off-white);
    text-decoration: none;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(74, 144, 217, 0.1);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ============ HERO ============ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 6rem 2rem 4rem;
    overflow: hidden;
}

.circuit-bg {
    position: absolute;
    inset: 0;
    opacity: 0.06;
    background-image:
        linear-gradient(rgba(74, 144, 217, 0.3) 1px, transparent 1px),
        linear-gradient(90deg, rgba(74, 144, 217, 0.3) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    align-items: center;
}

.hero-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-family: var(--font-mono);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    color: var(--off-white);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--muted-gray);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ============ NEO BUTTONS ============ */
.neo-btn {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.9rem 2rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.neo-btn--primary {
    background: var(--neo-surface);
    color: var(--accent-gold);
    box-shadow:
        6px 6px 14px var(--neo-dark),
        -6px -6px 14px var(--neo-light);
}

.neo-btn--primary:hover {
    box-shadow:
        8px 8px 18px var(--neo-dark),
        -8px -8px 18px var(--neo-light);
    transform: translateY(-2px);
}

.neo-btn--secondary {
    background: transparent;
    color: var(--primary-blue);
    border: 1px solid rgba(74, 144, 217, 0.3);
    box-shadow: none;
}

.neo-btn--secondary:hover {
    border-color: var(--primary-blue);
    background: rgba(74, 144, 217, 0.08);
}

.neo-btn--full {
    width: 100%;
    text-align: center;
}

/* ============ HERO VISUAL ============ */
.hero-visual {
    background: var(--neo-surface);
    border-radius: 16px;
    padding: 2rem;
    box-shadow:
        8px 8px 20px var(--neo-dark),
        -8px -8px 20px var(--neo-light);
}

.transaction-diagram {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tx-node {
    flex: 0 0 auto;
}

.tx-node-inner {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--deep-base);
    box-shadow:
        inset 4px 4px 8px var(--neo-dark),
        inset -4px -4px 8px var(--neo-light);
}

.tx-node--origin .tx-node-inner {
    border: 2px solid rgba(74, 144, 217, 0.4);
}

.tx-node--destination .tx-node-inner {
    border: 2px solid rgba(232, 184, 75, 0.4);
}

.tx-label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--muted-gray);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.3rem;
}

.tx-value {
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 700;
    color: var(--off-white);
}

.tx-flow {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.tx-flow-line {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-gold));
    position: relative;
    overflow: hidden;
}

.tx-flow-line::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -30%;
    width: 30%;
    height: 6px;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
    animation: flowPulse 2s ease-in-out infinite;
}

@keyframes flowPulse {
    0% { left: -30%; }
    100% { left: 100%; }
}

.tx-flow-particles {
    position: absolute;
    top: -8px;
    left: 0;
    right: 0;
    height: 18px;
    pointer-events: none;
}

.tx-flow-label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.tx-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.tx-stat {
    text-align: center;
    padding: 0.75rem;
    background: var(--deep-base);
    border-radius: 8px;
    box-shadow:
        inset 3px 3px 6px var(--neo-dark),
        inset -3px -3px 6px var(--neo-light);
}

.tx-stat-value {
    display: block;
    font-family: var(--font-mono);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 0.2rem;
}

.tx-stat-label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--muted-gray);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ============ SECTIONS ============ */
.section {
    padding: 6rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-number {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.3em;
    display: block;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-mono);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    color: var(--off-white);
    margin-bottom: 1rem;
}

.section-desc {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--muted-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ============ SPLIT GRID ============ */
.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.split-left,
.split-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* ============ NEO CARDS ============ */
.neo-card {
    background: var(--neo-surface);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow:
        6px 6px 14px var(--neo-dark),
        -6px -6px 14px var(--neo-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.neo-card:hover {
    transform: translateY(-2px);
    box-shadow:
        8px 8px 20px var(--neo-dark),
        -8px -8px 20px var(--neo-light);
}

/* ============ CONCEPT CARDS ============ */
.concept-card {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.concept-icon {
    flex: 0 0 48px;
}

.concept-svg {
    width: 48px;
    height: 48px;
}

.concept-title {
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.concept-text {
    font-family: var(--font-body);
    font-size: 0.88rem;
    color: var(--muted-gray);
    line-height: 1.6;
}

/* ============ APPLICATION PANEL ============ */
.application-panel {
    background: var(--neo-surface);
    border-radius: 12px;
    box-shadow:
        6px 6px 14px var(--neo-dark),
        -6px -6px 14px var(--neo-light);
    overflow: hidden;
    position: sticky;
    top: 100px;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: rgba(74, 144, 217, 0.08);
    border-bottom: 1px solid rgba(74, 144, 217, 0.15);
}

.panel-tag {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--muted-gray);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.panel-status {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: #4caf50;
}

.panel-content {
    padding: 1.5rem;
}

.code-block {
    background: var(--deep-base);
    border-radius: 8px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    box-shadow:
        inset 3px 3px 6px var(--neo-dark),
        inset -3px -3px 6px var(--neo-light);
}

.code-line {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    line-height: 1.8;
    color: var(--off-white);
}

.code-keyword {
    color: var(--primary-blue);
    font-weight: 600;
}

.code-func {
    color: var(--accent-gold);
}

.code-string {
    color: #8bc34a;
}

.code-num {
    color: #ff7043;
}

.panel-output {
    background: var(--deep-base);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    box-shadow:
        inset 3px 3px 6px var(--neo-dark),
        inset -3px -3px 6px var(--neo-light);
}

.output-line {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    line-height: 1.8;
    color: var(--muted-gray);
    opacity: 0;
    transform: translateX(-10px);
    animation: outputReveal 0.5s ease forwards;
}

.output-line:nth-child(1) { animation-delay: 0.3s; }
.output-line:nth-child(2) { animation-delay: 0.6s; }
.output-line:nth-child(3) { animation-delay: 0.9s; }
.output-line:nth-child(4) { animation-delay: 1.2s; }
.output-line:nth-child(5) { animation-delay: 1.5s; }

@keyframes outputReveal {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.output-success {
    color: #4caf50;
}

.output-highlight {
    color: var(--accent-gold);
    font-weight: 600;
}

/* ============ METHODOLOGY ============ */
.methodology-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.method-card {
    cursor: default;
}

.method-number {
    font-family: var(--font-mono);
    font-size: 2rem;
    font-weight: 700;
    color: rgba(74, 144, 217, 0.2);
    margin-bottom: 0.75rem;
}

.method-title {
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 600;
    color: var(--off-white);
    margin-bottom: 0.75rem;
}

.method-text {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--muted-gray);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.method-bar {
    height: 4px;
    background: var(--deep-base);
    border-radius: 2px;
    overflow: hidden;
    box-shadow:
        inset 2px 2px 4px var(--neo-dark),
        inset -2px -2px 4px var(--neo-light);
}

.method-bar-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-gold));
    border-radius: 2px;
    transition: width 1.5s ease;
}

/* ============ APPLICATIONS ============ */
.app-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.app-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    border: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.app-card.active {
    border-color: rgba(74, 144, 217, 0.3);
}

.app-indicator {
    width: 4px;
    height: 40px;
    border-radius: 2px;
    background: var(--muted-gray);
    transition: background 0.3s ease, height 0.3s ease;
    flex-shrink: 0;
}

.app-card.active .app-indicator {
    background: var(--primary-blue);
    height: 48px;
}

.app-info {
    flex: 1;
}

.app-title {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--off-white);
    margin-bottom: 0.3rem;
}

.app-text {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--muted-gray);
    line-height: 1.5;
}

.app-metric {
    text-align: right;
    flex-shrink: 0;
}

.metric-value {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--accent-gold);
}

.metric-label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--muted-gray);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ============ VISUALIZATION ============ */
.app-visualization {
    background: var(--neo-surface);
    border-radius: 12px;
    box-shadow:
        6px 6px 14px var(--neo-dark),
        -6px -6px 14px var(--neo-light);
    overflow: hidden;
    position: sticky;
    top: 100px;
}

.vis-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(74, 144, 217, 0.15);
}

.vis-title {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--off-white);
}

.vis-badge {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: #4caf50;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.vis-canvas {
    padding: 1rem;
    display: flex;
    justify-content: center;
}

.vis-canvas canvas {
    width: 100%;
    max-width: 500px;
    height: auto;
    display: block;
}

.vis-footer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid rgba(74, 144, 217, 0.15);
}

.vis-stat {
    text-align: center;
    padding: 1rem;
    border-right: 1px solid rgba(74, 144, 217, 0.1);
}

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

.vis-stat-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--muted-gray);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.3rem;
}

.vis-stat-value {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-blue);
}

/* ============ RESEARCH ============ */
.research-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.research-card {
    display: flex;
    flex-direction: column;
}

.research-tag {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
    padding: 0.3rem 0.7rem;
    background: rgba(232, 184, 75, 0.1);
    border-radius: 4px;
    display: inline-block;
    align-self: flex-start;
}

.research-title {
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 600;
    color: var(--off-white);
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

.research-authors {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
}

.research-abstract {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--muted-gray);
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
}

.research-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(74, 144, 217, 0.1);
}

.research-date,
.research-citations {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--muted-gray);
}

.research-citations {
    color: var(--accent-gold);
}

/* ============ CONTACT ============ */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-detail {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.contact-value {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    color: var(--off-white);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.neo-input {
    font-family: var(--font-mono);
    font-size: 0.88rem;
    color: var(--off-white);
    background: var(--deep-base);
    border: 1px solid rgba(74, 144, 217, 0.15);
    border-radius: 8px;
    padding: 0.85rem 1rem;
    box-shadow:
        inset 3px 3px 6px var(--neo-dark),
        inset -3px -3px 6px var(--neo-light);
    transition: border-color 0.3s ease;
    outline: none;
}

.neo-input:hover,
.neo-input:focus {
    border-color: var(--primary-blue);
}

.neo-input::placeholder {
    color: rgba(108, 117, 125, 0.6);
}

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

select.neo-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234a90d9' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

/* ============ FOOTER ============ */
.site-footer {
    border-top: 1px solid rgba(74, 144, 217, 0.1);
    padding: 3rem 2rem;
    background: rgba(17, 17, 34, 0.5);
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-family: var(--font-mono);
    font-size: 0.95rem;
    font-weight: 600;
}

.footer-text p {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--muted-gray);
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--muted-gray);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: color 0.3s ease;
}

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

/* ============ PULSE ANIMATION ============ */
.pulse-element {
    animation: pulseAttention 3s ease-in-out infinite;
}

@keyframes pulseAttention {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.03);
        opacity: 0.9;
    }
}

/* ============ SCROLL REVEAL ============ */
.reveal-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* ============ DUOTONE FILTER ============ */
.duotone {
    filter: grayscale(100%) sepia(20%) hue-rotate(180deg) saturate(200%) brightness(0.8);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
    .methodology-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-split {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

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

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

    .hero {
        padding: 5rem 1.5rem 3rem;
    }

    .section {
        padding: 4rem 1.5rem;
    }

    .tx-node-inner {
        width: 85px;
        height: 85px;
    }

    .tx-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

    .application-panel,
    .app-visualization {
        position: static;
    }

    .app-card {
        flex-wrap: wrap;
    }

    .app-metric {
        width: 100%;
        text-align: left;
        margin-top: 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .hero-cta-group {
        flex-direction: column;
    }

    .neo-btn {
        text-align: center;
    }
}