:root {
    --bg-color: #0f172a;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent-1: #f97316; /* Orange for cats */
    --accent-2: #8b5cf6; /* Purple for AI */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

h1, h2, .logo {
    font-family: 'Outfit', sans-serif;
}

/* Dynamic Background Blobs */
.blob {
    position: absolute;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.5;
    animation: float 10s infinite ease-in-out alternate;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: var(--accent-2);
    top: -100px;
    left: -100px;
    border-radius: 50%;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: var(--accent-1);
    bottom: -200px;
    right: -100px;
    border-radius: 50%;
    animation-delay: -5s;
}

@keyframes float {
    0% { transform: translateY(0px) scale(1); }
    100% { transform: translateY(50px) scale(1.1); }
}

/* Navbar */
.navbar {
    padding: 2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.logo span {
    color: var(--accent-1);
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4rem 5%;
    max-width: 1400px;
    margin: 0 auto;
    gap: 4rem;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(139, 92, 246, 0.2);
    border: 1px solid rgba(139, 92, 246, 0.4);
    border-radius: 50px;
    font-size: 0.9rem;
    color: #c4b5fd;
    margin-bottom: 1.5rem;
}

h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.gradient-text {
    background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.story-text {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 3rem;
}

/* Glass Panel */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Waitlist Form Section */
.waitlist-section {
    padding: 0 5% 4rem;
    max-width: 1400px;
    margin: 0 auto;
}

.waitlist-container {
    width: 100%;
}

.waitlist-container h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.waitlist-container p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

/* Horizontal Grid Form Styles */
.vertical-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem 1rem;
}

.horizontal-form {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.horizontal-form .form-group {
    flex: 1;
    min-width: 180px;
}

.horizontal-form .submit-group {
    flex: 0 0 auto;
}

.inline-btn {
    width: 100%;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: left;
}

.form-group label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

select {
    padding: 1rem 2.5rem 1rem 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    background-color: rgba(0, 0, 0, 0.2);
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.2em;
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

select:focus {
    border-color: var(--accent-2);
}

select option {
    background: var(--bg-color);
    color: white;
}

.other-input {
    margin-top: 0.5rem;
}

.full-width-btn {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 0.5rem;
}

input {
    flex: 1;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.2);
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

input:focus {
    border-color: var(--accent-2);
}

button {
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border: none;
    background: linear-gradient(90deg, var(--accent-1), #ea580c);
    color: white;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -10px var(--accent-1);
}

.hidden {
    display: none;
}

#message-box {
    margin-top: 1rem;
    font-size: 0.9rem;
    padding: 0.8rem;
    border-radius: 8px;
}

.success-msg { background: rgba(34, 197, 94, 0.2); color: #86efac; border: 1px solid #22c55e; }
.error-msg { background: rgba(239, 68, 68, 0.2); color: #fca5a5; border: 1px solid #ef4444; }

/* Visual Mockup */
.hero-visual {
    flex: 1;
    perspective: 1000px;
}

.app-mockup {
    transform: rotateY(-10deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.app-mockup:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.mockup-header {
    display: flex;
    gap: 8px;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--glass-border);
    margin-bottom: 1.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.red { background: #ff5f56; }
.yellow { background: #ffbd2e; }
.green { background: #27c93f; }

.task-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    transition: all 0.3s;
}

.task-card:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateX(5px);
}

.task-card.active {
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.1);
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-size: cover;
}

.orange-cat { background: linear-gradient(135deg, #fca5a5, #f97316); }
.human { background: linear-gradient(135deg, #93c5fd, #3b82f6); }
.siamese-cat { background: linear-gradient(135deg, #c4b5fd, #8b5cf6); }

.task-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    font-size: 0.95rem;
}

.task-info span {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.status-badge {
    padding: 0.3rem 0.8rem;
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.loader {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(139, 92, 246, 0.3);
    border-top-color: #8b5cf6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin { 100% { transform: rotate(360deg); } }

/* Responsive */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        padding-top: 2rem;
    }
    .app-mockup {
        transform: none;
    }
    h1 { font-size: 3rem; }
    .input-group { flex-direction: column; }
}
