/* ============================================
   SIMPLE QR - WAITLIST PAGE
   Theme matched to extension-website
   ============================================ */

/* ---- Variables (from main site) ---- */
:root {
    --navy-deep: #0d1521;
    --navy: #1a2332;
    --navy-light: #243044;
    --navy-lighter: #2d3b52;
    --teal: #00b8d4;
    --teal-light: #4dd9e8;
    --teal-dark: #009ab3;
    --blue: #4285f4;
    --blue-light: #6ba3f7;
    --white: #f0f4f8;
    --white-pure: #ffffff;
    --gray-100: #e1e8f0;
    --gray-200: #c4cfdc;
    --gray-300: #8e9bb0;
    --gray-400: #5f6d82;
    --gray-500: #3d4a5e;
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(0, 184, 212, 0.3);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

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

body {
    font-family: var(--font);
    background: var(--navy-deep);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

.container {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- Animated Background Glows ---- */
.bg-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(180px);
    opacity: 0.12;
    pointer-events: none;
    z-index: 0;
}

.bg-glow--teal {
    background: var(--teal);
    top: -200px;
    right: -150px;
    animation: float-glow 12s ease-in-out infinite alternate;
}

.bg-glow--blue {
    background: var(--blue);
    bottom: -200px;
    left: -150px;
    animation: float-glow 15s ease-in-out infinite alternate-reverse;
}

@keyframes float-glow {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(40px, -30px) scale(1.15);
    }
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: relative;
    z-index: 100;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
    background: rgba(13, 21, 33, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 720px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 18px;
    color: var(--white-pure);
}

.nav-logo img {
    border-radius: 8px;
}

.nav-back {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-300);
    transition: color 0.2s;
}

.nav-back:hover {
    color: var(--teal);
}

/* ============================================
   HERO / WAITLIST CONTENT
   ============================================ */
.waitlist-hero {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    align-items: center;
    padding: 80px 0 60px;
}

.hero-content {
    text-align: center;
    margin-bottom: 48px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 50px;
    border: 1px solid var(--border-hover);
    background: rgba(0, 184, 212, 0.08);
    font-size: 13px;
    font-weight: 600;
    color: var(--teal);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 28px;
}

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

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(0.8);
    }
}

.hero-content h1 {
    font-size: clamp(28px, 5vw, 44px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--white-pure);
    margin-bottom: 18px;
}

.highlight {
    color: var(--teal);
}

.hero-subtitle {
    font-size: 17px;
    color: var(--gray-300);
    max-width: 540px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

/* ---- Feature Chips ---- */
.features-preview {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 0;
}

.feature-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 50px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-200);
    transition: border-color 0.2s, color 0.2s;
}

.feature-chip:hover {
    border-color: var(--border-hover);
    color: var(--teal-light);
}

/* ============================================
   FORM CARD
   ============================================ */
.form-card {
    background: var(--navy);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 40px 36px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--teal), var(--blue), var(--teal));
    background-size: 200% 100%;
    animation: gradient-slide 4s ease infinite;
}

@keyframes gradient-slide {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.form-header {
    text-align: center;
    margin-bottom: 32px;
}

.form-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--white-pure);
    margin-bottom: 6px;
}

.form-header p {
    font-size: 15px;
    color: var(--gray-300);
}

/* ---- Form Groups ---- */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-200);
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 14px;
    color: var(--gray-400);
    pointer-events: none;
    z-index: 2;
    flex-shrink: 0;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 14px 14px 44px;
    background: var(--navy-light);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--white-pure);
    font-family: var(--font);
    font-size: 15px;
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.form-group input::placeholder {
    color: var(--gray-400);
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(0, 184, 212, 0.15);
}

.form-group select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238e9bb0' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.form-group select option {
    background: var(--navy);
    color: var(--white);
}

/* ---- Submit Button ---- */
.submit-btn,
.pageclip-form__submit {
    width: 100%;
    padding: 16px 24px;
    background: var(--teal) !important;
    color: var(--navy-deep) !important;
    font-family: var(--font);
    font-size: 16px;
    font-weight: 700;
    border: none !important;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    margin-top: 4px;
    box-shadow: none !important;
    text-shadow: none !important;
}

.submit-btn:hover,
.pageclip-form__submit:hover {
    background: var(--teal-dark) !important;
    color: var(--white-pure) !important;
    box-shadow: none !important;
}

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

/* ---- Form Note ---- */
.form-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12px;
    color: var(--gray-400);
    margin-top: 16px;
}

.unsubscribe-link {
    color: var(--teal);
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 500;
    transition: color 0.2s;
}

.unsubscribe-link:hover {
    color: var(--teal-light);
}

/* ============================================
   SOCIAL PROOF
   ============================================ */
.social-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 24px 0;
}

.avatars {
    display: flex;
}

.avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--white-pure);
    border: 2px solid var(--navy-deep);
    margin-left: -8px;
}

.avatar:first-child {
    margin-left: 0;
}

.social-proof p {
    font-size: 14px;
    color: var(--gray-300);
}

.social-proof strong {
    color: var(--gray-100);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 24px 0;
    border-top: 1px solid var(--border);
}

.footer p {
    font-size: 13px;
    color: var(--gray-400);
}

/* ============================================
   PAGECLIP OVERRIDES
   ============================================ */
.pageclip-form__submit::after {
    border-color: var(--navy-deep) !important;
}

.pageclip-form__submit--loading {
    background: var(--teal-dark) !important;
    pointer-events: none;
}

.pageclip-form__submit--loading>span {
    opacity: 0;
}

.pageclip-form__submit--loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--white-pure);
    border-radius: 50%;
    animation: pageclip-spinner 0.6s linear infinite;
}

@keyframes pageclip-spinner {
    to {
        transform: rotate(360deg);
    }
}

.pageclip-form__submit--success {
    background: #34d399 !important;
    color: var(--navy-deep) !important;
}

.pageclip-form__submit--error {
    background: #ef4444 !important;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 640px) {
    .waitlist-hero {
        padding: 48px 0 40px;
    }

    .form-card {
        padding: 28px 20px;
        border-radius: var(--radius-lg);
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .features-preview {
        gap: 8px;
    }

    .feature-chip {
        font-size: 12px;
        padding: 5px 10px;
    }

    .social-proof {
        flex-direction: column;
        gap: 10px;
    }
}