/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cairo', 'Outfit', sans-serif;
}

:root {
    --bg-primary: #040509;
    --bg-secondary: #0a0c16;
    --accent-gold: #fbbf24;
    --accent-violet: #8b5cf6;
    --accent-gradient: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
    --accent-gradient-violet: linear-gradient(135deg, #c084fc 0%, #818cf8 50%, #6366f1 100%);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --glass-bg: rgba(10, 12, 22, 0.65);
    --glass-border: rgba(255, 255, 255, 0.06);
    --card-glow: rgba(245, 158, 11, 0.08);
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    position: relative;
     overflow-x: hidden 
}

.page-wrapper {
    overflow-x: hidden;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Background Animated Glowing Orbs */
.bg-glow-1,
.bg-glow-2,
.bg-glow-3 {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    z-index: 1;
    opacity: 0.18;
    pointer-events: none;
}

.bg-glow-1 {
    width: 500px;
    height: 500px;
    background: #d97706;
    top: -100px;
    left: -100px;
    animation: float1 25s infinite ease-in-out alternate;
}

.bg-glow-2 {
    width: 600px;
    height: 600px;
    background: #6366f1;
    bottom: -100px;
    right: -100px;
    animation: float2 25s infinite ease-in-out alternate;
}

.bg-glow-3 {
    width: 400px;
    height: 400px;
    background: #a855f7;
    top: 40%;
    left: 40%;
    transform: translate(-50%, -50%);
    animation: float3 20s infinite ease-in-out alternate;
}

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

    100% {
        transform: translate(120px, 90px) scale(1.3);
    }
}

@keyframes float2 {
    0% {
        transform: translate(0, 0) scale(1.3);
    }

    100% {
        transform: translate(-120px, -90px) scale(0.95);
    }
}

@keyframes float3 {
    0% {
        transform: translate(0, 0) scale(0.9);
    }

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

/* Container */
.container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    /* Center it horizontally */
    padding: 40px 20px;
    /* Secure padding inside the container */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Center content vertically */
    gap: 30px;
}

/* Header section styling */
.card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 50px 40px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Logo Styles */
.logo-container {
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
    max-width: 260px;
    /* Allow the logo to take up to 260px width */
    width: 100%;
}

.logo-container::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 22px;
    /* Matched to new logo shape */
    background: var(--accent-gradient);
    z-index: -1;
    opacity: 0.6;
    filter: blur(12px);
    animation: pulseGlow 3s infinite alternate;
}

@keyframes pulseGlow {
    0% {
        opacity: 0.4;
        filter: blur(8px);
    }

    100% {
        opacity: 0.8;
        filter: blur(16px);
    }
}

.logo {
    width: 100%;
    height: auto;
    border-radius: 20px;
    object-fit: contain;
    border: 2px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    /* Slight background to make it pop if it's transparent */
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.logo:hover {
    transform: scale(1.04) translateY(-3px);
}

/* Construction Badge */
.status-badge {
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.25);
    color: var(--accent-gold);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.05);
}

.status-badge i {
    font-size: 0.8rem;
}

/* Typography */
h1 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 30%, #e2e8f0 70%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

p.tagline {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 650px;
    margin: 0 auto;
}

/* Countdown Card */
.countdown-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 35px 30px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
    opacity: 0;
}

.countdown-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--text-primary);
    position: relative;
    display: inline-block;
}

.countdown-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--accent-gradient);
    margin: 8px auto 0;
    border-radius: 2px;
}

.countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 35px;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 20px;
    padding: 20px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.countdown-item:hover {
    transform: translateY(-3px);
    border-color: rgba(245, 158, 11, 0.2);
}

.countdown-number {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.countdown-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 600;
}

/* Progress Section */
.progress-container {
    background: rgba(10, 12, 22, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 25px;
    margin-top: 40px;
}

.progress-label-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.progress-bar-bg {
    background: rgba(255, 255, 255, 0.03);
    height: 10px;
    border-radius: 50px;
    width: 100%;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.02);
}

.progress-bar-fill {
    background: var(--accent-gradient);
    height: 100%;
    width: 92%;
    border-radius: 50px;
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.4);
    animation: fillBar 2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fillBar {
    from {
        width: 0%;
    }

    to {
        width: 92%;
    }
}

/* Features Grid */
.features-title {
    font-size: 1.3rem;
    font-weight: 800;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
    opacity: 0;
}

.feature-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(245, 158, 11, 0.3);
    box-shadow: 0 15px 30px rgba(245, 158, 11, 0.05);
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: rgba(245, 158, 11, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--accent-gold);
    font-size: 1.5rem;
    border: 1px solid rgba(245, 158, 11, 0.15);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon-wrapper {
    background: var(--accent-gradient);
    color: #000000;
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
    border-color: transparent;
}

.feature-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Subscribe Section */
.subscribe-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.45s forwards;
    opacity: 0;
}

.subscribe-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.subscribe-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 25px;
    line-height: 1.6;
}

.subscribe-form {
    display: flex;
    gap: 12px;
    max-width: 550px;
    margin: 0 auto;
}

.subscribe-form input {
    flex: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px 20px;
    border-radius: 50px;
    color: #ffffff;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.3s ease;
}

.subscribe-form input:focus {
    border-color: var(--accent-gold);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.1);
}

.subscribe-form button {
    background: var(--accent-gradient);
    color: #000000;
    border: none;
    padding: 0 30px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.subscribe-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

.subscribe-message {
    margin-top: 15px;
    font-size: 0.9rem;
    min-height: 20px;
    transition: all 0.3s ease;
}

.subscribe-message.success {
    color: #34d399;
}

/* Footer Section */
.footer {
    text-align: center;
    padding: 20px 0;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
    opacity: 0;
}

.tagline {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 50px;
    margin-top: 20px;
}

.social-header {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 25px;
    margin-top: 60px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    color: #ffffff;
    font-size: 1.25rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-btn:hover {
    color: #000000;
    transform: translateY(-4px);
    border-color: transparent;
}

.social-btn.facebook:hover {
    background: #1877f2;
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(24, 119, 242, 0.35);
}

.social-btn.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(220, 39, 67, 0.35);
}

.copyright {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.25);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

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

/* Responsive adjustments */
@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .countdown-grid {
        gap: 10px;
    }

    .countdown-number {
        font-size: 1.8rem;
    }

    h1 {
        font-size: 1.8rem;
    }

    .card {
        padding: 40px 20px;
    }

    .logo-container {
        max-width: 200px;
    }

    .countdown-card,
    .subscribe-card {
        padding: 30px 20px;
    }
}

@media (max-width: 500px) {
    .countdown-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .countdown-number {
        font-size: 1.6rem;
    }

    .progress-label-row {
        flex-direction: column;
        align-items: center;
        gap: 5px;
    }

    .subscribe-form {
        flex-direction: column;
    }

    .subscribe-form button {
        padding: 16px;
        justify-content: center;
    }

    h1 {
        font-size: 1.5rem;
    }

    p.tagline {
        font-size: 0.95rem;
    }
}