:root {
    --primary: #d4af37;
    /* Champagne Gold */
    --secondary: #0a0e14;
    /* Deep Midnight Indigo */
    --accent: #ffffff;
    --bg: #0a0e14;
    --text: #ffffff;
    --text-muted: #8e9aaf;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(212, 175, 55, 0.2);
    --font-ui: 'Inter', sans-serif;
    --font-bn: 'Hind Siliguri', sans-serif;
    --font-news: 'Tiro Bangla', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font-ui);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

.background-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    filter: blur(80px);
}

.blob {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    opacity: 0.2;
    animation: move 20s infinite alternate;
}

.blob-1 {
    background: #1e3a8a;
    top: -10%;
    left: -10%;
}

.blob-2 {
    background: var(--primary);
    bottom: -10%;
    right: -10%;
    animation-delay: -5s;
    opacity: 0.1;
}

.blob-3 {
    background: #1e293b;
    top: 40%;
    left: 50%;
    animation-delay: -10s;
}

@keyframes move {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(50px, 100px) scale(1.1);
    }
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    justify-content: center;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-bn {
    font-family: var(--font-news);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.logo-en {
    font-size: 0.8rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.badge {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
}

.hero {
    margin-bottom: 4rem;
    text-align: left;
}

.hero h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    background: linear-gradient(to right, #fff, var(--primary));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero h2 {
    font-family: var(--font-bn);
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--text-muted);
}

.features {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.feature-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 1.5rem;
    border-radius: 16px;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: transform 0.3s ease, background 0.3s ease;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.feature-card .icon {
    font-size: 1.5rem;
    background: rgba(212, 175, 55, 0.1);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: var(--primary);
}

.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.feature-card p {
    font-family: var(--font-bn);
    font-size: 0.95rem;
    color: var(--text-muted);
}

.newsletter {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05), rgba(0, 0, 0, 0));
    padding: 2.5rem 1.5rem;
    border-radius: 24px;
    text-align: center;
    border: 1px solid var(--glass-border);
}

.cta-text {
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.subscribe-form input {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    padding: 1rem 1.2rem;
    border-radius: 12px;
    color: white;
    font-family: var(--font-ui);
    outline: none;
    transition: border-color 0.3s ease;
}

.subscribe-form input:focus {
    border-color: var(--primary);
}

.subscribe-form button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.subscribe-form button:hover {
    opacity: 0.9;
    transform: scale(0.98);
}

.footer {
    margin-top: auto;
    text-align: center;
    padding-top: 3rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Success Flash Message (Toast) */
.overlay {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    min-width: 300px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 1.5rem 2rem;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.overlay.hidden {
    opacity: 0;
    top: -100px;
    /* Slide out to top */
    pointer-events: none;
}

.success-content {
    text-align: center;
}

.success-content h3 {
    font-family: var(--font-bn);
    font-size: 2rem;
    color: var(--primary);
    margin-top: 1rem;
}

.success-content p {
    color: var(--text-muted);
    font-weight: 500;
}

/* Checkmark Animation */
.checkmark-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto;
}

.checkmark {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: var(--primary);
    stroke-miterlimit: 10;
    box-shadow: inset 0px 0px 0px var(--primary);
    animation: fill 0.4s ease-in-out 0.4s forwards, scale 0.3s ease-in-out 0.9s both;
}

.checkmark__circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: var(--primary);
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.checkmark__check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes scale {

    0%,
    100% {
        transform: none;
    }

    50% {
        transform: scale3d(1.1, 1.1, 1);
    }
}

@keyframes fill {
    100% {
        box-shadow: inset 0px 0px 0px 40px rgba(212, 175, 55, 0.1);
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Transitions */
.reveal-text,
.feature-card,
.newsletter {
    opacity: 0;
    animation: fadeInUp 0.8s forwards;
}

.feature-card:nth-child(1) {
    animation-delay: 0.2s;
}

.feature-card:nth-child(2) {
    animation-delay: 0.3s;
}

.feature-card:nth-child(3) {
    animation-delay: 0.4s;
}

.feature-card:nth-child(4) {
    animation-delay: 0.5s;
}

.feature-card:nth-child(5) {
    animation-delay: 0.6s;
}

.newsletter {
    animation-delay: 0.8s;
}

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

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