/* Global Styles */
:root {
    --primary-color: #e4a11b;
    --secondary-color: #1e2637;
    --dark-blue: #171e2e;
    --light-text: #ffffff;
    --gray-text: #a0a8b9;
    --card-bg: #242f44;
    --transition: all 0.3s ease;
    --box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--light-text);
    background-color: var(--dark-blue);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 15px;
    line-height: 1.2;
}

p {
    margin-bottom: 15px;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    background-color: #2070d9;
    color: white;
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
}

.btn i {
    margin-left: 10px;
}

.btn:hover {
    background-color: #1a5ebd;
    transform: translateY(-2px);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    background-color: transparent;
    color: var(--light-text);
    border: 1px solid #3a4454;
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline i {
    margin-left: 10px;
}

.btn-outline:hover {
    background-color: rgba(58, 68, 84, 0.3);
}

section {
    padding: 60px 0;
}

/* Header */
header {
    background-color: var(--secondary-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-link {
    color: var(--light-text);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.logo a {
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
    margin-right: 8px;
}

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

.diagnostics {
    color: var(--primary-color);
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    position: relative;
    color: var(--light-text);
    font-weight: 500;
    transition: var(--transition);
}

nav ul li a:hover, nav ul li a.active {
    color: var(--primary-color);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

nav ul li a:hover::after, nav ul li a.active::after {
    width: 100%;
}

.search {
    display: flex;
    background-color: #2a3446;
    border-radius: 5px;
    overflow: hidden;
}

.search input {
    padding: 10px 15px;
    border: none;
    background-color: transparent;
    color: var(--light-text);
    width: 200px;
}

.search input::placeholder {
    color: var(--gray-text);
}

.search button {
    background-color: transparent;
    border: none;
    color: var(--gray-text);
    padding: 0 15px;
    cursor: pointer;
    transition: var(--transition);
}

.search button:hover {
    color: var(--light-text);
}

/* Hero Section */
.hero {
    background-image: linear-gradient(rgba(23, 30, 46, 0.7), rgba(23, 30, 46, 0.9)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 120px 0;
    text-align: left;
}

.hero-content {
    max-width: 700px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--gray-text);
}

.highlight {
    color: var(--primary-color);
}

/* Features Section */
.features .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 8px;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.feature-card .icon {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(228, 161, 27, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--gray-text);
    margin-bottom: 20px;
}

.learn-more {
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    transition: var(--transition);
}

.learn-more i {
    margin-left: 5px;
    transition: var(--transition);
}

.learn-more:hover i {
    transform: translateX(5px);
}

/* Platform Section */
.platform {
    text-align: center;
}

.platform h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.platform > p {
    max-width: 700px;
    margin: 0 auto 40px;
    color: var(--gray-text);
}

.boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.box {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 8px;
    text-align: left;
    transition: var(--transition);
}

.box:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.box h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.box p {
    color: var(--gray-text);
}

/* Testimonials Section */
.testimonials {
    text-align: center;
    background-color: #1a2335;
}

.testimonials h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.testimonials > p {
    max-width: 700px;
    margin: 0 auto 40px;
    color: var(--gray-text);
}

.testimonial-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 8px;
    text-align: left;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.stars {
    color: #ffc107;
    margin-bottom: 15px;
}

.testimonial-card > p {
    color: var(--gray-text);
    font-style: italic;
    margin-bottom: 20px;
}

.author {
    display: flex;
    align-items: center;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #3662E3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    margin-right: 15px;
}

.info h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.info p {
    color: var(--gray-text);
    font-size: 14px;
    margin-bottom: 0;
}

/* Stats Section */
.stats .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.stat-box {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.stat-box h2 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-box p {
    color: var(--gray-text);
    margin-bottom: 0;
}

/* How It Works Section */
.how-it-works {
    text-align: center;
    background-color: #1a2335;
}

.how-it-works h2 {
    font-size: 36px;
    margin-bottom: 40px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.step {
    background-color: var(--card-bg);
    border-radius: 8px;
    padding: 40px 30px;
    text-align: left;
    position: relative;
    transition: var(--transition);
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.step-number {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(228, 161, 27, 0.15);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
}

.step-content h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.step-content p {
    color: var(--gray-text);
}

.how-it-works .btn {
    margin-top: 10px;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo {
    flex: 0 0 300px;
    margin-bottom: 30px;
}

.footer-logo a {
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

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

.footer-links {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.link-column {
    margin-bottom: 30px;
    min-width: 200px;
}

.link-column h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--light-text);
}

.link-column ul li {
    margin-bottom: 10px;
}

.link-column ul li a {
    color: var(--gray-text);
    transition: var(--transition);
}

.link-column ul li a:hover {
    color: var(--primary-color);
}

.copyright {
    border-top: 1px solid #3a4454;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.copyright p {
    color: var(--gray-text);
    margin-bottom: 10px;
}

.social-links a {
    color: var(--gray-text);
    margin-left: 15px;
    transition: var(--transition);
}

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

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--light-text);
    font-size: 24px;
    cursor: pointer;
    transition: var(--transition);
}

.mobile-menu-toggle:hover {
    color: var(--primary-color);
}

/* Header Scrolled State */
header.scrolled {
    background-color: rgba(30, 38, 55, 0.95);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
    padding: 10px 0;
}

/* Animation Classes */
.animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
    nav ul li {
        margin-left: 15px;
    }
    
    .search input {
        width: 150px;
    }
    
    .hero h1 {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    
    .logo {
        margin-bottom: 0;
    }
    
    .mobile-menu-toggle {
        display: block;
        order: 3;
    }
    
    nav {
        flex-basis: 100%;
        order: 4;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease;
        margin-bottom: 0;
    }
    
    nav.active {
        max-height: 500px;
        margin-top: 15px;
    }
    
    nav ul {
        flex-direction: column;
        align-items: flex-start;
    }
    
    nav ul li {
        margin: 10px 0;
        width: 100%;
    }
    
    nav ul li a {
        display: block;
        padding: 8px 0;
    }
    
    .nav-actions {
        order: 2;
        flex-wrap: wrap;
    }
    
    .nav-link {
        margin-right: 10px;
        font-size: 0.9rem;
    }
    
    .search {
        order: 1;
        width: 100%;
        margin-top: 10px;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-logo {
        flex: 0 0 100%;
        text-align: center;
        margin-bottom: 30px;
    }
    
    .footer-logo a {
        justify-content: center;
    }
    
    .footer-links {
        justify-content: space-between;
    }
    
    .copyright {
        flex-direction: column;
        text-align: center;
    }
    
    .social-links {
        margin-top: 15px;
    }
    
    .social-links a {
        margin: 0 8px;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 30px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .feature-card, .box, .testimonial-card, .stat-box {
        padding: 20px;
    }
    
    .link-column {
        flex: 0 0 100%;
        text-align: center;
    }
}
