@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200;300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-bg: #080808;
    --secondary-bg: #000000;
    --card-bg: rgba(21, 24, 31, 0.6);
    --accent-primary: #3564ff;
    --accent-secondary: #2e77ff;
    --accent-tertiary: #2194ff;
    --text-primary: #FFFFFF;
    --text-secondary: #B8BCC8;
    --text-muted: #6B7280;
    --border-primary: rgba(255, 255, 255, 0.08);
    --border-accent: rgba(53, 90, 255, 0.2);
    --shadow-primary: rgba(0, 0, 0, 0.25);
    --glow-orange: rgba(53, 117, 255, 0.15);
}

body {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--primary-bg);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Dynamic Background System */
.bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -3;
    background: radial-gradient(ellipse at 20% 70%, #3549ff 0%, transparent 60%),
        radial-gradient(ellipse at 70% 20%, #6366F1 0%, transparent 60%),
        radial-gradient(ellipse at 90% 80%, #EC4899 0%, transparent 60%);
    opacity: 0.06;
    filter: blur(40px);
    animation: backgroundFlow 25s ease-in-out infinite;
}

@keyframes backgroundFlow {

    0%,
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 0.06;
    }

    33% {
        transform: scale(1.2) rotate(120deg);
        opacity: 0.08;
    }

    66% {
        transform: scale(0.9) rotate(240deg);
        opacity: 0.04;
    }
}

.grain-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    animation: grainShift 12s linear infinite;
}

@keyframes grainShift {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(-1px, 1px);
    }
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-tertiary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-status {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background: none;
    border: 1px solid var(--border-primary);
    border-radius: 50px;
    backdrop-filter: blur(20px);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    position: relative;
    overflow: hidden;
}

.nav-status::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 32px 80px;
    position: relative;
}

.hero-content {
    max-width: 1200px;
    z-index: 10;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--card-bg);
    border: 1px solid var(--border-accent);
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    color: var(--accent-primary);
    margin-bottom: 48px;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(69, 171, 255, 0.1);
    animation: heroFadeIn 1s ease-out;
}

.hero-title {
    font-size: clamp(4rem, 10vw, 8rem);
    font-weight: 800;
    letter-spacing: -0.05em;
    line-height: 0.85;
    margin-bottom: 32px;
    background: linear-gradient(135deg, #FFFFFF 0%, #B8BCC8 50%, #6B7280 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 80px rgba(255, 244, 244, 0.1);
    animation: heroFadeIn 1s ease-out 0.2s both;
}

.hero-subtitle {
    font-size: 24px;
    font-weight: 400;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 64px;
    line-height: 1.5;
    animation: heroFadeIn 1s ease-out 0.4s both;
}

/* Waitlist Form */
.waitlist-section {
    animation: heroFadeIn 1s ease-out 0.6s both;
}

.form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.form-container {
    display: flex;
    background: var(--card-bg);
    border: 2px solid var(--border-primary);
    border-radius: 20px;
    padding: 8px;
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-tertiary));
    opacity: 0;
    border-radius: 18px;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.form-container:hover {
    border-color: var(--border-accent);
    box-shadow: 0 20px 60px rgba(53, 107, 255, 0.15);
    transform: translateY(-2px);
}

.form-container:focus-within {
    border-color: var(--accent-primary);
    transform: translateY(-4px);
}

.form-container:focus-within::before {
    opacity: 0.1;
}

.email-input {
    flex: 1;
    padding: 20px 28px;
    background: transparent;
    border: none;
    outline: none;
    font-size: 18px;
    font-weight: 500;
    color: var(--text-primary);
    font-family: inherit;
    z-index: 1;
}

.email-input::placeholder {
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.email-input:focus::placeholder {
    color: transparent;
}

.submit-button {
    padding: 20px 40px;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 50%, var(--accent-tertiary) 100%);
    border: none;
    border-radius: 16px;
    font-size: 18px;
    font-weight: 700;
    color: white;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.submit-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.submit-button:hover::before {
    left: 100%;
}

.submit-button:active {
    transform: translateY(0) scale(0.98);
}

.form-note {
    text-align: center;
    margin-top: 24px;
    font-size: 16px;
    color: var(--text-muted);
    font-weight: 500;
}

/* Features Section */
.features {
    padding: 200px 32px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.features-header {
    text-align: center;
    margin-bottom: 120px;
}

.features-title {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 32px;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.features-subtitle {
    font-size: 22px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    font-weight: 400;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 40px;
    margin-top: 80px;
}

.feature-card {
    background: none;
    border: 1px solid var(--border-primary);
    border-radius: 24px;
    padding: 48px 40px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-tertiary));
    transform: scaleX(0);
    transition: transform 0.6s ease;
}

.feature-card:hover {
    transform: translateY(-12px);
    border-color: var(--border-accent);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-tertiary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 32px;
    transition: all 0.4s ease;
    box-shadow: 0 8px 32px rgba(255, 107, 53, 0.2);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.feature-description {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.6;
    font-weight: 400;
}

/* Stats Section */
.stats-section {
    padding: 120px 32px;
    background: none;
    text-align: center;
    position: relative;
}

.stats-container {
    max-width: 800px;
    margin: 0 auto;
    background: none;
    border: 1px solid var(--border-primary);
    border-radius: 32px;
    padding: 64px 48px;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.stats-number {
    font-size: 72px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-tertiary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 16px;
    text-shadow: 0 0 50px rgba(255, 255, 255, 0.3);
}

.stats-label {
    font-size: 24px;
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 12px;
}

.stats-sublabel {
    font-size: 0px;
    color: var(--text-muted);
    font-weight: 500;
}

/* Footer */
.footer {
    padding: 80px 32px 40px;
    text-align: center;
    border-top: 1px solid var(--border-primary);
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer-text {
    font-size: 16px;
    color: var(--text-muted);
    font-weight: 500;
}

.success-toast.show {
    transform: translateX(0);
}

/* Animations */
@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 32px;
    }

    .stats-container {
        padding: 48px 32px;
    }
}

@media (max-width: 768px) {
    .nav-content {
        padding: 0 24px;
        height: 70px;
    }

    .hero {
        padding: 100px 24px 60px;
        min-height: 90vh;
    }

    .form-container {
        flex-direction: column;
        gap: 16px;
        padding: 16px;
    }

    .features {
        padding: 120px 24px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .success-toast {
        top: 90px;
        right: 20px;
        left: 20px;
        transform: translateY(-200px);
    }

    .success-toast.show {
        transform: translateY(0);
    }
}









.custom-success-toast {
    display: none;
    position: fixed;
    bottom: 44px;
    left: 50%;
    transform: translateX(-50%) scale(0.96);
    background: rgba(34, 197, 94, 0.22);
    backdrop-filter: blur(8px) saturate(160%);
    color: #fff;
    border: 2px solid #2dd4bf;
    box-shadow: 0 8px 32px rgba(44, 197, 94, 0.32);
    border-radius: 18px;
    padding: 22px 54px 22px 50px;
    font-size: 1.2rem;
    z-index: 9999;
    opacity: 0;
    transition: all 0.4s cubic-bezier(.68, -0.55, .27, 1.55);
}

.custom-success-toast.show {
    opacity: 1;
    display: flex;
    align-items: center;
    transform: translateX(-50%) scale(1.04);
}

.toast-icon {
    font-size: 2.2rem;
    margin-right: 18px;
    animation: pop-in 0.5s cubic-bezier(.68, -0.55, .27, 1.55);
}

.toast-message {
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.02em;
    flex: 1;
}

.toast-sub {
    font-size: 0.95rem;
    font-weight: 400;
    color: #bbf7d0;
    margin-top: 4px;
    display: block;
}

.toast-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.1rem;
    margin-left: 20px;
    cursor: pointer;
    opacity: 0.67;
    transition: opacity 0.2s;
}

.toast-close:hover {
    opacity: 1;
}

@keyframes pop-in {
    0% {
        transform: scale(0.7);
        opacity: 0;
    }

    100% {
        transform: scale(1.1);
        opacity: 1;
    }
}







.custom-error-popup {
    display: none;
    position: fixed;
    bottom: 44px;
    left: 50%;
    transform: translateX(-50%) scale(0.96);
    background: rgba(255, 53, 53, 0.22);
    backdrop-filter: blur(10px) saturate(150%);
    color: #fff;
    border: 2px solid #ff3535;
    box-shadow: 0 8px 32px rgba(53, 147, 255, 0.2);
    border-radius: 18px;
    padding: 22px 54px 22px 50px;
    font-size: 1.2rem;
    z-index: 9999;
    opacity: 0;
    transition:
        opacity 0.4s cubic-bezier(.68, -0.55, .27, 1.55),
        transform 0.4s cubic-bezier(.68, -0.55, .27, 1.55);
}

.custom-error-popup.show {
    opacity: 1;
    display: flex;
    align-items: center;
    transform: translateX(-50%) scale(1.04);
}

.error-popup-content {
    display: flex;
    align-items: center;
    gap: 18px;
    width: 100%;
}

.error-popup-icon {
    font-size: 2.2rem;
    animation: pop-in 0.5s;
}

.error-popup-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.2rem;
    margin-left: 20px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.error-popup-close:hover {
    opacity: 1;
}

@keyframes pop-in {
    0% {
        transform: scale(0.7);
        opacity: 0;
    }

    100% {
        transform: scale(1.1);
        opacity: 1;
    }
}

.kairo {
    display: flex;
    justify-content: center;
    align-items: end;
    padding: 0;
    padding-bottom: 0;
}

.kairotxt {
    font-family: "Quicksand", sans-serif;
    font-weight: 300;
    font-size: 1rem;
    color: rgb(109, 109, 109);
}

.kairotxt>a {
    color: rgb(180, 180, 180);
    text-decoration: none;
}

/* Hide scrollbar for Chrome, Safari and Opera */
html::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge, and Firefox */
html {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}