/* ============================================
   WAZA - Premium Tech Website Styles
   Inspired by Antigravity Google
   ============================================ */

/* Google Sans-like font (using Outfit as public alternative) */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* CSS Variables & Design Tokens */
:root {
    /* Colors */
    --color-bg-primary: #0a0a0f;
    --color-bg-secondary: #12121a;
    --color-surface: rgba(255, 255, 255, 0.03);

    --color-text-primary: #ffffff;
    --color-text-secondary: rgba(255, 255, 255, 0.7);
    --color-text-muted: rgba(255, 255, 255, 0.4);

    --color-accent-1: #6366f1;
    /* Indigo */
    --color-accent-2: #8b5cf6;
    /* Purple */
    --color-accent-3: #ec4899;
    /* Pink */
    --color-accent-4: #06b6d4;
    /* Cyan */

    --gradient-primary: linear-gradient(135deg, var(--color-accent-1), var(--color-accent-2), var(--color-accent-3));
    --gradient-glow: radial-gradient(circle, var(--color-accent-2) 0%, transparent 70%);

    /* Typography - Google Sans style */
    --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 5rem;

    /* Animation */
    --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);

    /* Borders */
    --border-subtle: 1px solid rgba(255, 255, 255, 0.1);
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 20px;
    --border-radius-full: 9999px;
}

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: var(--color-bg-primary);
    color: var(--color-text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Selection */
::selection {
    background: var(--color-accent-2);
    color: white;
}

/* ============================================
   PARTICLES BACKGROUND
   ============================================ */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--color-accent-4);
    border-radius: 50%;
    opacity: 0;
    animation: particle-float 10s infinite ease-in-out;
}

@keyframes particle-float {

    0%,
    100% {
        opacity: 0;
        transform: translateY(100vh) scale(0);
    }

    10% {
        opacity: 0.6;
    }

    90% {
        opacity: 0.6;
    }

    100% {
        opacity: 0;
        transform: translateY(-100px) scale(1);
    }
}

/* ============================================
   FLOATING ELEMENTS
   ============================================ */
.floating-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.floating-element {
    position: absolute;
    opacity: 0.15;
    color: var(--color-accent-2);
    transition: all 0.3s var(--ease-out-expo);
}

.floating-element svg {
    width: 100%;
    height: 100%;
}

.el-1 {
    top: 10%;
    left: 5%;
    width: 120px;
    height: 120px;
    animation: float-1 15s infinite ease-in-out;
}

.el-2 {
    top: 60%;
    left: 8%;
    width: 80px;
    height: 80px;
    animation: float-2 12s infinite ease-in-out;
    color: var(--color-accent-4);
}

.el-3 {
    top: 20%;
    right: 10%;
    width: 100px;
    height: 100px;
    animation: float-3 18s infinite ease-in-out;
    color: var(--color-accent-3);
}

.el-4 {
    bottom: 20%;
    right: 5%;
    width: 60px;
    height: 60px;
    animation: float-4 14s infinite ease-in-out;
}

.el-5 {
    top: 40%;
    left: 15%;
    font-size: 40px;
    animation: float-5 10s infinite ease-in-out;
    color: var(--color-accent-1);
}

.el-6 {
    bottom: 30%;
    left: 20%;
    font-size: 30px;
    animation: float-6 16s infinite ease-in-out;
    color: var(--color-accent-3);
}

@keyframes float-1 {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(30px, -20px) rotate(10deg);
    }

    50% {
        transform: translate(-20px, 30px) rotate(-5deg);
    }

    75% {
        transform: translate(10px, -10px) rotate(5deg);
    }
}

@keyframes float-2 {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(-40px, 20px) rotate(-15deg);
    }

    66% {
        transform: translate(20px, -30px) rotate(10deg);
    }
}

@keyframes float-3 {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(-20px, 40px) rotate(-8deg);
    }

    50% {
        transform: translate(30px, 20px) rotate(12deg);
    }

    75% {
        transform: translate(-10px, -20px) rotate(-4deg);
    }
}

@keyframes float-4 {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(40px, -40px) rotate(180deg);
    }
}

@keyframes float-5 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.15;
    }

    50% {
        transform: translate(20px, -30px) scale(1.2);
        opacity: 0.3;
    }
}

@keyframes float-6 {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(-15px, 25px) rotate(45deg);
    }

    50% {
        transform: translate(25px, -15px) rotate(90deg);
    }

    75% {
        transform: translate(-10px, -20px) rotate(135deg);
    }
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: var(--space-md) var(--space-xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    backdrop-filter: blur(20px);
    background: rgba(10, 10, 15, 0.7);
    border-bottom: var(--border-subtle);
}

.nav-brand {
    display: flex;
    align-items: center;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.brand-dot {
    color: var(--color-accent-2);
    font-size: 2rem;
    line-height: 1;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.nav-links {
    display: flex;
    gap: var(--space-lg);
}

.nav-link {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s var(--ease-out-expo);
}

.nav-link:hover {
    color: var(--color-text-primary);
}

.nav-link:hover::after {
    width: 100%;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: calc(80px + var(--space-xl)) var(--space-xl) var(--space-xl);
    gap: var(--space-2xl);
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 700px;
}

/* Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-sm);
    background: var(--color-surface);
    border: var(--border-subtle);
    border-radius: var(--border-radius-full);
    margin-bottom: var(--space-lg);
    animation: fadeInUp 0.8s var(--ease-out-expo);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--color-accent-4);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        box-shadow: 0 0 0 0 var(--color-accent-4);
    }

    50% {
        opacity: 0.8;
        box-shadow: 0 0 0 8px transparent;
    }
}

.badge-text {
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    letter-spacing: 0.5px;
}

/* Title */
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--space-md);
}

.title-line {
    display: block;
    animation: fadeInUp 0.8s var(--ease-out-expo);
    animation-fill-mode: both;
}

.title-line:nth-child(1) {
    animation-delay: 0.1s;
}

.title-line:nth-child(2) {
    animation-delay: 0.2s;
}

.title-line:nth-child(3) {
    animation-delay: 0.3s;
}

.title-line.highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Subtitle & Description */
.hero-subtitle {
    font-size: 1.5rem;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-md);
    animation: fadeInUp 0.8s var(--ease-out-expo) 0.4s both;
}

.hero-subtitle em {
    color: var(--color-accent-3);
    font-style: normal;
    position: relative;
}

.hero-subtitle em::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-accent-3);
    transform: scaleX(0);
    animation: underline-grow 0.6s var(--ease-out-expo) 1s forwards;
}

@keyframes underline-grow {
    to {
        transform: scaleX(1);
    }
}

.hero-description {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: var(--space-xl);
    animation: fadeInUp 0.8s var(--ease-out-expo) 0.5s both;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

.sparkle {
    display: inline-block;
    animation: sparkle 2s infinite;
}

@keyframes sparkle {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
}

/* CTA Buttons */
.cta-section {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
    animation: fadeInUp 0.8s var(--ease-out-expo) 0.6s both;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--border-radius-full);
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s var(--ease-out-expo);
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 30px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 40px rgba(99, 102, 241, 0.6);
}

.btn-arrow {
    transition: transform 0.3s ease;
}

.btn-primary:hover .btn-arrow {
    transform: translateX(5px);
}

.btn-secondary {
    background: transparent;
    color: var(--color-text-secondary);
    border: var(--border-subtle);
}

.btn-secondary:hover {
    background: var(--color-surface);
    color: var(--color-text-primary);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Stats Bar */
.stats-bar {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--space-md) 0;
    animation: fadeInUp 0.8s var(--ease-out-expo) 0.7s both;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    line-height: 1.4;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
}

/* ============================================
   HERO VISUAL
   ============================================ */
.hero-visual {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    max-width: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
    animation: fadeIn 1s var(--ease-out-expo) 0.5s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.visual-glow {
    position: absolute;
    width: 80%;
    height: 80%;
    background: var(--gradient-glow);
    filter: blur(80px);
    opacity: 0.5;
    animation: glow-pulse 4s infinite ease-in-out;
}

@keyframes glow-pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }
}

/* WAZA Glowing Text */
.waza-text {
    display: flex;
    gap: 0.1em;
    font-family: var(--font-display);
    font-size: clamp(1rem, 4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: 1em;
    z-index: 5;
    user-select: none;
}

.waza-letter {
    display: inline-block;
    color: var(--color-text-primary);
    text-shadow:
        0 0 20px rgba(99, 102, 241, 0.5),
        0 0 40px rgba(139, 92, 246, 0.3),
        0 0 60px rgba(236, 72, 153, 0.2);
    transition: all 0.3s ease-out;
    will-change: transform, text-shadow, color;
}

.waza-letter:nth-child(1) {
    color: #6366f1;
    text-shadow:
        0 0 30px rgba(99, 102, 241, 0.8),
        0 0 60px rgba(99, 102, 241, 0.5),
        0 0 100px rgba(99, 102, 241, 0.3);
}

.waza-letter:nth-child(2) {
    color: #8b5cf6;
    text-shadow:
        0 0 30px rgba(139, 92, 246, 0.8),
        0 0 60px rgba(139, 92, 246, 0.5),
        0 0 100px rgba(139, 92, 246, 0.3);
}

.waza-letter:nth-child(3) {
    color: #ec4899;
    text-shadow:
        0 0 30px rgba(236, 72, 153, 0.8),
        0 0 60px rgba(236, 72, 153, 0.5),
        0 0 100px rgba(236, 72, 153, 0.3);
}

.waza-letter:nth-child(4) {
    color: #06b6d4;
    text-shadow:
        0 0 30px rgba(6, 182, 212, 0.8),
        0 0 60px rgba(6, 182, 212, 0.5),
        0 0 100px rgba(6, 182, 212, 0.3);
}

/* Orbits */
.visual-orbit {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: orbit-rotate 20s linear infinite;
}

.orbit-1 {
    width: 90%;
    height: 90%;
    animation-duration: 30s;
}

.orbit-2 {
    width: 105%;
    height: 105%;
    animation-duration: 25s;
    animation-direction: reverse;
}

.orbit-3 {
    width: 120%;
    height: 120%;
    animation-duration: 35s;
}

@keyframes orbit-rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Orbit Dots */
.orbit-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    z-index: 10;
}

.dot-1 {
    background: var(--color-accent-1);
    box-shadow: 0 0 20px var(--color-accent-1);
    animation: orbit-dot-1 15s linear infinite;
}

.dot-2 {
    background: var(--color-accent-3);
    box-shadow: 0 0 20px var(--color-accent-3);
    animation: orbit-dot-2 20s linear infinite reverse;
}

.dot-3 {
    background: var(--color-accent-4);
    box-shadow: 0 0 20px var(--color-accent-4);
    animation: orbit-dot-3 25s linear infinite;
}

@keyframes orbit-dot-1 {
    from {
        transform: rotate(0deg) translateX(45%) rotate(0deg);
    }

    to {
        transform: rotate(360deg) translateX(45%) rotate(-360deg);
    }
}

@keyframes orbit-dot-2 {
    from {
        transform: rotate(0deg) translateX(52%) rotate(0deg);
    }

    to {
        transform: rotate(360deg) translateX(52%) rotate(-360deg);
    }
}

@keyframes orbit-dot-3 {
    from {
        transform: rotate(0deg) translateX(60%) rotate(0deg);
    }

    to {
        transform: rotate(360deg) translateX(60%) rotate(-360deg);
    }
}

/* ============================================
   MARQUEE
   ============================================ */
.marquee-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: var(--space-md) 0;
    background: var(--color-surface);
    border-top: var(--border-subtle);
    border-bottom: var(--border-subtle);
    z-index: 10;
}

.marquee {
    display: flex;
    width: fit-content;
}

.marquee-content {
    display: flex;
    gap: var(--space-xl);
    animation: marquee 30s linear infinite;
    white-space: nowrap;
}

.marquee-content span {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--color-text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: var(--space-2xl) var(--space-xl);
    text-align: center;
    position: relative;
    z-index: 10;
}

.footer-quote {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-style: italic;
    color: var(--color-text-secondary);
    max-width: 700px;
    margin: 0 auto var(--space-sm);
}

.footer-attribution {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: calc(80px + var(--space-lg));
    }

    .hero-content {
        max-width: 600px;
        margin: 0 auto;
    }

    .hero-badge {
        justify-content: center;
    }

    .cta-section {
        justify-content: center;
    }

    .stats-bar {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-visual {
        max-width: 400px;
        order: -1;
    }

    .floating-element {
        display: none;
    }
}

@media (max-width: 768px) {
    :root {
        font-size: 14px;
    }

    .navbar {
        padding: var(--space-sm) var(--space-md);
    }

    .nav-links {
        display: none;
    }

    .hero {
        padding: calc(70px + var(--space-md)) var(--space-md) var(--space-md);
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .cta-section {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .stats-bar {
        gap: var(--space-sm);
    }

    .stat-divider {
        display: none;
    }

    .footer-quote {
        font-size: 1.2rem;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}