:root {
    --color-primary: #0D522B;
    --color-secondary: #2FE694;
    --color-background: #0F0F0F;
    --color-footer-bg: #0A0A0A;
    --color-button: #2FE694;
    --color-text-light: #E0E0E0;
    --color-text-dark: #A0A0A0;
    --color-glass-light: rgba(47, 230, 148, 0.1); /* Secondary with transparency */
    --color-glass-dark: rgba(13, 82, 43, 0.2); /* Primary with transparency */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2.5rem;
    --spacing-xl: 4rem;
    --border-radius-sm: 0.5rem;
    --border-radius-md: 1rem;
    --border-radius-lg: 1.5rem;
    --shadow-neon-green: 0 0 8px var(--color-secondary), 0 0 16px var(--color-secondary);
    --shadow-dark-inset: inset 0px 2px 4px rgba(0, 0, 0, 0.6), inset 0px -2px 4px rgba(60, 60, 60, 0.2);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Fira Code', 'Roboto Mono', sans-serif;
    background-color: var(--color-background);
    color: var(--color-text-light);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--color-secondary);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-md);
    text-shadow: var(--shadow-neon-green);
}

h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

h3 {
    font-size: 1.75rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-light);
}

p {
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-dark);
}

a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

a:hover {
    color: var(--color-button);
    text-shadow: 0 0 5px var(--color-button);
}

strong {
    color: var(--color-secondary);
}

section {
    padding: var(--spacing-xl) var(--spacing-lg);
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
    background-color: #1A1A1A; /* Default from section_bg_colors */
    border-bottom: 1px solid rgba(47, 230, 148, 0.1);
}

section:nth-of-type(odd) {
    background-color: #222222;
}

section:nth-of-type(even) {
    background-color: #151515;
}

.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--spacing-sm);
    padding-right: var(--spacing-sm);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius-md);
    background: linear-gradient(135deg, var(--color-button) 0%, #0D522B 100%);
    color: var(--color-background);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), var(--shadow-neon-green);
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background: rgba(255, 255, 255, 0.15);
    transition: all 0.7s ease-in-out;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
}

.btn:hover::before {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.btn:hover {
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
    border-color: var(--color-button);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), var(--shadow-neon-green);
    transform: translateY(-2px);
    color: var(--color-background);
}

.btn:active, .btn.active {
    border-color: var(--color-secondary);
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.5), 0 0 10px var(--color-secondary);
    transform: translateY(0);
}

.card {
    background-color: var(--color-glass-dark);
    border: 1px solid rgba(47, 230, 148, 0.2);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    backdrop-filter: blur(8px) saturate(180%);
    -webkit-backdrop-filter: blur(8px) saturate(180%);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.45);
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-label {
    display: block;
    margin-bottom: var(--spacing-xs);
    color: var(--color-text-light);
    font-weight: 500;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: var(--spacing-sm);
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--color-primary);
    background-color: rgba(13, 82, 43, 0.3); /* Primary with more transparency */
    color: var(--color-text-light);
    font-family: 'Fira Code', 'Roboto Mono', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: var(--shadow-dark-inset);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(47, 230, 148, 0.3), var(--shadow-neon-green);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

/* Header Specific Styles */
.header {
    background-color: rgba(15, 15, 15, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: var(--spacing-sm) var(--spacing-lg);
    border-bottom: 1px solid rgba(47, 230, 148, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #0D522B 0%, #2FE694 100%);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--color-secondary);
    position: relative;
    overflow: hidden;
}

.logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path fill="%230D522B" d="M0 0 L100 0 L50 100 Z"/><path fill="%232FE694" d="M0 100 L100 100 L50 0 Z"/></svg>') center/cover no-repeat;
    opacity: 0.6;
    transform: rotate(45deg);
    transition: transform 0.5s ease;
}

.logo:hover::before {
    transform: rotate(135deg);
}

.nav-menu {
    display: flex;
    gap: var(--spacing-md);
}

.nav-link {
    color: var(--color-text-dark);
    font-weight: 500;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius-sm);
    transition: color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.nav-link:hover {
    color: var(--color-secondary);
    background-color: rgba(47, 230, 148, 0.1);
    box-shadow: 0 0 5px var(--color-secondary);
}

/* Footer Specific Styles */
.footer {
    background-color: var(--color-footer-bg);
    color: var(--color-text-dark);
    padding: var(--spacing-lg) var(--spacing-lg);
    text-align: center;
    border-top: 1px solid rgba(47, 230, 148, 0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
}

.footer-link {
    color: var(--color-secondary);
    margin: 0 var(--spacing-xs);
}

.footer-link:hover {
    color: var(--color-button);
}

/* Utility classes for dynamic elements (Alpine.js) */
[x-cloak] {
    display: none !important;
}

.fade-enter-active, .fade-leave-active {
    transition: opacity 0.5s ease;
}
.fade-enter-from, .fade-leave-to {
    opacity: 0;
}

.slide-up-enter-active, .slide-up-leave-active {
    transition: all 0.4s ease-out;
    overflow: hidden;
}
.slide-up-enter-from, .slide-up-leave-to {
    opacity: 0;
    transform: translateY(20px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    section {
        padding: var(--spacing-lg) var(--spacing-sm);
    }

    .header-content {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .nav-menu {
        flex-direction: column;
        gap: var(--spacing-xs);
        width: 100%;
    }

    .nav-link {
        display: block;
        text-align: center;
        padding: var(--spacing-xs);
    }

    .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .card {
        padding: var(--spacing-md);
    }
}

/* General layout helpers for Tailwind compatibility if used */
.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.grid-cols-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--spacing-md);
}

@media (max-width: 768px) {
    .grid-cols-2 {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}

.text-center {
    text-align: center;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.mt-lg {
    margin-top: var(--spacing-lg);
}

.mb-lg {
    margin-bottom: var(--spacing-lg);
}

.p-lg {
    padding: var(--spacing-lg);
}

.rounded-lg {
    border-radius: var(--border-radius-lg);
}

/* Specific component styles for the overall theme */
.hero-section {
    position: relative;
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(45deg, #0F0F0F 0%, #1A1A1A 100%);
    overflow: hidden;
    border-bottom: none;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(47, 230, 148, 0.1) 0%, rgba(15, 15, 15, 0) 70%);
    z-index: 1;
    animation: pulse-gradient 8s infinite alternate ease-in-out;
}

@keyframes pulse-gradient {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(1); opacity: 0.8; }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: var(--spacing-md);
}

.hero-content h1 {
    font-size: 4.5rem;
    line-height: 1;
    margin-bottom: var(--spacing-md);
    background: linear-gradient(90deg, var(--color-secondary) 0%, var(--color-button) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 15px rgba(47, 230, 148, 0.6);
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.interactive-element {
    background-color: var(--color-glass-light);
    border: 1px solid rgba(47, 230, 148, 0.3);
    border-radius: var(--border-radius-md);
    padding: var(--spacing-md);
    box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(12px) saturate(150%);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
    margin-top: var(--spacing-lg);
    transition: all 0.4s ease;
}

.interactive-element:hover {
    border-color: var(--color-secondary);
    box-shadow: 0 6px 25px 0 rgba(0, 0, 0, 0.3), var(--shadow-neon-green);
    transform: translateY(-3px);
}

.loading-skeleton {
    background-color: rgba(13, 82, 43, 0.4);
    border-radius: var(--border-radius-sm);
    animation: pulse 1.5s infinite ease-in-out;
}

.loading-skeleton.text {
    height: 1em;
    width: 80%;
    margin-bottom: 0.5em;
}

.loading-skeleton.title {
    height: 1.5em;
    width: 60%;
    margin-bottom: 1em;
}

@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-background);
}

::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 5px;
    border: 2px solid var(--color-background);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-secondary);
}

/* Neon glow for specific elements */
.neon-glow-text {
    text-shadow: 0 0 5px var(--color-secondary), 0 0 10px var(--color-secondary);
}

.neon-glow-border {
    border: 1px solid var(--color-secondary);
    box-shadow: 0 0 5px var(--color-secondary), 0 0 10px var(--color-secondary);
}

/* Abstract geometric patterns for backgrounds */
.bg-geometric-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect x="0" y="0" width="100" height="100" fill="%230F0F0F"/><path d="M0 0L50 50L0 100Z" fill="%230D522B" opacity="0.1"/><path d="M100 0L50 50L100 100Z" fill="%232FE694" opacity="0.05"/><path d="M0 0L100 0L50 50Z" fill="%230D522B" opacity="0.08"/><path d="M0 100L100 100L50 50Z" fill="%232FE694" opacity="0.03"/></svg>');
    background-size: 100px 100px;
    opacity: 0.3;
    z-index: 0;
    pointer-events: none;
}

section:nth-of-type(odd) .bg-geometric-pattern {
    transform: rotate(180deg);
}

/* Ensure content is above the pattern */
section > .container {
    position: relative;
    z-index: 1;
}


/* Cookie Banner Additional Styles for Tailwind */
.cookie-banner-hover-effect:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

@media (prefers-reduced-motion: reduce) {
    .cookie-banner-hover-effect:hover {
        transform: none;
    }
}