/* ═══════════════════════════════════════════
   GlobalFlyt — Premium Announcement Page
   ═══════════════════════════════════════════ */

:root {
    --bg-primary: #0a0a0a;
    --bg-card: rgba(255, 255, 255, 0.05);
    --border-subtle: rgba(255, 255, 255, 0.1);
    --border-focus: rgba(255, 138, 0, 0.5);
    --orange-500: #FF5C00;
    --orange-400: #FF8A00;
    --orange-glow: rgba(255, 92, 0, 0.25);
    --blue-deep: #111111;
    --blue-glow: rgba(255, 255, 255, 0.05);
    --white: #FFFFFF;
    --white-80: rgba(255, 255, 255, 0.8);
    --white-50: rgba(255, 255, 255, 0.5);
    --white-30: rgba(255, 255, 255, 0.3);
    --white-10: rgba(255, 255, 255, 0.08);
    --green-400: #4ade80;
    --radius-sm: 10px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 100px;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { 
    height: 100%; 
    background: var(--bg-primary); /* Ensure no white bars show through */
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--white);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ─── Animated Background Scene ─── */
.bg-scene {
    position: fixed;
    inset: 0;
    z-index: 1;
    background: var(--bg-primary);
    overflow: hidden;
    pointer-events: none;
}

.bg-scene::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('assets/images/hero.png');
    background-size: cover;
    background-position: center;
    opacity: 0.5;
    filter: brightness(0.9) contrast(1.1);
}

.bg-scene::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, var(--bg-primary) 0%, transparent 80%),
                linear-gradient(to top, var(--bg-primary) 0%, transparent 40%);
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
    will-change: transform;
}

.orb-1, .orb-2, .orb-3 { display: none; }

/* Dot grid overlay */
.grid-overlay {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 85%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 85%);
}

#particles-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* ─── Header ─── */
header {
    position: relative;
    z-index: 100;
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1rem 8%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.logo-container {
    background: white;
    padding: 8px 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.main-logo {
    height: 60px;
    width: auto;
    transition: transform 0.3s var(--ease);
}

.main-logo:hover { transform: scale(1.05); }

/* ─── Hero ─── */
main {
    position: relative;
    z-index: 10;
    flex: 1;
    display: flex;
    align-items: center;
    padding: 4rem 8%;
}

.hero { width: 100%; max-width: 1400px; margin: 0 auto; }

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.hero-text-content {
    text-align: left;
    margin-top: -100px;
}

@media (max-width: 1024px) {
    .hero-text-content {
        margin-top: 0;
    }
}

.hero-logo-container {
    margin-bottom: 2rem;
    animation: fadeIn 0.8s var(--ease) 0.1s both;
    display: flex;
    justify-content: flex-start;
    position: relative;
}

.hero-logo-container::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: var(--orange-500);
    filter: blur(40px);
    opacity: 0.3;
    z-index: -1;
    pointer-events: none;
}

.hero-logo {
    height: 160px; /* Significantly larger to be highlighted */
    width: auto;
    filter: drop-shadow(0 8px 25px rgba(255, 138, 0, 0.15)) drop-shadow(0 4px 10px rgba(0,0,0,0.5));
    transition: all 0.4s var(--ease);
}

.hero-logo:hover {
    transform: scale(1.02);
}

.hero-image-content {
    position: relative;
}

/* Pill Badge */
.pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 24px 8px 16px;
    border-radius: var(--radius-full);
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 1px;
    margin-bottom: 2.5rem;
    backdrop-filter: blur(8px);
    animation: fadeIn 0.8s var(--ease) 0.2s both;
}

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

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

/* Tagline */
.tagline {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--orange-400);
    margin-bottom: 1rem;
    animation: fadeIn 0.8s var(--ease) 0.3s both;
}

/* Heading */
h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s var(--ease) 0.4s both;
}

.gradient-text {
    background: linear-gradient(135deg, var(--orange-500), var(--orange-400), #FFB347);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Subtitle */
.subtitle {
    font-size: 1.05rem;
    color: var(--white-50);
    line-height: 1.75;
    max-width: 520px;
    margin: 0 0 2.5rem;
    animation: fadeInUp 0.8s var(--ease) 0.55s both;
}

/* ─── Notify Form ─── */
.notify-wrapper {
    animation: fadeInUp 0.8s var(--ease) 0.7s both;
}

.notify-form .form-row {
    display: flex;
    gap: 0.75rem;
    align-items: stretch;
}

.input-wrap {
    flex: 1;
}

.input-wrap input {
    width: 100%;
    height: 100%;
    padding: 1.1rem 1.4rem;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    color: var(--white);
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s var(--ease);
    backdrop-filter: blur(12px);
}

.input-wrap input::placeholder { color: var(--white-30); }

.input-wrap input:focus {
    border-color: var(--border-focus);
    box-shadow: 0 0 0 3px rgba(255, 92, 0, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

.btn-notify {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.9rem 1.8rem;
    background: linear-gradient(135deg, var(--orange-500), var(--orange-400));
    color: var(--white);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s var(--ease);
    box-shadow: 0 4px 20px var(--orange-glow);
}

.btn-notify:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 92, 0, 0.4);
    filter: brightness(1.1);
}

.btn-notify:active { transform: translateY(0); }

.btn-arrow { transition: transform 0.3s var(--ease); }
.btn-notify:hover .btn-arrow { transform: translateX(3px); }

/* Success State */
.success-state {
    text-align: center;
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid rgba(74, 222, 128, 0.15);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    animation: scaleIn 0.5s var(--ease);
}

.success-icon { margin-bottom: 0.75rem; }
.success-title { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.4rem; }
.success-sub { color: var(--white-50); font-size: 0.9rem; }

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

.hidden { display: none !important; }

/* ─── Trust Row ─── */
.trust-row {
    display: flex;
    justify-content: flex-start;
    gap: 2rem;
    margin-top: 2.5rem;
    animation: fadeIn 0.8s var(--ease) 0.9s both;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--white-80);
    font-weight: 500;
}

.trust-item svg { stroke: var(--white-80); flex-shrink: 0; opacity: 0.8; }

/* ─── Preview Section ─── */
.preview-container {
    margin-top: 0;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    animation: fadeInUp 1s var(--ease) 0.8s both;
    cursor: pointer;
}

.preview-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    transition: transform 0.8s var(--ease);
    filter: brightness(0.9);
}

.preview-container:hover .preview-image {
    transform: scale(1.05);
}

.preview-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5, 10, 24, 0.8) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.4s var(--ease);
}

.preview-container:hover .preview-overlay {
    opacity: 1;
}

.preview-overlay span {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transform: translateY(10px);
    transition: transform 0.4s var(--ease);
}

.preview-container:hover .preview-overlay span {
    transform: translateY(0);
}

/* ─── Footer ─── */
footer {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 1rem 5%;
    font-size: 0.75rem;
    color: var(--white-30);
    letter-spacing: 0.3px;
}

/* ─── Animations ─── */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* ─── Responsive ─── */
@media (max-width: 1024px) {
    body { overflow-y: auto; }
    main { padding: 4rem 6%; }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    .hero-text-content { text-align: center; }
    .subtitle { margin: 0 auto 2.5rem; }
    .trust-row { justify-content: center; }
    .preview-image { height: auto; max-height: 400px; }
}

@media (max-width: 700px) {
    header { padding: 1.2rem 5%; }
    .main-logo { height: 60px; }
    .hero-logo { 
        height: 160px; 
        filter: drop-shadow(0 12px 35px rgba(255, 92, 0, 0.4));
    }
    .hero-logo-container {
        justify-content: center;
        margin-bottom: 0.5rem;
        padding-top: 0;
    }
    .hero-logo-container::after {
        width: 180px;
        height: 180px;
        filter: blur(50px);
    }
    main { padding: 0.5rem 6% 4rem; }

    .notify-form .form-row {
        flex-direction: column;
    }

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

    .trust-row {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1.25rem;
        justify-content: center;
        align-items: center;
    }

    .pill-badge { font-size: 0.75rem; }
    .tagline { font-size: 0.85rem; letter-spacing: 2px; }
    .subtitle { font-size: 0.95rem; }
    .preview-image { height: auto; max-height: 300px; }
}
