/* --- "Digital Genesis" Theme --- */

/* --- VARIABLES & GLOBAL RESETS --- */
:root {
    --primary-color: #4CAF50; /* Hard-E Green */
    --primary-glow: rgba(76, 175, 80, 0.4);
    --secondary-color: #00aaff; /* Electric Blue */
    --secondary-glow: rgba(0, 170, 255, 0.3);
    --background-dark: #0a0f19; /* Midnight Blue/Charcoal */
    --background-card: rgba(22, 29, 47, 0.5);
    --text-light: #e0e5f0;
    --text-headline: #ffffff;
    --text-muted: #8892b0;
    --border-color: rgba(0, 170, 255, 0.2);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

*, *::before, *::after {
    box-sizing: border-box;
}

body, html {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--background-dark);
    color: var(--text-light);
    line-height: 1.7;
    font-size: 16px;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* --- UTILITY CLASSES --- */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
    z-index: 2;
}

.text-center { text-align: center; }
.section { padding: 100px 0; }
.section-alt { background-color: #101623; }

.section-title {
    font-size: 2.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-headline);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 750px;
    margin: 0 auto 3rem auto;
}

/* --- BUTTON STYLES --- */
.button {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.button-primary {
    background-color: var(--primary-color);
    color: var(--text-headline);
    box-shadow: 0 0 20px var(--primary-glow);
}

.button-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 0 30px var(--primary-glow);
}

.button-secondary {
    background-color: transparent;
    color: var(--text-light);
    border-color: rgba(255, 255, 255, 0.3);
}

.button-secondary:hover {
    background-color: var(--text-light);
    color: var(--background-dark);
}

.button-secondary-dark {
    background-color: transparent;
    color: var(--text-muted);
    border-color: var(--text-muted);
}
.button-secondary-dark:hover {
    background-color: var(--text-muted);
    color: var(--background-dark);
}


/* --- HEADER & NAVIGATION --- */
.header {
    background-color: rgba(10, 15, 25, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-headline);
    text-decoration: none;
}

.logo img { height: 40px; }

.nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 600;
    position: relative;
    padding-bottom: 5px;
}

.nav a:not(.nav-button)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav a:not(.nav-button):hover::after { width: 100%; }
.nav-button { padding: 8px 20px; border-width: 1px; }


/* --- HERO SECTION --- */
.hero {
    position: relative;
    padding: 180px 0 120px 0;
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-title {
    font-size: 3.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: transparent;
    background: linear-gradient(90deg, #fff, #a7ffb4);
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.hero .subtitle {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2.5rem auto;
    color: var(--text-muted);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 2rem;
}

/* --- ANGLED DIVIDERS --- */
.angled-divider {
    height: 100px;
    background-color: #101623;
    clip-path: polygon(0 0, 100% 100%, 0 100%);
}
.angled-divider.reversed {
    background-color: var(--background-dark);
    clip-path: polygon(0 0, 100% 0, 100% 100%);
}

/* --- FEATURES SECTION --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 4rem;
}

.feature-card {
    background-color: var(--background-card);
    padding: 35px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--secondary-color);
    box-shadow: 0 0 25px var(--secondary-glow);
}

.feature-icon {
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.icon-svg {
    width: 48px;
    height: 48px;
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    transition: stroke-dashoffset 1s ease-in-out;
}

.feature-card.is-visible .icon-svg {
    stroke-dashoffset: 0;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

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

/* --- PREVIEW SECTION --- */
.preview-box {
    background: transparent;
    border: 1px solid var(--border-color);
    padding: 50px;
    border-radius: 16px;
    max-width: 700px;
    margin: 2rem auto 0 auto;
}

.preview-box h3 {
    font-size: 2rem;
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--text-headline);
}

.notify-form {
    display: flex;
    gap: 10px;
    margin: 1.5rem 0;
}

.notify-form input {
    flex-grow: 1;
    padding: 14px 20px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background-color: var(--background-dark);
    color: var(--text-light);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.notify-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-glow);
}

/* --- FOOTER --- */
.footer {
    background-color: #060910;
    color: var(--text-muted);
    text-align: center;
    padding: 40px 0;
    font-size: 0.9rem;
    border-top: 1px solid var(--border-color);
}

.footer p { margin: 0.5rem 0; }
.footer a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
}
.footer a:hover { text-decoration: underline; }

/* --- ANIMATIONS --- */
.animate-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-in.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card.animate-in:nth-child(2) { transition-delay: 0.1s; }
.feature-card.animate-in:nth-child(3) { transition-delay: 0.2s; }
.feature-card.animate-in:nth-child(4) { transition-delay: 0.3s; }


/* --- RESPONSIVE DESIGN --- */
@media (max-width: 992px) {
    .section-title { font-size: 2.4rem; }
    .hero-title { font-size: 3rem; }
}

@media (max-width: 768px) {
    .section { padding: 80px 0; }
    .section-title { font-size: 2rem; }
    .hero-title { font-size: 2.2rem; }
    .nav { display: none; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .notify-form { flex-direction: column; }
}
