:root {
    --bg-dark: #07080c;
    --sidebar-bg: #0d0f17;
    --card-bg: rgba(18, 21, 32, 0.75);
    --border-color: rgba(255, 255, 255, 0.08);
    --accent-red: #ef4444;
    --accent-orange: #f97316;
    --accent-pink: #ec4899;
    --accent-blue: #38bdf8;
    --accent-purple: #c084fc;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --font-heading: 'Outfit', sans-serif;
    --font-sans: 'Plus Jakarta Sans', sans-serif;
    --font-mono: 'Fira Code', monospace;
}

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

body {
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(circle at 15% 15%, rgba(239, 68, 68, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 85% 25%, rgba(56, 189, 248, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 50% 75%, rgba(192, 132, 252, 0.12) 0%, transparent 50%);
    color: var(--text-main);
    font-family: var(--font-sans);
    min-height: 100vh;
    overflow-x: hidden;
}

.landing-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header Navbar */
.landing-header {
    height: 70px;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(13, 15, 23, 0.7);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.header-nav {
    display: flex;
    gap: 28px;
}

.header-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s ease;
}

.header-nav a:hover {
    color: var(--text-main);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.btn-chat-launch {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 9px 18px;
    border-radius: 22px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25 ease;
}

.btn-chat-launch:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.btn-auth-primary {
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
    color: #0f172a;
    border: none;
    padding: 9px 20px;
    border-radius: 22px;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
    transition: all 0.25s ease;
}

.btn-auth-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.35);
}

/* Hero Section */
.hero-section {
    padding: 70px 20px 50px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 1100px;
    margin: 0 auto;
}

.hero-badge {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
    font-size: 11px;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 20px;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.2);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 50%, #38bdf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 680px;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Interactive Glass Card */
.interactive-prompt-card {
    position: relative;
    width: 100%;
    max-width: 820px;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.5), rgba(56, 189, 248, 0.5), rgba(192, 132, 252, 0.5));
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.prompt-card-body {
    background: rgba(13, 15, 23, 0.92);
    backdrop-filter: blur(24px);
    border-radius: 19px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
}

.prompt-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pill-group {
    display: flex;
    gap: 8px;
}

.pill {
    padding: 5px 12px;
    border-radius: 14px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.04);
}

.pill.active {
    color: #ffffff;
    background: rgba(56, 189, 248, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #4ade80;
}

.status-indicator .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #22c55e;
    box-shadow: 0 0 8px #22c55e;
}

.prompt-preview-box {
    background: #090a0f;
    border: 1px solid var(--border-color);
    padding: 16px;
    border-radius: 12px;
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--accent-blue);
    line-height: 1.5;
}

.card-action-bar {
    display: flex;
    gap: 14px;
    margin-top: 8px;
}

.btn-start-action {
    flex: 1;
    background: linear-gradient(135deg, #ef4444 0%, #f97316 50%, #ec4899 100%);
    color: white;
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.35);
    transition: all 0.25s ease;
}

.btn-start-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(239, 68, 68, 0.5);
}

.btn-desktop-action {
    flex: 1;
    background: rgba(30, 35, 48, 0.8);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.25s ease;
}

.btn-desktop-action:hover {
    background: rgba(45, 52, 70, 0.9);
    transform: translateY(-2px);
}

/* Features Grid */
.features-section {
    padding: 60px 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 40px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.2);
}

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
}

.feature-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Auth Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(7, 8, 12, 0.85);
    backdrop-filter: blur(12px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.modal-card {
    background: rgba(18, 21, 32, 0.95);
    backdrop-filter: blur(24px);
    border: 1px solid var(--border-color);
    width: 390px;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-header h2 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    color: var(--text-main);
}

.close-modal-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 24px;
    cursor: pointer;
}

.google-auth-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background-color: #ffffff;
    color: #0f172a;
    border: none;
    padding: 12px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
}

.divider {
    text-align: center;
    margin: 18px 0;
    border-bottom: 1px solid var(--border-color);
    line-height: 0.1em;
}

.divider span {
    background-color: #12141c;
    padding: 0 10px;
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 700;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
}

.form-group label {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
}

.form-group input {
    background-color: #090a0f;
    border: 1px solid var(--border-color);
    color: white;
    padding: 10px 14px;
    border-radius: 8px;
    outline: none;
}

.submit-auth-btn {
    width: 100%;
    background: linear-gradient(135deg, #ef4444 0%, #f97316 100%);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 800;
    cursor: pointer;
    margin-top: 8px;
}

.toggle-auth-mode {
    text-align: center;
    margin-top: 16px;
    font-size: 12px;
    color: var(--text-muted);
}

.link-btn {
    background: none;
    border: none;
    color: var(--accent-blue);
    font-weight: 700;
    cursor: pointer;
    margin-left: 4px;
}

.auth-error {
    color: var(--accent-red);
    font-size: 12px;
    background: rgba(239, 68, 68, 0.1);
    padding: 8px;
    border-radius: 4px;
    margin-bottom: 8px;
}

.hidden {
    display: none !important;
}
