﻿:root {
    --primary: #4f46e5;
    --primary-dark: #4338ca;
    --secondary: #ec4899;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; background-color: var(--bg-light); color: var(--text-main); line-height: 1.6; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
a { text-decoration: none; color: inherit; }

/* NAVBAR */
.navbar { background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10px); position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid var(--border); }
.nav-container { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.logo { font-size: 24px; font-weight: 800; color: var(--primary); display: flex; align-items: center; gap: 10px; }
.logo span { color: var(--text-main); }
.nav-links { display: flex; gap: 30px; }
.nav-links a { font-weight: 500; color: var(--text-main); transition: 0.3s; }
.nav-links a:hover { color: var(--primary); }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 24px; border-radius: 8px; font-weight: 600; cursor: pointer; transition: 0.3s; border: none; }
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* HERO */
.hero { position: relative; padding: 120px 0; overflow: hidden; background: var(--bg-white); text-align: center; }
.hero-content { position: relative; z-index: 2; max-width: 800px; }
.hero h1 { font-size: 56px; font-weight: 800; line-height: 1.2; margin-bottom: 20px; }
.hero h1 span { background: linear-gradient(135deg, var(--primary), var(--secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { font-size: 18px; color: var(--text-muted); margin-bottom: 40px; font-weight: 300; }
.hero-actions { display: flex; gap: 20px; justify-content: center; margin-bottom: 50px; }
.btn-large { padding: 15px 35px; font-size: 18px; border-radius: 50px; }
.btn-gradient { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: white; box-shadow: 0 10px 20px rgba(79, 70, 229, 0.3); }
.btn-gradient:hover { box-shadow: 0 15px 25px rgba(79, 70, 229, 0.4); transform: translateY(-3px); }
.btn-outline { background: transparent; border: 2px solid var(--border); color: var(--text-main); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

.hero-stats { display: flex; justify-content: center; gap: 40px; color: var(--text-muted); font-size: 15px; font-weight: 500; }
.hero-stats i { color: var(--primary); margin-right: 5px; }

/* Hero Shapes */
.hero-shape { position: absolute; border-radius: 50%; filter: blur(80px); z-index: 1; opacity: 0.4; }
.hero-shape-1 { width: 400px; height: 400px; background: var(--primary); top: -100px; left: -100px; }
.hero-shape-2 { width: 300px; height: 300px; background: var(--secondary); bottom: -50px; right: -50px; }

/* SECTION HEADER */
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: 36px; font-weight: 800; }
.highlight { color: var(--primary); }
.section-header p { color: var(--text-muted); margin-top: 10px; font-size: 16px; }

/* FEATURES */
.features { padding: 100px 0; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.feature-card { background: var(--bg-white); padding: 40px 30px; border-radius: 20px; text-align: center; box-shadow: var(--shadow); transition: 0.3s; border: 1px solid var(--border); }
.feature-card:hover { transform: translateY(-10px); border-color: var(--primary); }
.icon-box { width: 70px; height: 70px; background: rgba(79, 70, 229, 0.1); color: var(--primary); font-size: 30px; border-radius: 20px; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.feature-card h3 { font-size: 20px; margin-bottom: 15px; }
.feature-card p { color: var(--text-muted); font-size: 15px; }

/* BLOG */
.blog { padding: 100px 0; background: var(--bg-white); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.blog-card { background: var(--bg-white); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border); transition: 0.3s; }
.blog-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px -5px rgba(0,0,0,0.1); }
.blog-img { height: 220px; width: 100%; }
.blog-content { padding: 25px; }
.category { background: rgba(79, 70, 229, 0.1); color: var(--primary); padding: 5px 12px; border-radius: 20px; font-size: 13px; font-weight: 600; display: inline-block; margin-bottom: 15px; }
.blog-content h3 { font-size: 20px; margin-bottom: 10px; line-height: 1.4; }
.blog-content p { color: var(--text-muted); font-size: 14px; margin-bottom: 20px; }
.read-more { color: var(--primary); font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 5px; }
.read-more:hover { gap: 10px; }

/* FOOTER */
.footer { background: #0f172a; color: white; padding: 80px 0 20px; }
.footer-container { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; margin-bottom: 50px; }
.footer-brand h3 { font-size: 24px; color: white; margin-bottom: 15px; }
.footer-brand p { color: #94a3b8; font-size: 15px; max-width: 300px; }
.footer h4 { font-size: 18px; margin-bottom: 20px; color: white; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: #94a3b8; font-size: 15px; transition: 0.3s; }
.footer-links a:hover { color: var(--primary); padding-left: 5px; }
.footer-social { display: flex; gap: 15px; }
.footer-social a { width: 40px; height: 40px; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; border-radius: 50%; color: white; transition: 0.3s; }
.footer-social a:hover { background: var(--primary); }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); color: #94a3b8; font-size: 14px; }

/* RESPONSIVE */
@media (max-width: 992px) {
    .nav-links { display: none; }
    .hero h1 { font-size: 40px; }
    .feature-grid, .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-container { grid-template-columns: 1fr; gap: 30px; text-align: center; }
    .footer-brand p { max-width: 100%; }
    .footer-social { justify-content: center; }
}
@media (max-width: 768px) {
    .hero-actions { flex-direction: column; }
    .hero-stats { flex-direction: column; gap: 15px; }
    .feature-grid, .blog-grid { grid-template-columns: 1fr; }
}
/* CHAT LOGIN BOX */
.chat-login-box {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 30px;
    border-radius: 20px;
    max-width: 500px;
    margin: 0 auto 40px auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}
.chat-login-box form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.input-group {
    position: relative;
    display: flex;
    align-items: center;
}
.input-group i {
    position: absolute;
    left: 15px;
    color: var(--text-muted);
    font-size: 18px;
}
.input-group input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 16px;
    font-family: inherit;
    transition: 0.3s;
    background: rgba(255, 255, 255, 0.9);
}
.input-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}
.login-buttons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}
.login-buttons button, .login-buttons a {
    flex: 1;
    justify-content: center;
}
