/* --- CSS Variables for Easy Theming --- */
:root {
    --primary-color: #007bff;
    --primary-hover-color: #0056b3;
    --secondary-color: #6c757d;
    --text-color: #333;
    --bg-color: #ffffff;
    --light-bg-color: #f8f9fa;
    --border-color: #dee2e6;
    --font-family: 'Inter', sans-serif;
    --container-width: 1140px;
    --border-radius: 8px;
    --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* --- Global Styles --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

a:hover {
    color: var(--primary-hover-color);
}

section {
    padding: 80px 0;
}

.section {
    text-align: center;
}
.section-alt {
    background-color: var(--light-bg-color);
}

.section-header {
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.section-header h2 {
    margin-bottom: 0.5rem;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    border: none;
}
.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
}
.btn-primary:hover {
    background-color: var(--primary-hover-color);
    color: #fff;
}
.btn-secondary {
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid var(--border-color);
}
.btn-secondary:hover {
    background-color: var(--light-bg-color);
}
.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* --- Header & Navigation --- */
.main-header {
    background: #fff;
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
}
.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}
.nav-links a {
    font-weight: 500;
    color: var(--secondary-color);
}
.nav-links a:hover {
    color: var(--primary-color);
}
.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}
.mobile-menu-toggle {
    display: none; /* Hidden on desktop */
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
}
.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* --- Hero Section --- */
.hero {
    padding: 100px 0;
}
.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    text-align: left;
}
.hero h1 {
    font-size: 3.5rem;
}
.hero p {
    font-size: 1.2rem;
    color: var(--secondary-color);
}
.hero-form {
    display: flex;
    margin-top: 2rem;
}
.hero-form input {
    flex-grow: 1;
    padding: 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-size: 1rem;
}
.hero-form button {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}
.hero-visual img {
    max-width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

/* --- Grids for Features/Steps --- */
.steps-grid, .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    text-align: left;
}
.step-card, .feature-card {
    background: #fff;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.step-card:hover, .feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}
.step-icon, .feature-icon {
    width: 60px;
    height: 60px;
    background-color: var(--light-bg-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* --- Call to Action (CTA) --- */
.cta {
    background-color: var(--primary-color);
    color: #fff;
    text-align: center;
}
.cta h2 {
    font-size: 2.5rem;
}
.cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}
.cta .btn-primary {
    background-color: #fff;
    color: var(--primary-color);
}
.cta .btn-primary:hover {
    background-color: var(--light-bg-color);
    color: var(--primary-hover-color);
}

/* --- Footer --- */
.main-footer {
    background-color: #222;
    color: #aaa;
    padding: 60px 0 20px 0;
}
.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-brand .logo {
    color: #fff;
    font-size: 1.8rem;
}
.footer-brand p {
    margin-top: 10px;
}
.social-links a {
    color: #aaa;
    margin-right: 15px;
    font-size: 1.2rem;
}
.social-links a:hover {
    color: var(--primary-color);
}
.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.footer-column h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 15px;
}
.footer-column ul {
    list-style: none;
}
.footer-column ul li {
    margin-bottom: 10px;
}
.footer-column ul li a {
    color: #aaa;
    font-size: 0.9rem;
}
.footer-column ul li a:hover {
    color: #fff;
}
.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .hero .container { grid-template-columns: 1fr; text-align: center; }
    .hero-visual { order: -1; }
    .hero-form { max-width: 500px; margin: 2rem auto 0; }
}

@media (max-width: 768px) {
    .nav-links, .nav-actions .btn-secondary { display: none; }
    .mobile-menu-toggle { display: flex; }
    .hero h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .footer-content { grid-template-columns: 1fr; }
    .footer-links { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
    .hero-form { flex-direction: column; }
    .hero-form input, .hero-form button {
        width: 100%;
        border-radius: var(--border-radius);
    }
    .hero-form button { margin-top: 10px; }
    .footer-links { grid-template-columns: 1fr; }
}