/* DAIRO.cloud — Landing Page Styles */

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

body {
    font-family: 'Inter', sans-serif;
    background-color: #000;
    color: #fff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.brand-font {
    font-family: 'Exo 2', sans-serif;
}

/* ── Hero Background ── */
.bg-main {
    position: fixed;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    background-image: url('../Img/coming-soon-4.png');
    background-size: cover;
    background-position: center;
    z-index: -2;
    animation: bgDrift 25s ease-in-out infinite;
}

@keyframes bgDrift {
    0%   { transform: scale(1)   translate(0, 0); }
    25%  { transform: scale(1.04) translate(1%, -0.5%); }
    50%  { transform: scale(1.02) translate(-0.5%, 1%); }
    75%  { transform: scale(1.05) translate(-1%, -0.5%); }
    100% { transform: scale(1)   translate(0, 0); }
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.92) 100%);
    z-index: -1;
    animation: overlayPulse 8s ease-in-out infinite;
}

@keyframes overlayPulse {
    0%, 100% { background: radial-gradient(circle at center, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.92) 100%); }
    50%      { background: radial-gradient(circle at center, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.88) 100%); }
}

/* ── Countdown Timer Cards ── */
.time-card {
    width: 120px;
    height: 150px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 60px rgba(237, 59, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.time-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.6), 0 0 80px rgba(237, 59, 0, 0.12);
}

.time-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background-color: #d35400;
}

.time-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background-color: #ffffff;
}

.digit-container {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding-bottom: 20px;
}

.single-digit {
    font-family: 'Exo 2', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    margin-bottom: 50px;
    transition: opacity 0.15s ease;
}

.time-label {
    position: absolute;
    bottom: 12px;
    left: 0;
    width: 100%;
    text-align: center;
    text-transform: uppercase;
    font-size: 0.65rem;
    color: #d35400;
    font-weight: 800;
    letter-spacing: 0.15em;
    z-index: 3;
}

.split-line {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(0, 0, 0, 0.2);
    z-index: 4;
}

/* ── Colon Separator ── */
.timer-colon {
    font-family: 'Exo 2', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    line-height: 150px;
    animation: colonPulse 1s ease-in-out infinite;
}

@keyframes colonPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* ── Section Styling ── */
.section-dark {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.section-darker {
    background: rgba(10, 10, 10, 0.95);
}

/* ── Pillar Cards ── */
.pillar-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    transition: all 0.3s ease;
}

.pillar-card:hover {
    border-color: rgba(237, 59, 0, 0.3);
    background: linear-gradient(135deg, rgba(237, 59, 0, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    transform: translateY(-2px);
}

.pillar-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ED3B00 0%, #d35400 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: #fff;
}

/* ── Email Signup ── */
.email-form {
    display: flex;
    background: #fff;
    border-radius: 9999px;
    overflow: hidden;
    padding: 4px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(237, 59, 0, 0.1);
    max-width: 480px;
    margin: 0 auto;
}

.email-form input {
    flex-grow: 1;
    padding: 14px 24px;
    border: none;
    outline: none;
    font-size: 0.9rem;
    color: #333;
    background: transparent;
    min-width: 0;
}

.email-form input::placeholder {
    color: #999;
}

.email-form button {
    background: linear-gradient(135deg, #ED3B00 0%, #d35400 100%);
    color: #fff;
    border: none;
    padding: 14px 32px;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.email-form button:hover {
    background: linear-gradient(135deg, #ff4510 0%, #e05800 100%);
    transform: scale(1.02);
}

.email-form button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* ── Form Feedback ── */
.form-message {
    margin-top: 1rem;
    font-size: 0.85rem;
    min-height: 1.5em;
    transition: opacity 0.3s ease;
}

.form-message.success {
    color: #4ade80;
}

.form-message.error {
    color: #f87171;
}

/* ── YouTube Video Container ── */
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(237, 59, 0, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ── Social Links ── */
.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.social-link:hover {
    border-color: #ED3B00;
    color: #ED3B00;
    background: rgba(237, 59, 0, 0.1);
}

/* ── Scroll Indicator ── */
.scroll-indicator {
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 0.6; }
    50% { transform: translateY(8px); opacity: 1; }
}

/* ── Divider ── */
.accent-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #ED3B00, #FF6B35);
    border-radius: 2px;
}

/* ── Launched State ── */
.launched-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #ED3B00 0%, #d35400 100%);
    padding: 12px 32px;
    border-radius: 9999px;
    font-family: 'Exo 2', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    box-shadow: 0 0 40px rgba(237, 59, 0, 0.3);
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .time-card {
        width: 72px;
        height: 95px;
        border-radius: 8px;
    }

    .single-digit {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .digit-container {
        gap: 4px;
        padding-bottom: 14px;
    }

    .time-label {
        font-size: 0.5rem;
        bottom: 6px;
    }

    .timer-colon {
        font-size: 1.8rem;
        line-height: 95px;
    }

    .email-form {
        flex-direction: column;
        border-radius: 16px;
        padding: 6px;
    }

    .email-form input {
        padding: 14px 20px;
        text-align: center;
    }

    .email-form button {
        border-radius: 12px;
        padding: 14px 24px;
    }
}

@media (min-width: 769px) and (max-width: 1023px) {
    .time-card {
        width: 100px;
        height: 130px;
    }

    .single-digit {
        font-size: 2.4rem;
        margin-bottom: 44px;
    }

    .timer-colon {
        font-size: 2.4rem;
        line-height: 130px;
    }
}
