/* ══════════════════════════════════════
   Digital Suraksha Network
   Maintenance Page — Premium Design
   ══════════════════════════════════════ */

/* ── Design Tokens ── */
:root {
    --navy: #0b1d51;
    --navy-deep: #060f2e;
    --navy-light: #132358;
    --orange: #e35a18;
    --orange-glow: #ff7a3d;
    --green: #009e4d;
    --green-glow: #00d468;
    --white: #ffffff;
    --white-10: rgba(255, 255, 255, 0.10);
    --white-06: rgba(255, 255, 255, 0.06);
    --white-03: rgba(255, 255, 255, 0.03);
    --text-primary: rgba(255, 255, 255, 0.95);
    --text-secondary: rgba(255, 255, 255, 0.60);
    --text-muted: rgba(255, 255, 255, 0.35);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --radius-xl: 36px;
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.06);
    --shadow-glow: 0 0 80px rgba(227, 90, 24, 0.12), 0 0 160px rgba(0, 158, 77, 0.08);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--navy-deep);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* ── Particles Canvas ── */
#particles-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

/* ── Gradient Mesh Background ── */
.gradient-mesh {
    position: fixed;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 10%, rgba(11, 29, 81, 0.8) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 80%, rgba(227, 90, 24, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse 50% 40% at 10% 90%, rgba(0, 158, 77, 0.10) 0%, transparent 50%),
        radial-gradient(ellipse 70% 70% at 50% 50%, rgba(6, 15, 46, 0.95) 0%, transparent 100%);
    pointer-events: none;
}

/* ── Floating Orbs ── */
.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(227, 90, 24, 0.25), transparent 70%);
    top: -10%;
    right: -5%;
    animation: orbFloat1 20s ease-in-out infinite;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 158, 77, 0.2), transparent 70%);
    bottom: -5%;
    left: -5%;
    animation: orbFloat2 25s ease-in-out infinite;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(11, 29, 81, 0.4), transparent 70%);
    top: 40%;
    left: 50%;
    animation: orbFloat3 18s ease-in-out infinite;
}

@keyframes orbFloat1 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(-40px, 30px) scale(1.1);
    }

    66% {
        transform: translate(20px, -20px) scale(0.95);
    }
}

@keyframes orbFloat2 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -40px) scale(1.05);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

@keyframes orbFloat3 {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-30px, 30px) scale(1.15);
    }
}

/* ── Page Wrapper ── */
.page-wrapper {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ── Navigation Bar ── */
.nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 40px;
    animation: slideDown 0.8s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.nav-logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
    transition: transform var(--transition-spring);
}

.nav-logo:hover {
    transform: rotate(8deg) scale(1.1);
}

.nav-brand-text {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.3px;
}

.nav-status {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(227, 90, 24, 0.12);
    border: 1px solid rgba(227, 90, 24, 0.25);
    border-radius: 100px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--orange);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(227, 90, 24, 0.6);
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.85);
    }
}

.status-text {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--orange-glow);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* ── Main Content ── */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 40px 60px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* ── Hero Section ── */
.hero-section {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeUp 1s ease-out 0.2s both;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--white-06);
    border: 1px solid var(--white-10);
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 32px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hero-badge svg {
    opacity: 0.7;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -2.5px;
    margin-bottom: 24px;
}

.heading-line {
    display: block;
}

.heading-accent {
    background: linear-gradient(135deg, var(--orange-glow) 0%, var(--orange) 40%, var(--green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.15rem;
    line-height: 1.75;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto 48px;
    font-weight: 400;
}

/* ── Progress Section ── */
.progress-section {
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
}

.progress-track {
    width: 100%;
    height: 4px;
    background: var(--white-06);
    border-radius: 100px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    width: 35%;
    height: 100%;
    background: linear-gradient(90deg, --white);
    border-radius: 100px;
    animation: progressSlide 3s ease-in-out infinite;
    position: relative;
}

.progress-glow {
    position: absolute;
    top: -4px;
    left: 0;
    width: 35%;
    height: 12px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.4));
    border-radius: 100px;
    filter: blur(8px);
    animation: progressSlide 3s ease-in-out infinite;
}

@keyframes progressSlide {
    0% {
        transform: translateX(-100%);
    }

    50% {
        transform: translateX(200%);
    }

    100% {
        transform: translateX(-100%);
    }
}

.progress-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 14px;
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
}

.progress-shimmer {
    background: linear-gradient(90deg, var(--text-muted), var(--text-secondary), var(--text-muted));
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

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

    100% {
        background-position: -200% 0;
    }
}

/* ── Brand Card ── */
.brand-card {
    position: relative;
    width: 100%;
    max-width: 680px;
    padding: 48px 40px;
    background: var(--white-03);
    border: 1px solid var(--white-06);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: var(--shadow-card);
    margin-bottom: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);

    /* Reveal animation */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.brand-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

.brand-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: var(--shadow-card), var(--shadow-glow);
}

.brand-card-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(227, 90, 24, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.brand-logo {
    max-width: 100%;
    max-height: 120px;
    object-fit: contain;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.15));
    transition: transform var(--transition-spring);
}

.brand-card:hover .brand-logo {
    transform: scale(1.03);
}

/* ── Info Cards ── */
.info-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 900px;
}

.info-card {
    position: relative;
    padding: 32px 28px;
    background: var(--white-03);
    border: 1px solid var(--white-06);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
    cursor: default;

    /* Reveal animation */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out, border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.info-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

.info-card:nth-child(1).revealed {
    transition-delay: 0.1s;
}

.info-card:nth-child(2).revealed {
    transition-delay: 0.2s;
}

.info-card:nth-child(3).revealed {
    transition-delay: 0.3s;
}

.info-card:hover {
    transform: translateY(-6px) !important;
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow-card), 0 0 40px rgba(227, 90, 24, 0.06);
}

.info-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(227, 90, 24, 0.15), rgba(0, 158, 77, 0.10));
    border: 1px solid rgba(227, 90, 24, 0.15);
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    color: var(--orange-glow);
    transition: transform var(--transition-spring), background var(--transition-smooth);
}

.info-card:hover .info-card-icon {
    transform: scale(1.1) rotate(-3deg);
    background: linear-gradient(135deg, rgba(227, 90, 24, 0.25), rgba(0, 158, 77, 0.15));
}

.info-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
    letter-spacing: -0.3px;
}

.info-card p {
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 0;
}

/* ── Footer ── */
.site-footer {
    padding: 36px 40px 28px;
    text-align: center;
    border-top: 1px solid var(--white-06);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-top-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 10px;
}

.footer-partner {
    display: flex;
    align-items: center;
    gap: 12px;
}

.partner-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.partner-logo {
    height: 36px;
    object-fit: contain;
}

/* Contact email */
.footer-contact {
    margin-bottom: 4px;
}

.footer-simple-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color var(--transition-smooth);
}

.footer-simple-link:hover {
    color: var(--orange-glow);
}

.footer-email-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 10px 22px;
    background: var(--white-03);
    border: 1px solid var(--white-06);
    border-radius: 100px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all var(--transition-smooth);
    letter-spacing: 0.2px;
}

.footer-email-link:hover {
    color: var(--orange-glow);
    background: rgba(227, 90, 24, 0.08);
    border-color: rgba(227, 90, 24, 0.25);
    box-shadow: 0 0 24px rgba(227, 90, 24, 0.1);
    transform: translateY(-2px);
}

.footer-email-link svg {
    opacity: 0.6;
    transition: opacity var(--transition-smooth);
}

.footer-email-link:hover svg {
    opacity: 1;
    stroke: var(--orange-glow);
}

/* Social media links */
.footer-socials {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: var(--text-secondary);
    background: var(--white-03);
    border: 1px solid var(--white-06);
    border-radius: 50%;
    text-decoration: none;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all var(--transition-smooth);
}

.social-link:hover {
    color: var(--white);
    background: rgba(227, 90, 24, 0.15);
    border-color: rgba(227, 90, 24, 0.35);
    box-shadow: 0 0 20px rgba(227, 90, 24, 0.12);
    transform: translateY(-3px) scale(1.08);
}

.social-link svg {
    transition: transform var(--transition-spring);
}

.social-link:hover svg {
    transform: scale(1.1);
}

/* Footer divider */
.footer-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--white-10), transparent);
}

.site-footer p {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 0;
}

/* ══════════════════════════════════════
   Responsive Breakpoints
   ══════════════════════════════════════ */

/* Tablets and below */
@media (max-width: 1024px) {
    .main-content {
        padding: 30px 24px 50px;
    }

    .info-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .nav-bar {
        padding: 16px 20px;
    }

    .nav-brand-text {
        font-size: 0.92rem;
    }

    .nav-status {
        padding: 6px 14px;
    }

    .status-text {
        font-size: 0.72rem;
    }

    .main-content {
        padding: 24px 20px 40px;
        justify-content: center;
    }

    .hero-section {
        margin-bottom: 40px;
    }

    h1 {
        letter-spacing: -1.5px;
    }

    .hero-description {
        font-size: 1.02rem;
        margin-bottom: 36px;
    }

    .brand-card {
        padding: 36px 28px;
        border-radius: var(--radius-lg);
    }

    .brand-logo {
        max-height: 90px;
    }

    .info-cards {
        grid-template-columns: 1fr;
        gap: 14px;
        max-width: 500px;
    }

    .info-card {
        padding: 24px 22px;
    }

    .footer-email-link {
        font-size: 0.82rem;
        padding: 8px 18px;
    }

    .social-link {
        width: 40px;
        height: 40px;
    }

    .footer-bottom-row {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .nav-bar {
        padding: 14px 16px;
        gap: 8px;
    }

    .nav-logo {
        width: 34px;
        height: 34px;
    }

    .nav-brand-text {
        font-size: 0.82rem;
    }

    .nav-status {
        padding: 5px 10px;
    }

    .status-text {
        font-size: 0.68rem;
        letter-spacing: 0.3px;
    }

    .hero-badge {
        font-size: 0.72rem;
        padding: 6px 14px;
        margin-bottom: 24px;
    }

    h1 {
        letter-spacing: -1px;
    }

    .hero-description {
        font-size: 0.92rem;
    }

    .brand-card {
        padding: 28px 20px;
        border-radius: var(--radius-md);
    }

    .brand-logo {
        max-height: 70px;
    }

    .info-card {
        padding: 20px 18px;
        border-radius: var(--radius-md);
    }

    .info-card-icon {
        width: 40px;
        height: 40px;
    }

    .info-card h3 {
        font-size: 0.95rem;
    }

    .info-card p {
        font-size: 0.82rem;
    }

    .site-footer {
        padding: 24px 16px;
    }

    .footer-content {
        gap: 16px;
    }

    .footer-email-link {
        font-size: 0.78rem;
        padding: 8px 16px;
        gap: 8px;
    }

    .footer-email-link svg {
        width: 14px;
        height: 14px;
    }

    .social-link {
        width: 38px;
        height: 38px;
    }

    .social-link svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 360px) {
    .nav-brand-text {
        display: none;
    }

    h1 {
        font-size: 1.8rem;
    }
}

/* Landscape phones */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        margin-bottom: 24px;
    }

    .hero-badge {
        margin-bottom: 16px;
    }

    .hero-description {
        margin-bottom: 24px;
    }

    .brand-card {
        padding: 24px;
        margin-bottom: 24px;
    }

    .brand-logo {
        max-height: 60px;
    }

    .info-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .orb {
        display: none;
    }

    #particles-canvas {
        display: none;
    }
}