/* PRAMANA Branding Colors */
:root {
    --deep-indigo: #2B2F77;
    --soft-sand: #EFE6D8;
    --warm-gold: #D4A017;
    --cloud-white: #FAFAFA;
    --slate-grey: #4A4A4A;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', sans-serif;
    /* Background set to Soft Sand throughout */
    background-color: var(--soft-sand);
    color: var(--slate-grey);
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

/* Background Grid Overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(43, 47, 119, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(43, 47, 119, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
}

.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

/* --- Header --- */
.header {
    background-color: var(--deep-indigo);
    padding: 2.5rem 1rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.logo h1 {
    color: var(--cloud-white);
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 900;
    letter-spacing: 4px;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.tagline {
    color: var(--soft-sand);
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 2px;
}

/* --- Hero Section (Enlarged for Scroll) --- */
.hero {
    background-color: var(--soft-sand);
    padding: clamp(4rem, 8vw, 6rem) 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero h2 {
    color: var(--deep-indigo);
    /* Larger heading size */
    font-size: clamp(2.2rem, 7vw, 4rem);
    margin-bottom: 2rem;
    font-weight: 800;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.1;
}

.description {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    max-width: 750px;
    margin: 0 auto 4rem;
    color: var(--slate-grey);
}

/* --- Countdown Section (Animated) --- */
.countdown-wrapper h3 {
    color: var(--deep-indigo);
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.countdown-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(1rem, 3vw, 2rem);
    margin: 0 auto;
}

.countdown-item {
    background: linear-gradient(145deg, #2f3385, var(--deep-indigo));
    padding: clamp(1.5rem, 4vw, 2.5rem);
    border-radius: 20px;
    min-width: clamp(100px, 12vw, 150px);
    border-bottom: 5px solid var(--warm-gold);
    box-shadow: 0 15px 35px rgba(43, 47, 119, 0.25);
    text-align: center;
    transition: var(--transition);
    cursor: default;
}

.countdown-item:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 45px rgba(43, 47, 119, 0.4);
    border-bottom-color: #ffd700;
}

.countdown-number {
    color: var(--warm-gold);
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 800;
    line-height: 1;
}

.countdown-label {
    color: var(--cloud-white);
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 600;
    margin-top: 0.7rem;
    letter-spacing: 1px;
}

.countdown-divider {
    color: var(--warm-gold);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 800;
    opacity: 0.6;
}

/* --- Features Section --- */
.features {
    padding: 3rem 1.5rem 5rem;
    /* Soft Sand background for the section as well */
    background-color: var(--soft-sand);
}

.features h3 {
    color: var(--deep-indigo);
    font-size: clamp(2rem, 5vw, 2.8rem);
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 800;
}

.features-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background-color: white;
    padding: 2.2rem 2rem;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.07);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
    width: 260px;
    flex-shrink: 0;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 44px;
    height: 44px;
    background-color: rgba(43, 47, 119, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.feature-icon svg {
    width: 22px;
    height: 22px;
    fill: var(--deep-indigo);
}

.feature-card h4 {
    color: var(--deep-indigo);
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--slate-grey);
    line-height: 1.5;
}

/* --- Footer --- */
.footer {
    background-color: var(--deep-indigo);
    color: var(--cloud-white);
    padding: 3rem 2rem;
    text-align: center;
    margin-top: auto;
    border-top: 6px solid var(--warm-gold);
}

.footer-logo {
    font-size: 2.5rem;
    color: var(--cloud-white);
    font-weight: 900;
    margin-bottom: 1rem;
    display: block;
    letter-spacing: 2px;
}

.footer-tagline {
    font-style: italic;
    color: var(--soft-sand);
    margin-bottom: 2rem;
    opacity: 0.9;
    font-size: 1.1rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-links a svg {
    width: 22px;
    height: 22px;
    fill: var(--cloud-white);
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--warm-gold);
    transform: translateY(-5px);
    border-color: var(--warm-gold);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.social-links a:hover svg {
    fill: var(--deep-indigo);
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .countdown-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        max-width: 400px;
    }

    .countdown-divider {
        display: none;
    }

    .hero {
        padding: 6rem 1.5rem;
    }
}

.features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}
}

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