/* Base Theme Styles & Custom Palette */
:root {
    --darkslate: #090d16;
    --cardslate: #111827;
    --accentgreen: #10b981;
    --emeraldeglow: #059669;
    --softslate: #9ca3af;
}

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

body {
    background-color: var(--darkslate);
    color: #f3f4f6;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
}

::selection {
    background-color: var(--accentgreen);
    color: #030712;
}

/* Layout & Utility Classes */
.container {
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background-color: rgba(9, 13, 22, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(30, 41, 59, 0.8);
}

.navbar {
    height: 5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    background: linear-gradient(135deg, var(--emeraldeglow), var(--accentgreen));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.2);
    color: #030712;
    font-size: 1.25rem;
}

.logo-text {
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: 0.05em;
    color: #ffffff;
}

.logo-text span {
    color: var(--accentgreen);
}

nav a {
    color: #d1d5db;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s;
}

nav a:hover {
    color: var(--accentgreen);
}

.nav-links {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
}

.btn-primary {
    padding: 0.625rem 1.25rem;
    border-radius: 0.5rem;
    background-color: var(--accentgreen);
    color: #030712;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    background-color: var(--emeraldeglow);
}

.btn-secondary {
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    background-color: rgba(17, 24, 39, 0.9);
    border: 1px solid #374151;
    color: #e5e7eb;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    backdrop-filter: blur(4px);
    display: inline-block;
    text-align: center;
}

.btn-secondary:hover {
    background-color: #1f2937;
}

/* Hero Section */
.hero {
    padding-top: 8rem;
    padding-bottom: 6rem;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .hero {
        padding-top: 11rem;
        padding-bottom: 9rem;
    }
}

.hero-canvas-bg {
    position: absolute;
    inset: 0;
    z-index: -10;
    overflow: hidden;
    background-color: #090d16;
    pointer-events: none;
}

#heroCanvas {
    width: 100%;
    height: 100%;
    display: block;
    opacity: 0.6;
}

.vignette {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(9, 13, 22, 0.4), transparent, var(--darkslate));
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    background-color: rgba(15, 23, 42, 0.9);
    border: 1px solid #1e293b;
    font-size: 0.75rem;
    color: var(--accentgreen);
    margin-bottom: 1.5rem;
    backdrop-filter: blur(4px);
}

h1 {
    font-size: 2.25rem;
    line-height: 1.2;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.025em;
}

@media (min-width: 768px) {
    h1 {
        font-size: 3.75rem;
    }
}

.gradient-text {
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
    background-image: linear-gradient(to right, var(--accentgreen), #34d399);
}

.hero-desc {
    margin-top: 1.5rem;
    font-size: 1.125rem;
    color: #d1d5db;
    line-height: 1.6;
    max-width: 42rem;
}

.hero-buttons {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

/* Services Section */
.services-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
    background-color: #090d16;
    border-top: 1px solid rgba(30, 41, 59, 0.8);
}

.section-header {
    text-align: center;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 4rem;
}

.section-tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accentgreen);
    margin-bottom: 0.75rem;
    display: block;
}

.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #ffffff;
}

.grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}

.card {
    padding: 2rem;
    border-radius: 1rem;
    background-color: var(--cardslate);
    border: 1px solid #1e293b;
    transition: all 0.2s;
}

.card:hover {
    border-color: rgba(16, 185, 129, 0.5);
}

.card-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--accentgreen);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    transition: all 0.2s;
}

.card:hover .card-icon {
    background-color: var(--accentgreen);
    color: #030712;
}

.card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.card p {
    color: #9ca3af;
    font-size: 0.875rem;
    line-height: 1.6;
}

/* About Section */
.about-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
    background-color: #090d16;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .grid-2 {
        grid-template-columns: repeat(2, 1fr);
    }
}

.about-text p {
    color: #d1d5db;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #d1d5db;
    font-size: 0.875rem;
}

.feature-list i {
    color: var(--accentgreen);
}

/* Contact Section */
.contact-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
    background-color: #090d16;
    border-top: 1px solid rgba(30, 41, 59, 0.8);
    text-align: center;
}

.contact-container {
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.contact-container p {
    color: #d1d5db;
    margin-bottom: 2.5rem;
}

/* Footer */
footer {
    padding-top: 2rem;
    padding-bottom: 2rem;
    background-color: #090d16;
    border-top: 1px solid rgba(30, 41, 59, 0.8);
    text-align: center;
    font-size: 0.875rem;
    color: #6b7280;
}
