/* OrbitReach Styles - Vanilla CSS */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
    /* Core Colors */
    --background: #0F172A;
    --foreground: #F9FAFB;
    --primary: #0EA5E9;
    --primary-foreground: #ffffff;
    --primary-dark: #0284C7;
    --secondary: #8B5CF6;
    --accent: #F59E0B;
    --muted: #1E293B;
    --muted-foreground: #94A3B8;
    --border: rgba(255, 255, 255, 0.1);

    /* Gradients */
    --gradient-aurora: linear-gradient(135deg, #22d3ee 0%, #a78bfa 100%);
    --logo-glow-cyan: rgba(34, 211, 238, 0.5);

    /* Spacing & Layout */
    --container-width: 1200px;
    --header-height: 80px;
    --radius: 0.75rem;
    /* 12px */
    --radius-lg: 1rem;
    /* 16px */
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

/* Utilities */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-gradient {
    background: var(--gradient-aurora);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    z-index: 50;
    display: flex;
    align-items: center;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

.logo-icon {
    width: 2rem;
    height: 2rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: var(--header-height);
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 600px;
    background: rgba(14, 165, 233, 0.1);
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    pointer-events: none;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    z-index: 1;
}

.coming-soon {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: 9999px;
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 2rem;
    opacity: 0;
    /* Animated in JS */
    transform: translateY(20px);
}

.ping-container {
    position: relative;
    display: flex;
    height: 0.5rem;
    width: 0.5rem;
}

.ping {
    position: absolute;
    display: inline-flex;
    height: 100%;
    width: 100%;
    border-radius: 50%;
    background-color: var(--primary);
    opacity: 0.75;
    animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.ping-dot {
    position: relative;
    display: inline-flex;
    border-radius: 50%;
    height: 0.5rem;
    width: 0.5rem;
    background-color: var(--primary);
}

.hero h1 {
    font-size: 3rem;
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
}

@media (min-width: 768px) {
    .hero h1 {
        font-size: 4.5rem;
    }
}

.hero p {
    font-size: 1.25rem;
    color: var(--muted-foreground);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    transform: translateY(20px);
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: rgba(30, 41, 59, 0.3);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--muted-foreground);
    font-size: 1.125rem;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    background: rgba(30, 41, 59, 0.5);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(14, 165, 233, 0.5);
    box-shadow: 0 10px 30px -10px rgba(14, 165, 233, 0.1);
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-icon.primary {
    background: rgba(14, 165, 233, 0.1);
    color: var(--primary);
}

.feature-icon.secondary {
    background: rgba(139, 92, 246, 0.1);
    color: var(--secondary);
}

.feature-icon.accent {
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--muted-foreground);
}

/* Footer */
footer {
    padding: 3rem 0;
    border-top: 1px solid var(--border);
    background: #020617;
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.footer-logo svg {
    width: 1.5rem;
    height: 1.5rem;
}

.copyright {
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

@keyframes ping {

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

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Orbit Animations (Ported from global.css) */
@keyframes orbit-draw {
    from {
        stroke-dashoffset: 100;
    }

    to {
        stroke-dashoffset: 0;
    }
}

@keyframes ray-extend {
    from {
        transform: scaleX(0);
        opacity: 0;
    }

    to {
        transform: scaleX(1);
        opacity: 1;
    }
}

@keyframes orbit-rotation {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

.logo-variant-aurora {
    stroke: url(#aurora-gradient);
    filter: drop-shadow(0 0 2px var(--logo-glow-cyan));
}

.logo-animate .orbit-ring {
    animation: orbit-draw 1.5s ease-out forwards;
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
}

.logo-animate .ray {
    animation: ray-extend 0.6s ease-out 1s forwards;
    transform-origin: center;
    opacity: 0;
}

.logo-animate {
    animation: orbit-rotation 20s linear infinite;
    transform-origin: center;
}

/* Floating Elements */
.float-element {
    position: absolute;
    border-radius: 1rem;
    z-index: -1;
    animation: float 6s ease-in-out infinite;
    filter: blur(4px);
}

.float-1 {
    top: 25%;
    left: 5%;
    width: 4rem;
    height: 4rem;
    background: rgba(139, 92, 246, 0.2);
    transform: rotate(12deg);
}

.float-2 {
    bottom: 25%;
    right: 5%;
    width: 5rem;
    height: 5rem;
    background: rgba(245, 158, 11, 0.2);
    border-radius: 50%;
    animation-delay: 2s;
}

/* Animation Classes for JS */
.animate-in {
    animation: fadeInUp 0.8s ease-out forwards;
}

.delay-200 {
    animation-delay: 200ms;
}

.delay-400 {
    animation-delay: 400ms;
}

.delay-600 {
    animation-delay: 600ms;
}