:root {
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --text-dark: #111827;
    --text-light: #4b5563;
    --white: #ffffff;
    --section-spacing: 6rem;
    --bs-primary: #2563eb;
    --bs-primary-rgb: 37, 99, 235;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
}

body {
    font-family: system-ui, -apple-system, sans-serif;
    line-height: 1.5;
    color: var(--text-dark);
    padding-top: 76px;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    z-index: 1000;
    padding: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: all 0.3s ease;
    z-index: 1030;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
}

.nav-link {
    font-weight: 500;
    color: #4b5563 !important;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--bs-primary) !important;
}

.navbar .btn-primary {
    padding: 0.5rem 1.5rem;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
    color: var(--text-dark);
}

.desktop-nav {
    display: none;
}

@media (min-width: 768px) {
    .desktop-nav {
        display: flex;
        gap: 2rem;
        align-items: center;
    }
    
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 4rem;
    left: 0;
    right: 0;
    background-color: var(--white);
    padding: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Navbar Responsive Styles */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: white;
        padding: 1rem;
        border-radius: 8px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        margin-top: 1rem;
    }

    .navbar-nav {
        margin-bottom: 1rem;
    }

    .nav-item {
        margin: 0.5rem 0;
    }

    .navbar .btn-primary {
        width: 100%;
        text-align: center;
        margin-left: 0 !important;
    }
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 90vh;
    padding: 4rem 0;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.9));
    pointer-events: none;
    z-index: 1;
}

.hero .row {
    margin-top: -4rem;
}

.hero-content {
    padding-right: 2rem;
}

.hero h1 {
    background: linear-gradient(to right, #111827, var(--bs-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero .lead {
    color: #4b5563;
    font-size: 1.25rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.hero-image img:hover {
    transform: translateY(-10px);
}

@media (max-width: 991.98px) {
    .hero {
        padding: 100px 0 60px;
        text-align: center;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 3rem;
    }

    .hero-buttons {
        justify-content: center;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero .lead {
        font-size: 1.125rem;
    }
}

/* Demo Video Section */
.demo-video {
    margin-top: -90px;
    position: relative;
    z-index: 2;
}

.demo-video .container {
    max-width: 100%;
    margin: 0 auto;
}

@media (min-width: 992px) {
    .demo-video .container {
        max-width: 50%;
    }
}

/* Common Section Styles */
section {
    padding: var(--section-spacing) 1rem;
    scroll-margin-top: 5rem;
}

section h2 {
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.25rem);
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
    color: var(--text-light);
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    padding: 0 1rem;
}

/* Benefits & Problem Sections */
.benefits-grid,
.problem-grid {
    display: grid;
    gap: 3rem;
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

@media (min-width: 768px) {
    .benefits-grid,
    .problem-grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

.benefits-image img,
.problem-image img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.benefits-image img:hover,
.problem-image img:hover {
    transform: translateY(-5px);
}

.benefit-item,
.problem-item {
    padding: 1.5rem;
    border-radius: 1rem;
    background-color: rgba(255, 255, 255, 0.8);
    transition: transform 0.3s ease;
}

.benefit-item:hover,
.problem-item:hover {
    transform: translateY(-2px);
}

.icon-container {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(var(--bs-primary-rgb), 0.1);
    border-radius: 0.75rem;
    color: var(--bs-primary);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

/* Help Section */
.help-section {
    background-color: #111827;
    position: relative;
    overflow: hidden;
    padding: 6rem 1rem;
    color: var(--white);
}

.help-gradient {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(37, 99, 235, 0.3) 0%, transparent 70%);
    filter: blur(24px);
    z-index: 0;
}

.help-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.help-section p {
    color: #9ca3af;
    margin-top: 1.5rem;
}

/* How It Works Section */
.steps-grid {
    display: grid;
    gap: 2rem;
    max-width: 1280px;
    margin: 0 auto;
}

.step-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
.contact {
    padding: 4rem 0;
}
.contact-grid {
    display: flex;
    gap: 2rem;
    align-items: stretch;
}
.contact-form {
    flex: 1;
    padding-right: 2rem;
}
.demo-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-left: 2rem;
    border-left: 1px solid #dee2e6;
}
.demo-section h3 {
    margin-bottom: 1.5rem;
}
.form-group {
    margin-bottom: 1rem;
}
.section-description {
    max-width: 600px;
    margin: 0 auto 3rem;
    text-align: center;
    color: #6c757d;
}

/* Contact Section */
.contact-grid {
    display: grid;
    gap: 3rem;
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
}

.contact-form {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    background-color: var(--white);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-control:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.25);
}

.contact-image img {
    width: 100%;
    height: auto;
    border-radius: 0.5rem;
}

/* Button customization */
.btn {
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-lg {
    padding: 1rem 2rem;
}

.btn-primary {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #1d4ed8;
    border-color: #1d4ed8;
    transform: translateY(-2px);
}

.btn-outline-primary {
    color: var(--bs-primary);
    border-color: var(--bs-primary);
}

.btn-outline-primary:hover {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    transform: translateY(-2px);
}

/* Images */
.img-fluid {
    transition: transform 0.3s ease;
}

.img-fluid:hover {
    transform: translateY(-5px);
}

/* Footer */
.footer {
    background-color: #f8fafc;
    padding: 4rem 2rem;
    border-top: 1px solid #e2e8f0;
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-logo img {
    height: 2.5rem;
    width: auto;
}

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

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-section h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: var(--text-light);
    font-size: 1.25rem;
    transition: color 0.3s ease;
}

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

/* Responsive Design */
@media (min-width: 1024px) {
    .mobile-menu-btn {
        display: none;
    }

    .desktop-nav {
        display: flex;
        gap: 2rem;
    }

    .hero {
        flex-direction: row;
        justify-content: space-between;
        padding: 8rem 4rem;
        gap: 6rem;
    }

    .hero-content {
        text-align: left;
        flex: 1;
    }

    .hero-buttons {
        justify-content: flex-start;
    }

    .hero-image {
        flex: 1;
    }

    .benefits-grid,
    .problem-grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }

    .steps-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }

    .footer-content {
        grid-template-columns: 1fr 2fr;
    }

    .footer-logo {
        align-items: flex-start;
    }
}
