:root {
    /* Exact colors from mobile app - Light */
    --bg-primary: #f5f7fa;
    --bg-secondary: #ffffff;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    
    --accent: #ff4757;
    --accent-vibrant: #1e90ff;
    
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    
    --radius-lg: 24px;
    --radius-md: 16px;
    --nav-bg: rgba(245, 247, 250, 0.8);
}

body.dark {
    /* Exact colors from mobile app - Dark */
    --bg-primary: #0f111a;
    --bg-secondary: #1a1d2d;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    
    --accent: #ff4757; 
    --accent-vibrant: #00d2d3; /* Cyan pop in dark mode */
    
    --glass-bg: rgba(20, 24, 39, 0.7);
    --glass-border: rgba(255, 255, 255, 0.05);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    --nav-bg: rgba(15, 17, 26, 0.8);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    transition: background-color 0.4s ease, color 0.4s ease;
}

/* Background Blobs */
.background-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    filter: blur(100px);
}

.blob {
    position: absolute;
    border-radius: 50%;
    opacity: 0.2;
    transition: all 0.5s ease;
}

.b1 { width: 600px; height: 600px; background: var(--accent); top: -10%; left: -10%; }
.b2 { width: 500px; height: 500px; background: var(--accent-vibrant); bottom: -10%; right: -5%; }

body.dark .blob { opacity: 0.15; }

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--nav-bg);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    transition: background 0.4s ease, border-color 0.4s ease;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-family: 'Pacifico', cursive;
    font-size: 1.8rem;
    background: linear-gradient(135deg, #FFD700 0%, #FF8C00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 600;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--accent);
}

.theme-btn {
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--glass-shadow);
    transition: 0.3s;
}

.theme-btn:hover {
    transform: scale(1.05);
}

.sun-icon { display: none; }
.moon-icon { display: block; }

body.dark .sun-icon { display: block; }
body.dark .moon-icon { display: none; }

.cta-nav {
    background: linear-gradient(135deg, var(--accent), var(--accent-vibrant));
    color: white !important;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.2);
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    padding: 60px 8%;
    gap: 64px;
    min-height: 80vh;
}

.hero-content {
    flex: 1;
}

.badge {
    background: rgba(30, 144, 255, 0.1);
    color: var(--accent-vibrant);
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 24px;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 700;
    letter-spacing: -0.04em;
}

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

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-vibrant));
    color: white;
    text-decoration: none;
    padding: 18px 36px;
    border-radius: var(--radius-lg);
    font-weight: 700;
    transition: 0.3s;
    box-shadow: 0 8px 24px rgba(255, 71, 87, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(255, 71, 87, 0.3);
}

.btn-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    text-decoration: none;
    padding: 18px 36px;
    border-radius: var(--radius-lg);
    font-weight: 700;
    border: 1px solid var(--glass-border);
    transition: 0.3s;
    box-shadow: var(--glass-shadow);
}

.btn-secondary:hover {
    background: var(--bg-primary);
}

.hero-visual {
    flex: 1;
    position: relative;
}

.image-wrapper {
    position: relative;
    width: 100%;
}

#app-preview {
    width: 100%;
    border-radius: 40px;
    box-shadow: 0 30px 60px rgba(31, 38, 135, 0.15);
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
    border: 10px solid var(--bg-secondary);
    transition: border-color 0.4s ease;
}

.floating-label {
    position: absolute;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    padding: 14px 24px;
    border-radius: 20px;
    font-weight: 700;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    animation: float 5s ease-in-out infinite;
    color: var(--text-primary);
}

.l1 { top: 20%; left: -30px; border-left: 4px solid var(--accent); }
.l2 { bottom: 20%; right: -30px; animation-delay: 2.5s; border-left: 4px solid var(--accent-vibrant); }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Mission Section */
.mission {
    padding: 100px 8%;
    text-align: center;
}

.section-title h2 {
    font-size: 2.8rem;
    margin-bottom: 16px;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 60px;
}

.card {
    background: var(--bg-secondary);
    padding: 48px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card:hover {
    transform: translateY(-12px);
    border-color: var(--accent-vibrant);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 24px;
}

/* Help Section */
.help {
    padding: 80px 8%;
}

.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    box-shadow: var(--glass-shadow);
    transition: background 0.4s ease, border-color 0.4s ease;
}

.help-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
}

.help-info {
    padding: 64px;
}

.help-item {
    display: flex;
    gap: 24px;
    margin-top: 40px;
}

.help-icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.help-icon.api { background: rgba(255, 71, 87, 0.1); color: var(--accent); }
.help-icon.feature { background: rgba(30, 144, 255, 0.1); color: var(--accent-vibrant); }

.help-form {
    padding: 64px;
    background: rgba(255, 255, 255, 0.05);
    border-left: 1px solid var(--glass-border);
}

input, select, textarea {
    width: 100%;
    padding: 16px 20px;
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 1rem;
    outline: none;
    box-shadow: var(--glass-shadow);
    transition: background 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}

.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--accent), var(--accent-vibrant));
    color: white;
    padding: 18px;
    border-radius: var(--radius-md);
    border: none;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(255, 71, 87, 0.2);
    transition: 0.3s;
}

.btn-submit:hover {
    transform: scale(1.02);
}

/* Footer */
footer {
    padding: 60px 8%;
    border-top: 1px solid var(--glass-border);
    background: var(--bg-secondary);
    transition: background 0.4s ease;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo-img {
    height: 32px;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero { flex-direction: column; text-align: center; }
    .hero-content h1 { font-size: 3.2rem; }
    .hero-actions { justify-content: center; }
    .help-container { grid-template-columns: 1fr; }
    .help-form { border-left: none; border-top: 1px solid var(--glass-border); }
}

@media (max-width: 640px) {
    .hero-content h1 { font-size: 2.5rem; }
    .nav-links a:not(.cta-nav) { display: none; }
}

#successMessage {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
    height: 100%;
}

.success-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #2ed573, #7bed9f); /* Modern Green Gradient */
    color: white; /* Clean White Tick */
    font-size: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: 0 10px 25px rgba(46, 213, 115, 0.3);
    animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes scaleIn {
    0% { transform: scale(0); }
    100% { transform: scale(1); }
}

#successMessage h3 {
    font-size: 2rem;
    margin-bottom: 12px;
}

#successMessage p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.hidden {
    display: none !important;
}
