/* Base Styles & Variables */
:root {
    --color-bg-main: #0a0e17;
    /* Deep midnight blue */
    --color-bg-secondary: #131b2f;
    --color-text-main: #f8f9fa;
    --color-text-muted: #8b9bb4;
    --color-accent: #00d2ff;
    /* Cyan / Blue gradient start */
    --color-accent-end: #3a7bd5;
    /* Gradient end */
    --color-border: rgba(255, 255, 255, 0.1);
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --border-radius-lg: 16px;
    --border-radius-md: 12px;
    --transition-standard: 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-bg-main);
    color: var(--color-text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Aurora Background Effect */
.aurora-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.aurora-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.85;
    animation: drift 20s infinite alternate ease-in-out;
}

.aurora-blob-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.5), transparent 70%);
    animation-delay: 0s;
}

.aurora-blob-2 {
    top: 40%;
    right: -20%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(58, 123, 213, 0.45), transparent 70%);
    animation-delay: -5s;
    animation-duration: 25s;
}

.aurora-blob-3 {
    bottom: -20%;
    left: 20%;
    width: 45vw;
    height: 45vw;
    background: radial-gradient(circle, rgba(147, 51, 234, 0.4), transparent 70%);
    animation-delay: -10s;
    animation-duration: 22s;
}

@keyframes drift {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(10%, 15%) scale(1.1);
    }

    100% {
        transform: translate(-5%, -10%) scale(0.9);
    }
}

a {
    text-decoration: none;
    color: var(--color-text-main);
    transition: color var(--transition-standard);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.text-center {
    text-align: center;
}

/* Typography */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #fff 0%, #b0c4de 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-text {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin-bottom: 2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-end) 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 210, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 210, 255, 0.4);
}

/* ---------------- Header ---------------- */
.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 24px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo img {
    height: 32px;
    width: auto;
    display: block;
}

.header-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-main);
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 20px;
    border-radius: 20px;
    border: 1px solid var(--color-border);
    transition: all var(--transition-standard);
    backdrop-filter: blur(4px);
}

.header-link:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
    transform: translateY(-2px);
}

/* ---------------- Hero Section ---------------- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensures video fills screen without distortion */
}

/* Overlay to ensure text readability over video */
.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(10, 14, 23, 0.3) 0%,
            rgba(10, 14, 23, 0.4) 50%,
            var(--color-bg-main) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards 0.5s;
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    font-size: 0.875rem;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    backdrop-filter: blur(4px);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-mission {
    font-size: 1.5rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    font-weight: 400;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------------- Partners Section ---------------- */
.partners {
    padding: 4rem 0;
    border-bottom: 1px solid var(--color-border);
    position: relative;
    z-index: 2;
    background-color: var(--color-bg-main);
}

.partners-title {
    text-align: center;
    font-size: 0.875rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 2rem;
}

.partners-scroll-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 10px 0;
    /* Optional: add a mask to fade out the edges */
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.partners-track {
    display: flex;
    align-items: center;
    width: calc(200px * 14);
    /* approximate width of 14 items (7 original + 7 clone) + gap */
    animation: scroll-marquee 25s linear infinite;
    gap: 4rem;
}

/* Pause animation on hover */
.partners-scroll-container:hover .partners-track {
    animation-play-state: paused;
}

@keyframes scroll-marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        /* Translates exactly half the width to seamlessly loop to the start */
        transform: translateX(calc(-50% - 2rem));
    }
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.5;
    transition: opacity var(--transition-standard), transform var(--transition-standard);
}

.partner-logo:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.partner-logo img {
    height: 40px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}

/* ---------------- Ecosystem Section ---------------- */
.ecosystem {
    padding: 5rem 0;
    position: relative;
}

.ecosystem-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.ecosystem .text-content {
    flex: 1;
}

.ecosystem .graphic-content {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

/* Abstract Circle UI for Network Flow */
.circle-network {
    position: relative;
    width: 400px;
    height: 400px;
}

/* Radiating light lines from center */
.circle-network::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.4) 0%, transparent 60%);
    opacity: 0;
    animation: radiate-lines 3s ease-out infinite;
    z-index: 1;
    pointer-events: none;
}

@keyframes radiate-lines {
    0% {
        width: 100px;
        height: 100px;
        opacity: 0.8;
    }

    100% {
        width: 600px;
        height: 600px;
        opacity: 0;
    }
}

.center-node {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--color-bg-secondary), #1a243d);
    border: 1px solid var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    box-shadow: 0 0 30px rgba(0, 210, 255, 0.1);
    z-index: 2;
}

.orbit {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px dashed var(--color-border);
    border-radius: 50%;
    animation: rotate 40s linear infinite;
}

.node {
    position: absolute;
    width: 80px;
    height: 80px;
    background-color: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    text-align: center;
    /* Un-rotate text so it stays legible */
    animation: reverse-rotate 40s linear infinite, node-pulse 3s ease-in-out infinite;
    margin-top: -40px;
    margin-left: -40px;
}

.node-1 {
    top: 0%;
    left: 50%;
}

.node-2 {
    top: 18.83%;
    left: 89.09%;
}

.node-3 {
    top: 61.13%;
    left: 98.75%;
}

.node-4 {
    top: 95.05%;
    left: 71.69%;
}

.node-5 {
    top: 95.05%;
    left: 28.31%;
}

.node-6 {
    top: 61.13%;
    left: 1.25%;
}

.node-7 {
    top: 18.83%;
    left: 10.91%;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes reverse-rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(-360deg);
    }
}

@keyframes node-pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(0, 210, 255, 0);
        border-color: var(--color-border);
    }

    50% {
        box-shadow: 0 0 15px 2px rgba(0, 210, 255, 0.4);
        border-color: var(--color-accent);
        color: #fff;
    }
}

/* Pause and Lightning States */
.orbit.paused,
.orbit.paused .node,
.circle-network.paused::before {
    animation-play-state: paused !important;
}

.node.active {
    box-shadow: 0 0 30px 10px rgba(0, 210, 255, 0.8) !important;
    border-color: var(--color-accent) !important;
    color: #fff !important;
    background-color: rgba(0, 210, 255, 0.1) !important;
}

.center-node.active {
    box-shadow: 0 0 40px rgba(0, 210, 255, 0.8) !important;
    border-color: #fff !important;
}

/* ---------------- Benefits Section ---------------- */
.benefits {
    padding: 5rem 0;
    background: radial-gradient(circle at center top, rgba(19, 27, 47, 0.4) 0%, rgba(10, 14, 23, 0.7) 100%);
    position: relative;
    overflow: hidden;
}

/* Local Section Aurora */
.section-aurora {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.aurora-blob-local {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.6;
    animation: drift-local 20s infinite alternate ease-in-out;
}

.aurora-local-1 {
    top: 20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(147, 51, 234, 0.35), transparent 70%);
    animation-delay: -2s;
}

.aurora-local-2 {
    bottom: -10%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.3), transparent 70%);
    animation-delay: -7s;
    animation-duration: 25s;
}

@keyframes drift-local {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(5%, 10%) scale(1.1);
    }

    100% {
        transform: translate(-5%, -5%) scale(0.9);
    }
}

.benefits .container {
    position: relative;
    z-index: 2;
}

.benefits .section-title {
    margin-bottom: 4rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.15), 0 8px 32px rgba(0, 0, 0, 0.2);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}

.benefit-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(0, 210, 255, 0.3);
    box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.3), 0 12px 40px rgba(0, 210, 255, 0.15);
}

.card-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.benefit-card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: 2.5rem 2rem;
    flex: 1;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.card-text {
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

/* ---------------- UseCase Section ---------------- */
.usecase {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(10, 14, 23, 0.5) 0%, rgba(10, 14, 23, 0.9) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.usecase .container {
    position: relative;
    z-index: 2;
}

.usecase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.usecase-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.usecase-card:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 210, 255, 0.3);
}

.usecase-image {
    width: 100%;
    height: 200px;
    border-bottom: 1px solid var(--color-border);
    overflow: hidden;
}

.usecase-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.usecase-card:hover .usecase-image img {
    transform: scale(1.05);
}

.usecase-image-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    border-bottom: 1px solid var(--color-border);
}

.usecase-content {
    padding: 2rem;
    flex: 1;
}

.usecase-title {
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 1rem;
    font-weight: 600;
}

.usecase-text {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ---------------- Footer ---------------- */
.footer {
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--color-border);
    background-color: #05080e;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 0.1em;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

.footer-links a:hover {
    color: var(--color-text-main);
}

.footer-bottom {
    text-align: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.75rem;
}

/* ---------------- Responsive Design ---------------- */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .ecosystem-container {
        flex-direction: column;
        text-align: center;
    }

    .ecosystem .section-text {
        margin: 0 auto 3rem;
    }
}

@media (max-width: 768px) {
    .hero-content {
        padding: 0 10px;
    }

    .hero-title {
        font-size: 2rem;
        word-break: keep-all;
        overflow-wrap: normal;
    }

    .hero-title br {
        display: none;
    }

    .partners-track {
        gap: 2rem;
    }

    .ecosystem,
    .benefits,
    .usecase {
        padding: 4rem 0;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .circle-network {
        width: 300px;
        height: 300px;
    }
}
/** footer **/
footer{background: #555;padding:40px 0;}
.box>.inner {
    width: 1000px;
    margin: 0 auto;
    padding: 120px 0;
}
footer>#footer-nav{}
footer>#footer-nav>.inner{display: flex;justify-content:space-between;margin-bottom: 80px;padding:0;}
footer>#footer-nav>.inner a{color:#fff;}
footer>#footer-nav>.inner>dl>dt{font-size: 14px;font-weight: 700;}
footer>#footer-nav>.inner>dl>dd>ul>li>a{font-size: 12px;}
footer>#footer-nav>.inner ul,footer>#footer-nav>.inner dl{margin:0;padding:0;color: #fff;list-style: none;}
footer>#footer-nav>.inner>dl:nth-child(4)>dd>ul>li:nth-child(1) {margin-bottom: 1em;}
footer>#footer-nav>.inner>ul.etc{}
footer>#footer-nav>.inner>ul.etc>li:nth-child(1){margin-bottom:20px;}
footer>#footer-nav>.inner>ul.etc>li:nth-child(1)>a,
footer>#footer-nav>.inner>ul.etc>li:nth-child(2)>a{font-size: 14px;font-weight: 700;line-height: 1.4;display: block;clear: left;white-space: nowrap;}
footer>#footer-nav>.inner>ul.etc>li:nth-child(1)>a>img,
footer>#footer-nav>.inner>ul.etc>li:nth-child(2)>a>img{float: left;width:40px;height: 40px;margin-right: 10px;}
footer>#footer-nav>.inner>ul.etc>li:nth-child(3){clear: left;padding-top:20px;}
footer>#footer-nav>.inner>ul.etc>li:nth-child(3)>a>img{    width: 123px;height: 123px;display: block;margin: 0 auto;}
footer>#footer-nav>p{color:#fff;text-align: center;font-size: 10px;font-weight: 500;}
@media (max-width: 768px) {
  .box>.inner {
    width: 100%;
    margin: 0 auto;
    padding: 60px 24px;
  }
  /** footer **/
  footer{background: #555;padding:30px 0;}
  footer>#footer-nav{}
  footer>#footer-nav>.inner{display: flex;justify-content:space-between;margin-bottom: 30px;padding:0 30px;flex-wrap:wrap;}
  footer>#footer-nav>.inner a{color:#fff;}
  footer>#footer-nav>.inner>dl>dt{font-size: 14px;font-weight: 700;margin-bottom:10px;}
  footer>#footer-nav>.inner>dl>dd>ul>li>a{font-size: 12px;}
  footer>#footer-nav>.inner ul,footer>#footer-nav>.inner dl{margin:0;padding:0;color: #fff;list-style: none;}
  footer>#footer-nav>.inner ul>li{line-height: 1;margin-bottom:4px;}
  footer>#footer-nav>.inner dl{display: block;width: 100%;margin-bottom:40px;}
  footer>#footer-nav>.inner>ul.etc{display: block;position: relative;width: 100%;}
  footer>#footer-nav>.inner>ul.etc>li:nth-child(1){margin-right:0px;}
  footer>#footer-nav>.inner>ul.etc>li:nth-child(1)>a{font-size: 12px;font-weight: 700;line-height: 1.4;display: block;}
  footer>#footer-nav>.inner>ul.etc>li:nth-child(1)>a>img{float: left;width:40px;height: 40px;margin-right: 10px;}
  footer>#footer-nav>.inner>ul.etc>li:nth-child(2){margin-left:0px;}
  footer>#footer-nav>.inner>ul.etc>li:nth-child(2)>a{font-size: 12px;font-weight: 700;line-height: 1.4;display: block;}
  footer>#footer-nav>.inner>ul.etc>li:nth-child(2)>a>img{float: left;width:40px;height: 40px;margin-right: 10px;}
  footer>#footer-nav>.inner>ul.etc>li:nth-child(3){clear: left;position: absolute;right: 0;top: 0;padding-top:0px;width: 90px;}
  footer>#footer-nav>.inner>ul.etc>li:nth-child(3)>a>img{width: 90px;height:90px;    margin: 0 0 0 auto;}
  footer>#footer-nav>p{color:#fff;text-align: center;font-size: 10px;font-weight: 500;}
}
