:root {
    --navy: #1C1D4D;
    --cyan: #00D8D5;
    --teal: #59E7E0;
    --mint: #B2F6EB;
    --deep-navy: #0F172A;
    --bg-primary: #0a0e1a;
    --bg-card: #111631;
    --bg-card-hover: #181e42;
    --text-primary: #f0f4ff;
    --text-secondary: #a0aec0;
    --ff-heading: 'Montserrat', sans-serif;
    --ff-body: 'Poppins', sans-serif;
}

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

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

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

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

a {
    color: var(--cyan);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--teal);
}

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

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

.section-subtitle {
    display: inline-block;
    font-family: var(--ff-body);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--ff-heading);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 24px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--ff-heading);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--deep-navy);
    background: var(--cyan);
    padding: 14px 32px;
    border-radius: 8px;
    border: 2px solid var(--cyan);
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
    text-decoration: none;
}

.btn-primary:hover {
    background: transparent;
    color: var(--cyan);
    transform: translateY(-2px);
}

.hashgraph-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    opacity: 0.25;
}

.hg-thread {
    stroke: var(--cyan);
    stroke-width: 0.5;
    opacity: 0.06;
    stroke-dasharray: 4 8;
}

.hg-self {
    stroke: var(--cyan);
    stroke-width: 1.2;
    opacity: 0.18;
}

.hg-edge {
    stroke: var(--teal);
    stroke-width: 0.7;
    opacity: 0.22;
}

.hg-node {
    fill: var(--cyan);
    animation: nodePulse 4s ease-in-out infinite;
}

.hg-n {
    opacity: 0.5;
}

.hg-n:nth-child(odd) { animation-delay: 0s; }
.hg-n:nth-child(even) { animation-delay: 1.5s; }
.hg-n:nth-child(3n) { animation-delay: 0.7s; }
.hg-n:nth-child(5n) { animation-delay: 2s; }
.hg-n:nth-child(7n) { animation-delay: 1.2s; }

.hg-packet {
    fill: var(--mint);
    opacity: 0;
}

@keyframes nodePulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

.hg-packet-1 { animation: packet1 8s linear infinite 0s; }
.hg-packet-2 { animation: packet2 9s linear infinite 1.2s; }
.hg-packet-3 { animation: packet3 7s linear infinite 2.5s; }
.hg-packet-4 { animation: packet4 8.5s linear infinite 0.8s; }
.hg-packet-5 { animation: packet5 10s linear infinite 3.5s; }
.hg-packet-6 { animation: packet6 7.5s linear infinite 1.8s; }
.hg-packet-7 { animation: packet7 9s linear infinite 4s; }
.hg-packet-8 { animation: packet8 8s linear infinite 2s; }

@keyframes packet1 {
    0% { cx: 120; cy: 50; opacity: 0; }
    5% { opacity: 0.9; }
    20% { cx: 120; cy: 170; }
    50% { cx: 330; cy: 220; }
    75% { cx: 120; cy: 340; }
    95% { opacity: 0.9; }
    100% { cx: 540; cy: 360; opacity: 0; }
}

@keyframes packet2 {
    0% { cx: 540; cy: 60; opacity: 0; }
    5% { opacity: 0.9; }
    25% { cx: 750; cy: 240; }
    50% { cx: 960; cy: 380; }
    75% { cx: 750; cy: 420; }
    95% { opacity: 0.9; }
    100% { cx: 960; cy: 560; opacity: 0; }
}

@keyframes packet3 {
    0% { cx: 960; cy: 70; opacity: 0; }
    5% { opacity: 0.9; }
    25% { cx: 750; cy: 240; }
    50% { cx: 540; cy: 550; }
    75% { cx: 120; cy: 720; }
    95% { opacity: 0.9; }
    100% { cx: 540; cy: 880; opacity: 0; }
}

@keyframes packet4 {
    0% { cx: 330; cy: 580; opacity: 0; }
    5% { opacity: 0.9; }
    25% { cx: 540; cy: 700; }
    50% { cx: 330; cy: 960; }
    75% { cx: 120; cy: 1100; }
    95% { opacity: 0.9; }
    100% { cx: 540; cy: 1240; opacity: 0; }
}

@keyframes packet5 {
    0% { cx: 750; cy: 780; opacity: 0; }
    5% { opacity: 0.9; }
    25% { cx: 960; cy: 920; }
    50% { cx: 750; cy: 940; }
    75% { cx: 960; cy: 1080; }
    95% { opacity: 0.9; }
    100% { cx: 750; cy: 1320; opacity: 0; }
}

@keyframes packet6 {
    0% { cx: 120; cy: 1300; opacity: 0; }
    5% { opacity: 0.9; }
    25% { cx: 330; cy: 1560; }
    50% { cx: 540; cy: 1640; }
    75% { cx: 330; cy: 1980; }
    95% { opacity: 0.9; }
    100% { cx: 120; cy: 1920; opacity: 0; }
}

@keyframes packet7 {
    0% { cx: 960; cy: 1480; opacity: 0; }
    5% { opacity: 0.9; }
    25% { cx: 750; cy: 1720; }
    50% { cx: 960; cy: 1900; }
    75% { cx: 330; cy: 2180; }
    95% { opacity: 0.9; }
    100% { cx: 750; cy: 2360; opacity: 0; }
}

@keyframes packet8 {
    0% { cx: 540; cy: 1440; opacity: 0; }
    5% { opacity: 0.9; }
    25% { cx: 960; cy: 1680; }
    50% { cx: 750; cy: 1940; }
    75% { cx: 540; cy: 2060; }
    95% { opacity: 0.9; }
    100% { cx: 960; cy: 2320; opacity: 0; }
}


#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

#header.scrolled {
    background: rgba(10, 14, 26, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

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

.logo img {
    height: 40px;
    width: auto;
}

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

.nav-desktop a {
    font-family: var(--ff-heading);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.nav-desktop a:hover {
    color: var(--cyan);
}

.header-cta {
    font-family: var(--ff-heading);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--deep-navy);
    background: var(--cyan);
    padding: 10px 24px;
    border-radius: 6px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.header-cta:hover {
    background: var(--teal);
    color: var(--deep-navy);
    transform: translateY(-1px);
}

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

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

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

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

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

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(320px, 85vw);
    height: 100vh;
    background: var(--bg-card);
    z-index: 999;
    padding: 100px 32px 40px;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 32px;
    overflow-y: auto;
}

.mobile-menu.open {
    right: 0;
}

.mobile-menu nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mobile-menu nav a {
    font-family: var(--ff-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-menu nav a:hover {
    color: var(--cyan);
}

.mobile-menu-info {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.mobile-menu-info p {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.mobile-menu-social {
    display: flex;
    gap: 16px;
}

.mobile-menu-social a {
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.mobile-menu-social a:hover {
    color: var(--cyan);
}

.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    z-index: 1;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-subtitle {
    display: inline-block;
    font-family: var(--ff-body);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.hero h1 {
    font-family: var(--ff-heading);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero h2 {
    font-family: var(--ff-heading);
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
    line-height: 1.4;
}

.hero p {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 520px;
}

.hero-lighthouse {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.lighthouse-svg {
    width: 100%;
    max-width: 320px;
    height: auto;
    filter: drop-shadow(0 0 40px rgba(0, 216, 213, 0.2));
    overflow: visible;
}

.lighthouse-beam-group {
    transform-origin: 150px 115px;
    animation: beamSweep 6s ease-in-out infinite;
}

.lighthouse-beam {
    opacity: 0.6;
}

.lh-beam-left {
    opacity: 0.25;
}

.lantern-glow {
    animation: lanternPulse 3s ease-in-out infinite;
}

.lh-window-glow {
    animation: windowGlow 3s ease-in-out infinite;
}

.lh-tip {
    animation: tipGlow 2s ease-in-out infinite;
}

.ct-node {
    opacity: 0.5;
    animation: ctPulse 3s ease-in-out infinite;
}

.ct-node:nth-child(odd) { animation-delay: 0s; }
.ct-node:nth-child(even) { animation-delay: 1.5s; }
.ct-node:nth-child(3n) { animation-delay: 0.8s; }
.ct-node:nth-child(5n) { animation-delay: 2.2s; }

.ct-glow {
    animation: ctGlowPulse 4s ease-in-out infinite;
}

@keyframes beamSweep {
    0% { transform: rotate(-18deg); }
    50% { transform: rotate(18deg); }
    100% { transform: rotate(-18deg); }
}

@keyframes lanternPulse {
    0%, 100% { opacity: 0.5; r: 32; }
    50% { opacity: 0.9; r: 42; }
}

@keyframes windowGlow {
    0%, 100% { opacity: 0.15; }
    50% { opacity: 0.5; }
}

@keyframes tipGlow {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

@keyframes ctPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.9; }
}

@keyframes ctGlowPulse {
    0%, 100% { opacity: 0.1; }
    50% { opacity: 0.3; }
}


.about {
    position: relative;
    z-index: 1;
    padding: 100px 0;
}

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

.about-image img,
.about-image svg {
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.wallets-svg {
    width: 100%;
    height: auto;
    border-radius: 16px;
}

@keyframes walletFloat1 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}
@keyframes walletFloat2 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}
@keyframes walletFloat3 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}
.wallet-float-1 { animation: walletFloat1 4s ease-in-out infinite; }
.wallet-float-2 { animation: walletFloat2 5s ease-in-out infinite; }
.wallet-float-3 { animation: walletFloat3 3.5s ease-in-out infinite; }

@keyframes clusterPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.7; }
}
.cluster-pulse-1 { animation: clusterPulse 3s ease-in-out infinite; }
.cluster-pulse-2 { animation: clusterPulse 3s ease-in-out 1s infinite; }
.cluster-pulse-3 { animation: clusterPulse 3s ease-in-out 2s infinite; }

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-size: 0.9375rem;
}

.about-text a {
    font-weight: 600;
}


.services {
    position: relative;
    z-index: 1;
    padding: 100px 0;
    background: transparent;
}

.services > .container {
    position: relative;
    z-index: 3;
}

.services-header {
    max-width: 700px;
    margin-bottom: 60px;
}

.services-header p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.services-stack {
    display: flex;
    justify-content: center;
    padding: 20px 0;
}

.stack-svg {
    width: 100%;
    max-width: 800px;
    height: auto;
}

@keyframes stackPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}
.stack-pulse { animation: stackPulse 3s ease-in-out infinite; }

@keyframes stackFadeIn {
    0%, 100% { opacity: 0.85; }
    50% { opacity: 1; }
}
.stack-node { animation: stackFadeIn 4s ease-in-out infinite; }
.stack-fade-1 { animation-delay: 0s; }
.stack-fade-2 { animation-delay: 0.3s; }
.stack-fade-3 { animation-delay: 0.6s; }
.stack-fade-4 { animation-delay: 0.9s; }
.stack-fade-5 { animation-delay: 0.2s; }
.stack-fade-6 { animation-delay: 0.5s; }
.stack-fade-7 { animation-delay: 0.8s; }
.stack-fade-8 { animation-delay: 1.1s; }
.stack-fade-9 { animation-delay: 1.4s; }
.stack-fade-10 { animation-delay: 0.4s; }
.stack-fade-11 { animation-delay: 0.7s; }
.stack-fade-12 { animation-delay: 1.0s; }
.stack-fade-13 { animation-delay: 1.3s; }
.stack-fade-14 { animation-delay: 1.6s; }

.services-mobile {
    display: none;
}

.founder {
    position: relative;
    z-index: 1;
    padding: 100px 0;
}

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

.founder-text p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-size: 0.9375rem;
}

.founder-text .section-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.founder-text .section-title a:hover {
    color: var(--cyan);
}

.founder-image img {
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 360px;
    width: 100%;
    margin-left: auto;
    display: block;
}

.contact {
    position: relative;
    z-index: 1;
    padding: 100px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 420px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.contact-detail {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-detail span,
.contact-detail a {
    font-size: 0.9375rem;
    color: var(--text-primary);
}

.contact-social {
    display: flex;
    gap: 16px;
}

.contact-social a {
    color: var(--text-secondary);
    transition: color 0.3s ease, transform 0.2s ease;
}

.contact-social a:hover {
    color: var(--cyan);
    transform: translateY(-2px);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    font-family: var(--ff-body);
    font-size: 0.9375rem;
    color: var(--text-primary);
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 14px 18px;
    outline: none;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-secondary);
    opacity: 0.6;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--cyan);
    background: rgba(17, 22, 49, 0.8);
}

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

.btn-submit {
    align-self: flex-start;
}

.form-response {
    font-size: 0.875rem;
    padding: 0;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.form-response.success {
    color: var(--mint);
    background: rgba(0, 216, 213, 0.1);
    padding: 12px 18px;
}

.form-response.error {
    color: #ff6b6b;
    background: rgba(255, 107, 107, 0.1);
    padding: 12px 18px;
}

.footer {
    position: relative;
    z-index: 1;
    background: var(--deep-navy);
    padding: 40px 0;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo img {
    height: 36px;
    width: auto;
    opacity: 0.7;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--cyan);
}

.footer-copy {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    opacity: 0.6;
    width: 100%;
    text-align: center;
    margin-top: 12px;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--cyan);
    z-index: 100;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.back-to-top:hover {
    background: var(--cyan);
    color: var(--deep-navy);
}

@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

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

    .hero-lighthouse {
        order: -1;
    }

    .lighthouse-svg {
        max-width: 200px;
    }

    .about-grid,
    .founder-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .founder-image img {
        margin: 0 auto;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .stack-svg {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .nav-desktop,
    .header-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .hero h2 {
        font-size: 1.125rem;
    }

    .about,
    .contact,
    .founder {
        padding: 60px 0;
    }

    .services {
        padding: 100px 0;
    }


    .form-row {
        grid-template-columns: 1fr;
    }

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

    .services-stack {
        display: none;
    }

    .services-mobile {
        display: flex;
        flex-direction: column;
        gap: 0;
        align-items: stretch;
    }

    .stack-layer {
        border: 1px solid rgba(89, 231, 224, 0.25);
        border-radius: 10px;
        padding: 16px;
        background: rgba(17, 22, 49, 0.25);
    }

    .stack-layer-hub {
        border-color: var(--cyan);
        background: rgba(17, 22, 49, 0.5);
        text-align: center;
        padding: 20px 16px;
    }

    .stack-layer-base {
        border-color: rgba(0, 216, 213, 0.5);
    }

    .stack-label {
        display: block;
        font-family: var(--ff-heading);
        font-size: 0.625rem;
        font-weight: 700;
        letter-spacing: 2px;
        text-transform: uppercase;
        color: var(--teal);
        opacity: 0.6;
        margin-bottom: 10px;
    }

    .stack-layer-base .stack-label {
        color: var(--cyan);
    }

    .stack-cards {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .stack-card {
        font-family: var(--ff-body);
        font-size: 0.75rem;
        font-weight: 500;
        color: var(--mint);
        padding: 6px 12px;
        border: 1px solid rgba(89, 231, 224, 0.2);
        border-radius: 6px;
        background: rgba(17, 22, 49, 0.6);
    }

    .stack-card-foundation {
        border-color: rgba(0, 216, 213, 0.35);
    }

    .stack-hub-title {
        display: block;
        font-family: var(--ff-heading);
        font-size: 1.125rem;
        font-weight: 700;
        color: var(--cyan);
        letter-spacing: 1px;
    }

    .stack-hub-sub {
        display: block;
        font-family: var(--ff-body);
        font-size: 0.75rem;
        color: var(--mint);
        opacity: 0.7;
        margin-top: 2px;
    }

    .stack-arrow-mobile {
        width: 2px;
        height: 24px;
        margin: 0 auto;
        background: linear-gradient(to bottom, rgba(0, 216, 213, 0.4), rgba(0, 216, 213, 0.1));
    }

    .lighthouse-svg {
        max-width: 160px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero h1 {
        font-size: 1.875rem;
    }

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

    .btn-primary {
        width: 100%;
        justify-content: center;
    }

    .btn-submit {
        align-self: stretch;
    }

    .stack-card {
        font-size: 0.6875rem;
        padding: 5px 10px;
    }

    .stack-hub-title {
        font-size: 1rem;
    }

    .services {
        padding: 60px 0;
    }
}

@media (min-width: 1440px) {
    .container {
        max-width: 1320px;
    }

    .hero h1 {
        font-size: 4rem;
    }

    .stack-svg {
        max-width: 960px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .hashgraph-bg {
        display: none;
    }
}
