:root {
    --bg-color: #000000;
    --text-color: #ffffff;
    --accent-color: #ffffff;
    --card-bg: #0a0a0a;
    --transition-speed: 0.3s;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* Ethereal Beams Background */
.ethereal-beams {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -5;
    overflow: hidden;
    background-color: #000000;
}

.beam {
    position: absolute;
    width: 150vw;
    height: 15vh;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    filter: blur(60px);
    opacity: 0.6;
    animation: drift 15s infinite alternate ease-in-out;
    transform-origin: center;
}

.beam-1 {
    top: 15%;
    left: -25%;
    animation-name: drift-1;
    animation-duration: 18s;
}

.beam-2 {
    top: 45%;
    right: -25%;
    background: linear-gradient(90deg, transparent, rgba(220, 220, 225, 0.3), transparent);
    animation-name: drift-2;
    animation-duration: 22s;
}

.beam-3 {
    top: 75%;
    left: -10%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    animation-name: drift-3;
    animation-duration: 25s;
}

.beam-4 {
    top: -10%;
    right: 10%;
    width: 100vw;
    height: 25vh;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    animation-name: drift-4;
    animation-duration: 30s;
}

@keyframes drift-1 {
    0% { transform: translateY(0) rotate(35deg) scale(1); opacity: 0.3; }
    100% { transform: translateY(-100px) rotate(45deg) scale(1.2); opacity: 0.6; }
}
@keyframes drift-2 {
    0% { transform: translateY(0) rotate(-35deg) scale(1); opacity: 0.2; }
    100% { transform: translateY(150px) rotate(-25deg) scale(1.3); opacity: 0.5; }
}
@keyframes drift-3 {
    0% { transform: translateY(0) rotate(15deg) scale(1); opacity: 0.4; }
    100% { transform: translateY(-120px) rotate(5deg) scale(1.1); opacity: 0.2; }
}
@keyframes drift-4 {
    0% { transform: translateY(0) rotate(60deg) scale(1); opacity: 0.1; }
    100% { transform: translateY(200px) rotate(45deg) scale(1.5); opacity: 0.4; }
}

/* Navbar */
.navbar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 1.5rem 5%;
    background-color: transparent;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo-spacer {
    width: 200px;
    height: 160px;
}

.logo-absolute {
    position: fixed;
    top: 1.5rem;
    left: 5%;
    z-index: 105;
    mix-blend-mode: screen;
}

.logo-absolute img {
    height: 160px; 
    object-fit: contain;
    filter: brightness(1.2);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 3rem;
    align-items: center;
    justify-self: center;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 400;
    transition: color var(--transition-speed);
}

.nav-links a:hover {
    color: var(--accent-color);
}

.nav-action {
    justify-self: end;
}

/* Buttons */
.btn-primary {
    background-color: var(--text-color);
    color: var(--bg-color);
    padding: 0.8rem 1.8rem;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-speed);
    display: inline-block;
}

.btn-rounded {
    border-radius: 50px;
}

.btn-primary:hover {
    background-color: #e0e0e0;
    color: var(--bg-color);
    transform: translateY(-2px);
}

.mt-4 { margin-top: 2rem; }

/* Hero Section Ethereal Template Styles */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 80px);
    text-align: center;
    padding: 2rem 5%;
    position: relative;
    z-index: 10;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.875rem;
    margin-bottom: 2rem;
}

.icon-star {
    margin-right: 0.5rem;
    color: #ffffff;
}

.gradient-text {
    background: linear-gradient(135deg, #ffffff 30%, #a3a3a3 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -1.5px;
    line-height: 1.1;
}

.hero p {
    font-size: 1.25rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    max-width: 760px;
    margin: 0 auto 3rem auto;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-lg {
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    transition: all var(--transition-speed);
}

.shadow-glow {
    box-shadow: 0 10px 40px -10px rgba(255, 255, 255, 0.25);
}

.btn-animated-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    background-color: #ffffff; /* full white */
    color: #000000; /* text black */
    font-size: 1.125rem;
    font-weight: 600;
    height: 60px;
    border-radius: 50px;
    padding: 6px 64px 6px 32px; 
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    text-decoration: none;
    cursor: pointer;
}

.btn-animated-icon:hover {
    padding: 6px 32px 6px 64px; 
}

.btn-animated-icon .btn-text {
    position: relative;
    z-index: 10;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-animated-icon .btn-icon {
    position: absolute;
    right: 6px;
    width: 48px;
    height: 48px;
    background-color: #000000; /* black inner circle */
    color: #ffffff; /* white icon */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-animated-icon:hover .btn-icon {
    right: calc(100% - 54px);
    transform: rotate(45deg);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-color);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 2.5rem 2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    backdrop-filter: blur(10px);
    transition: transform var(--transition-speed), border-color var(--transition-speed), box-shadow var(--transition-speed);
}

.stat-item:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 10px 30px -10px rgba(255, 255, 255, 0.1);
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}

.stat-label {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent-color);
}

.overlay-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40vh;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    z-index: 5;
    pointer-events: none;
}

/* Services */
.services {
    padding: 8rem 5%;
    background-color: var(--bg-color);
    text-align: center;
}

.services h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.section-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 600px;
    margin: 0 auto 4rem auto;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.service-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    text-align: left;
    backdrop-filter: blur(10px);
    transition: transform var(--transition-speed), border-color var(--transition-speed), box-shadow var(--transition-speed);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 15px 40px -10px rgba(255, 255, 255, 0.1);
}

.icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    margin-bottom: 2rem;
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.service-card p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Marquee Results Section */
.marquee-section {
    padding: 6rem 5%;
    background-color: var(--bg-color); /* pure black */
    text-align: center;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.marquee-header {
    max-width: 800px;
    margin: 0 auto 4rem auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background-color: #ffffff; /* Instead of blue, lets use pure white/black aesthetic */
    color: #000000;
    margin-bottom: 1.5rem;
}

.marquee-header h2 {
    font-size: 3rem;
    font-weight: 600;
    letter-spacing: -1px;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.marquee-header p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.125rem;
    line-height: 1.6;
}

.marquee-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 1rem 0;
}

.fade-left {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    height: 100%;
    width: 15vw;
    background: linear-gradient(to right, rgba(0,0,0,1) 0%, transparent 100%);
    pointer-events: none;
}

.fade-right {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10;
    height: 100%;
    width: 15vw;
    background: linear-gradient(to left, rgba(0,0,0,1) 0%, transparent 100%);
    pointer-events: none;
}

.marquee-track {
    display: flex;
    overflow: hidden;
    gap: 2rem;
}

.marquee-track:hover .marquee-content {
    animation-play-state: paused;
}

.marquee-content {
    display: flex;
    flex-shrink: 0;
    gap: 2rem;
    min-width: 100%;
    animation: marquee-scroll 45s linear infinite;
}

@keyframes marquee-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-100% - 2rem)); }
}

.marquee-content img {
    height: 380px; 
    border-radius: 16px;
    object-fit: cover;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.4s ease;
    cursor: pointer;
}

.marquee-content img:hover {
    transform: scale(1.02);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

/* Footer */
footer {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 3rem 5%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background-color: var(--card-bg);
}

.footer-logo-container {
    display: flex;
    justify-content: flex-start;
}

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

.footer-content p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.legal-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
}

.legal-links a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    text-decoration: none;
    transition: color var(--transition-speed);
    font-weight: 400;
}

.legal-links a:hover {
    color: #ffffff;
}

.legal-links span {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.85rem;
}

.copyright-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
}

.footer-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.footer-logo-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.footer-logo {
    max-height: 160px;
    mix-blend-mode: screen;
}

.footer p {
    color: #a0a0a0;
    margin-bottom: 2rem;
    font-weight: 300;
}

.btn-secondary {
    border: 1px solid var(--text-color);
    color: var(--text-color);
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    transition: all var(--transition-speed);
}

.btn-secondary:hover {
    background-color: var(--text-color);
    color: var(--bg-color);
}

/* Responsive Mobile Layout Fixes */
@media (max-width: 768px) {
    /* Fonts and Hero */
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        align-items: stretch;
    }
    .btn-animated-icon {
        width: 100%;
        justify-content: center;
    }
    .btn-lg {
        width: 100%;
        justify-content: center;
    }

    /* Navbar & Logo Header */
    .nav-links {
        display: none; 
    }
    .logo-absolute {
        position: relative;
        left: auto;
        top: auto;
        width: 100%;
        display: flex;
        justify-content: center;
        margin-top: 2rem;
    }
    .logo-absolute img {
        height: 100px;
    }
    .navbar {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding-top: 1rem;
    }
    .logo-spacer {
        display: none;
    }
    .nav-action {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    /* Stats & Results */
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .marquee-header h2 {
        font-size: 2rem;
    }
    .marquee-content img {
        height: 250px;
    }
    .fade-left, .fade-right {
        width: 5vw;
    }

    /* Footer */
    footer {
        display: flex;
        flex-direction: column;
        padding: 3rem 5%;
        gap: 2rem;
        text-align: center;
    }
    .footer-logo-container {
        justify-content: center;
    }
    .footer-logo {
        max-height: 100px;
    }
    .footer-right {
        justify-content: center;
    }
    .legal-links {
        flex-direction: column;
        gap: 1rem;
    }
    .legal-links span {
        display: none;
    }
}
