:root {
    --bg-color: #050507;
    --surface-color: rgba(255, 255, 255, 0.02);
    --surface-hover: rgba(255, 255, 255, 0.05);
    --primary-color: #FF5722;
    --secondary-color: #E64A19;
    --text-main: #ffffff;
    --text-muted: #9ca3af;
    --accent: #FF8A65;
    --gradient-hero: linear-gradient(135deg, #FF6D00, #F4511E);
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    --radius-md: 16px;
    --radius-lg: 28px;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Ambient Deep Space Glows */
body::before,
body::after {
    content: '';
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    pointer-events: none;
}

body::before {
    top: -100px;
    left: -200px;
    background: rgba(255, 87, 34, 0.08);
}

body::after {
    bottom: -100px;
    right: -200px;
    background: rgba(230, 74, 25, 0.06);
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.05em;
}

h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.section-heading p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-muted);
}

.section-heading span,
h1 span {
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    text-shadow: 0 0 40px rgba(255, 87, 34, 0.3);
}

p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

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

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.pt-3 {
    padding-top: 2rem;
}

.pb-large {
    padding-bottom: 4rem;
}

.w-100 {
    width: 100%;
}

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

section {
    padding: 6rem 0;
    position: relative;
    z-index: 10;
}

/* Base Glassmorphism Cards */
.glass-effect,
.review-card,
.feature-image-wrapper,
.accordion-item,
.support-card {
    background: var(--surface-color);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    /* Top lighting effect */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(255, 255, 255, 0.01);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-hero);
    color: #fff;
    box-shadow: 0 10px 30px rgba(255, 87, 34, 0.4), inset 0 -3px 0 rgba(0, 0, 0, 0.1);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 60%);
    opacity: 0;
    transform: scale(0.5);
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 40px rgba(255, 87, 34, 0.6), inset 0 -3px 0 rgba(0, 0, 0, 0.1);
}

.btn-primary:hover::after {
    opacity: 1;
    transform: scale(1);
}

.btn-primary:active {
    transform: translateY(0) scale(0.98);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(5, 5, 7, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
}

.logo-img {
    height: 48px;
    width: 48px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 0 20px rgba(255, 87, 34, 0.4);
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.04em;
}

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

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--text-main);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.menu-toggle .bar {
    width: 28px;
    height: 2px;
    background: var(--text-main);
    transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 3px;
}

.menu-toggle.open .bar:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.open .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.open .bar:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Hero Section */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 5rem;
    align-items: center;
    z-index: 2;
}

.hero-title {
    font-size: 5rem;
    margin-bottom: 2rem;
    animation: slideDown 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: slideUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
    line-height: 1.7;
    max-width: 580px;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    opacity: 0;
    animation: slideUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}

.hero-image {
    perspective: 1200px;
    display: flex;
    justify-content: center;
    position: relative;
}

/* Passing Signals Animation Overlay */
.signal-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-image:hover .signal-container {
    opacity: 1;
}

.signal-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    box-shadow: 0 0 30px var(--primary-color), inset 0 0 20px var(--primary-color);
}

.hero-image:hover .signal-ring {
    animation: signalRadiate 2.5s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

.signal-ring:nth-child(1) {
    animation-delay: 0s;
}

.signal-ring:nth-child(2) {
    animation-delay: 0.6s;
}

.signal-ring:nth-child(3) {
    animation-delay: 1.2s;
}

/* Global Map & Nodes */
.global-map {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 2px, transparent 2px);
    background-size: 30px 30px;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 1s ease;
    z-index: -2;
    mask-image: radial-gradient(circle, #fff 0%, transparent 60%);
    -webkit-mask-image: radial-gradient(circle, #fff 0%, transparent 60%);
}

.hero-image:hover .global-map {
    opacity: 1;
    animation: rotateMap 40s linear infinite;
}

.call-node {
    position: absolute;
    width: 44px;
    height: 44px;
    background: rgba(13, 15, 20, 0.8);
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
    box-shadow: 0 0 20px rgba(255, 87, 34, 0.5);
    opacity: 0;
    transform: scale(0);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Pulsing aura around the nodes */
.call-node::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--accent);
    animation: nodePulse 2s infinite;
}

.hero-image:hover .call-node {
    opacity: 1;
    transform: scale(1);
}

/* Spreading the nodes globally around the center banner */
.node-1 {
    top: -20%;
    left: 15%;
    transition-delay: 0.1s;
    animation: floatNode 3s infinite 0.1s;
}

.node-2 {
    top: 10%;
    left: -25%;
    transition-delay: 0.3s;
    animation: floatNode 3s infinite 0.3s;
}

.node-3 {
    bottom: -15%;
    left: 10%;
    transition-delay: 0.5s;
    animation: floatNode 3s infinite 0.5s;
}

.node-4 {
    top: -10%;
    right: -25%;
    transition-delay: 0.2s;
    animation: floatNode 3s infinite 0.2s;
}

.node-5 {
    bottom: 10%;
    right: -20%;
    transition-delay: 0.4s;
    animation: floatNode 3s infinite 0.4s;
}

.node-6 {
    bottom: -30%;
    right: 20%;
    transition-delay: 0.6s;
    animation: floatNode 3s infinite 0.6s;
}

.hero-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 87, 34, 0.3) 0%, transparent 60%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    filter: blur(60px);
    animation: pulse-glow 4s ease-in-out infinite alternate;
}

.banner-img {
    width: 100%;
    max-width: 550px;
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.05);
    background: #000;
    transform: rotateY(-15deg) rotateX(8deg) translateY(0);
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    animation: float 6s ease-in-out infinite;
}

.hero-image:hover .banner-img {
    transform: rotateY(0deg) rotateX(0deg) translateY(-10px) scale(1.05);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.9), 0 0 40px rgba(255, 87, 34, 0.3);
    animation-play-state: paused;
}

/* Features */
.features-grid {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    margin-top: 4rem;
}

.feature-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.feature-card.reverse {
    grid-template-columns: 1fr 1fr;
}

.feature-image-wrapper {
    padding: 3rem;
    border-radius: 40px;
    display: flex;
    justify-content: center;
    position: relative;
    transition: var(--transition);
}

.feature-image-wrapper:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 87, 34, 0.15);
    border-color: rgba(255, 255, 255, 0.15);
}

.feature-img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
    max-height: 480px;
    object-fit: contain;
    transition: var(--transition);
}

.feature-image-wrapper:hover .feature-img {
    transform: scale(1.04);
}

.feature-info h3 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

.feature-info p {
    font-size: 1.2rem;
    color: var(--text-muted);
}

/* Reviews */
.reviews {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.01), rgba(0, 0, 0, 0.3));
    position: relative;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 5rem;
}

.review-card {
    padding: 3.5rem 3rem;
    transition: var(--transition);
    position: relative;
}

.review-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 2px;
    background: linear-gradient(135deg, rgba(255, 87, 34, 0.5), transparent, transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: var(--transition);
}

.review-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.04);
}

.review-card:hover::before {
    opacity: 1;
}

.review-stars {
    color: #ffb800;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    letter-spacing: 4px;
    text-shadow: 0 0 20px rgba(255, 184, 0, 0.4);
}

.review-text {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    color: #cbd5e1;
    font-style: italic;
}

.review-author {
    font-weight: 800;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 1.1rem;
}

.review-author::before {
    content: '';
    display: inline-block;
    width: 30px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    box-shadow: 0 0 10px var(--primary-color);
}

/* Help & Support */
.flex-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: start;
}

.accordion-item {
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.accordion-item:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.03);
}

.accordion-header {
    padding: 2rem;
    font-weight: 700;
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-header .icon {
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--primary-color);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.accordion-header.active .icon {
    transform: rotate(45deg);
    text-shadow: 0 0 15px var(--primary-color);
}

.accordion-content {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s ease;
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Form Styles */
.support-card {
    padding: 4rem;
    border-radius: 40px;
}

.support-card h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.support-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.support-form input,
.support-form textarea {
    width: 100%;
    padding: 1.4rem;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--text-main);
    font-family: inherit;
    font-size: 1.1rem;
    transition: var(--transition);
}

.support-form input:focus,
.support-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 0 4px rgba(255, 87, 34, 0.15);
}

/* About Us */
.about-text {
    font-size: 1.3rem;
    max-width: 850px;
    margin: 0 auto;
    color: var(--text-muted);
}

.about-stats {
    display: flex;
    justify-content: center;
    gap: 8rem;
    margin-top: 5rem;
}

.stat-item h4 {
    font-size: 4.5rem;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    background: var(--gradient-hero);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 15px rgba(255, 87, 34, 0.4));
}

.stat-item p {
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 1rem;
    color: var(--text-muted);
}

/* Footer */
.footer {
    background: #020203;
    padding: 5rem 0 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 6rem;
    margin-bottom: 6rem;
}

.footer-brand p {
    margin-top: 2rem;
    max-width: 320px;
}

.footer-logo {
    height: 56px;
    border-radius: 14px;
    box-shadow: 0 0 20px rgba(255, 87, 34, 0.2);
}

.footer-links h4 {
    margin-bottom: 2rem;
    color: var(--text-main);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1.2rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(255, 87, 34, 0.4);
}

.footer-bottom {
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

/* Responsive */
@media (max-width: 992px) {

    .hero-container,
    .flex-row {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 3.5rem;
    }

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

    .hero-image {
        margin-top: 3rem;
    }

    .feature-card,
    .feature-card.reverse {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 4rem;
    }

    .feature-card.reverse .feature-info {
        order: -1;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 90px;
        left: 0;
        width: 100%;
        background: rgba(5, 5, 7, 0.98);
        padding: 2.5rem;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-stats {
        flex-direction: column;
        gap: 3rem;
    }

    section {
        padding: 5rem 0;
    }
}

/* Animations Hub */
@keyframes float {
    0% {
        transform: translateY(0px) rotateY(-15deg) rotateX(8deg);
    }

    50% {
        transform: translateY(-25px) rotateY(-12deg) rotateX(4deg);
    }

    100% {
        transform: translateY(0px) rotateY(-15deg) rotateX(8deg);
    }
}

@keyframes pulse-glow {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.8;
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes signalRadiate {
    0% {
        width: 100px;
        height: 100px;
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(0.5);
    }

    100% {
        width: 1000px;
        height: 1000px;
        opacity: 0;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes nodePulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(2.2);
        opacity: 0;
    }
}

@keyframes floatNode {

    0%,
    100% {
        margin-top: 0;
    }

    50% {
        margin-top: -10px;
    }
}

@keyframes rotateMap {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Dynamic Multi-Directional Scroll Reveals */
.reveal-left,
.reveal-right,
.reveal-scale,
.reveal-fade {
    opacity: 0;
    transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.reveal-left {
    transform: translateX(-60px);
}

.reveal-right {
    transform: translateX(60px);
}

.reveal-scale {
    transform: scale(0.9);
}

.reveal-fade {
    transform: translateY(60px);
}

/* Force overrides on reveal */
.is-visible {
    opacity: 1 !important;
    transform: translate(0, 0) scale(1) !important;
}

/* Legal Pages Styles */
.legal-hero {
    padding: 8rem 0 3rem;
    background: radial-gradient(circle at center, rgba(255, 87, 34, 0.1) 0%, transparent 70%);
}

.legal-title {
    font-size: 3.2rem;
    margin-bottom: 0.5rem;
}

.legal-content-section {
    padding-bottom: 6rem;
}

.legal-card {
    padding: 3rem 4rem;
    border-radius: var(--radius-lg);
    line-height: 1.7;
}

.legal-card h4 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: var(--text-main);
}

.legal-card p {
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
}

.legal-card ul {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.legal-card li {
    margin-bottom: 0.8rem;
    color: var(--text-muted);
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .legal-title {
        font-size: 2.8rem;
    }

    .legal-card {
        padding: 2.5rem;
    }
}