/* ============================================
   Vprojectx — Announcement Page Styles
   Minimal black & white + orange accent
   ============================================ */

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

:root {
    --white: #ffffff;
    --black: #0a0a0a;
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #e5e5e5;
    --gray-300: #d4d4d4;
    --gray-400: #a3a3a3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    --gray-900: #171717;
    --gray-950: #0a0a0a;
    --orange: #f47a20;
    --orange-light: #ff9a44;
    --orange-dark: #d4671a;
    --green: #22c55e;
    --yellow: #eab308;
    --red: #ef4444;
    --font-pixel: 'Press Start 2P', cursive;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;
}

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

body {
    font-family: var(--font-sans);
    background: var(--white);
    color: var(--black);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
    image-rendering: pixelated;
    /* keep pixel art crisp */
}

/* --- Pixel Grid Background --- */
.pixel-grid {
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-200);
}

.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: -0.02em;
}

.nav-mascot {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.nav-name {
    font-family: var(--font-pixel);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--black);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

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

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-600);
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--black);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    font-family: var(--font-sans);
}

.btn-primary {
    background: var(--black);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--gray-800);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.btn-hf {
    background: #FFD21E;
    color: var(--black);
}

.btn-hf:hover {
    background: #f0c400;
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(255, 210, 30, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--gray-600);
    border: 1px solid var(--gray-300);
}

.btn-secondary:hover {
    border-color: var(--gray-400);
    color: var(--black);
}

/* --- Hero --- */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--gray-600);
    margin-bottom: 40px;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--orange);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.hero-logo {
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease-out;
}

.nav-name {
    color: var(--orange);
}

.hero-mascot-float {
    width: 100px;
    height: 100px;
    object-fit: contain;
    filter: drop-shadow(0 4px 24px rgba(244, 122, 32, 0.15));
    animation: float 3s ease-in-out infinite;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

.highlight {
    position: relative;
    color: var(--orange);
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--orange);
    opacity: 0.2;
    border-radius: 3px;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--gray-500);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

/* --- Sections --- */
.section {
    padding: 100px 24px;
}

.section-dark {
    background: var(--gray-950);
    color: var(--white);
}

.section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 56px;
}

.section-tag {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--orange);
    margin-bottom: 12px;
    letter-spacing: 0.04em;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* --- Cards --- */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.card {
    padding: 32px;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    transition: all 0.25s ease;
    background: var(--white);
}

.card:hover {
    border-color: var(--gray-300);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border-radius: 10px;
    margin-bottom: 20px;
    color: var(--gray-700);
}

.card-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.card-desc {
    font-size: 0.93rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* --- Terminal --- */
.terminal {
    background: var(--gray-900);
    border: 1px solid var(--gray-700);
    border-radius: 12px;
    overflow: hidden;
    max-width: 640px;
    box-shadow: 0 16px 64px rgba(0, 0, 0, 0.5);
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 20px;
    background: var(--gray-800);
    border-bottom: 1px solid var(--gray-700);
}

.terminal-dots {
    display: flex;
    gap: 7px;
}

.dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}

.dot-red {
    background: var(--red);
}

.dot-yellow {
    background: var(--yellow);
}

.dot-green {
    background: var(--green);
}

.terminal-title {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--gray-400);
}

.terminal-body {
    padding: 20px 24px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    line-height: 2;
}

.terminal-line {
    display: flex;
    gap: 8px;
    align-items: center;
}

.t-prompt {
    color: var(--orange);
    font-weight: 700;
}

.t-cmd {
    color: var(--gray-300);
}

.t-comment {
    color: var(--gray-500);
}

.t-status {
    font-size: 0.7rem;
}

.t-done {
    color: var(--green);
}

.t-progress {
    color: var(--orange);
}

.t-pending {
    color: var(--gray-600);
}

.t-text {
    color: var(--gray-300);
}

.t-cursor {
    color: var(--orange);
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

/* --- CTA Section --- */
.section-cta {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta-mascot {
    width: 80px;
    height: 80px;
    margin-bottom: 24px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* --- Footer --- */
.footer {
    border-top: 1px solid var(--gray-200);
    padding: 24px;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--gray-500);
}

.footer-mascot {
    width: 20px;
    height: 20px;
}

.footer-right a {
    font-size: 0.85rem;
    color: var(--gray-500);
    transition: color 0.2s;
}

.footer-right a:hover {
    color: var(--black);
}

/* --- Scroll Animations --- */
.section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 640px) {
    .nav-inner {
        padding: 0 16px;
    }

    .hero {
        padding: 100px 20px 60px;
    }

    .logo-img {
        width: 200px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .section {
        padding: 64px 20px;
    }

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

    .terminal-body {
        font-size: 0.75rem;
        padding: 16px;
    }

    .footer-inner {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .nav-name {
        color: var(--orange);
    }
}