:root {
    --primary: #1e3a8a;       /* Blue 900 */
    --primary-light: #3b82f6; /* Blue 500 */
    --accent: #10b981;        /* Emerald 500 */
    --dark: #0f172a;          /* Slate 900 */
    --light: #f8fafc;         /* Slate 50 */
    --text-muted: #94a3b8;    /* Slate 400 */
    --glass-bg: rgba(15, 23, 42, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
}

body, html {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    background-color: var(--dark);
    color: var(--light);
    overflow-x: hidden;
}

/* --- NAVBAR --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 100;
    box-sizing: border-box;
}

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

.logo-container img {
    height: 45px;
    border-radius: 8px;
}

.logo-container span {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: white;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

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

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

/* --- HERO SECTION --- */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 5%;
    position: relative;
    background-image: url('images/hero_bg.png');
    background-size: cover;
    background-position: center;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.7) 50%, rgba(15, 23, 42, 0.2) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(59, 130, 246, 0.15);
    color: var(--primary-light);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin: 0 0 1.5rem 0;
    font-weight: 800;
    background: linear-gradient(to right, #ffffff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #cbd5e1;
    margin-bottom: 2.5rem;
}

.cta-group {
    display: flex;
    gap: 15px;
}

.btn-primary {
    background: var(--primary-light);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: transform 0.2s, background 0.3s;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px 0 rgba(59, 130, 246, 0.39);
}

.btn-primary:hover {
    background: #2563eb;
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    border: 1px solid var(--glass-border);
    transition: background 0.3s;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* --- FEATURES SECTION --- */
.features {
    padding: 6rem 5%;
    background: var(--dark);
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin: 0 0 1rem 0;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    border-radius: 16px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -15px rgba(0,0,0,0.5);
    border-color: rgba(59, 130, 246, 0.3);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary-light);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin: 0 0 1rem 0;
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* --- HOW IT WORKS / DEMO --- */
.demo-section {
    padding: 6rem 5%;
    background: #0f172a;
    border-top: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    gap: 4rem;
}

.demo-text {
    flex: 1;
}

.demo-image {
    flex: 1;
    position: relative;
}

.demo-phone {
    background: #000;
    border: 12px solid #333;
    border-radius: 40px;
    height: 600px;
    width: 300px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.demo-screen {
    width: 100%;
    height: 100%;
    background: #efeae2; /* WhatsApp bg color */
    display: flex;
    flex-direction: column;
}

.wa-header {
    background: #075e54;
    color: white;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.wa-bubble {
    background: white;
    padding: 10px 15px;
    border-radius: 8px;
    margin: 15px;
    max-width: 80%;
    font-size: 0.9rem;
    color: #333;
    box-shadow: 0 1px 1px rgba(0,0,0,0.1);
}

.wa-bubble.out {
    background: #dcf8c6;
    align-self: flex-end;
}

.step {
    display: flex;
    gap: 20px;
    margin-bottom: 2rem;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* --- CTA SECTION --- */
.cta-section {
    padding: 6rem 5%;
    text-align: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%);
}

.cta-box {
    max-width: 700px;
    margin: 0 auto;
}

.cta-box h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    .demo-section { flex-direction: column; }
    .nav-links { display: none; }
}
