/* --- CSS Variables for Theming --- */
:root {
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --secondary-color: #0f172a;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    
    --font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    --transition-speed: 0.3s;
}

/* --- Global Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-family);
}

body {
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
}

a { text-decoration: none; }
ul { list-style: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Utility Classes --- */
.text-primary { color: var(--primary-color); }
.text-center { text-align: center; }
.text-sm { font-size: 0.875rem; }
.mt-10 { margin-top: 10px; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color var(--transition-speed), transform 0.2s;
    border: none;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background-color: var(--primary-color); color: white; }
.btn-primary:hover { background-color: var(--primary-hover); }
.btn-outline { background-color: transparent; border: 1px solid var(--border-color); color: var(--text-main); }
.btn-outline:hover { background-color: var(--bg-light); }
.btn-secondary { background-color: var(--secondary-color); color: white; }
.btn-lg { padding: 14px 28px; font-size: 1.1rem; }

/* --- Navbar --- */
.navbar {
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 15px 0;
}
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 1.5rem; font-weight: 700; color: var(--secondary-color); }
.nav-links { display: flex; gap: 30px; }
.nav-links a { color: var(--text-muted); font-weight: 500; transition: color var(--transition-speed); }
.nav-links a:hover { color: var(--primary-color); }
.nav-actions { display: flex; gap: 15px; }
.mobile-menu-btn { display: none; background: none; border: none; font-size: 1.5rem; color: var(--secondary-color); cursor: pointer; }

/* --- Hero Section --- */
.hero { padding: 80px 0; background: linear-gradient(135deg, #ffffff 0%, #eff6ff 100%); }
.hero-container { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.hero-title { font-size: 3.5rem; line-height: 1.2; margin-bottom: 20px; color: var(--secondary-color); }
.hero-subtitle { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 30px; }
.hero-buttons { display: flex; gap: 15px; }

/* Mockup Design */
.mockup-frame {
    background-color: var(--secondary-color);
    border-radius: 24px;
    padding: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    max-width: 350px;
    margin: 0 auto;
}
.mockup-screen {
    background-color: var(--bg-white);
    border-radius: 12px;
    height: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--border-color);
}
.mockup-screen i { font-size: 4rem; color: var(--primary-color); margin-bottom: 20px; }
.mockup-screen h3 { color: var(--text-main); margin-bottom: 20px; }
.mockup-bar { width: 60%; height: 12px; background-color: #e2e8f0; border-radius: 6px; margin-bottom: 10px; }
.mockup-bar.short { width: 40%; }

/* --- Features Section --- */
.features { padding: 80px 0; background-color: var(--bg-white); }
.section-header { text-align: center; margin-bottom: 50px; max-width: 600px; margin-left: auto; margin-right: auto; }
.section-header h2 { font-size: 2.2rem; margin-bottom: 15px; color: var(--secondary-color); }
.section-header p { color: var(--text-muted); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.feature-card { background-color: var(--bg-light); padding: 40px 30px; border-radius: 16px; border: 1px solid var(--border-color); transition: transform var(--transition-speed); }
.feature-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.feature-icon { width: 60px; height: 60px; background-color: #eff6ff; color: var(--primary-color); border-radius: 12px; display: flex; justify-content: center; align-items: center; font-size: 1.8rem; margin-bottom: 20px; }
.feature-card h3 { font-size: 1.3rem; margin-bottom: 15px; color: var(--secondary-color); }
.feature-card p { color: var(--text-muted); }

/* --- CTA Section --- */
.cta-section { background-color: var(--secondary-color); color: white; padding: 70px 0; text-align: center; }
.cta-container h2 { font-size: 2.5rem; margin-bottom: 15px; }
.cta-container p { font-size: 1.1rem; color: #94a3b8; margin-bottom: 30px; max-width: 500px; margin-left: auto; margin-right: auto; }

/* --- Footer --- */
.footer { background-color: var(--bg-white); padding: 60px 0 20px 0; border-top: 1px solid var(--border-color); }
.footer-container { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-links h4, .footer-social h4 { font-size: 1.1rem; margin-bottom: 20px; color: var(--secondary-color); }
.footer-links a { display: block; color: var(--text-muted); margin-bottom: 10px; transition: color 0.2s; }
.footer-links a:hover { color: var(--primary-color); }
.social-icons { display: flex; gap: 15px; }
.social-icons a { width: 40px; height: 40px; background-color: var(--bg-light); border-radius: 50%; display: flex; justify-content: center; align-items: center; color: var(--text-muted); transition: all 0.2s; }
.social-icons a:hover { background-color: var(--primary-color); color: white; }
.footer-bottom { border-top: 1px solid var(--border-color); padding-top: 20px; color: var(--text-muted); }

/* --- Responsive Design (Media Queries) --- */
@media (max-width: 992px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-buttons { justify-content: center; }
    .footer-container { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links, .nav-actions { display: none; } /* Can be toggled via JS */
    .mobile-menu-btn { display: block; }
    .hero-title { font-size: 2.5rem; }
    .hero-buttons { flex-direction: column; }
    .footer-container { grid-template-columns: 1fr; text-align: center; }
    .social-icons { justify-content: center; }
}