/* ===== CSS Variables ===== */
:root {
    --background: #0d1117;
    --background-secondary: #161b22;
    --foreground: #f0f6fc;
    --muted: #8b949e;
    --border: #30363d;
    --purple-400: #a855f7;
    --purple-500: #9333ea;
    --purple-600: #7c3aed;
    --orange-400: #fb923c;
    --orange-500: #f97316;
    --green-400: #4ade80;
    --blue-400: #60a5fa;
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== Animated Background ===== */
.background {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--purple-500) 0%, transparent 70%);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--orange-500) 0%, transparent 70%);
    bottom: -150px;
    right: -150px;
    animation-delay: -7s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--blue-400) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.2;
    animation-delay: -14s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(30px, -30px) scale(1.05);
    }

    50% {
        transform: translate(-20px, 20px) scale(0.95);
    }

    75% {
        transform: translate(20px, 10px) scale(1.02);
    }
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* ===== Fixed Header ===== */
.site-header {
    position: fixed;
    top: 24px;
    left: 24px;
    z-index: 100;
}

.header-logo {
    width: 120px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(168, 85, 247, 0.3));
    transition: transform 0.3s ease;
}

.header-logo:hover {
    transform: scale(1.05);
}

/* ===== Container ===== */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 24px;
    position: relative;
    z-index: 1;
}

/* ===== Hero Section ===== */
.hero {
    text-align: center;
    padding: 80px 0;
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Spline 3D Container */
.spline-container {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    border-radius: 24px;
    opacity: 0.8;
}

.spline-container spline-viewer {
    width: 100%;
    height: 100%;
}

/* Overlay to hide Spline watermark */
.spline-watermark-blocker {
    position: absolute;
    bottom: 16px;
    right: 16px;
    height: 70px;
    width: auto;
    z-index: 10;
    border-radius: 8px;
    background: rgba(255, 255, 255, 1);
    padding: 10px 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.logo-container {
    margin-bottom: 40px;
}

.logo {
    width: 200px;
    height: auto;
    filter: drop-shadow(0 0 40px rgba(168, 85, 247, 0.3));
}

.headline {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.text-gradient {
    background: linear-gradient(135deg, var(--purple-400) 0%, var(--orange-400) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-white {
    color: var(--foreground);
}

.tagline {
    font-size: 1.25rem;
    color: var(--muted);
    max-width: 500px;
    margin: 0 auto 40px;
}

/* ===== Coming Soon Badge ===== */
.coming-soon-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--purple-400);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background: var(--green-400);
    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);
    }
}

/* ===== Section Title ===== */
.section-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
    text-align: center;
}

/* ===== Services Section ===== */
.services-section {
    margin-top: 80px;
    text-align: center;
}

.services-bubbles {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    padding: 20px 0;
}

.service-bubble {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 28px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1rem;
    cursor: default;
    transition: all 0.3s ease;
    animation: floatBubble 6s ease-in-out infinite;
}

.service-bubble:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.bubble-1 {
    background: linear-gradient(135deg, #9333ea, #7c3aed);
    color: white;
    animation-delay: 0s;
}

.bubble-2 {
    background: linear-gradient(135deg, #f97316, #fb923c);
    color: white;
    animation-delay: 0.5s;
}

.bubble-3 {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    color: white;
    animation-delay: 1s;
}

.bubble-4 {
    background: linear-gradient(135deg, #10b981, #34d399);
    color: white;
    animation-delay: 1.5s;
}

.bubble-5 {
    background: linear-gradient(135deg, #ec4899, #f472b6);
    color: white;
    animation-delay: 2s;
}

.bubble-6 {
    background: linear-gradient(135deg, #6366f1, #818cf8);
    color: white;
    animation-delay: 2.5s;
}

.bubble-7 {
    background: linear-gradient(135deg, #14b8a6, #2dd4bf);
    color: white;
    animation-delay: 3s;
}

.bubble-8 {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    color: white;
    animation-delay: 3.5s;
}

@keyframes floatBubble {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-8px) rotate(2deg);
    }

    75% {
        transform: translateY(4px) rotate(-2deg);
    }
}

/* ===== Product Showcase ===== */
.showcase {
    margin-top: 80px;
}

.product-card {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 32px;
    background: rgba(22, 27, 34, 0.8);
    border: 1px solid var(--border);
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.product-card:hover {
    border-color: var(--purple-500);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -20px rgba(168, 85, 247, 0.3);
}

.product-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--purple-500), var(--orange-500));
    border-radius: 16px;
    color: white;
}

.product-icon.clock-icon {
    border-radius: 50%;
    background: linear-gradient(135deg, #9333ea 0%, #7c3aed 100%);
    box-shadow: 0 4px 20px rgba(147, 51, 234, 0.4);
}

.product-info {
    flex: 1;
}

.product-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--purple-400), var(--foreground));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-info p {
    color: var(--muted);
    font-size: 0.9375rem;
}

.product-arrow {
    flex-shrink: 0;
    color: var(--muted);
    transition: transform 0.3s ease, color 0.3s ease;
}

.product-card:hover .product-arrow {
    transform: translateX(4px);
    color: var(--purple-400);
}

/* ===== Features ===== */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 60px;
}

.feature-card {
    padding: 28px;
    background: rgba(22, 27, 34, 0.6);
    border: 1px solid var(--border);
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: rgba(168, 85, 247, 0.4);
    background: rgba(22, 27, 34, 0.8);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 12px;
    color: var(--purple-400);
}

.feature-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 0.875rem;
    color: var(--muted);
}

/* ===== Contact ===== */
.contact {
    margin-top: 80px;
    text-align: center;
}

.contact-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: rgba(22, 27, 34, 0.8);
    border: 1px solid var(--border);
    border-radius: 100px;
    color: var(--foreground);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
}

.contact-link:hover {
    border-color: var(--purple-500);
    background: rgba(168, 85, 247, 0.1);
    color: var(--purple-400);
}

.contact-link svg {
    color: var(--purple-400);
}

/* ===== Footer ===== */
.footer {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer p {
    color: var(--muted);
    font-size: 0.875rem;
}

/* ===== Animations ===== */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.delay-1 {
    animation-delay: 0.1s;
}

.delay-2 {
    animation-delay: 0.2s;
}

.delay-3 {
    animation-delay: 0.3s;
}

.delay-4 {
    animation-delay: 0.5s;
}

.delay-5 {
    animation-delay: 0.7s;
}

.delay-6 {
    animation-delay: 0.9s;
}

.delay-7 {
    animation-delay: 1.1s;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .container {
        padding: 40px 20px;
    }

    .hero {
        padding: 60px 0;
    }

    .logo {
        width: 150px;
    }

    .product-card {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }

    .product-arrow {
        display: none;
    }

    .contact-links {
        flex-direction: column;
        align-items: center;
    }

    .contact-link {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}