:root {
    --bg-color: #0f172a;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --card-bg: #1e293b;
    --card-border: #334155;
    --accent: #3b82f6;
    --accent-hover: #2563eb;
    --ekalyan-color: #10b981;
    --prompts-color: #8b5cf6;
    --jac-color: #f59e0b;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navbar */
.navbar {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--card-border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 32px;
}

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

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

/* Header */
.header {
    text-align: center;
    padding: 100px 0 60px;
    background: radial-gradient(circle at top, #1e293b 0%, transparent 60%);
}

.logo {
    font-size: 4rem;
    font-weight: 800;
    background: linear-gradient(135deg, #60a5fa, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 16px;
    letter-spacing: -2px;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* App Showcase */
.apps-section {
    padding: 60px 0;
}

.app-showcase {
    display: flex;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 48px;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.app-showcase:hover {
    transform: translateY(-5px);
    border-color: #475569;
}

.app-showcase.reverse {
    flex-direction: row-reverse;
}

.app-showcase-icon {
    flex-shrink: 0;
    width: 220px;
    height: 220px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    font-weight: 800;
    color: white;
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.4);
}

.ekalyan-bg { background: linear-gradient(135deg, #34d399, #059669); }
.prompts-bg { background: linear-gradient(135deg, #a78bfa, #7c3aed); }
.jac-bg { background: linear-gradient(135deg, #fbbf24, #d97706); }

.app-showcase-content {
    flex-grow: 1;
}

.app-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.app-about, .app-features {
    margin-bottom: 24px;
}

.app-about h3, .app-features h3 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

.app-about p {
    color: var(--text-secondary);
    font-size: 1.15rem;
}

.app-features ul {
    list-style: none;
}

.app-features li {
    color: var(--text-secondary);
    margin-bottom: 8px;
    position: relative;
    padding-left: 28px;
    font-size: 1.1rem;
}

.app-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.download-btn {
    display: inline-block;
    padding: 16px 32px;
    background: var(--accent);
    color: white;
    text-decoration: none;
    border-radius: 99px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.2s ease;
    margin-top: 16px;
}

.download-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(37, 99, 235, 0.4);
}

/* Contact Section */
.contact-section {
    padding: 80px 0 120px;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.contact-desc {
    color: var(--text-secondary);
    margin-bottom: 48px;
    font-size: 1.15rem;
}

.contact-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 18px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1.05rem;
    transition: border-color 0.2s;
}

.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.submit-btn {
    padding: 18px;
    background: linear-gradient(135deg, #60a5fa, #c084fc);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.15rem;
    cursor: pointer;
    transition: transform 0.2s, opacity 0.2s;
}

.submit-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* Text Page (Privacy Policy) */
.text-page {
    padding: 80px 24px 120px;
    max-width: 800px;
}

.text-page h1 {
    font-size: 3rem;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.text-page h2 {
    font-size: 1.5rem;
    margin: 48px 0 16px;
    color: var(--accent);
}

.text-page p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-size: 1.15rem;
}

/* Footer */
.footer {
    margin-top: auto;
    padding: 40px 0;
    border-top: 1px solid var(--card-border);
    background: #0b1121;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-secondary);
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--text-primary);
}

/* Responsive */
@media (max-width: 900px) {
    .app-showcase, .app-showcase.reverse {
        flex-direction: column;
        text-align: center;
        padding: 40px 24px;
        gap: 32px;
    }
    
    .app-showcase-icon {
        width: 160px;
        height: 160px;
        font-size: 3.5rem;
        border-radius: 32px;
    }

    .app-features li {
        text-align: left;
        display: inline-block;
        width: 100%;
    }
}

@media (max-width: 600px) {
    .nav-links {
        display: none;
    }
    .footer-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    .logo {
        font-size: 3rem;
    }
    .app-title {
        font-size: 2rem;
    }
}
