/* CSS Custom Properties / Color Tokens from Brand Guidelines */
:root {
    --morning-red: #C8102E;
    --morning-red-rgb: 200, 16, 46;
    --deep-maroon: #8B1E2F;
    --deep-maroon-rgb: 139, 30, 47;
    --warm-orange: #F59E1F;
    --warm-orange-rgb: 245, 158, 31;
    --cream: #FFF4E6;
    --cream-rgb: 255, 244, 230;
    --heritage-gold: #D4A94A;
    --heritage-gold-rgb: 212, 169, 74;
    --ink-black: #1A1A1A;
    --ink-black-rgb: 26, 26, 26;
    --stone-gray: #6B6B6B;
    --white: #FFFFFF;
    
    /* Dark Theme dawn vibes */
    --bg-dark: #0f0808;
    --card-bg: rgba(20, 10, 10, 0.45);
    --card-border: rgba(200, 16, 46, 0.25);
    --input-bg: rgba(26, 26, 26, 0.4);
    --text-primary: #FFF4E6;
    --text-secondary: #dcd3c7;
    --text-muted: #a89f94;
    
    /* Font Families */
    --font-latin-title: 'Montserrat', sans-serif;
    --font-latin-body: 'Poppins', sans-serif;
    --font-bengali: 'Noto Sans Bengali', sans-serif;
    
    /* Animation Speeds */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset and Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    min-height: 100vh;
    font-family: var(--font-latin-body);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding: 40px 20px;
}

/* Base Font Fallbacks based on Lang attribute */
body[lang="bn"] {
    font-family: var(--font-bengali), var(--font-latin-body);
}
body[lang="bn"] .main-title,
body[lang="bn"] .tagline {
    font-family: var(--font-bengali), var(--font-latin-title);
    font-weight: 700;
}

/* Animated Dawn & Glow Background effects */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    pointer-events: none;
}

.sun-glow {
    position: fixed;
    top: -20vh;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 80vh;
    background: radial-gradient(circle, rgba(245, 158, 31, 0.18) 0%, rgba(200, 16, 46, 0.08) 40%, transparent 70%);
    z-index: 2;
    pointer-events: none;
    filter: blur(80px);
    animation: sunPulse 10s ease infinite alternate;
}

.ambient-glow-1 {
    position: fixed;
    bottom: -10%;
    left: -10%;
    width: 50vw;
    height: 50vh;
    background: radial-gradient(circle, rgba(139, 30, 47, 0.25) 0%, transparent 70%);
    z-index: 2;
    pointer-events: none;
    filter: blur(100px);
}

.ambient-glow-2 {
    position: fixed;
    top: 30%;
    right: -10%;
    width: 40vw;
    height: 40vh;
    background: radial-gradient(circle, rgba(212, 169, 74, 0.1) 0%, transparent 70%);
    z-index: 2;
    pointer-events: none;
    filter: blur(90px);
}

@keyframes sunPulse {
    0% {
        opacity: 0.75;
        transform: translateX(-50%) scale(1);
    }
    100% {
        opacity: 1;
        transform: translateX(-50%) scale(1.1);
    }
}

/* Main Page Container Layout */
.landing-container {
    width: 100%;
    max-width: 680px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding: 20px 0;
    margin: auto 0;
}

/* Top Nav / Language Switcher */
.top-nav {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    margin-bottom: 25px;
    opacity: 0;
    animation: fadeInDown 0.8s ease forwards;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 244, 230, 0.15);
    color: var(--cream);
    padding: 10px 18px;
    border-radius: 30px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all var(--transition-fast);
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--warm-orange);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 31, 0.2);
}

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

.lang-btn .icon {
    width: 18px;
    height: 18px;
    transition: transform 0.5s ease;
}

.lang-btn:hover .icon {
    transform: rotate(180deg);
}

/* Frosted Glass Content Card */
.content-card {
    width: 100%;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 24px;
    padding: 48px 40px;
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.4),
        0 0 50px rgba(200, 16, 46, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

.content-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--deep-maroon), var(--morning-red), var(--warm-orange), var(--heritage-gold));
}

/* Brand Logo Layout */
.logo-wrapper {
    position: relative;
    margin-bottom: 24px;
    display: inline-block;
    padding: 10px;
}

.brand-logo {
    max-height: 90px;
    max-width: 250px;
    height: auto;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.3));
    transition: transform var(--transition-normal);
}

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

/* Status Badge Component */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(200, 16, 46, 0.12);
    border: 1px solid rgba(200, 16, 46, 0.3);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--warm-orange);
    margin-bottom: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--morning-red);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(200, 16, 46, 0.7);
    animation: pulse 1.6s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(200, 16, 46, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(200, 16, 46, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(200, 16, 46, 0);
    }
}

/* Typography Text Blocks */
.text-block {
    margin-bottom: 35px;
    max-width: 520px;
}

.main-title {
    font-family: var(--font-latin-title);
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--white) 30%, var(--cream) 70%, var(--heritage-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tagline {
    font-family: var(--font-latin-title);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--warm-orange);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.65;
    font-weight: 300;
}

/* Product Category Grid Pills */
.product-pills-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    width: 100%;
}

.product-pill {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 10px 18px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition-normal);
    cursor: default;
}

.product-pill svg {
    width: 18px;
    height: 18px;
    color: var(--heritage-gold);
    transition: transform var(--transition-fast);
}

.product-pill:hover {
    background: rgba(212, 169, 74, 0.08);
    border-color: rgba(212, 169, 74, 0.4);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(212, 169, 74, 0.1);
}

.product-pill:hover svg {
    transform: scale(1.2) rotate(5deg);
    color: var(--warm-orange);
}

/* Main CTA - Facebook Card Button */
.cta-section {
    width: 100%;
    margin-bottom: 40px;
}

.facebook-cta {
    display: flex;
    align-items: center;
    width: 100%;
    background: linear-gradient(135deg, rgba(24, 119, 242, 0.15) 0%, rgba(200, 16, 46, 0.15) 100%);
    border: 1px solid rgba(24, 119, 242, 0.4);
    padding: 20px 24px;
    border-radius: 16px;
    text-decoration: none;
    color: var(--white);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.facebook-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.facebook-cta:hover::before {
    left: 100%;
}

.facebook-cta:hover {
    transform: translateY(-4px);
    border-color: rgba(24, 119, 242, 0.8);
    background: linear-gradient(135deg, rgba(24, 119, 242, 0.25) 0%, rgba(200, 16, 46, 0.22) 100%);
    box-shadow: 
        0 15px 35px rgba(24, 119, 242, 0.25),
        0 0 20px rgba(200, 16, 46, 0.15);
}

.cta-icon-wrapper {
    background: #1877f2;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 18px;
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.4);
    flex-shrink: 0;
    transition: transform var(--transition-fast);
}

.facebook-icon {
    width: 24px;
    height: 24px;
}

.cta-text-wrapper {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-grow: 1;
}

.cta-label {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.cta-sub {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 400;
    word-break: break-all;
}

.facebook-cta:hover .cta-icon-wrapper {
    transform: scale(1.1) rotate(-5deg);
}

.cta-arrow {
    width: 24px;
    height: 24px;
    color: var(--text-secondary);
    transition: transform var(--transition-normal);
}

.facebook-cta:hover .cta-arrow {
    color: var(--white);
    transform: translateX(5px);
}

/* Email Pre-launch Notification Box */
.notification-box {
    width: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 30px;
    border-radius: 16px;
    margin-top: 10px;
    text-align: left;
}

.box-title {
    font-family: var(--font-latin-title);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.box-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.5;
}

.notify-form {
    display: flex;
    gap: 12px;
    width: 100%;
}

.input-container {
    position: relative;
    flex-grow: 1;
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--text-muted);
    pointer-events: none;
    transition: color var(--transition-fast);
}

.notify-form input {
    width: 100%;
    background: var(--input-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    padding: 14px 16px 14px 48px;
    border-radius: 12px;
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
    transition: all var(--transition-fast);
}

.notify-form input:focus {
    border-color: var(--warm-orange);
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 12px rgba(245, 158, 31, 0.15);
}

.notify-form input:focus + .input-icon {
    color: var(--warm-orange);
}

.notify-btn {
    background: var(--morning-red);
    color: var(--white);
    border: none;
    padding: 0 28px;
    border-radius: 12px;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(200, 16, 46, 0.3);
}

.notify-btn:hover {
    background: #e01b3c;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200, 16, 46, 0.5);
}

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

.btn-loader {
    width: 20px;
    height: 20px;
    animation: spin 0.8s linear infinite;
    display: none;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

/* Form Feedback messages styling */
.form-feedback {
    margin-top: 12px;
    font-size: 0.85rem;
    display: none;
}
.form-feedback.success {
    display: block;
    color: #4cd964;
}
.form-feedback.error {
    display: block;
    color: #ff3b30;
}

/* Loading/submitting state styling */
.notify-form.submitting .btn-text {
    display: none;
}
.notify-form.submitting .btn-loader {
    display: block;
}
.notify-form.submitting .notify-btn {
    pointer-events: none;
    opacity: 0.8;
}

/* Footer Section styling */
.footer-info {
    margin-top: 25px;
    text-align: center;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

.copyright {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Page Entry Animations keyframes */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Responsive Breakpoints Rules */
@media (max-width: 768px) {
    .content-card {
        padding: 40px 24px;
    }
    
    .main-title {
        font-size: 1.8rem;
    }
    
    .tagline {
        font-size: 1.05rem;
    }
    
    .facebook-cta {
        padding: 16px 18px;
    }
    
    .cta-icon-wrapper {
        width: 40px;
        height: 40px;
        margin-right: 12px;
    }
    
    .facebook-icon {
        width: 20px;
        height: 20px;
    }
    
    .notify-form {
        flex-direction: column;
    }
    
    .notify-btn {
        padding: 14px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 12px;
    }
    
    .content-card {
        padding: 30px 16px;
        border-radius: 20px;
    }
    
    .main-title {
        font-size: 1.6rem;
    }
    
    .tagline {
        font-size: 0.95rem;
    }
    
    .product-pills-container {
        gap: 8px;
    }
    
    .product-pill {
        padding: 8px 12px;
        font-size: 0.75rem;
    }
    
    .facebook-cta {
        padding: 14px 12px;
    }
    
    .cta-arrow {
        display: none;
    }
}
