/* Reset & Base */
:root {
    --bg-dark: #080f08;
    /* Deep dark green/black fallback */
    --text-main: #ffffff;
    --text-muted: #a0aead;
    --accent-green: #4ade80;
    /* Adjustable based on logo match */
    --accent-green-dim: #3aae63;
    --font-main: 'Inter', sans-serif;
    --container-width: 1000px;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: var(--accent-green);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--accent-green-dim);
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/background-dark.png');
    background-size: cover;
    background-position: center;
    z-index: 1;
    /* Overlay for readability */
    box-shadow: inset 0 0 150px rgba(0, 0, 0, 0.7);
}

/* Dark overlay gradient to ensure text pop */
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.2) 0%, rgba(8, 15, 8, 0.8) 100%);
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding-top: 4rem;
    padding-bottom: 4rem;
    animation: fadeIn 1.2s ease-out;
}

.hero-logo {
    width: 250px;
    max-width: 80%;
    height: auto;
    margin-bottom: 1rem;
    /* No outline, clean */
}

.tagline {
    font-size: 1.75rem;
    font-weight: 600;
    max-width: 700px;
    line-height: 1.3;
}

.hero-subtext {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 400;
    max-width: 600px;
    margin-top: -1rem;
    /* tighter with CTA group */
}

/* Buttons */
.cta-group {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    text-decoration: none;
    padding: 1rem 2.5rem;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 4px;
    /* Sharp/tech feel, slightly rounded */
    transition: all 0.3s ease;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: inherit;
}

.btn-primary {
    background-color: var(--accent-green);
    color: #050f08;
    /* Dark text on green for contrast */
    border: 2px solid var(--accent-green);
}

.btn-primary:hover {
    background-color: var(--accent-green-dim);
    border-color: var(--accent-green-dim);
    box-shadow: 0 0 15px rgba(74, 222, 128, 0.4);
    transform: translateY(-2px);
    color: #050f08;
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-main);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    border-color: var(--text-main);
    background-color: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
    color: var(--text-main);
}

/* Section Common */
.section-programma,
.section-platform,
.section-verticals,
.section-contact {
    padding: 6rem 0;
    position: relative;
    z-index: 2;
}

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

.section-header h2,
.platform-content h2,
.verticals-info h2,
.contact-main h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.section-header p,
.contact-intro {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* Programma Section (Features) */
.section-programma {
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.3));
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    text-align: left;
}

.feature-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent-green);
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1rem;
    border-left: 2px solid var(--accent-green);
}

.feature-item p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Platform Section */
.section-platform {
    background: rgba(255, 255, 255, 0.02);
    /* Very subtle separation */
}

.platform-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.platform-content .section-intro {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-main);
}

.platform-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    text-align: left;
    margin-bottom: 2rem;
}

.platform-list li {
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem;
    border-radius: 4px;
    border-left: 2px solid var(--accent-green-dim);
    color: var(--text-muted);
}

.platform-summary {
    font-style: italic;
    color: var(--text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: inline-block;
    width: 100%;
}

/* Verticals Section */
.section-verticals {
    padding-top: 4rem;
}

.verticals-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.verticals-info h2 {
    margin-bottom: 1rem;
}

.verticals-info p {
    color: var(--text-muted);
}

.verticals-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.vertical-tag {
    background: rgba(74, 222, 128, 0.1);
    color: var(--accent-green);
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    border: 1px solid rgba(74, 222, 128, 0.2);
    font-size: 0.95rem;
    font-weight: 500;
}

/* Contact Section */
.section-contact {
    background: rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-main h2 {
    margin-bottom: 0.5rem;
}

.contact-intro {
    font-size: 1.2rem;
    color: var(--accent-green);
    margin-bottom: 1.5rem;
}

.contact-body {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    padding: 2rem;
    border-radius: 4px;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-item .icon {
    font-size: 1.5rem;
    line-height: 1;
    color: var(--accent-green);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item .icon svg {
    width: 24px;
    height: 24px;
}

.contact-item .details strong {
    color: var(--text-main);
    display: block;
    margin-bottom: 0.25rem;
}

.contact-item .details p {
    color: var(--text-muted);
    font-size: 0.95rem;
}


/* Final CTA Section */
.final-cta {
    padding: 8rem 0 6rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.bg-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    opacity: 0.03;
    pointer-events: none;
    z-index: 0;
}

.final-cta h2 {
    font-size: 2rem;
    margin-bottom: 3rem;
    font-weight: 600;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.4;
}

.legal-seo {
    margin-top: 6rem;
    font-size: 0.85rem;
    color: #445;
    text-align: center;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsiveness */
/* Canvas Animation */
#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.6;
    pointer-events: none;
}

.hero-content {
    z-index: 3;
}

/* Feature Item Hover Glow */
.feature-item {
    padding: 1.5rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(74, 222, 128, 0.3);
    box-shadow: 0 0 20px rgba(74, 222, 128, 0.1);
    transform: translateY(-5px);
}

/* Platform List Item Hover */
.platform-list li {
    transition: all 0.3s ease;
}

.platform-list li:hover {
    background: rgba(74, 222, 128, 0.08);
    transform: translateX(5px);
    border-left-color: var(--accent-green);
}

/* Vertical Tag Glow */
.vertical-tag {
    transition: all 0.3s ease;
    cursor: default;
}

.vertical-tag:hover {
    background: rgba(74, 222, 128, 0.2);
    box-shadow: 0 0 10px rgba(74, 222, 128, 0.2);
}

/* Detailed Phase Styling */
.phase-subtitle {
    font-size: 0.95rem;
    color: var(--accent-green-dim);
    margin-bottom: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.phase-intro {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    min-height: 80px;
}

.phase-details h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--text-main);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.25rem;
}

.phase-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.phase-details ul li {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    padding-left: 1.25rem;
    position: relative;
    color: var(--text-muted);
}

.phase-details ul li::before {
    content: '•';
    color: var(--accent-green);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.phase-details ul.result-list li::before {
    content: '✓';
    font-size: 0.8rem;
}

.programma-summary {
    text-align: center;
    max-width: 800px;
    margin: 4rem auto 0;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(74, 222, 128, 0.1);
}

.programma-summary p {
    font-size: 1.1rem;
    color: var(--text-main);
}

/* Detailed Platform Styling */
.platform-subtitle {
    font-size: 1.25rem;
    color: var(--accent-green);
    margin-bottom: 1rem;
    font-weight: 600;
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.platform-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.platform-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(74, 222, 128, 0.3);
    transform: translateY(-5px);
}

.platform-card h4 {
    font-size: 1.2rem;
    color: var(--text-main);
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--accent-green-dim);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.platform-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.platform-card.full-width {
    grid-column: span 2;
}

.platform-tools-list {
    list-style: none;
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.platform-tools-list li {
    font-size: 0.9rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.platform-tools-list li::before {
    content: '→';
    color: var(--accent-green);
    font-weight: bold;
}

.platform-security {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.platform-security h3 {
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 2rem;
}

.security-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.security-list li {
    color: var(--text-muted);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.security-list li::before {
    content: '🛡️';
    font-size: 1.2rem;
}

/* Responsiveness */
@media (max-width: 768px) {

    /* Grid Layouts */
    .features-grid,
    .contact-grid,
    .platform-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .verticals-wrapper {
        display: flex;
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }

    .platform-list {
        display: grid;
        gap: 1rem;
    }

    /* Center Section Headers */
    .section-header,
    .verticals-info,
    .contact-main {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .section-header h2,
    .verticals-info h2,
    .contact-main h2,
    .platform-content h2,
    .final-cta h2 {
        font-size: 1.75rem;
    }

    /* Center Cards & Titles */
    .feature-item,
    .platform-card {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .feature-item h3,
    .platform-card h4 {
        padding-left: 0;
        border-left: none;
        border-bottom: 2px solid var(--accent-green);
        display: inline-block;
        padding-bottom: 0.5rem;
        margin-bottom: 1rem;
        text-align: center;
        width: auto;
    }

    .feature-item p,
    .platform-card p {
        text-align: center;
    }

    /* Platform Tools List */
    .platform-tools-list {
        justify-content: center;
        flex-direction: column;
        gap: 0.75rem;
    }

    .platform-tools-list li {
        justify-content: center;
    }

    .platform-card.full-width {
        grid-column: span 1;
    }

    /* Hero Section */
    .hero-logo {
        width: 200px;
    }

    .tagline {
        font-size: 1.4rem;
    }

    .cta-group {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        gap: 1rem;
        margin: 0 auto;
    }

    .btn {
        width: 100%;
        text-align: center;
        padding: 1rem 1.5rem;
    }

    /* Verticals Section */
    .verticals-list {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    /* Contact Section */
    .contact-intro,
    .contact-body {
        text-align: center;
    }

    .contact-info {
        padding: 2rem 1.5rem;
        text-align: left;
        margin-top: 1rem;
        margin-left: auto;
        margin-right: auto;
        max-width: 400px;
    }

    .contact-item {
        align-items: center;
    }

    .contact-item .icon {
        margin-top: 0;
        min-width: 32px;
    }

    /* Security List */
    .security-list {
        flex-direction: column;
        gap: 1rem;
    }
}