@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #ffffff;
    color: #333333;
    line-height: 1.6;
    position: relative;
}

/* Circuit Board Background Animation */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: #ffffff;
    background-image:
        /* Main circuit traces - horizontal */
        linear-gradient(90deg, transparent 49%, rgba(0, 102, 0, 0.15) 49.5%, rgba(0, 102, 0, 0.15) 50.5%, transparent 51%),
        /* Main circuit traces - vertical */
        linear-gradient(0deg, transparent 49%, rgba(0, 102, 0, 0.15) 49.5%, rgba(0, 102, 0, 0.15) 50.5%, transparent 51%),
        /* Secondary traces */
        linear-gradient(90deg, transparent 74%, rgba(0, 204, 51, 0.12) 74.5%, rgba(0, 204, 51, 0.12) 75.5%, transparent 76%),
        linear-gradient(0deg, transparent 74%, rgba(0, 204, 51, 0.12) 74.5%, rgba(0, 204, 51, 0.12) 75.5%, transparent 76%),
        /* Circuit connection pads */
        radial-gradient(circle at 50px 50px, rgba(0, 102, 0, 0.2) 2px, transparent 3px),
        radial-gradient(circle at 150px 150px, rgba(0, 204, 51, 0.2) 2px, transparent 3px),
        radial-gradient(circle at 100px 200px, rgba(0, 102, 0, 0.2) 2px, transparent 3px),
        /* Component rectangles */
        linear-gradient(45deg, transparent 30%, rgba(0, 102, 0, 0.08) 30%, rgba(0, 102, 0, 0.08) 35%, transparent 35%),
        linear-gradient(-45deg, transparent 30%, rgba(0, 204, 51, 0.08) 30%, rgba(0, 204, 51, 0.08) 35%, transparent 35%);
    background-size: 
        100px 100px, 100px 100px,
        150px 150px, 150px 150px,
        200px 200px, 300px 300px, 250px 250px,
        80px 80px, 120px 120px;
    animation: circuit-flow 25s linear infinite;
}

@keyframes circuit-flow {
    0% { background-position: 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0, 0 0; }
    100% { background-position: 100px 100px, -100px -100px, 150px -150px, -150px 150px, 50px 50px, -75px -75px, 62px -62px, 40px 40px, -60px -60px; }
}

/* Header Styles */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 102, 0, 0.1);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 102, 0, 0.1);
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    position: relative;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #006600;
    z-index: 1001;
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a:hover {
    color: #006600;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #006600, #00CC33);
    transition: width 0.3s ease;
}

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

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #006600;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 102, 0, 0.1);
    z-index: 1000;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu ul {
    list-style: none;
    padding: 2rem;
}

.mobile-menu li {
    margin-bottom: 1rem;
}

.mobile-menu a {
    color: #333;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    display: block;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 102, 0, 0.1);
    transition: color 0.3s ease;
}

.mobile-menu a:hover {
    color: #006600;
}

/* Button Styles */
.btn {
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
}

.btn-primary {
    background: linear-gradient(135deg, #006600, #00CC33);
    color: white;
    box-shadow: 0 8px 25px rgba(0, 102, 0, 0.25);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 102, 0, 0.35);
}

.btn-secondary {
    background: #ffffff;
    color: #006600;
    border: 2px solid #006600;
    box-shadow: 0 4px 15px rgba(0, 102, 0, 0.1);
}

.btn-secondary:hover {
    background: #006600;
    color: white;
    transform: translateY(-3px);
}

/* Section Titles */
.section-title {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: #1a1a1a;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #006600, #00CC33);
    border-radius: 2px;
}

/* Trust Section */
.trust {
    background: linear-gradient(135deg, rgba(248, 251, 255, 0.8) 0%, rgba(255, 255, 255, 0.8) 100%);
    padding: 6rem 2rem;
    text-align: center;
}

.trust-container {
    max-width: 1000px;
    margin: 0 auto;
}

.trust h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.trust p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.trust-badge {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 102, 0, 0.15);
    border-radius: 12px;
    padding: 2rem;
    min-width: 180px;
    box-shadow: 0 8px 25px rgba(0, 102, 0, 0.1);
    transition: all 0.3s ease;
}

.trust-badge:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 102, 0, 0.2);
}

.trust-badge h4 {
    color: #006600;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.trust-badge p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

/* Footer */
.footer {
    background: #1a1a1a;
    padding: 4rem 2rem 2rem;
    text-align: center;
    color: white;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer p {
    color: #ccc;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: white;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #00CC33;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .trust-badges {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}