/* General Body and Container Styles */
body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #000000;
    color: #ffffff;
    line-height: 1.6;
}

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
    padding: 20px 0;
    position: relative;
    z-index: 1;
}

/* Header Styles */
header {
    background: rgba(0, 0, 0, 0.5);
    color: #ffffff;
    padding-top: 20px;
    min-height: 70px;
    border-bottom: #00ff00 3px solid;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 2;
}

header .logo {
    float: left;
    font-size: 28px;
    text-transform: uppercase;
    font-weight: bold;
    font-family: 'Roboto', sans-serif;
    display: flex;
    align-items: center;
}

header nav {
    float: right;
    margin-top: 10px;
}

header .energy-meter {
    float: right;
    margin-top: 15px;
    margin-left: 20px;
    width: 150px;
    height: 20px;
    border: 1px solid #00ff00;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

header .energy-meter .meter-fill {
    height: 100%;
    width: 0%; /* Initial state */
    background-color: #00ff00;
    transition: width 0.5s ease-in-out;
}

header .energy-meter .meter-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #000000;
    font-size: 10px;
    font-weight: bold;
    text-shadow: 0 0 2px rgba(0, 255, 0, 0.7);
    z-index: 1;
}

header ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

header li {
    display: inline;
    padding: 0 15px;
}

header a {
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 16px;
}

header a:hover {
    color: #00ff00;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 10px;
    font-family: 'Roboto', sans-serif;
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    color: #000000;
    background: #00ff00;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    animation: pulse 2s infinite;
}

.btn:hover {
    background: #ffffff;
    color: #00ff00;
    box-shadow: 0 0 20px #00ff00;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 5px #00ff00;
    }
    50% {
        box-shadow: 0 0 20px #00ff00;
    }
    100% {
        box-shadow: 0 0 5px #00ff00;
    }
}

/* Sections */
.about,
.offering,
.poc,
.swarmcode,
.ecosystem,
.contact {
    padding: 100px 0;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.7);
}

.ecosystem h3 {
    color: #00ff00;
    font-family: 'Roboto', sans-serif;
    margin-top: 40px;
    margin-bottom: 15px;
    text-align: left;
}

.ecosystem h4 {
    color: #00ff00;
    font-family: 'Roboto', sans-serif;
    margin-top: 20px;
    margin-bottom: 10px;
    text-align: left;
}

.ecosystem ul {
    list-style: disc inside;
    text-align: left;
    max-width: 800px;
    margin: 0 auto 20px auto;
}

.ecosystem li {
    margin-bottom: 8px;
}

.ecosystem p {
    text-align: left;
    max-width: 800px;
    margin: 0 auto 20px auto;
}

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

.ecosystem-card {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #00ff00;
}

.ecosystem-card h3 {
    color: #00ff00;
    font-family: 'Roboto', sans-serif;
}

.swarmcode h3 {
    color: #00ff00;
    font-family: 'Roboto', sans-serif;
    margin-top: 40px;
    margin-bottom: 20px;
}

.feature-grid,
.how-to-use-grid,
.why-use-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 40px;
}

.feature-card,
.how-to-use-card,
.why-use-card {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #00ff00;
    text-align: left;
}

.feature-card h4,
.how-to-use-card h4,
.why-use-card h4 {
    color: #00ff00;
    font-family: 'Roboto', sans-serif;
    margin-top: 0;
}

.feature-card ul,
.how-to-use-card p,
.why-use-card p {
    list-style: none;
    padding: 0;
    margin-top: 10px;
}

.feature-card li {
    margin-bottom: 10px;
}

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

.compute-card {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #00ff00;
}

.compute-card h3 {
    color: #00ff00;
    font-family: 'Roboto', sans-serif;
}

.compute-card ul {
    list-style: none;
    padding: 0;
}

.compute-card li {
    margin-bottom: 10px;
}

.pricing-model {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #00ff00;
}

.pricing-model ul {
    list-style: none;
    padding: 0;
}

.pricing-model li {
    margin-bottom: 10px;
}

h2 {
    font-size: 36px;
    color: #00ff00;
    margin-bottom: 20px;
    font-family: 'Roboto', sans-serif;
}

p {
    max-width: 800px;
    margin: 0 auto 20px auto;
}

/* Contact Section */
.contact form {
    max-width: 600px;
    margin: 20px auto;
    padding: 30px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    text-align: left;
}

.contact .form-group {
    margin-bottom: 15px;
}

.contact label {
    display: block;
    margin-bottom: 5px;
    color: #ffffff;
}

.contact input[type="text"],
.contact input[type="email"],
.contact textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #00ff00;
    background-color: #000000;
    color: #ffffff;
    border-radius: 4px;
}

.contact input[type="text"]:focus,
.contact input[type="email"]:focus,
.contact textarea:focus {
    outline: none;
    border-color: #ffffff;
}

/* Footer Styles */
footer {
    background: rgba(0, 0, 0, 0.5);
    color: #ffffff;
    text-align: center;
    padding: 20px 0;
}

footer .social-links a {
    color: #ffffff;
    text-decoration: none;
    margin: 0 10px;
    font-size: 18px;
}

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

.footer-logo {
    margin-top: 10px;
}
