/* ========================================
   ECHEA LABS - Landing Page Styles
   ======================================== */

/* CSS Variables */
:root {
    --color-blue: #3b82f6;
    --color-blue-light: #60a5fa;
    --color-pink: #ec4899;
    --color-pink-light: #f472b6;
    --color-purple: #8b5cf6;
    --color-white: #ffffff;
    --color-white-soft: rgba(150, 150, 150, 0.9);
    --color-glass: rgba(255, 255, 255, 0.1);
    --color-glass-border: rgba(255, 255, 255, 0.2);
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

body {
    font-family: var(--font-primary);
    color: var(--color-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   Animated Gradient Background
   ======================================== */
.gradient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.gradient-layer {
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    opacity: 0.7;
}

.gradient-1 {
    background: radial-gradient(circle at 30% 40%, #e8e4f0 0%, #d4cfe6 30%, #c9c3dc 50%, transparent 70%);
    animation: float1 15s ease-in-out infinite;
}

.gradient-2 {
    background: radial-gradient(circle at 70% 60%, #f5e6eb 0%, #edd8e0 30%, #e5ccd6 50%, transparent 70%);
    animation: float2 18s ease-in-out infinite;
}

.gradient-3 {
    background: radial-gradient(circle at 50% 50%, #f0f0f8 0%, #e8e6f2 25%, #dfdce8 40%, transparent 60%);
    animation: float3 20s ease-in-out infinite;
    opacity: 0.6;
}

@keyframes float1 {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(5%, 5%) rotate(5deg);
    }

    50% {
        transform: translate(-5%, 10%) rotate(-5deg);
    }

    75% {
        transform: translate(-10%, -5%) rotate(3deg);
    }
}

@keyframes float2 {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(-8%, 8%) rotate(-5deg);
    }

    66% {
        transform: translate(8%, -8%) rotate(5deg);
    }
}

@keyframes float3 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(5%, -5%) scale(1.1);
    }
}

/* ========================================
   3D Canvas
   ======================================== */
#three-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* ========================================
   Main Content
   ======================================== */
.content {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    pointer-events: none;
}

/* Bottom Branding */
.bottom-branding {
    padding: 2rem 3rem;
    text-align: center;
    pointer-events: auto;
    width: 100%;
}

.brand-title {
    font-family: 'Raleway', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 100;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
    color: rgba(0, 0, 0, 0.95);
    /* text-transform: uppercase; */
}

/* Dark grey option for brand title */
.brand-title.dark-grey {
    color: #3a3a3a;
}

.brand-tagline {
    font-family: 'Raleway', sans-serif;
    font-size: 1rem;
    color: rgba(50, 50, 50, 0.95);
    font-weight: 100;
    opacity: 1;
    letter-spacing: 0.15em;
}

/* Glass Card */
.glass-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 24px;
    padding: 3rem 4rem;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.hero-content {
    max-width: 700px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--color-glass);
    border: 1px solid var(--color-glass-border);
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.pulse {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

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

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.title-line {
    display: block;
}

.gradient-text {
    background: linear-gradient(135deg, var(--color-blue-light) 0%, var(--color-pink) 50%, var(--color-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradient-shift 5s ease infinite;
}

@keyframes gradient-shift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.hero-description {
    font-size: 1.25rem;
    color: var(--color-white-soft);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.btn-glow {
    background: linear-gradient(135deg, var(--color-blue), var(--color-purple), var(--color-pink));
    background-size: 200% 200%;
    color: var(--color-white);
    animation: gradient-shift 3s ease infinite;
    box-shadow: 0 4px 30px rgba(139, 92, 246, 0.4);
}

.btn-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.6);
}

.btn-outline {
    background: var(--color-glass);
    border: 1px solid var(--color-glass-border);
    color: var(--color-white);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* Footer */
.footer {
    padding: 1.5rem 4rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    backdrop-filter: blur(10px);
    background: var(--color-glass);
    border-top: 1px solid var(--color-glass-border);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem 1.5rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .nav-link:not(.btn-primary) {
        display: none;
    }

    .hero {
        padding: 2rem 1.5rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .footer {
        padding: 1rem 1.5rem;
    }
}