@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@100..900&family=Montserrat:wght@100..900&display=swap');

:root {
    --primary: #0ea5e9;
    --primary-gradient: linear-gradient(135deg, #0ea5e9, #10b981);
    --primary-glow: rgba(14, 165, 233, 0.25);
    --secondary: #10b981;
    --text-main: #0f172a;
    --text-muted: #475569;
    --bg-gradient: linear-gradient(135deg, #f0f9ff, #ecfdf5, #e0f2fe);
    --glass-bg: rgba(255, 255, 255, 0.45);
    --glass-border: rgba(255, 255, 255, 0.5);
    --shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.08);
    --shadow-hover: 0 20px 40px -15px rgba(15, 23, 42, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Outfit", "Montserrat", sans-serif;
    color: var(--text-main);
}

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #d5e2ec; /* Soft slate-blue-gray for bubble visibility while keeping a light theme */
    position: relative;
    overflow-x: hidden;
    padding: 1.5rem;
}

/* Background Blobs */
.blob-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    opacity: 0.5;
    mix-blend-mode: multiply;
    animation: blobMorph 22s infinite alternate ease-in-out;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: #22d3ee; /* Vivid Cyan */
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: #34d399; /* Vivid Emerald Green */
    animation-delay: -6s;
}

.blob-3 {
    top: 55%;
    left: 32%;
    width: 350px;
    height: 350px;
    background: #38bdf8; /* Vivid Sky Blue */
    animation-delay: -12s;
}

/* Floating/Drifting Bubbles */
.bubble-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.bubble {
    position: absolute;
    bottom: -150px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, 
        rgba(255, 255, 255, 0.7) 0%, 
        rgba(255, 255, 255, 0.25) 10%, 
        rgba(56, 189, 248, 0.08) 45%, 
        rgba(52, 211, 153, 0.08) 65%, 
        rgba(255, 255, 255, 0) 85%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 
        inset -5px -5px 12px rgba(0, 0, 0, 0.01), 
        inset 5px 5px 12px rgba(255, 255, 255, 0.4), 
        0 8px 24px rgba(14, 165, 233, 0.03);
    pointer-events: none;
}

@keyframes driftUp {
    0% {
        transform: translateY(0);
        opacity: 0;
    }
    10% {
        opacity: 0.85;
    }
    90% {
        opacity: 0.85;
    }
    100% {
        transform: translateY(-115vh);
        opacity: 0;
    }
}

@keyframes sway {
    0%, 100% {
        margin-left: 0;
    }
    50% {
        margin-left: 50px;
    }
}

@keyframes blobMorph {
    0% {
        transform: translate(0px, 0px) scale(1) rotate(0deg);
        border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%;
    }
    33% {
        transform: translate(40px, -60px) scale(1.15) rotate(90deg);
        border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
    }
    66% {
        transform: translate(-30px, 30px) scale(0.9) rotate(180deg);
        border-radius: 70% 30% 52% 48% / 60% 40% 60% 40%;
    }
    100% {
        transform: translate(0px, 0px) scale(1) rotate(360deg);
        border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%;
    }
}

/* App Container */
.app-card {
    width: 100%;
    max-width: 1000px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    box-shadow: var(--shadow);
    display: flex;
    overflow: hidden;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.app-card:hover {
    box-shadow: var(--shadow-hover);
}

/* Left Side: Pitch and Intro */
.pitch-section {
    width: 50%;
    padding: 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid var(--glass-border);
}

.bg-cleaning-graphic {
    position: fixed;
    top: -50px;
    right: 220px;
    width: 440px;
    height: 440px;
    opacity: 0.08;
    z-index: 1;
    pointer-events: none;
    transform: rotate(30deg);
    animation: floatBackgroundGraphic 15s infinite ease-in-out;
}

@keyframes floatBackgroundGraphic {
    0%, 100% {
        transform: rotate(30deg) translateY(0) scale(1);
    }
    50% {
        transform: rotate(25deg) translateY(-20px) scale(1.03);
    }
}


.badge {
    align-self: flex-start;
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.2);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #0284c7;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.85; transform: scale(0.98); }
}

.heading {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.heading span {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.subtitle {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
}

.feature-icon {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.15);
    border-radius: 50%;
    color: var(--secondary);
    font-weight: bold;
    font-size: 0.75rem;
    flex-shrink: 0;
}

/* Right Side: Form and Survey */
.form-section {
    width: 50%;
    padding: 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.form-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.form-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 1rem;
    color: #94a3b8;
    pointer-events: none;
    transition: color 0.3s ease;
}

.form-input {
    width: 100%;
    padding: 0.85rem 1rem 0.85rem 2.75rem;
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.75);
    outline: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    border-color: var(--primary);
    background: #ffffff;
    box-shadow: 0 0 0 4px var(--primary-glow);
}

.form-input:focus + .input-icon {
    color: var(--primary);
}

/* Custom mini survey styling inside form */
.survey-box {
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 14px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.survey-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.survey-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.survey-option {
    cursor: pointer;
}

.survey-option input {
    display: none;
}

.option-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 0.4rem;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 10px;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.25s ease;
}

.survey-option input:checked + .option-card {
    background: var(--primary-gradient);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.25);
}

.option-card span {
    color: inherit;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: var(--primary-gradient);
    border: none;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px var(--primary-glow);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.submit-btn,
.submit-btn * {
    color: #ffffff !important;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(14, 165, 233, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Success View */
.success-container {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    animation: fadeIn 0.6s ease forwards;
}

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

.success-icon-wrap {
    margin-bottom: 2rem;
    position: relative;
    width: 80px;
    height: 80px;
}

.success-svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: var(--secondary);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: var(--secondary);
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark-check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.6s forwards;
}

@keyframes stroke {
    to { stroke-dashoffset: 0; }
}

.success-title {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #10b981, #0d9488);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.success-message {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

@media (max-width: 1100px) {
    .blob-3 {
        display: none;
    }
}

/* Responsive design */
@media (max-width: 900px) {
    body {
        padding: 2rem 1rem;
        min-height: 100vh;
        height: auto;
    }

    .app-card {
        flex-direction: column;
        max-width: 500px;
        border-radius: 20px;
    }

    .pitch-section, .form-section {
        width: 100%;
        padding: 2.25rem 2rem;
    }

    .pitch-section {
        border-right: none;
        border-bottom: 1px solid var(--glass-border);
    }

    .heading {
        font-size: 2.25rem;
    }

    .bg-cleaning-graphic {
        display: none;
    }
}







@media (max-width: 480px) {
    body {
        padding: 1.25rem 0.75rem;
    }

    .pitch-section, .form-section {
        padding: 1.75rem 1.15rem;
    }

    .heading {
        font-size: 1.75rem;
        margin-bottom: 1.25rem;
    }

    .subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .survey-options {
        grid-template-columns: 1fr;
        gap: 0.4rem;
    }

    .form-title {
        font-size: 1.35rem;
    }
}