@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #A7D8F0, #E8C5E5, #FFB3C6, #FFC9A9);
    background-size: 400% 400%;
    animation: gradientFlow 20s ease infinite;
    color: #0f0f10;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.text-dark-primary {
    color: #0f0f10;
}

@keyframes floating {
    0% {
        transform: translateY(0px); 
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }
    50% {
        transform: translateY(-8px); 
        box-shadow: 0 20px 35px rgba(0, 0, 0, 0.3); 
    }
    100% {
        transform: translateY(0px); 
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }
}

.animate-float {
    animation: floating 4s ease-in-out infinite; 
    will-change: transform, box-shadow;
    transition: all 0.3s ease-out;
}

.floating-notes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    overflow: hidden;
}

.floating-notes .note {
    position: absolute;
    font-size: 2rem;
    color: rgba(167, 216, 240, 0.3);
    animation: floatNote 15s infinite ease-in-out;
    opacity: 0;
}

.floating-notes .note:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
    animation-duration: 12s;
}

.floating-notes .note:nth-child(2) {
    left: 30%;
    animation-delay: 3s;
    animation-duration: 15s;
}

.floating-notes .note:nth-child(3) {
    left: 50%;
    animation-delay: 6s;
    animation-duration: 18s;
}

.floating-notes .note:nth-child(4) {
    left: 70%;
    animation-delay: 2s;
    animation-duration: 14s;
}

.floating-notes .note:nth-child(5) {
    left: 90%;
    animation-delay: 8s;
    animation-duration: 16s;
}

@keyframes floatNote {
    0% {
        bottom: -10%;
        opacity: 0;
        transform: translateX(0) rotate(0deg);
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        bottom: 110%;
        opacity: 0;
        transform: translateX(100px) rotate(360deg);
    }
}

.hero-badge {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 179, 198, 0.3);
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 179, 198, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 20px 10px rgba(255, 179, 198, 0);
    }
}

.text-reveal {
    display: inline-block;
    opacity: 0;
    animation: textReveal 0.8s ease-out forwards;
}

.text-reveal.delay-1 {
    animation-delay: 0.3s;
}

@keyframes textReveal {
    0% {
        opacity: 0;
        transform: translateY(30px);
        filter: blur(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

.slide-up {
    animation: slideUp 0.8s ease-out forwards;
}

.slide-up.delay-2 {
    animation-delay: 0.6s;
}

@keyframes slideUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.6;
    z-index: 0;
    animation: orbFloat 8s ease-in-out infinite;
}

.glow-orb-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #FFB3C6, transparent);
    top: -50px;
    right: -50px;
    animation-delay: 0s;
}

.glow-orb-2 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, #A7D8F0, transparent);
    bottom: -50px;
    left: -50px;
    animation-delay: 2s;
}

@keyframes orbFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.phone-float {
    animation: phoneFloat 6s ease-in-out infinite;
}

@keyframes phoneFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    z-index: 0;
    animation: blobMove 20s ease-in-out infinite;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #FFB3C6, transparent);
    top: 10%;
    left: -10%;
}

.blob-2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, #A7D8F0, transparent);
    bottom: 10%;
    right: -10%;
    animation-delay: 5s;
}

@keyframes blobMove {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(50px, 50px) scale(1.1);
    }
    50% {
        transform: translate(100px, -50px) scale(0.9);
    }
    75% {
        transform: translate(-50px, 100px) scale(1.05);
    }
}

.magnetic-element {
    transition: transform 0.3s ease-out;
    cursor: pointer;
}

.pulse-glow {
    animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 10px 30px rgba(167, 216, 240, 0.3);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 10px 50px rgba(255, 179, 198, 0.5);
        transform: scale(1.05);
    }
}


.scroll-reveal-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.scroll-reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.scroll-reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}


.is-visible {
    opacity: 1;
    transform: translate(0, 0) !important;
}

.scroll-reveal-delay-100 { transition-delay: 0.1s; }
.scroll-reveal-delay-200 { transition-delay: 0.2s; }
.scroll-reveal-delay-300 { transition-delay: 0.3s; }


.scroll-reveal, .scroll-reveal-card, .scroll-reveal.visible, .scroll-reveal-card.visible {
    opacity: initial;
    transform: initial;
    transition: initial;
}

.tilt-card {
    transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
    transform-style: preserve-3d;
}

.hover-lift {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.morphing-gradient {
    background-size: 200% 200%;
    animation: morphGradient 8s ease infinite;
}

@keyframes morphGradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.floating-emoji {
    display: inline-block;
    animation: floatEmoji 4s ease-in-out infinite;
}

@keyframes floatEmoji {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-10px) rotate(-5deg);
    }
    50% {
        transform: translateY(-20px) rotate(0deg);
    }
    75% {
        transform: translateY(-10px) rotate(5deg);
    }
}

.text-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 1.5rem;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.text-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12), 0 8px 16px rgba(0, 0, 0, 0.08);
}


.speech-bubble-card {
    background: rgba(255, 255, 255, 0.7); 
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 240, 245, 0.8));
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1), 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 1.5rem 1.5rem 1.5rem 1.5rem;
}

.speech-bubble-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-visual {
    border-radius: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.feature-visual::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.feature-visual:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15), 0 10px 20px rgba(0, 0, 0, 0.1);
}

.logo-font:hover img {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.logo-font {
    font-weight: 800;
    font-size: 2.25rem;
    line-height: 1;
    letter-spacing: -0.02em;
    transition: all 0.3s ease;
}

.logo-font:hover {
    transform: scale(1.05);
}

.glass-header-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border-radius: 1.5rem; 
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 1400px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-header-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

header {
    background: transparent !important; 
    border-bottom: none !important;
    box-shadow: none !important;
    transition: all 0.3s ease;
}

header.scrolled .glass-header-card {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(25px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.btn-join {
    background: linear-gradient(135deg, #FFB3C6 0%, #FF9AB5 100%);
    color: #ffffff;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(255, 179, 198, 0.3);
}

.btn-join::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #A7D8F0 0%, #9AC8E8 100%);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-join:hover::before {
    left: 0;
}

.btn-join:hover {
    color: #0f0f10;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(167, 216, 240, 0.4);
}

.phone-mockup-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.phone-mockup-container img {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-title {
    position: relative;
    background: linear-gradient(135deg, #0f0f10 0%, #4a5568 50%, #0f0f10 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textShimmer 3s ease-in-out infinite;
}

@keyframes textShimmer {
    0%, 100% {
        background-position: 0% center;
    }
    50% {
        background-position: 100% center;
    }
}

.cta-primary {
    background: linear-gradient(135deg, #FFB3C6 0%, #FF9AB5 100%);
    box-shadow: 0 8px 25px rgba(255, 179, 198, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.cta-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-primary:hover::after {
    width: 300px;
    height: 300px;
}

.cta-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(255, 179, 198, 0.4);
}

.stats-counter {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stats-counter:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.mobile-menu {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-icon {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.15) rotate(5deg);
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.15));
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 2.5rem !important;
        line-height: 1.1;
    }
    
    .text-card, .speech-bubble-card {
        padding: 1.25rem;
    }
    
    .feature-visual {
        min-height: 150px;
    }
    
    .glow-orb {
        width: 200px !important;
        height: 200px !important;
    }
}

@media (max-width: 768px) {
    .logo-font {
        font-size: 2rem;
    }
    
    body {
        font-size: 0.95rem;
    }
    
    .blob {
        width: 250px !important;
        height: 250px !important;
    }
}

*:focus {
    outline: 2px solid #A7D8F0;
    outline-offset: 2px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.6s ease-out;
}

.section-spacing {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

@media (min-width: 640px) {
    .section-spacing {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }
    .glass-header-card {
        border-radius: 1rem;
    }

}

@media (max-width: 768px) {
    button, a {
        min-height: 44px;
        min-width: 44px;
    }
}

img {
    will-change: transform;
}

.text-card, .speech-bubble-card, .feature-visual, .btn-join {
    will-change: transform, box-shadow;
}

#what-is-halo {
    scroll-margin-top: 150px; 
}

@media (min-width: 1024px) {
    .parallax-section {
        transform: translateZ(0);
        will-change: transform;
    }
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: rippleAnimation 0.6s ease-out;
    pointer-events: none;
}

@keyframes rippleAnimation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

body {
    opacity: 1;
    transition: opacity 0.5s ease;
}

.text-card::after, .speech-bubble-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 1.5rem;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.speech-bubble-card::after {
    border-radius: 1.5rem 1.5rem 1.5rem 1.5rem;
}


body {
    background-attachment: fixed;
    transition: background-position 0.3s ease-out;
}


.btn-join:hover, .cta-primary:hover {
    filter: brightness(1.1);
}

.social-icon img {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-icon:hover img {
    animation: socialBounce 0.6s ease;
}

@keyframes socialBounce {
    0%, 100% {
        transform: translateY(0);
    }
    25% {
        transform: translateY(-10px);
    }
    50% {
        transform: translateY(-5px);
    }
    75% {
        transform: translateY(-8px);
    }
}

.hero-badge {
    cursor: default;
}

.hero-badge:hover {
    animation: wiggle 0.5s ease;
}

@keyframes wiggle {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-3deg);
    }
    75% {
        transform: rotate(3deg);
    }
}

.text-card:hover {
    box-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.06),
        0 4px 8px rgba(0, 0, 0, 0.08),
        0 10px 20px rgba(0, 0, 0, 0.1),
        0 20px 40px rgba(0, 0, 0, 0.12);
}

.stats-counter:active {
    transform: scale(0.98);
}

header nav a:not(.btn-join) {
    position: relative;
}

header nav a:not(.btn-join)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #FFB3C6, #A7D8F0);
    transition: width 0.3s ease;
}

header nav a:not(.btn-join):hover::after {
    width: 100%;
}

@keyframes breathe {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.03);
    }
}

.stats-counter:hover {
    animation: breathe 2s ease-in-out infinite;
}

@media (max-width: 768px) {
    .floating-notes .note {
        animation-duration: 20s;
    }
    
    .glow-orb {
        filter: blur(40px);
    }
    
    .blob {
        filter: blur(60px);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .floating-notes,
    .glow-orb,
    .blob {
        display: none;
    }
}

.text-card,
.speech-bubble-card,
.feature-visual,
.phone-mockup-container img,
.btn-join,
.cta-primary {
    transform: translateZ(0);
    backface-visibility: hidden;
}

section {
    position: relative;
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.05));
    pointer-events: none;
}

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #FFB3C6, #A7D8F0);
    border-radius: 6px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #FF9AB5, #9AC8E8);
}

* {
    -webkit-tap-highlight-color: transparent;
}

button, a {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

.phone-mockup-container img:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12), 0 8px 16px rgba(0, 0, 0, 0.08);
}