/* gabs.ai - Holographic 3D Product Aesthetic */

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #0a0a14;
    color: #e2e8f0;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.65;
    overflow-x: hidden;
}

/* ===== KEYFRAMES ===== */
@keyframes shimmer {
    0% { background-position: 200% center; }
    100% { background-position: -200% center; }
}

@keyframes orbPulse {
    0%, 100% { transform: scale(1); opacity: 0.4; }
    50% { transform: scale(1.6); opacity: 0; }
}

@keyframes ringExpand {
    0% { transform: scale(0.3); opacity: 0.5; }
    100% { transform: scale(2.5); opacity: 0; }
}

@keyframes sparkle {
    0%, 100% { opacity: 0; transform: scale(0.5); }
    50% { opacity: 1; transform: scale(1); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes borderGlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes chatSlideIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes orbBreathe {
    0%, 100% { box-shadow: 0 0 40px rgba(139,92,246,0.4), 0 0 80px rgba(139,92,246,0.15); }
    50% { box-shadow: 0 0 60px rgba(139,92,246,0.6), 0 0 120px rgba(139,92,246,0.25); }
}

@keyframes launchOrbBrighten {
    0%, 100% { box-shadow: 0 0 60px rgba(139,92,246,0.5), 0 0 120px rgba(139,92,246,0.2), 0 0 200px rgba(124,58,237,0.15); }
    50% { box-shadow: 0 0 80px rgba(139,92,246,0.7), 0 0 160px rgba(139,92,246,0.35), 0 0 260px rgba(124,58,237,0.25); }
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 2rem;
}

/* Concentric Rings */
.concentric-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.ring {
    position: absolute;
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: ringExpand 4s ease-out infinite;
}

.ring-1 {
    width: 200px;
    height: 200px;
    animation-delay: 0s;
}

.ring-2 {
    width: 200px;
    height: 200px;
    animation-delay: 1s;
}

.ring-3 {
    width: 200px;
    height: 200px;
    animation-delay: 2s;
}

.ring-4 {
    width: 200px;
    height: 200px;
    animation-delay: 3s;
}

/* Sparkle Dots */
.sparkles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.sparkle {
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #e2e8f0;
    animation: sparkle 3s ease-in-out infinite;
}

.s1 { top: 20%; left: 15%; animation-delay: 0s; }
.s2 { top: 30%; left: 80%; animation-delay: 0.5s; }
.s3 { top: 60%; left: 10%; animation-delay: 1s; }
.s4 { top: 70%; left: 85%; animation-delay: 1.5s; }
.s5 { top: 15%; left: 50%; animation-delay: 2s; }
.s6 { top: 80%; left: 30%; animation-delay: 0.3s; }
.s7 { top: 45%; left: 90%; animation-delay: 1.7s; }
.s8 { top: 85%; left: 65%; animation-delay: 2.3s; }

/* Orb */
.orb-container {
    position: relative;
    z-index: 2;
    margin-bottom: 2rem;
    animation: float 6s ease-in-out infinite;
}

.orb {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #8b5cf6, #4c1d95);
    box-shadow: 0 0 40px rgba(139,92,246,0.4), 0 0 80px rgba(139,92,246,0.15);
    animation: orbBreathe 4s ease-in-out infinite;
    position: relative;
}

.orb::after {
    content: '';
    position: absolute;
    top: 15%;
    left: 20%;
    width: 30%;
    height: 25%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.25), transparent);
    filter: blur(4px);
}

.orb-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139,92,246,0.3), transparent 70%);
    animation: orbPulse 3s ease-out infinite;
}

/* Shimmer Brand Name */
.brand-name {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: clamp(3.5rem, 10vw, 6rem);
    background: linear-gradient(90deg, #7c3aed, #06b6d4, #f43f5e, #7c3aed);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
    position: relative;
    z-index: 2;
    letter-spacing: -0.02em;
}

.brand-dot {
    /* Inherits the shimmer from parent */
}

.hero-tagline {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: rgba(226, 232, 240, 0.6);
    margin-top: 0.75rem;
    position: relative;
    z-index: 2;
    text-align: center;
}

/* AI Badge */
.ai-badge {
    position: relative;
    z-index: 2;
    margin-top: 3rem;
    padding: 2px;
    border-radius: 20px;
    background: linear-gradient(90deg, #7c3aed, #06b6d4, #f43f5e, #7c3aed);
    background-size: 300% 300%;
    animation: borderGlow 4s ease infinite;
}

.ai-badge-text {
    display: block;
    padding: 0.4rem 1.2rem;
    border-radius: 18px;
    background: #0a0a14;
    font-family: 'Fira Code', monospace;
    font-size: 0.7rem;
    color: #e2e8f0;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

/* ===== CAPABILITIES SECTION ===== */
.capabilities {
    padding: 6rem 2rem;
    position: relative;
}

.capabilities-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.section-title {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    text-align: center;
    margin-bottom: 4rem;
}

.shimmer-text {
    background: linear-gradient(90deg, #7c3aed, #06b6d4, #f43f5e, #7c3aed);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

/* Feature Ring Layout */
.feature-ring {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Feature Cards with Iridescent Border */
.feature-card {
    position: relative;
    padding: 2px;
    border-radius: 16px;
    background: linear-gradient(135deg, #7c3aed, #06b6d4, #f43f5e, #7c3aed);
    background-size: 300% 300%;
    animation: borderGlow 5s ease infinite;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: 14px;
    background: #0a0a14;
    z-index: 0;
}

.feature-icon {
    position: relative;
    z-index: 1;
    margin-bottom: 1rem;
}

.feature-title {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: #e2e8f0;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.feature-desc {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: rgba(226, 232, 240, 0.6);
    line-height: 1.65;
    position: relative;
    z-index: 1;
}

.feature-card > * {
    position: relative;
    z-index: 1;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.feature-card > .feature-icon {
    padding-top: 1.5rem;
}

.feature-card > .feature-desc {
    padding-bottom: 1.5rem;
}

/* ===== CONVERSATION SECTION ===== */
.conversation {
    padding: 6rem 2rem;
    position: relative;
}

.chat-window {
    max-width: 640px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    padding: 2px;
    background: linear-gradient(135deg, #7c3aed, #06b6d4, #f43f5e, #7c3aed);
    background-size: 300% 300%;
    animation: borderGlow 5s ease infinite;
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 1.25rem;
    background: #1a1a2e;
    border-radius: 14px 14px 0 0;
    position: relative;
    z-index: 1;
}

.chat-header-orb {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: radial-gradient(circle, #8b5cf6, #4c1d95);
    box-shadow: 0 0 8px rgba(139,92,246,0.5);
}

.chat-header-label {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    color: #e2e8f0;
}

.chat-header-status {
    font-family: 'Fira Code', monospace;
    font-size: 0.65rem;
    color: #06b6d4;
    margin-left: auto;
    letter-spacing: 0.05em;
}

.chat-messages {
    background: #1a1a2e;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border-radius: 0 0 14px 14px;
    position: relative;
    z-index: 1;
}

.chat-bubble {
    padding: 1rem 1.25rem;
    border-radius: 12px;
    max-width: 85%;
}

.chat-anim {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.chat-anim.visible {
    opacity: 1;
    transform: translateY(0);
}

.user-bubble {
    background: rgba(6, 182, 212, 0.08);
    border: 1px solid rgba(6, 182, 212, 0.15);
    align-self: flex-end;
}

.ai-bubble {
    background: rgba(124, 58, 237, 0.08);
    border: 1px solid rgba(124, 58, 237, 0.15);
    align-self: flex-start;
}

.bubble-sender {
    display: block;
    font-family: 'Fira Code', monospace;
    font-size: 0.65rem;
    color: #06b6d4;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.4rem;
}

.ai-bubble .bubble-sender {
    color: #7c3aed;
}

.bubble-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: #e2e8f0;
    line-height: 1.65;
}

.ai-bubble .bubble-text {
    font-family: 'Fira Code', monospace;
    font-size: 0.8rem;
}

/* ===== LAUNCH SECTION ===== */
.launch {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 4rem 2rem;
}

.launch-orb-container {
    position: relative;
    margin-bottom: 2.5rem;
    animation: float 5s ease-in-out infinite;
}

.launch-orb {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #8b5cf6, #7c3aed, #4c1d95);
    animation: launchOrbBrighten 4s ease-in-out infinite;
    position: relative;
}

.launch-orb::after {
    content: '';
    position: absolute;
    top: 12%;
    left: 18%;
    width: 35%;
    height: 28%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,255,255,0.3), transparent);
    filter: blur(5px);
}

.launch-orb-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139,92,246,0.3), transparent 70%);
    animation: orbPulse 3s ease-out infinite;
}

.launch-heading {
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: clamp(2.5rem, 6vw, 4rem);
    text-align: center;
    margin-bottom: 1rem;
}

.launch-sub {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    color: rgba(226, 232, 240, 0.5);
    text-align: center;
    margin-bottom: 2.5rem;
}

.launch-cta-wrap {
    position: relative;
    padding: 2px;
    border-radius: 30px;
    background: linear-gradient(90deg, #7c3aed, #06b6d4, #f43f5e, #7c3aed);
    background-size: 300% 300%;
    animation: borderGlow 3s ease infinite;
}

.launch-cta {
    display: block;
    padding: 0.85rem 2.5rem;
    border-radius: 28px;
    background: #0a0a14;
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: #e2e8f0;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: background 0.3s ease;
}

.launch-cta:hover {
    background: #1a1a2e;
}

/* Footer */
.footer {
    position: absolute;
    bottom: 2rem;
    left: 0;
    right: 0;
    text-align: center;
}

.footer-text {
    font-family: 'Fira Code', monospace;
    font-size: 0.7rem;
    color: rgba(124, 58, 237, 0.5);
    letter-spacing: 0.08em;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .feature-ring {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }

    .chat-bubble {
        max-width: 95%;
    }

    .orb {
        width: 90px;
        height: 90px;
    }

    .orb-pulse {
        width: 90px;
        height: 90px;
    }

    .launch-orb {
        width: 120px;
        height: 120px;
    }

    .launch-orb-pulse {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 480px) {
    .hero-tagline {
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 2.5rem;
    }
}
