/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    background: url('/images/hero-image3.jpg') no-repeat center center;
    background-size: 100%;
    display: flex;
    align-items: center;
    padding: 6rem 0;
    color: #ffffff;
    margin-top: 20px;
}

/* Hero Content */
.hero-content {
    position: absolute;
    bottom: 25%;
    right: 25%;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Hero CTA Buttons */
.hero-cta {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    align-items: center;
}

.hero-cta .btn {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-cta .btn-primary {
    background: #2563eb;
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 1.5rem 3rem;
    font-size: 1.25rem;
}

.hero-cta .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    background: #1e40af;
}

.hero-cta .btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    color: #ffffff;
}

.hero-cta .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    transform: translateY(-2px);
}

/* Add hover effect for the arrow icon */
.hero-cta .btn-primary .fas {
    transition: transform 0.3s ease;
}

.hero-cta .btn-primary:hover .fas {
    transform: translateX(4px);
}

/* Navbar Styles */
.navbar {
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    background-color: #ffffff;
}

.navbar.scrolled {
    background: #2563eb;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Brand Styles */
.navbar .brand-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.navbar .navbar-brand {
    color: #2563eb;
    font-weight: 600;
}

.navbar.scrolled .navbar-brand {
    color: #ffffff;
}

.navbar .brand-icon {
    font-size: 1.75rem;
    color: #2563eb;
}

.navbar.scrolled .brand-icon {
    color: #ffffff;
}

/* Button Styles */
.nav-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.navbar .btn-register {
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
    border: 1px solid rgba(37, 99, 235, 0.2);
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 500;
    transition: all 0.2s ease;
    text-decoration: none;
}

.navbar .btn-signin {
    background: #2563eb;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 500;
    transition: all 0.2s ease;
    text-decoration: none;
}

.navbar.scrolled .btn-register {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.navbar.scrolled .btn-signin {
    background: #ffffff;
    color: #2563eb;
}

/* Button Hover States */
.navbar .btn-register:hover {
    background: rgba(37, 99, 235, 0.15);
    transform: translateY(-1px);
}

.navbar .btn-signin:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled .btn-register:hover {
    background: rgba(255, 255, 255, 0.2);
}

.navbar.scrolled .btn-signin:hover {
    background: #f8fafc;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: inherit;
        padding: 1rem;
        margin-top: 1rem;
    }

    .nav-buttons {
        flex-direction: column;
        width: 100%;
    }

    .navbar .btn-register,
    .navbar .btn-signin {
        width: 100%;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }
}

/* Features Section */
.features {
    padding: 6rem 0;
    background-color: var(--gray-50);
}

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(37, 99, 235, 0.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #1e40af);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(37, 99, 235, 0.2);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(30, 64, 175, 0.1) 100%);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon i {
    font-size: 1.75rem;
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

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

/* Integration Section */
.integration {
    padding: 6rem 0;
    background: var(--white);
}

.integration-content {
    padding-right: 3rem;
}

.integration-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.integration-content p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.code-preview {
    background: #1a1f36;
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.code-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1rem 1rem 0 0;
}

.code-preview pre {
    margin: 0;
    padding-top: 1rem;
}

.code-preview code {
    color: #e5e7eb;
    font-family: 'Fira Code', monospace;
    font-size: 0.875rem;
    line-height: 1.7;
}

.integration-image {
    position: relative;
}

.integration-image img {
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* CTA Section */
.cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zm60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
}

.cta p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    position: relative;
}

.cta .btn-primary {
    background: var(--white);
    color: var(--primary-blue);
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
}

.cta .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
    background: var(--white);

    color: var(--text-dark);
}

.footer h5 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer h6 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.footer p {
    color: var(--text-light);
}

.footer ul {
    margin: 0;
    padding: 0;
}

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer ul li a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer ul li a:hover {
    color: var(--primary-blue);
}

.newsletter-form {
    margin-top: 1rem;
}

.newsletter-form .input-group {
    border-radius: 0.5rem;
    overflow: hidden;
}

.newsletter-form .form-control {
    border: 1px solid var(--gray-200);
    padding: 0.75rem 1rem;
}

.newsletter-form .btn {
    padding: 0.75rem 1.5rem;
}

.footer hr {
    margin: 3rem 0 2rem;
    border-color: var(--gray-200);
}

.footer-bottom {
    color: var(--text-light);
    font-size: 0.875rem;
}

.footer-bottom a {
    color: var(--text-light);
    text-decoration: none;
    margin-left: 1.5rem;
    transition: color 0.2s ease;
}

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

/* Responsive Styles */
@media (max-width: 991.98px) {
    .section-header h2 {
        font-size: 2rem;
    }

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

    .feature-card {
        margin-bottom: 2rem;
    }

    .footer {
        text-align: center;
    }

    .footer .col-lg-2,
    .footer .col-lg-4 {
        margin-bottom: 2rem;
    }

    .footer-bottom {
        text-align: center;
    }

    .footer-bottom .text-md-end {
        text-align: center !important;
        margin-top: 1rem;
    }

    .footer-bottom a {
        display: block;
        margin: 0.5rem 0;
    }
}
