@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --color-green: #1a682a;
    --color-green-light: #2e7d32;
    --color-green-glow: rgba(26, 104, 42, 0.3);
    --color-orange: #ef7c09;
    --color-orange-glow: rgba(239, 124, 9, 0.3);
    --color-dark-bg: #070908;
    --color-dark-card: rgba(15, 20, 16, 0.65);
    --color-light-card: rgba(255, 255, 255, 0.95);
    --color-charcoal: #2d2d2d;
    --color-text-light: #f3f4f6;
    --color-text-muted: #9ca3af;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html, body {
    width: 100%;
    min-height: 100vh;
    font-family: var(--font-body);
    background-color: var(--color-dark-bg);
    color: var(--color-text-light);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Background Mesh & Floating Hexagons */
.bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    background: 
        radial-gradient(circle at 10% 20%, rgba(26, 104, 42, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(239, 124, 9, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(15, 20, 16, 1) 0%, #070908 100%);
}

.hex-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.hex-shape {
    position: absolute;
    fill: none;
    stroke: rgba(26, 104, 42, 0.12);
    stroke-width: 2;
    animation: float-hex 25s infinite linear;
}

.hex-shape.orange {
    stroke: rgba(239, 124, 9, 0.1);
    animation: float-hex 35s infinite linear reverse;
}

@keyframes float-hex {
    0% {
        transform: translateY(105vh) translateX(0) rotate(0deg) scale(0.8);
        opacity: 0;
    }
    10% {
        opacity: 0.5;
    }
    90% {
        opacity: 0.5;
    }
    100% {
        transform: translateY(-10vh) translateX(100px) rotate(360deg) scale(1.2);
        opacity: 0;
    }
}

/* Layout Container */
.app-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding: 2rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

/* Navigation Header */
header {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 2rem;
}

.logo-container {
    background: var(--color-light-card);
    padding: 0.75rem 2.5rem;
    border-radius: 100px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25), 0 0 40px rgba(26, 104, 42, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.logo-container:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 0 0 50px rgba(239, 124, 9, 0.2);
}

.logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

/* Hero Section */
.hero-section {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 0;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(26, 104, 42, 0.15);
    border: 1px solid rgba(26, 104, 42, 0.3);
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #4ade80;
    margin-bottom: 1.5rem;
    animation: pulse-badge 2s infinite ease-in-out;
}

.status-badge .dot {
    width: 8px;
    height: 8px;
    background-color: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 10px #22c55e;
}

@keyframes pulse-badge {
    0%, 100% {
        box-shadow: 0 0 10px rgba(26, 104, 42, 0.1);
        border-color: rgba(26, 104, 42, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(26, 104, 42, 0.3);
        border-color: rgba(46, 125, 50, 0.6);
    }
}

h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

h1 span.gradient-green {
    background: linear-gradient(135deg, #4ade80 0%, #1a682a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h1 span.gradient-orange {
    background: linear-gradient(135deg, #ff9f43 0%, #ef7c09 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    max-width: 650px;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 3rem;
}

.tagline-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 1.5rem;
    margin-bottom: 3rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.tagline-item {
    display: flex;
    align-items: center;
}

.tagline-item.green { color: #4ade80; }
.tagline-item.orange { color: #ff9f43; }
.tagline-item.grey { color: #d1d5db; }

.tagline-divider {
    color: rgba(255, 255, 255, 0.15);
    margin-left: 1.5rem;
}

/* Countdown Grid */
.countdown-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    width: 100%;
    max-width: 700px;
    margin-bottom: 3.5rem;
}

.countdown-card {
    background: var(--color-dark-card);
    border: 1px solid var(--color-card-border);
    border-radius: 20px;
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(16px);
    transition: var(--transition-smooth);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.countdown-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, transparent 100%);
    pointer-events: none;
}

.countdown-card.green-glow:hover {
    border-color: rgba(46, 125, 50, 0.5);
    box-shadow: 0 10px 40px rgba(26, 104, 42, 0.25);
    transform: translateY(-5px);
}

.countdown-card.orange-glow:hover {
    border-color: rgba(239, 124, 9, 0.5);
    box-shadow: 0 10px 40px rgba(239, 124, 9, 0.25);
    transform: translateY(-5px);
}

.countdown-val {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    font-family: var(--font-body);
    line-height: 1;
    margin-bottom: 0.5rem;
    letter-spacing: -0.03em;
}

.green-glow .countdown-val {
    color: #4ade80;
    text-shadow: 0 0 15px rgba(74, 222, 128, 0.3);
}

.orange-glow .countdown-val {
    color: #ff9f43;
    text-shadow: 0 0 15px rgba(255, 159, 67, 0.3);
}

.countdown-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
}

/* Email Form */
.signup-container {
    width: 100%;
    max-width: 500px;
    position: relative;
}

.signup-form {
    display: flex;
    background: rgba(20, 25, 22, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    padding: 0.35rem;
    backdrop-filter: blur(12px);
    transition: var(--transition-smooth);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.3);
}

.signup-form:focus-within {
    border-color: rgba(74, 222, 128, 0.4);
    box-shadow: 0 10px 45px rgba(26, 104, 42, 0.25);
}

.signup-input {
    flex-grow: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--color-text-light);
    font-family: var(--font-body);
    font-size: 0.95rem;
    padding: 0.75rem 1.5rem;
    width: 100%;
}

.signup-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.signup-btn {
    background: linear-gradient(135deg, var(--color-green) 0%, var(--color-green-light) 100%);
    border: none;
    color: white;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.75rem 1.75rem;
    border-radius: 100px;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(26, 104, 42, 0.4);
}

.signup-btn:hover {
    background: linear-gradient(135deg, #1f7c32 0%, #3d9d4d 100%);
    transform: translateX(2px);
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.5);
}

.signup-btn svg {
    transition: transform 0.3s ease;
}

.signup-btn:hover svg {
    transform: translateX(3px);
}

/* Form Message Feedback */
.form-feedback {
    margin-top: 1rem;
    font-size: 0.9rem;
    min-height: 24px;
    transition: var(--transition-smooth);
    opacity: 0;
    transform: translateY(-5px);
}

.form-feedback.show {
    opacity: 1;
    transform: translateY(0);
}

.form-feedback.success {
    color: #4ade80;
}

.form-feedback.error {
    color: #f87171;
}

/* Footer Styles */
footer {
    width: 100%;
    margin-top: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08) 20%, rgba(255, 255, 255, 0.08) 80%, transparent);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-tagline {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.footer-tagline span {
    font-weight: 600;
}

.footer-tagline .green { color: #4ade80; }
.footer-tagline .orange { color: #ff9f43; }

.social-links {
    display: flex;
    gap: 1.25rem;
}

.social-link {
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
}

.social-link:hover {
    color: var(--color-text-light);
    background: rgba(26, 104, 42, 0.15);
    border-color: rgba(26, 104, 42, 0.4);
    box-shadow: 0 0 15px rgba(26, 104, 42, 0.25);
    transform: translateY(-3px);
}

.social-link.orange-hover:hover {
    background: rgba(239, 124, 9, 0.15);
    border-color: rgba(239, 124, 9, 0.4);
    box-shadow: 0 0 15px rgba(239, 124, 9, 0.25);
}

.social-link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.copyright {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    text-align: center;
}

.contact-email {
    color: var(--color-text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.contact-email:hover {
    color: #4ade80;
    text-shadow: 0 0 10px rgba(74, 222, 128, 0.2);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .app-container {
        padding: 1.5rem 1rem;
    }

    header {
        margin-bottom: 1.5rem;
    }

    .logo-container {
        padding: 0.5rem 1.5rem;
    }

    .logo-img {
        height: 38px;
    }

    h1 {
        margin-bottom: 1.25rem;
    }

    .hero-subtitle {
        margin-bottom: 2rem;
    }

    .tagline-group {
        gap: 0.5rem 1rem;
        margin-bottom: 2.5rem;
    }

    .tagline-divider {
        display: none;
    }

    .countdown-container {
        gap: 0.75rem;
        max-width: 100%;
    }

    .countdown-card {
        padding: 1rem 0.5rem;
        border-radius: 15px;
    }

    .countdown-val {
        margin-bottom: 0.25rem;
    }

    .signup-form {
        flex-direction: column;
        background: rgba(20, 25, 22, 0.9);
        border-radius: 20px;
        padding: 0.5rem;
        gap: 0.5rem;
    }

    .signup-input {
        padding: 0.75rem 1rem;
        text-align: center;
    }

    .signup-btn {
        width: 100%;
        padding: 0.85rem;
        border-radius: 15px;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.25rem;
    }

    .footer-content > * {
        order: 2;
    }

    .footer-content .social-links {
        order: 1;
    }
}

@media (max-width: 480px) {
    .countdown-container {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(2, 1fr);
        gap: 0.75rem;
        max-width: 340px;
    }
    
    .countdown-card {
        padding: 1.25rem 1rem;
    }
}
