/* ==========================================================================
   JES TEX - Textile Manufacturing (Minimalist Coming Soon)
   Design: Luxury Dark Slate & Woven Gold / Precision Countdown
   ========================================================================== */

:root {
    --bg-main: #091017;
    --bg-surface: #0f1c29;
    --bg-card: rgba(16, 29, 43, 0.75);
    --bg-card-hover: rgba(24, 43, 64, 0.9);
    
    --primary: #ffffff;
    --text-muted: #8e9fab;
    --text-dim: #54687a;
    
    --gold: #d4a359;
    --gold-light: #f3d19c;
    --gold-glow: rgba(212, 163, 89, 0.25);
    
    --whatsapp: #25D366;
    --whatsapp-glow: rgba(37, 211, 102, 0.25);
    
    --border: rgba(255, 255, 255, 0.08);
    --border-highlight: rgba(212, 163, 89, 0.35);
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-pill: 9999px;
    
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html, body {
    height: 100%;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-main);
    color: var(--primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* Background Scene */
.bg-scene {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.textile-grid-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(212, 163, 89, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212, 163, 89, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(circle at 50% 50%, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at 50% 50%, black 30%, transparent 80%);
}

.stitch-lines {
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.015) 0px,
        rgba(255, 255, 255, 0.015) 2px,
        transparent 2px,
        transparent 14px
    );
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.45;
}

.glow-top-right {
    top: -15%;
    right: -10%;
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, rgba(212, 163, 89, 0.2) 0%, transparent 70%);
}

.glow-bottom-left {
    bottom: -20%;
    left: -15%;
    width: 750px;
    height: 750px;
    background: radial-gradient(circle, rgba(29, 116, 196, 0.18) 0%, transparent 70%);
}

/* Page Layout Wrapper */
.page-wrapper {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2.5rem 2rem;
    max-width: 960px;
    margin-inline: auto;
}

/* Header */
.header {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-mark {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #182e44 0%, #d4a359 100%);
    border: 1px solid rgba(212, 163, 89, 0.4);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.3rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

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

.brand-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.65rem;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1;
    color: #ffffff;
}

.brand-subtitle {
    font-size: 0.72rem;
    color: var(--gold);
    font-weight: 600;
    letter-spacing: 2px;
    margin-top: 5px;
}

/* Main Content */
.main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-block: 3.5rem 2.5rem;
    width: 100%;
}

.launch-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.5rem 1.4rem;
    background: rgba(212, 163, 89, 0.1);
    border: 1px solid rgba(212, 163, 89, 0.35);
    border-radius: var(--radius-pill);
    color: var(--gold-light);
    font-size: 0.92rem;
    font-weight: 600;
    margin-bottom: 2.8rem;
    box-shadow: 0 0 30px rgba(212, 163, 89, 0.12);
}

.launch-pill i {
    font-size: 0.9rem;
    color: var(--gold);
}

/* Countdown Timer */
.countdown-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    margin-bottom: 3.5rem;
    width: 100%;
}

.countdown-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.8rem;
    min-width: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.countdown-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0.7;
}

.countdown-card:hover {
    border-color: var(--border-highlight);
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}

.count-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1;
    color: #ffffff;
    letter-spacing: -1px;
}

.count-label {
    font-size: 0.75rem;
    color: var(--gold-light);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 0.6rem;
    font-weight: 600;
}

.countdown-separator {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: rgba(212, 163, 89, 0.4);
    user-select: none;
    margin-bottom: 1.2rem;
}

/* Contact Hub (Cards) */
.contact-hub {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    width: 100%;
    max-width: 720px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    padding: 1.25rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    text-align: left;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.contact-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-3px);
    border-color: var(--border-highlight);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.whatsapp-card .card-icon {
    background: rgba(37, 211, 102, 0.15);
    color: var(--whatsapp);
    border: 1px solid rgba(37, 211, 102, 0.25);
}

.whatsapp-card:hover {
    border-color: rgba(37, 211, 102, 0.5);
    box-shadow: 0 12px 35px var(--whatsapp-glow);
}

.email-card .card-icon {
    background: rgba(212, 163, 89, 0.15);
    color: var(--gold);
    border: 1px solid rgba(212, 163, 89, 0.25);
}

.email-card:hover {
    border-color: rgba(212, 163, 89, 0.5);
    box-shadow: 0 12px 35px var(--gold-glow);
}

.card-details {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-val {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin-top: 2px;
    font-family: 'Space Grotesk', sans-serif;
}

.card-arrow {
    color: var(--text-dim);
    font-size: 0.85rem;
    transition: var(--transition);
}

.contact-card:hover .card-arrow {
    color: #ffffff;
    transform: translate(3px, -3px);
}

/* Footer */
.footer {
    border-top: 1px solid var(--border);
    padding-top: 1.75rem;
    text-align: center;
    font-size: 0.88rem;
    color: var(--text-dim);
}

.footer strong {
    color: var(--gold);
}

/* Responsive */
@media (max-width: 768px) {
    .page-wrapper {
        padding: 1.5rem 1.25rem;
    }

    .countdown-container {
        gap: 0.5rem;
        margin-bottom: 2.5rem;
    }

    .countdown-card {
        min-width: 70px;
        padding: 1rem 0.6rem;
    }

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

    .count-label {
        font-size: 0.65rem;
        letter-spacing: 0.5px;
    }

    .countdown-separator {
        font-size: 1.4rem;
        margin-bottom: 0.8rem;
    }

    .contact-hub {
        grid-template-columns: 1fr;
        gap: 0.9rem;
    }
}
