/* Base Styles */
:root {
    --primary-color: #6a11cb;
    --secondary-color: #2575fc;
    --accent-green: #4ade80;
    --accent-purple: #d946ef;
    --accent-teal: #2dd4bf;
    --dark-bg: #0a0a1a;
    --darker-bg: #050510;
    --light-text: #f8fafc;
    --gray-text: #94a3b8;
    --transition: all 0.3s ease;
    --glow: 0 0 10px rgba(106, 17, 203, 0.5), 0 0 20px rgba(37, 117, 252, 0.3);
}

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

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

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--dark-bg);
    color: var(--light-text);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(106, 17, 203, 0.15), transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(37, 117, 252, 0.15), transparent 40%);
    z-index: -1;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    text-transform: uppercase;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--light-text);
    text-decoration: none;
    transition: var(--transition);
}

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

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

section {
    padding: 5rem 0;
    position: relative;
}

/* Custom Cursor */
.cursor-glow {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(106, 17, 203, 0.5) 0%, rgba(37, 117, 252, 0.3) 70%, transparent 100%);
    position: fixed;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(5, 5, 16, 0.8);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--light-text);
}

.logo-letter {
    color: var(--primary-color);
    position: relative;
}

.logo-letter::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    top: 0;
    right: -4px;
    box-shadow: var(--glow);
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-link {
    margin: 0 1rem;
    padding: 0.5rem;
    position: relative;
    font-weight: 500;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    transition: var(--transition);
}

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

.menu-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--light-text);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(5, 5, 16, 0.7), rgba(5, 5, 16, 0.9)), url('../images/distributed-ledger.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, rgba(106, 17, 203, 0.1) 0%, transparent 70%),
        linear-gradient(-45deg, rgba(37, 117, 252, 0.1) 0%, transparent 70%);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.glitch-text {
    display: flex;
    flex-direction: column;
    text-shadow: 0 0 10px rgba(106, 17, 203, 0.5);
    margin-bottom: 2rem;
}

.glitch-text-item {
    position: relative;
    display: inline-block;
}

.glitch-text-item::before,
.glitch-text-item::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch-text-item::before {
    left: 2px;
    text-shadow: -2px 0 var(--primary-color);
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim-1 5s infinite linear alternate-reverse;
}

.glitch-text-item::after {
    left: -2px;
    text-shadow: -2px 0 var(--secondary-color);
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim-2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim-1 {
    0% {
        clip: rect(42px, 9999px, 44px, 0);
    }
    20% {
        clip: rect(12px, 9999px, 59px, 0);
    }
    40% {
        clip: rect(62px, 9999px, 78px, 0);
    }
    60% {
        clip: rect(22px, 9999px, 11px, 0);
    }
    80% {
        clip: rect(92px, 9999px, 35px, 0);
    }
    100% {
        clip: rect(49px, 9999px, 88px, 0);
    }
}

@keyframes glitch-anim-2 {
    0% {
        clip: rect(65px, 9999px, 119px, 0);
    }
    20% {
        clip: rect(34px, 9999px, 15px, 0);
    }
    40% {
        clip: rect(25px, 9999px, 34px, 0);
    }
    60% {
        clip: rect(75px, 9999px, 85px, 0);
    }
    80% {
        clip: rect(95px, 9999px, 75px, 0);
    }
    100% {
        clip: rect(58px, 9999px, 71px, 0);
    }
}

.tagline {
    display: flex;
    align-items: center;
    margin-top: 2rem;
}

.tagline-arrow {
    font-size: 2rem;
    color: var(--light-text);
    margin-right: 1rem;
    animation: arrow-pulse 1.5s infinite;
}

@keyframes arrow-pulse {
    0% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(10px);
    }
    100% {
        transform: translateX(0);
    }
}

.tagline-text {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
}

.tagline-subtext {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* About Section */
.about {
    background-color: var(--darker-bg);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, transparent, var(--darker-bg));
    z-index: 1;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.about-image img {
    max-width: 300px;
    border-radius: 50%;
    box-shadow: var(--glow);
}

.floating {
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0);
    }
}

.about-text {
    flex: 1;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

/* Services Section */
.services {
    background-color: var(--dark-bg);
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: rgba(10, 10, 26, 0.7);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    transition: var(--transition);
}

.service-card[data-color="green"]::before {
    background: var(--accent-green);
}

.service-card[data-color="purple"]::before {
    background: var(--accent-purple);
}

.service-card[data-color="teal"]::before {
    background: var(--accent-teal);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.service-image {
    height: 250px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 1.5rem;
}

.service-card[data-color="green"] h3 {
    color: var(--accent-green);
}

.service-card[data-color="purple"] h3 {
    color: var(--accent-purple);
}

.service-card[data-color="teal"] h3 {
    color: var(--accent-teal);
}

/* Benefits Section */
.benefits {
    background-color: var(--darker-bg);
    position: relative;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background-color: rgba(10, 10, 26, 0.5);
    border-radius: 10px;
    padding: 2rem;
    transition: var(--transition);
    border: 1px solid rgba(106, 17, 203, 0.1);
}

.benefit-card:hover {
    background-color: rgba(10, 10, 26, 0.8);
    border-color: rgba(106, 17, 203, 0.3);
    transform: translateY(-5px);
}

.benefit-icon {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.benefit-content p {
    margin-bottom: 1.5rem;
}

.quote {
    border-left: 3px solid var(--primary-color);
    padding-left: 1rem;
    margin-top: 1.5rem;
    font-style: italic;
    color: var(--gray-text);
}

.quote-author {
    text-align: right;
    margin-top: 0.5rem;
    font-style: normal;
}

/* Contact Section */
.contact {
    background: linear-gradient(rgba(5, 5, 16, 0.9), rgba(5, 5, 16, 0.9)), url('../images/distributed-ledger.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-method {
    margin-bottom: 2rem;
}

.contact-method h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.contact-method a {
    display: inline-block;
    position: relative;
}

.contact-method a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    transition: var(--transition);
}

.contact-method a:hover::after {
    width: 100%;
}

/* Contact Action (mailto) */
.contact-action {
    background-color: rgba(10, 10, 26, 0.7);
    border-radius: 10px;
    padding: 2rem;
    border: 1px solid rgba(106, 17, 203, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-action-content {
    text-align: center;
}

.contact-action h3 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.contact-action p {
    margin-bottom: 2rem;
}

.contact-action .btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: var(--light-text);
    border: none;
    border-radius: 5px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
}

.contact-action .btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(106, 17, 203, 0.4);
}

/* Footer */
.footer {
    background-color: var(--darker-bg);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-tagline {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    text-align: right;
    text-transform: uppercase;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.8rem;
    color: var(--gray-text);
}

/* Responsive Design */
@media screen and (max-width: 992px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .about-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .about-image img {
        max-width: 250px;
    }
}

@media screen and (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .menu-toggle {
        display: block;
        z-index: 1001;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--darker-bg);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        z-index: 1000;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        margin: 1.5rem 0;
        font-size: 1.2rem;
    }
    
    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-tagline {
        text-align: center;
    }
}

@media screen and (max-width: 576px) {
    section {
        padding: 3rem 0;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero {
        height: 90vh;
    }
    
    .about-image img {
        max-width: 200px;
    }
    
    .services-grid,
    .benefits-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        order: 2;
    }
    
    .contact-action {
        order: 1;
    }
}
