/* ========================================
   GEBE — Under Construction Page
   Design System & Styles
   ======================================== */

/* --- CSS Custom Properties --- */
:root {
    --color-bg: #0a0c10;
    --color-bg-secondary: #12151c;
    --color-bg-card: rgba(255, 255, 255, 0.03);
    --color-bg-card-hover: rgba(255, 255, 255, 0.06);

    --color-primary: #f5b800;       /* GEBE Yellow */
    --color-primary-bright: #ffd23f;
    --color-primary-dark: #c49400;
    --color-primary-glow: rgba(245, 184, 0, 0.15);

    --color-text: #f0f0f0;
    --color-text-muted: #8a8f9d;
    --color-text-subtle: #5a5f6d;

    --color-border: rgba(255, 255, 255, 0.06);
    --color-border-hover: rgba(245, 184, 0, 0.25);

    --font-primary: 'Outfit', sans-serif;
    --font-secondary: 'Inter', sans-serif;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --shadow-glow: 0 0 80px rgba(245, 184, 0, 0.08);
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3);
}

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-secondary);
    background-color: var(--color-bg);
    color: var(--color-text);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* --- Particles Canvas --- */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* --- Diagonal Stripes Decoration --- */
.diagonal-stripes {
    position: fixed;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 200%;
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 40px,
        rgba(245, 184, 0, 0.015) 40px,
        rgba(245, 184, 0, 0.015) 42px
    );
    z-index: 0;
    pointer-events: none;
}

/* --- Page Wrapper --- */
.page-wrapper {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* --- Header --- */
.site-header {
    display: flex;
    justify-content: center;
    padding: 2rem;
    animation: fadeSlideDown 0.8s ease-out;
}

.header-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-primary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    backdrop-filter: blur(12px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-primary);
    animation: pulse-dot 2s ease-in-out infinite;
    box-shadow: 0 0 8px var(--color-primary);
}

/* --- Main Content --- */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    gap: 3rem;
}

/* --- Logo --- */
.logo-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeScaleIn 1s ease-out 0.2s both;
}

.logo {
    width: 280px;
    max-width: 70vw;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(245, 184, 0, 0.2));
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), filter 0.5s ease;
}

.logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 50px rgba(245, 184, 0, 0.35));
}

.logo-glow {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 184, 0, 0.08) 0%, transparent 70%);
    z-index: -1;
    animation: glowPulse 4s ease-in-out infinite;
}

/* --- Text Content --- */
.text-content {
    text-align: center;
    max-width: 600px;
    animation: fadeSlideUp 1s ease-out 0.4s both;
}

.title {
    font-family: var(--font-primary);
    font-weight: 800;
    margin-bottom: 1.25rem;
    line-height: 1.1;
}

.title-line {
    display: block;
}

.title-line-1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    color: var(--color-text-muted);
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.title-line-2 {
    font-size: clamp(2.8rem, 7vw, 4.5rem);
    background: linear-gradient(135deg, var(--color-primary-bright), var(--color-primary), var(--color-primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: -0.01em;
}

.subtitle {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    color: var(--color-text-muted);
    line-height: 1.7;
    font-weight: 300;
}

.subtitle strong {
    color: var(--color-text);
    font-weight: 500;
}

/* --- Countdown --- */
.countdown-section {
    text-align: center;
    animation: fadeSlideUp 1s ease-out 0.6s both;
}

.countdown-label {
    font-family: var(--font-primary);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-text-subtle);
    margin-bottom: 1.25rem;
    font-weight: 500;
}

.countdown {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
    padding: 1rem 0.75rem;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    backdrop-filter: blur(12px);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.countdown-item:hover {
    border-color: var(--color-border-hover);
    box-shadow: 0 0 20px rgba(245, 184, 0, 0.06);
}

.countdown-number {
    font-family: var(--font-primary);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--color-text);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.countdown-unit {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-subtle);
    margin-top: 0.4rem;
    font-weight: 500;
}

.countdown-separator {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    opacity: 0.5;
    animation: blink 1.5s ease-in-out infinite;
}

/* --- Feature Cards --- */
.features-preview {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    max-width: 800px;
    width: 100%;
    animation: fadeSlideUp 1s ease-out 0.8s both;
}

.feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(16px);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: default;
    animation: fadeScaleIn 0.6s ease-out calc(0.8s + var(--delay)) both;
}

.feature-card:hover {
    background: var(--color-bg-card-hover);
    border-color: var(--color-border-hover);
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow), var(--shadow-card);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--color-primary);
    background: rgba(245, 184, 0, 0.08);
    border-radius: var(--radius-md);
    padding: 0.7rem;
    transition: background 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: rgba(245, 184, 0, 0.15);
}

.feature-card h3 {
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.feature-card p {
    font-size: 0.85rem;
    color: var(--color-text-subtle);
    line-height: 1.5;
    font-weight: 300;
}

/* --- Notify Section --- */
.notify-section {
    text-align: center;
    max-width: 500px;
    width: 100%;
    animation: fadeSlideUp 1s ease-out 1s both;
}

.notify-title {
    font-family: var(--font-primary);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: var(--color-text);
}

.notify-form {
    width: 100%;
}

.input-wrapper {
    display: flex;
    gap: 0;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 100px;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.input-wrapper:focus-within {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(245, 184, 0, 0.1);
}

.input-wrapper input[type="email"] {
    flex: 1;
    padding: 1rem 1.5rem;
    background: transparent;
    border: none;
    outline: none;
    color: var(--color-text);
    font-family: var(--font-secondary);
    font-size: 0.95rem;
    font-weight: 400;
}

.input-wrapper input[type="email"]::placeholder {
    color: var(--color-text-subtle);
}

.input-wrapper button {
    padding: 0.85rem 1.75rem;
    background: linear-gradient(135deg, var(--color-primary-bright), var(--color-primary));
    border: none;
    border-radius: 100px;
    margin: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-bg);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.input-wrapper button:hover {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    transform: scale(1.03);
    box-shadow: 0 4px 20px rgba(245, 184, 0, 0.3);
}

.input-wrapper button:active {
    transform: scale(0.98);
}

.btn-arrow {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.input-wrapper button:hover .btn-arrow {
    transform: translateX(3px);
}

.notify-disclaimer {
    margin-top: 0.75rem;
    font-size: 0.75rem;
    color: var(--color-text-subtle);
    font-weight: 300;
}

/* --- Success message --- */
.success-message {
    display: none;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 100px;
    color: #22c55e;
    font-size: 0.9rem;
    font-weight: 500;
    animation: fadeScaleIn 0.4s ease-out;
}

.success-message.visible {
    display: flex;
    justify-content: center;
}

/* --- Footer --- */
.site-footer {
    padding: 2rem;
    text-align: center;
    animation: fadeSlideUp 1s ease-out 1.2s both;
}

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

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    border-color: var(--color-border-hover);
    color: var(--color-primary);
    background: var(--color-bg-card-hover);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(245, 184, 0, 0.1);
}

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

.footer-text {
    font-size: 0.8rem;
    color: var(--color-text-subtle);
    font-weight: 300;
}

/* ========================================
   Animations
   ======================================== */
@keyframes fadeSlideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeScaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse-dot {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(0.8);
    }
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.15);
    }
}

@keyframes blink {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.15; }
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 768px) {
    .main-content {
        gap: 2.5rem;
        padding: 1.5rem;
    }

    .logo {
        width: 200px;
    }

    .logo-glow {
        width: 240px;
        height: 240px;
    }

    .features-preview {
        grid-template-columns: 1fr;
        max-width: 380px;
    }

    .feature-card {
        padding: 1.5rem 1.25rem;
    }

    .countdown {
        gap: 0.4rem;
    }

    .countdown-item {
        min-width: 60px;
        padding: 0.75rem 0.5rem;
    }

    .countdown-number {
        font-size: 1.5rem;
    }

    .countdown-separator {
        font-size: 1.5rem;
    }

    .input-wrapper {
        flex-direction: column;
        border-radius: var(--radius-lg);
    }

    .input-wrapper input[type="email"] {
        padding: 1rem 1.25rem;
        text-align: center;
    }

    .input-wrapper button {
        justify-content: center;
        margin: 0 4px 4px 4px;
        padding: 1rem;
        border-radius: var(--radius-md);
    }

    .diagonal-stripes {
        display: none;
    }
}

@media (max-width: 480px) {
    .logo {
        width: 160px;
    }

    .countdown-item {
        min-width: 50px;
    }

    .countdown-number {
        font-size: 1.3rem;
    }
}

/* --- Reduced motion --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
