/* ============================================
   VOYA Landing Page — Minimal & Modern
   Theme: White + Anthracite Gray
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --white: #ffffff;
    --off-white: #fafafa;
    --anthracite: #3a3a3a;
    --anthracite-dark: #2c2c2c;
    --anthracite-light: #5a5a5a;
    --anthracite-muted: #8a8a8a;
    --border-subtle: rgba(58, 58, 58, 0.08);
    --border-light: rgba(58, 58, 58, 0.06);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.08);
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --transition-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

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

body {
    font-family: var(--font-primary);
    background-color: var(--white);
    color: var(--anthracite);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

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

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

/* --- Header --- */
.header {
    width: 100%;
    padding: 2rem 3rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 2rem;
    animation: fadeInDown 1s var(--transition-smooth) both;
    animation-delay: 0.2s;
}

/* --- Language Switcher --- */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lang-btn {
    background: none;
    border: none;
    font-family: var(--font-primary);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--anthracite-muted);
    cursor: pointer;
    padding: 0.3rem 0.5rem;
    border-radius: 4px;
    transition: all 0.3s var(--transition-smooth);
    position: relative;
}

.lang-btn:hover {
    color: var(--anthracite);
}

.lang-btn.active {
    color: var(--anthracite-dark);
    background: var(--off-white);
    border: 1px solid var(--border-subtle);
}

.lang-separator {
    color: var(--border-subtle);
    font-size: 0.75rem;
    font-weight: 300;
    user-select: none;
}

.header-url {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--anthracite-muted);
    position: relative;
    padding-bottom: 2px;
}

.header-url::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--anthracite-muted);
    transition: width 0.4s var(--transition-smooth);
}

.header-url:hover::after {
    width: 100%;
}

/* --- Hero Section --- */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem 3rem;
    gap: 2.5rem;
    max-width: 800px;
    width: 100%;
    min-height: 60vh;
}

/* --- Logo --- */
.logo-container {
    animation: fadeInUp 1.2s var(--transition-smooth) both;
    animation-delay: 0.4s;
}

.logo {
    max-width: 340px;
    width: 100%;
    height: auto;
    filter: brightness(0.95);
    transition: transform 0.6s var(--transition-smooth), filter 0.6s var(--transition-smooth);
}

.logo:hover {
    transform: scale(1.02);
    filter: brightness(1);
}

/* --- Divider --- */
.divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 120px;
    animation: fadeIn 1s var(--transition-smooth) both;
    animation-delay: 0.8s;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--anthracite-muted), transparent);
}

.divider-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: var(--anthracite-muted);
    animation: pulse 3s ease-in-out infinite;
}

/* --- Coming Soon Text --- */
.coming-soon {
    text-align: center;
    animation: fadeInUp 1s var(--transition-smooth) both;
    animation-delay: 1s;
}

.tagline {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 300;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--anthracite-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.subtitle {
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    font-weight: 400;
    color: var(--anthracite-muted);
    line-height: 1.7;
    max-width: 480px;
    margin: 0 auto;
}

/* --- Status Badge --- */
.status-badges {
    animation: fadeInUp 1s var(--transition-smooth) both;
    animation-delay: 1.3s;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1.4rem;
    border: 1px solid var(--border-subtle);
    border-radius: 100px;
    background: var(--off-white);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.3s var(--transition-smooth), transform 0.3s var(--transition-smooth);
}

.badge:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--anthracite-light);
    animation: blink 2s ease-in-out infinite;
    position: relative;
}

.badge-dot::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--anthracite-light);
    opacity: 0;
    animation: ripple 2s ease-in-out infinite;
}

.badge-text {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--anthracite-light);
}

/* ============================================
   SUBSCRIBE / WAITING LIST
   ============================================ */
.subscribe-section {
    text-align: center;
    animation: fadeInUp 1s var(--transition-smooth) both;
    animation-delay: 1.5s;
    width: 100%;
    max-width: 440px;
}

.subscribe-label {
    font-size: 0.82rem;
    font-weight: 400;
    color: var(--anthracite-muted);
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.subscribe-form {
    display: flex;
    gap: 0;
    border: 1px solid var(--border-subtle);
    border-radius: 100px;
    overflow: hidden;
    background: var(--off-white);
    transition: border-color 0.3s var(--transition-smooth), box-shadow 0.3s var(--transition-smooth);
}

.subscribe-form:focus-within {
    border-color: rgba(58, 58, 58, 0.2);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.subscribe-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    padding: 0.75rem 1.4rem;
    font-family: var(--font-primary);
    font-size: 0.85rem;
    color: var(--anthracite-dark);
    letter-spacing: 0.01em;
}

.subscribe-input::placeholder {
    color: var(--anthracite-muted);
    opacity: 0.6;
}

.subscribe-btn {
    border: none;
    background: var(--anthracite-dark);
    color: var(--white);
    padding: 0.75rem 1.6rem;
    font-family: var(--font-primary);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.3s var(--transition-smooth);
    white-space: nowrap;
}

.subscribe-btn:hover {
    background: var(--anthracite);
}

.subscribe-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-arrow {
    transition: transform 0.3s var(--transition-smooth);
}

.subscribe-btn:hover .btn-arrow {
    transform: translateX(3px);
}

.subscribe-success {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--anthracite-light);
    margin-top: 0.8rem;
    min-height: 1.2rem;
    opacity: 0;
    transition: opacity 0.4s var(--transition-smooth);
}

.subscribe-success.show {
    opacity: 1;
}

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */
.how-it-works {
    width: 100%;
    max-width: 960px;
    padding: 4rem 2rem 5rem;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--anthracite-dark);
    margin-bottom: 0.5rem;
}

.section-subtitle {
    text-align: center;
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--anthracite-muted);
    margin-bottom: 3.5rem;
}

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

.step-card {
    text-align: center;
    padding: 2rem 1.2rem;
    border-radius: 16px;
    border: 1px solid var(--border-light);
    background: var(--white);
    transition: all 0.4s var(--transition-smooth);
    position: relative;
}

.step-card:hover {
    border-color: var(--border-subtle);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.step-number {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--anthracite-muted);
    margin-bottom: 1.2rem;
    opacity: 0.5;
}

.step-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--off-white);
    border: 1px solid var(--border-subtle);
    margin: 0 auto 1.2rem;
    color: var(--anthracite);
    transition: all 0.3s var(--transition-smooth);
}

.step-card:hover .step-icon {
    background: var(--anthracite-dark);
    color: var(--white);
    border-color: var(--anthracite-dark);
}

.step-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--anthracite-dark);
    margin-bottom: 0.6rem;
    letter-spacing: 0.02em;
}

.step-desc {
    font-size: 0.78rem;
    font-weight: 400;
    color: var(--anthracite-muted);
    line-height: 1.6;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features {
    width: 100%;
    max-width: 960px;
    padding: 0 2rem 5rem;
    margin: 0 auto;
}

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

.feature-item {
    text-align: center;
    padding: 1.8rem 1rem;
    border-radius: 12px;
    background: var(--off-white);
    border: 1px solid var(--border-light);
    transition: all 0.3s var(--transition-smooth);
}

.feature-item:hover {
    border-color: var(--border-subtle);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}

.feature-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--anthracite-dark);
    margin-bottom: 0.4rem;
    letter-spacing: 0.02em;
}

.feature-desc {
    font-size: 0.72rem;
    font-weight: 400;
    color: var(--anthracite-muted);
    line-height: 1.5;
}

/* --- Footer --- */
.footer {
    width: 100%;
    padding: 2rem 3rem;
    border-top: 1px solid var(--border-light);
}

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

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-link {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--anthracite-muted);
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: color 0.3s var(--transition-smooth);
    position: relative;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--anthracite);
    transition: width 0.4s var(--transition-smooth);
}

.footer-link:hover {
    color: var(--anthracite);
}

.footer-link:hover::after {
    width: 100%;
}

.copyright {
    font-size: 0.7rem;
    color: var(--anthracite-muted);
    letter-spacing: 0.05em;
    opacity: 0.6;
}

/* --- Scroll Reveal Animations --- */
.how-it-works,
.features {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--transition-smooth), transform 0.8s var(--transition-smooth);
}

.how-it-works.visible,
.features.visible {
    opacity: 1;
    transform: translateY(0);
}

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pulse {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.3); }
}

@keyframes blink {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

@keyframes ripple {
    0% { transform: scale(1); opacity: 0.3; }
    100% { transform: scale(2.5); opacity: 0; }
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .header {
        padding: 1.5rem 1.5rem;
        justify-content: space-between;
    }

    .hero {
        padding: 3rem 1.5rem 4rem;
        gap: 2rem;
        min-height: 75vh;
    }

    .logo {
        max-width: 260px;
    }

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .footer {
        padding: 1.5rem;
    }
}

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

    .tagline {
        letter-spacing: 0.08em;
    }

    .badge {
        padding: 0.5rem 1rem;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .features-grid {
        grid-template-columns: 1fr 1fr;
    }

    .step-card {
        padding: 1.5rem 1rem;
    }
}
