/* ============================================
   KOHINOOR @PATEL ESTATE — TEASER
   Mobile-First Premium Dark Luxury Theme
   ============================================ */

/* --- Design Tokens --- */
:root {
    /* Logo-matched Gold */
    --gold-100: #f5e6be;
    --gold-200: #e8d292;
    --gold-300: #e0c878;
    --gold-400: #c9a84c;
    --gold-500: #a8893a;
    --gold-600: #8a6f2e;
    /* Logo-matched Navy */
    --dark-900: #141e30;
    --dark-800: #1a2740;
    --dark-700: #213250;
    --dark-600: #2a3d5e;
    --dark-500: #344a6c;
    --text-primary: #f0eee8;
    --text-secondary: #a8b4c8;
    --text-muted: #6b7d99;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-hover: rgba(255, 255, 255, 0.1);
    --gradient-gold: linear-gradient(135deg, #c9a84c, #e0c878, #c9a84c);
    --shadow-glow: 0 0 60px rgba(201, 168, 76, 0.15);
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Reset & Base (Mobile First) --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-body);
    background: var(--dark-900);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* --- Section Labels --- */
.section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold-400);
    margin-bottom: 10px;
}

.section-title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 14px;
    line-height: 1.2;
}

.section-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===========================
   RERA BANNER
   =========================== */
.rera-banner {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 101;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 16px;
    background: linear-gradient(135deg, var(--dark-700), var(--dark-600));
    border-bottom: 1px solid var(--gold-400);
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--gold-300);
    letter-spacing: 0.08em;
    text-align: center;
}

/* ===========================
   NAVIGATION — Mobile First
   =========================== */
.nav {
    position: fixed;
    top: 28px; left: 0; right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background: rgba(20, 30, 48, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.4s var(--ease-out-expo);
}

.nav.scrolled {
    padding: 8px 16px;
    background: rgba(20, 30, 48, 0.95);
}

.nav__logo {
    display: flex;
    align-items: center;
}

.nav__logo-img {
    height: 52px;
    width: auto;
    object-fit: contain;
    border-radius: 4px;
}

.nav__cta {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--gradient-gold);
    color: var(--dark-900);
    font-weight: 600;
    font-size: 0.78rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.nav__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(201, 168, 76, 0.3);
}

.nav__cta svg { width: 14px; height: 14px; }

/* ===========================
   HERO — Mobile First
   =========================== */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(20,30,48,0.35) 0%, rgba(20,30,48,0.7) 50%, var(--dark-900) 100%),
        url('hero.png') center/cover no-repeat;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 30%, rgba(201, 168, 76, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 118px 16px 60px;
    max-width: 800px;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold-300);
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.hero__badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    animation: pulse-dot 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
    50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
}

/* Hero Title — Single line Kohinoor@PatelEstate */
.hero__title {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    white-space: nowrap;
}

.hero__title-line {
    color: var(--text-primary);
}

.hero__title-at {
    font-size: 0.5em;
    color: var(--gold-400);
    opacity: 0.6;
    vertical-align: middle;
    margin: 0 2px;
    font-weight: 400;
    font-style: italic;
}

.hero__title-accent {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__subtitle {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
    padding: 0 8px;
}

.hero__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 28px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo);
    letter-spacing: 0.02em;
    white-space: nowrap;
    width: 100%;
}

.btn--primary {
    background: var(--gradient-gold);
    color: var(--dark-900);
}

.btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(201, 168, 76, 0.35);
}

.btn--outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn--outline:hover {
    background: var(--glass-hover);
    border-color: var(--gold-400);
    color: var(--gold-300);
    transform: translateY(-2px);
}

.btn--full { width: 100%; }

/* --- Scroll Indicator (hidden on mobile) --- */
.hero__scroll-indicator { display: none; }

/* ===========================
   HIGHLIGHTS — Mobile First
   =========================== */
.highlights {
    position: relative;
    z-index: 1;
    padding: 64px 0;
    background: var(--dark-800);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.highlights__header {
    text-align: center;
    margin-bottom: 40px;
}

.highlights__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.highlight-card {
    padding: 24px 20px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.highlight-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--gradient-gold);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.highlight-card:hover {
    transform: translateY(-4px);
    border-color: rgba(201, 168, 76, 0.2);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.highlight-card:hover::before { opacity: 1; }

.highlight-card__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 168, 76, 0.12);
    border-radius: var(--radius-md);
    color: var(--gold-400);
    margin-bottom: 16px;
}

.highlight-card__icon svg { width: 24px; height: 24px; }

.highlight-card__title {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.highlight-card__desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ===========================
   REGISTER — Mobile First
   =========================== */
.register {
    position: relative;
    z-index: 1;
    padding: 64px 0;
    background: var(--dark-900);
}

.register__wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.register__info .section-desc {
    margin-bottom: 24px;
}

.register__perks {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}

.perk {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.perk svg { color: var(--gold-400); flex-shrink: 0; width: 18px; height: 18px; }

/* Contact chips */
.register__contact {
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
}

.register__contact-label {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.register__contact-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-chip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 18px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.contact-chip:hover {
    border-color: var(--gold-400);
    color: var(--gold-300);
}

.contact-chip svg { color: var(--gold-400); flex-shrink: 0; }

.contact-chip--wa {
    background: rgba(37, 211, 102, 0.08);
    border-color: rgba(37, 211, 102, 0.2);
}

.contact-chip--wa svg { color: #25d366; }

.contact-chip--wa:hover {
    background: rgba(37, 211, 102, 0.15);
    border-color: #25d366;
    color: #25d366;
}

/* Form */
.register__form {
    padding: 24px 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(20px);
    position: relative;
}

.register__form-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.form-group { margin-bottom: 16px; }

.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 6px;
    letter-spacing: 0.04em;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 13px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 16px; /* Prevents iOS zoom */
    transition: all 0.3s ease;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23a1a1aa' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--gold-400);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.12);
}

.form-group input::placeholder { color: var(--text-muted); }
.form-group select option { background: var(--dark-700); color: var(--text-primary); }

.register__disclaimer {
    margin-top: 14px;
    font-size: 0.68rem;
    color: var(--text-muted);
    line-height: 1.5;
    text-align: center;
}

.form-success {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    background: var(--dark-700);
    border-radius: var(--radius-xl);
    text-align: center;
    padding: 32px 20px;
    animation: fade-in 0.5s ease;
}

.form-success svg { color: #22c55e; width: 40px; height: 40px; }
.form-success h4 { font-family: var(--font-display); font-size: 1.3rem; color: var(--text-primary); }
.form-success p { color: var(--text-secondary); font-size: 0.88rem; max-width: 280px; }

/* ===========================
   FOOTER — Mobile First
   =========================== */
.footer {
    position: relative;
    z-index: 1;
    padding: 48px 0 0;
    background: var(--dark-800);
    border-top: 1px solid var(--glass-border);
}

.footer__top {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--glass-border);
}

.footer__tagline {
    margin-top: 12px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer__contact h4 {
    font-family: var(--font-display);
    font-size: 0.95rem;
    margin-bottom: 14px;
    color: var(--text-primary);
}

.footer__link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.footer__link:hover { color: var(--gold-400); }

.footer__bottom {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px 0;
    font-size: 0.72rem;
    color: var(--text-muted);
    text-align: center;
}

.footer__disclaimer {
    color: var(--text-muted);
    font-size: 0.65rem;
    line-height: 1.5;
}

/* ===========================
   WHATSAPP FLOAT
   =========================== */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 16px;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    z-index: 99;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    animation: whatsapp-bounce 3s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg { width: 24px; height: 24px; }

@keyframes whatsapp-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* ===========================
   ANIMATIONS
   =========================== */
.animate-fade-up {
    opacity: 0;
    transform: translateY(24px);
    animation: fade-up 0.7s var(--ease-out-expo) forwards;
}

.delay-1 { animation-delay: 0.12s; }
.delay-2 { animation-delay: 0.24s; }
.delay-3 { animation-delay: 0.36s; }
.delay-4 { animation-delay: 0.48s; }

@keyframes fade-up {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===========================
   TABLET (min-width: 600px)
   =========================== */
@media (min-width: 600px) {
    .container { padding: 0 24px; }
    .nav { padding: 12px 24px; }
    .nav__logo-img { height: 56px; }
    .nav__cta { padding: 10px 20px; font-size: 0.82rem; }

    .hero__content { padding: 130px 24px 70px; }
    .hero__title { font-size: 3rem; }
    .hero__badge { font-size: 0.7rem; padding: 8px 18px; }
    .hero__subtitle { font-size: 1rem; }
    .hero__actions {
        flex-direction: row;
        max-width: none;
        justify-content: center;
    }
    .btn { width: auto; }

    .highlights { padding: 80px 0; }
    .highlights__grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .highlight-card { padding: 28px 24px; }

    .section-title { font-size: 2rem; }

    .register { padding: 80px 0; }
    .register__form { padding: 32px 24px; }

    .register__contact-links { flex-direction: row; }
    .contact-chip { justify-content: center; flex: 1; }

    .footer__top { flex-direction: row; justify-content: space-between; }
    .footer__bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* ===========================
   DESKTOP (min-width: 1024px)
   =========================== */
@media (min-width: 1024px) {
    .container { padding: 0 32px; }
    .nav { padding: 14px 32px; }
    .nav__logo-img { height: 64px; }
    .nav__cta { padding: 10px 24px; font-size: 0.85rem; gap: 8px; }

    .hero__content { padding: 140px 32px 80px; }
    .hero__title { font-size: 4.2rem; }
    .hero__title-at { margin: 0 4px; }
    .hero__subtitle { font-size: 1.15rem; }

    .hero__scroll-indicator {
        display: flex;
        position: absolute;
        bottom: 40px;
        left: 50%;
        transform: translateX(-50%);
        flex-direction: column;
        align-items: center;
        gap: 8px;
        z-index: 2;
    }

    .hero__scroll-indicator span {
        font-size: 0.68rem;
        letter-spacing: 0.15em;
        text-transform: uppercase;
        color: var(--text-muted);
    }

    .hero__scroll-line {
        width: 1px;
        height: 36px;
        background: linear-gradient(to bottom, var(--gold-400), transparent);
        animation: scroll-pulse 2s ease-in-out infinite;
    }

    @keyframes scroll-pulse {
        0%, 100% { opacity: 1; height: 36px; }
        50% { opacity: 0.3; height: 18px; }
    }

    .highlights { padding: 100px 0; }
    .highlights__header { margin-bottom: 56px; }
    .highlights__grid { grid-template-columns: repeat(4, 1fr); gap: 24px; }
    .highlight-card { padding: 32px 24px; }
    .highlight-card__icon { width: 56px; height: 56px; }
    .highlight-card__icon svg { width: 28px; height: 28px; }
    .highlight-card__title { font-size: 1.15rem; }
    .highlight-card__desc { font-size: 0.88rem; }

    .section-title { font-size: 2.5rem; }

    .register { padding: 100px 0; }
    .register__wrapper { grid-template-columns: 1fr 1fr; gap: 60px; }
    .register__form { padding: 36px 32px; }
    .register__form-title { font-size: 1.3rem; }

    .footer { padding: 60px 0 0; }

    .whatsapp-float { bottom: 28px; right: 28px; width: 60px; height: 60px; }
    .whatsapp-float svg { width: 28px; height: 28px; }
}
