:root {
    --ink: #1e293b;
    --ink-soft: #475569;
    --paper: #f8fafc;
    --paper-deep: #ffffff;
    --panel: rgba(255, 255, 255, 0.85);
    --line: rgba(0, 0, 0, 0.08);
    --accent: #10b981;
    --accent-soft: #34d399;
    --accent-dark: #059669;
    --forest: #064e3b;
    --color-red: #ef4444;
    --color-blue: #3b82f6;
    --color-orange: #f97316;
    --color-yellow: #eab308;
    --color-purple: #a855f7;
    --color-emerald: #10b981;
    --font-heading: "Sora", "Noto Sans TC", sans-serif;
    --font-body: "Noto Sans TC", sans-serif;
    --shadow: 0 12px 30px rgba(0, 0, 0, 0.04);
    --radius-xl: 32px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink);
    background: #ffffff; /* 純白色背景 */
    position: relative;
    overflow-x: hidden;
}

body::before {
    display: none;
    content: "";
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 10% 20%, rgba(16, 185, 129, 0.35) 0%, transparent 40%), /* 翠綠色 */
        radial-gradient(circle at 85% 15%, rgba(59, 130, 246, 0.35) 0%, transparent 40%), /* 藍色 */
        radial-gradient(circle at 80% 80%, rgba(168, 85, 247, 0.35) 0%, transparent 40%), /* 紫色 */
        radial-gradient(circle at 20% 85%, rgba(249, 115, 22, 0.35) 0%, transparent 40%), /* 橘色 */
        radial-gradient(circle at 50% 50%, rgba(234, 179, 8, 0.35) 0%, transparent 40%),  /* 黃色 */
        radial-gradient(circle at 45% 10%, rgba(239, 68, 68, 0.35) 0%, transparent 40%);  /* 紅色 */
    filter: blur(14px);
    pointer-events: none;
    z-index: 0;
    animation: smoothFlow 12s ease-in-out infinite alternate;
}

@keyframes smoothFlow {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.1) translate(-2% , 3%); }
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.04;
    mix-blend-mode: overlay;
    pointer-events: none;
    z-index: 1;
}

.site-shell {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}



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

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 1rem;
    font-family: var(--font-heading);
    line-height: 1.12;
}

p {
    margin: 0 0 1rem;
}

.container {
    width: min(1240px, calc(100% - 2rem));
    margin: 0 auto;
}

.topbar {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    color: var(--ink-soft);
    border-bottom: 1px solid var(--line);
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    padding: 0.8rem 0;
    font-size: 0.95rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(24px);
    background: rgba(255, 255, 255, 0.75);
    border-bottom: 1px solid var(--line);
    transition: var(--transition);
}
.site-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
}

.nav-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    padding: 1rem 0;
}

.brand,
.footer-brand-row {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
}

.brand-mark {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: linear-gradient(135deg, #10b981, #3b82f6, #a855f7);
    background-size: 200% 200%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-family: var(--font-heading);
    box-shadow: 0 10px 20px rgba(168, 85, 247, 0.3);
    animation: gradientShift 5s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-copy strong {
    font-size: 1.05rem;
}

.brand-copy span {
    color: var(--ink-soft);
    font-size: 0.82rem;
}

.nav-links {
    display: flex;
    gap: 1.8rem;
}

.nav-links a {
    position: relative;
    color: var(--ink-soft);
    font-weight: 500;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.35rem;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #10b981, #3b82f6, #a855f7, #f97316, #eab308, #ef4444);
    border-radius: 3px;
    transition: var(--transition);
}

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

.nav-button,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.4rem;
    border-radius: 999px;
    font-weight: 700;
    transition: var(--transition);
}

.nav-button,
.button-primary {
    background: linear-gradient(135deg, #3b82f6, #a855f7, #f97316);
    background-size: 200% auto;
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(168, 85, 247, 0.3);
    border: none;
    transition: all 0.4s ease;
}

.button-secondary {
    border: 1px solid #10b981;
    color: var(--ink);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.15);
}

.nav-button:hover,
.button-primary:hover {
    transform: translateY(-2px);
    background-position: right center;
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.4);
}

.button-secondary:hover {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid #10b981;
    transform: translateY(-2px);
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 5rem 0 4rem;
}

.hero-gradient {
    display: none;
}

.hero-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
    align-items: center;
}

.hero-main {
    padding: 2rem 0;
}

.eyebrow,
.section-kicker,
.hero-note-label,
.process-tag {
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.8rem;
    color: var(--accent-dark);
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6.3rem);
    letter-spacing: -0.06em;
    max-width: none;
    background: linear-gradient(135deg, #10b981, #3b82f6, #a855f7, #f97316, #eab308, #ef4444);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 6s ease infinite;
}

.hero-title span {
    display: block;
}

.hero-subtitle {
    max-width: 42rem;
    font-size: 1.12rem;
    color: var(--ink-soft);
    line-height: 1.9;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.hero-side {
    display: grid;
    gap: 1rem;
}

.hero-note {
    padding: 1.7rem;
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.hero-note h2 {
    font-size: 1.6rem;
}

.hero-note p {
    color: var(--ink-soft);
    line-height: 1.8;
}

.hero-orbit {
    min-height: 330px;
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid var(--line);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.orbit-core {
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ef4444, #f97316, #eab308);
    background-size: 200% auto;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    z-index: 3;
    box-shadow: 0 0 35px rgba(249, 115, 22, 0.5);
    animation: gradientShift 4s ease infinite;
}

.orbit-ring {
    position: absolute;
    inset: 50% auto auto 50%;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transform: translate(-50%, -50%);
}

.orbit-ring-one {
    width: 180px;
    height: 180px;
}

.orbit-ring-two {
    width: 270px;
    height: 270px;
}

.orbit-dot {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #10b981; /* 翠綠色 */
    box-shadow: 0 0 18px rgba(16, 185, 129, 0.8);
}

.orbit-dot-one {
    top: 50%;
    left: 50%;
    margin: -7px 0 0 -7px;
    animation: orbitOne 3s linear infinite;
}

.orbit-dot-two {
    top: 50%;
    left: 50%;
    margin: -7px 0 0 -7px;
    background: #3b82f6; /* 純藍色 */
    box-shadow: 0 0 18px rgba(59, 130, 246, 0.8);
    animation: orbitTwo 4s linear infinite reverse;
}

.orbit-dot-three {
    bottom: 48px;
    left: 27%;
    background: #a855f7; /* 魅力紫 */
    box-shadow: 0 0 18px rgba(168, 85, 247, 0.8);
    animation: floatDot 2.5s ease-in-out infinite;
}

@keyframes orbitOne {
    0% { transform: rotate(0deg) translateX(90px) rotate(0deg); }
    100% { transform: rotate(360deg) translateX(90px) rotate(-360deg); }
}

@keyframes orbitTwo {
    0% { transform: rotate(0deg) translateX(135px) rotate(0deg); }
    100% { transform: rotate(360deg) translateX(135px) rotate(-360deg); }
}

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

.stats {
    margin-top: -2rem;
    position: relative;
    z-index: 2;
}

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

.corporate-entry {
    padding-top: 1rem;
}

.hub-grid,
.board-grid {
    display: grid;
    gap: 1.2rem;
}

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

.hub-card,
.board-panel {
    padding: 1.8rem;
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.hub-card:hover, .board-panel:hover {
    background: #ffffff;
    transform: translateY(-4px);
    border-color: #a855f7;
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.15), 0 5px 15px rgba(59, 130, 246, 0.1);
}

.hub-card p,
.board-panel p {
    color: var(--ink-soft);
}

.hub-card .button,
.board-panel .button {
    margin-top: 1rem;
}

.board-grid {
    grid-template-columns: 1.1fr 0.9fr;
}

.board-panel-dark {
    background:
        radial-gradient(circle at top right, rgba(168, 85, 247, 0.25), transparent 60%),
        radial-gradient(circle at bottom left, rgba(249, 115, 22, 0.25), transparent 60%),
        radial-gradient(circle at top left, rgba(59, 130, 246, 0.15), transparent 60%),
        rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(168, 85, 247, 0.4);
    color: var(--ink);
}

.board-panel-dark p,
.board-panel-dark .section-kicker {
    color: var(--ink-soft);
}

.action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.2rem;
}

.stat-card {
    padding: 1.6rem;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.stat-card:hover {
    transform: translateY(-4px);
    background: #ffffff;
    border-color: #3b82f6;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.15), 0 5px 15px rgba(249, 115, 22, 0.1);
}

.stat-value-group {
    display: flex;
    align-items: baseline;
    gap: 0.2rem;
    margin-bottom: 0.4rem;
}

.stat-number,
.stat-suffix {
    font-family: var(--font-heading);
    background: linear-gradient(135deg, #10b981, #3b82f6, #a855f7, #f97316);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 6s ease infinite reverse;
}

.stat-number {
    font-size: 2.6rem;
    font-weight: 800;
}

.stat-suffix {
    font-size: 1.4rem;
    font-weight: 700;
}

.stat-card p {
    margin: 0;
    color: var(--ink-soft);
}

.section {
    padding: 6rem 0;
}


.section-header {
    max-width: 760px;
    margin-bottom: 2.5rem;
}

.section-header h2 {
    font-size: clamp(2.2rem, 4vw, 4rem);
    letter-spacing: -0.05em;
}

.technology {
    background: transparent;
}

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

.process-card {
    padding: 1.8rem;
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    border: 1px solid var(--line);
    min-height: 300px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.technology-grid .process-card:hover {
    background: #ffffff;
    transform: translateY(-8px);
    border-color: #eab308;
    box-shadow: 0 15px 35px rgba(234, 179, 8, 0.15), 0 5px 15px rgba(239, 68, 68, 0.1);
}

.process-card.featured {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(59, 130, 246, 0.15), rgba(168, 85, 247, 0.15));
    border-color: rgba(59, 130, 246, 0.5);
    transform: translateY(24px);
    box-shadow: 0 12px 30px rgba(59, 130, 246, 0.15);
}

.process-card.featured:hover {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.25), rgba(59, 130, 246, 0.25), rgba(168, 85, 247, 0.25));
    border-color: #a855f7;
    transform: translateY(16px);
    box-shadow: 0 20px 40px rgba(168, 85, 247, 0.25), 0 10px 20px rgba(59, 130, 246, 0.15);
}

.process-tag {
    display: inline-flex;
    margin-bottom: 1rem;
}

.process-card h3 {
    font-size: 1.45rem;
}

.process-card p {
    color: var(--ink-soft);
    line-height: 1.8;
    flex: 1;
}

.process-card a {
    color: var(--accent-dark);
    font-weight: 700;
}

.materials {
    background: transparent;
    position: relative;
}

.materials-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 2rem;
    align-items: start;
}

.materials-list {
    display: grid;
    gap: 1rem;
}

.materials-list article {
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid var(--line);
    transition: var(--transition);
}
.materials-list article:hover {
    background: #ffffff;
    transform: translateX(-8px);
    border-color: #ef4444;
    box-shadow: -12px 12px 30px rgba(239, 68, 68, 0.15), 0 5px 15px rgba(249, 115, 22, 0.1);
}

.materials-list span {
    display: inline-block;
    margin-bottom: 0.6rem;
    color: var(--accent-dark);
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
}

.materials-list h3 {
    font-size: 1.4rem;
}

.materials-list p {
    color: var(--ink-soft);
    margin: 0;
}

.manifesto {
    background: transparent;
    color: var(--ink);
}

.manifesto-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2rem;
    align-items: stretch;
}

.manifesto-panel,
.quote-block {
    border-radius: var(--radius-xl);
    border: 1px solid var(--line);
}

.manifesto-panel {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.85);
}

.manifesto-panel p {
    color: var(--ink-soft);
}

.manifesto-list {
    list-style: none;
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
}

.manifesto-list li {
    position: relative;
    padding-left: 1.6rem;
    color: var(--ink);
}

.manifesto-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #10b981, #3b82f6);
    border-radius: 2px;
    animation: rotateSlow 8s linear infinite;
}

.quote-block {
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 2rem;
    background:
        radial-gradient(circle at top left, rgba(16, 185, 129, 0.2), transparent 50%),
        radial-gradient(circle at bottom right, rgba(234, 179, 8, 0.2), transparent 50%),
        rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(234, 179, 8, 0.4);
}

.quote-block p {
    margin: 0;
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2.4rem);
    line-height: 1.35;
}

.about {
    background: transparent;
}

.about-layout {
    display: grid;
    gap: 2rem;
}

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

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

.page-link-card {
    display: grid;
    gap: 0.75rem;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.page-link-card:hover {
    background: #ffffff;
    border-color: #10b981;
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.15), 0 5px 15px rgba(59, 130, 246, 0.1);
}

.page-link-card strong {
    font-size: 1.05rem;
    line-height: 1.5;
}

.page-link-label {
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent-dark);
}

.page-hero {
    padding: 5rem 0 2rem;
}

.page-hero-layout,
.page-section-grid,
.contact-page-grid,
.service-grid,
.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.4rem;
}

.page-hero-copy,
.page-hero-panel,
.detail-card,
.feature-panel,
.contact-form-card {
    padding: 2rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--line);
    background: rgba(255, 250, 243, 0.9);
    box-shadow: var(--shadow);
}

.page-hero-copy {
    background:
        radial-gradient(circle at top left, rgba(201, 110, 45, 0.16), transparent 28%),
        rgba(248, 250, 252, 0.92);
}

.page-hero-copy h1 {
    font-size: clamp(2.4rem, 4vw, 4.4rem);
}

.detail-stack {
    display: grid;
    gap: 1rem;
}

.detail-card h3,
.feature-panel h3,
.contact-form-card h3 {
    margin-bottom: 0.75rem;
}

.alt-surface {
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.55), rgba(236, 222, 202, 0.55));
}

.check-list {
    display: grid;
    gap: 0.8rem;
    margin: 1.5rem 0;
}

.check-list p {
    margin: 0;
    padding: 0.9rem 1rem;
    border-radius: var(--radius-md);
    background: rgba(36, 53, 42, 0.05);
    border: 1px solid rgba(36, 53, 42, 0.08);
}

.contact-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.about-card {
    padding: 1.6rem;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.contact {
    background: transparent;
}

.contact-banner {
    padding: 2rem;
    border-radius: var(--radius-xl);
    background: 
        radial-gradient(circle at right, rgba(239, 68, 68, 0.12), transparent 50%),
        radial-gradient(circle at left, rgba(234, 179, 8, 0.12), transparent 50%),
        rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    align-items: center;
}

.footer {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--line);
    color: var(--ink);
    padding: 4.5rem 0 2rem;
}

.footer-layout {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    padding-bottom: 2rem;
}

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

.footer-brand p,
.link-col a,
.footer-bottom p,
.legal-links a {
    color: var(--ink-soft);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.link-col {
    display: grid;
    gap: 0.8rem;
}

.link-col h4 {
    margin-bottom: 0.4rem;
}

.footer-bottom {
    padding-top: 1.4rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.legal-links {
    display: flex;
    gap: 1rem;
}

.fade-up,
.fade-left,
.fade-right {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up {
    transform: translateY(28px);
}

.fade-left {
    transform: translateX(28px);
}

.fade-right {
    transform: translateX(-28px);
}

.animate {
    opacity: 1;
    transform: translate(0, 0);
}

.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }

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

    .hero-layout,
    .hub-grid,
    .board-grid,
    .page-hero-layout,
    .page-section-grid,
    .materials-layout,
    .manifesto-layout,
    .technology-grid,
    .about-grid,
    .contact-page-grid,
    .service-grid,
    .feature-grid,
    .page-links {
        grid-template-columns: 1fr;
    }

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

    .process-card.featured {
        transform: none;
    }

    .footer-layout,
    .contact-banner {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-links {
        width: 100%;
    }
}

@media (max-width: 720px) {
    .container {
        width: min(calc(100% - 1.2rem), 1240px);
    }

    .topbar-inner,
    .nav-row,
    .stats-grid,
    .page-links,
    .footer-links,
    .footer-bottom {
        grid-template-columns: 1fr;
    }

    .topbar-inner,
    .nav-row,
    .footer-bottom {
        display: grid;
    }

    .hero {
        padding-top: 3rem;
    }

    .hero-actions {
        display: grid;
    }

    .button {
        width: 100%;
    }

    .quote-block p {
        font-size: 1.5rem;
    }
}

.eyebrow { color: var(--color-emerald) !important; }

.nav-links a.nav-active {
    color: var(--accent-dark);
    font-weight: 700;
}
.nav-links a.nav-active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 30;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: var(--transition);
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
    .nav-toggle {
        display: flex;
    }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        padding: 1rem 1.5rem 1.5rem;
        border-bottom: 1px solid var(--line);
        gap: 1.2rem;
        box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    }
    .nav-links.nav-open {
        display: flex;
    }
}

.site-shell::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #10b981, #3b82f6, #a855f7, #f97316, #eab308, #ef4444);
    background-size: 200% 100%;
    z-index: 9999;
    animation: gradientShift 10s ease infinite;
}

@keyframes rotateSlow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
