:root {
    --bg-deep: #0B132B;
    --bg-mid: #121E3D;
    --bg-card: rgba(17, 28, 56, 0.78);
    --bg-surface: rgba(255, 255, 255, 0.04);
    --gold: #F5B700;
    --gold-hover: #FFCA28;
    --gold-soft: rgba(245, 183, 0, 0.14);
    --text-main: #F8FAFC;
    --text-muted: #94A3B8;
    --border: rgba(255, 255, 255, 0.10);
    --success: #34D399;
    --error: #F87171;
    --radius-lg: 20px;
    --radius-md: 12px;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: radial-gradient(circle at top center, var(--bg-mid) 0%, var(--bg-deep) 70%);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

.bg-grid {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 85%);
    pointer-events: none;
    z-index: 0;
}

.bg-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(110px);
    pointer-events: none;
    z-index: 0;
}

.bg-glow-top {
    width: 480px;
    height: 480px;
    top: -180px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(245, 183, 0, 0.14);
}

.bg-glow-bottom {
    width: 420px;
    height: 420px;
    bottom: -180px;
    right: -120px;
    background: rgba(56, 189, 248, 0.09);
}

.page-shell {
    position: relative;
    z-index: 1;
    max-width: 1120px;
    min-height: 100vh;
    margin: 0 auto;
    padding: 28px 24px 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 40px;
}

/* Top Bar */
.top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: var(--text-main);
}

.brand-badge {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--gold) 0%, #E09F00 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(245, 183, 0, 0.25);
    flex-shrink: 0;
}

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

.brand-title {
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.08em;
    color: var(--text-main);
}

.brand-sub {
    font-size: 0.78rem;
    color: var(--text-muted);
    letter-spacing: 0.03em;
}

.local-time-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 0.84rem;
    color: var(--text-muted);
    backdrop-filter: blur(10px);
}

.clock-icon {
    display: inline-flex;
    color: var(--gold);
}

.local-time-pill strong {
    color: var(--text-main);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

/* Main Content */
.main-content {
    display: flex;
    flex-direction: column;
    gap: 28px;
    animation: fadeUp 0.7s ease-out both;
}

.hero-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 52px 48px;
    backdrop-filter: blur(18px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(245, 183, 0, 0.55), transparent);
}

.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 16px;
    border-radius: 999px;
    background: var(--gold-soft);
    border: 1px solid rgba(245, 183, 0, 0.32);
    color: var(--gold-hover);
    font-size: 0.84rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 24px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 0 rgba(245, 183, 0, 0.7);
    animation: pulseGlow 2s infinite;
}

.hero-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 4.4vw, 3.35rem);
    font-weight: 700;
    line-height: 1.15;
    max-width: 780px;
    margin: 0 auto 20px;
    letter-spacing: -0.01em;
}

.text-gold {
    color: var(--gold);
}

.hero-description {
    max-width: 650px;
    margin: 0 auto 34px;
    color: var(--text-muted);
    font-size: 1.06rem;
    line-height: 1.72;
}

/* Progress Bar */
.progress-block {
    max-width: 520px;
    margin: 0 auto 36px;
}

.progress-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.progress-percent {
    color: var(--gold);
    font-weight: 700;
}

.progress-track {
    width: 100%;
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.progress-fill {
    width: 0%;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #D99B00 0%, var(--gold) 50%, #FFE066 100%);
    background-size: 200% 100%;
    transition: width 1.1s cubic-bezier(0.22, 1, 0.36, 1);
    animation: shimmer 2.8s linear infinite;
}

/* Notify Form */
.notify-form {
    max-width: 520px;
    margin: 0 auto;
}

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.input-group {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.input-wrap {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 16px;
    color: var(--text-muted);
    display: inline-flex;
    pointer-events: none;
}

.input-wrap input {
    width: 100%;
    height: 50px;
    padding: 0 16px 0 46px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: rgba(11, 19, 43, 0.72);
    color: var(--text-main);
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-wrap input::placeholder {
    color: #64748B;
}

.input-wrap input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(245, 183, 0, 0.18);
}

.btn-primary {
    height: 50px;
    padding: 0 22px;
    border: none;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--gold) 0%, #E09F00 100%);
    color: var(--bg-deep);
    font-family: inherit;
    font-size: 0.94rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 10px 24px rgba(245, 183, 0, 0.24);
    transition: transform 0.18s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover:not(:disabled) {
    background: linear-gradient(135deg, var(--gold-hover) 0%, var(--gold) 100%);
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(245, 183, 0, 0.32);
}

.btn-primary:disabled {
    opacity: 0.7;
    cursor: wait;
}

.form-status {
    min-height: 22px;
    margin-top: 12px;
    font-size: 0.88rem;
    font-weight: 500;
}

.form-status.is-success {
    color: var(--success);
}

.form-status.is-error {
    color: var(--error);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 26px 24px;
    backdrop-filter: blur(12px);
    transition: transform 0.22s ease, border-color 0.22s ease;
}

.service-card:hover {
    transform: translateY(-3px);
    border-color: rgba(245, 183, 0, 0.35);
}

.service-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--gold-soft);
    border: 1px solid rgba(245, 183, 0, 0.24);
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.service-card h2 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 8px;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.55;
}

/* Footer */
.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    font-size: 0.84rem;
    color: var(--text-muted);
}

.footer-mail {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
}

.footer-mail:hover {
    text-decoration: underline;
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(245, 183, 0, 0.7);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(245, 183, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(245, 183, 0, 0);
    }
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Responsive */
@media (max-width: 860px) {
    .services-grid {
        grid-template-columns: 1fr;
    }

    .hero-card {
        padding: 38px 26px;
    }
}

@media (max-width: 580px) {
    .page-shell {
        padding: 20px 16px 28px;
        gap: 28px;
    }

    .input-group {
        flex-direction: column;
    }

    .btn-primary {
        width: 100%;
    }

    .site-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
