/* ==========================================================================
   DentArtistry Waiting Experience
   Version 2.0
   Foundation
   ========================================================================== */

/* ==========================================================================
   RESET
   ========================================================================== */

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

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

body {
    min-height: 100vh;

    overflow-x: hidden;

    font-family: "Manrope", sans-serif;

    color: #14355d;

    background: #edf5ff;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* ==========================================================================
   VARIABLES
   ========================================================================== */

:root {
    --primary: #2f6dbb;
    --primary-light: #5b9cff;
    --primary-dark: #1e4f92;

    --accent: #7dd3fc;

    --text: #173a61;
    --text-light: #68829d;

    --white: #ffffff;

    --glass: rgba(255, 255, 255, 0.55);

    --glass-strong: rgba(255, 255, 255, 0.78);

    --border: rgba(255, 255, 255, 0.35);

    --shadow-xs: 0 8px 20px rgba(16, 57, 110, 0.05);

    --shadow-sm: 0 18px 40px rgba(16, 57, 110, 0.08);

    --shadow: 0 30px 80px rgba(16, 57, 110, 0.13);

    --shadow-lg: 0 50px 120px rgba(16, 57, 110, 0.18);

    --radius-sm: 18px;
    --radius: 28px;
    --radius-lg: 42px;

    --transition: 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ==========================================================================
   BACKGROUND
   ========================================================================== */

.background {
    position: fixed;

    inset: 0;

    overflow: hidden;

    z-index: -2;
}

/* ==========================================================================
   MESH GRADIENT
   ========================================================================== */

body::before {
    content: "";

    position: fixed;

    inset: 0;

    background:
        radial-gradient(
            circle at 0% 0%,
            rgba(91, 156, 255, 0.2),
            transparent 35%
        ),
        radial-gradient(
            circle at 100% 0%,
            rgba(125, 211, 252, 0.18),
            transparent 30%
        ),
        radial-gradient(
            circle at 100% 100%,
            rgba(47, 109, 187, 0.15),
            transparent 32%
        ),
        radial-gradient(
            circle at 0% 100%,
            rgba(91, 156, 255, 0.16),
            transparent 28%
        ),
        linear-gradient(135deg, #fafdff, #f5faff, #eef7ff, #fafdff);

    z-index: -3;
}

/* ==========================================================================
   FLOATING ORBS
   ========================================================================== */

.orb {
    position: absolute;

    border-radius: 999px;

    filter: blur(90px);

    opacity: 0.75;
}

.orb-1 {
    width: 520px;
    height: 520px;

    background: radial-gradient(
        circle,
        rgba(47, 109, 187, 0.35),
        transparent 70%
    );

    top: -180px;
    left: -120px;
}

.orb-2 {
    width: 620px;
    height: 620px;

    background: radial-gradient(
        circle,
        rgba(125, 211, 252, 0.32),
        transparent 72%
    );

    bottom: -220px;
    right: -180px;
}

.orb-3 {
    width: 320px;
    height: 320px;

    background: radial-gradient(
        circle,
        rgba(91, 156, 255, 0.25),
        transparent 70%
    );

    top: 45%;
    left: 58%;
}

/* ==========================================================================
   GRID
   ========================================================================== */

.grid {
    position: absolute;

    inset: 0;

    background-image:
        linear-gradient(rgba(47, 109, 187, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(47, 109, 187, 0.04) 1px, transparent 1px);

    background-size: 72px 72px;

    mask-image: radial-gradient(circle, rgba(0, 0, 0, 0.9), transparent);
}

/* ==========================================================================
   NOISE
   ========================================================================== */

.noise {
    position: absolute;

    inset: 0;

    opacity: 0.025;

    background-image: radial-gradient(#000 1px, transparent 1px);

    background-size: 5px 5px;
}

/* ==========================================================================
   MAIN HERO
   ========================================================================== */

.hero {
    min-height: 100vh;

    display: flex;

    justify-content: center;

    align-items: center;

    padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 5vw, 3rem);
}

.hero-content {
    width: 100%;

    max-width: 920px;

    text-align: center;

    position: relative;
}

/* ==========================================================================
   LOGO
   ========================================================================== */

.logo-wrapper {
    margin-bottom: 2rem;

    display: flex;

    justify-content: center;
}

.logo {
    width: min(260px, 65vw);

    filter: drop-shadow(0 30px 60px rgba(47, 109, 187, 0.18));
}

/* ==========================================================================
   BADGE
   ========================================================================== */

.badge {
    display: inline-flex;

    align-items: center;

    gap: 0.75rem;

    padding: 0.9rem 1.5rem;

    border-radius: 999px;

    background: rgba(255, 255, 255, 0.75);

    backdrop-filter: blur(24px);

    border: 1px solid rgba(255, 255, 255, 0.65);

    box-shadow: var(--shadow-xs);

    margin-bottom: 2rem;

    font-size: 0.85rem;

    font-weight: 800;

    letter-spacing: 0.12em;

    text-transform: uppercase;

    color: var(--primary);
}

.badge-dot {
    width: 10px;

    height: 10px;

    border-radius: 50%;

    background: #31c96c;

    box-shadow: 0 0 12px rgba(49, 201, 108, 0.6);
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */

.hero h1 {
    font-size: clamp(3rem, 6vw, 5.8rem);

    line-height: 1.05;

    letter-spacing: -0.05em;

    font-weight: 800;

    color: var(--text);

    margin-bottom: 2rem;
}

.hero h1 span {
    display: block;

    background: linear-gradient(135deg, var(--primary), var(--primary-light));

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.description {
    max-width: 760px;

    margin-inline: auto;

    margin-bottom: 3rem;

    font-size: clamp(1.08rem, 2vw, 1.28rem);

    line-height: 1.9;

    color: var(--text-light);
}

/* ==========================================================================
   HIGHLIGHTS
   ========================================================================== */

.highlights {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;

    gap: 1rem;

    margin-bottom: 3.5rem;
}

.highlights span {
    padding: 0.9rem 1.4rem;

    border-radius: 999px;

    background: rgba(255, 255, 255, 0.58);

    backdrop-filter: blur(18px);

    border: 1px solid rgba(255, 255, 255, 0.6);

    color: var(--primary);

    font-size: 0.88rem;

    font-weight: 700;

    letter-spacing: 0.03em;

    box-shadow: var(--shadow-xs);

    transition: var(--transition);
}

.highlights span:hover {
    transform: translateY(-3px);

    background: rgba(255, 255, 255, 0.88);

    box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   LAUNCH BOX
   ========================================================================== */

.launch-box {
    position: relative;

    max-width: 760px;

    margin: 0 auto 5rem;

    padding: 3rem;

    border-radius: var(--radius-lg);

    background: var(--glass);

    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);

    border: 1px solid rgba(255, 255, 255, 0.55);

    box-shadow: var(--shadow);

    overflow: hidden;
}

.launch-box::before {
    content: "";

    position: absolute;

    inset: 0;

    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.55),
        transparent 70%
    );

    pointer-events: none;
}

.launch-box h2 {
    position: relative;

    font-size: clamp(1.7rem, 3vw, 2.4rem);

    font-weight: 800;

    color: var(--text);

    margin-bottom: 1.2rem;
}

.launch-box p {
    position: relative;

    color: var(--text-light);

    font-size: 1.08rem;

    line-height: 1.9;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */

.contact-section {
    margin-bottom: 5rem;
}

.section-heading {
    margin-bottom: 2.5rem;
}

.section-heading span {
    display: inline-block;

    color: var(--primary);

    font-size: 0.82rem;

    font-weight: 800;

    letter-spacing: 0.18em;

    text-transform: uppercase;

    margin-bottom: 0.8rem;
}

.section-heading h3 {
    font-size: clamp(2rem, 3vw, 2.8rem);

    font-weight: 800;

    color: var(--text);
}

/* ==========================================================================
   CONTACT GRID
   ========================================================================== */

.contact-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 1.8rem;
}

/* ==========================================================================
   CONTACT CARD
   ========================================================================== */

.contact-card {
    position: relative;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    gap: 0.8rem;

    padding: 2.3rem 2rem;

    border-radius: var(--radius);

    background: var(--glass);

    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);

    border: 1px solid rgba(255, 255, 255, 0.55);

    box-shadow: var(--shadow-sm);

    transition: var(--transition);

    overflow: hidden;
}

.contact-card::before {
    content: "";

    position: absolute;

    inset: 0;

    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.45),
        transparent 70%
    );

    opacity: 0;

    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-10px);

    box-shadow: var(--shadow-lg);

    background: var(--glass-strong);
}

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

/* ==========================================================================
   CARD ICON
   ========================================================================== */

.card-icon {
    width: 74px;

    height: 74px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 1.8rem;

    background: linear-gradient(
        135deg,
        rgba(47, 109, 187, 0.12),
        rgba(91, 156, 255, 0.22)
    );

    color: var(--primary);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        0 12px 30px rgba(47, 109, 187, 0.12);
}

.contact-card small {
    text-transform: uppercase;

    letter-spacing: 0.15em;

    font-size: 0.78rem;

    font-weight: 800;

    color: var(--primary);
}

.contact-card strong {
    font-size: 1.08rem;

    font-weight: 700;

    color: var(--text);

    word-break: break-word;
}

/* ==========================================================================
   CARD SHINE
   ========================================================================== */

.contact-card::after {
    content: "";

    position: absolute;

    width: 180px;

    height: 180px;

    top: -90px;

    right: -90px;

    border-radius: 50%;

    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.55),
        transparent 70%
    );

    opacity: 0.35;

    pointer-events: none;
}

/* ==========================================================================
   SOCIAL SECTION
   ========================================================================== */

.social-section {
    margin-bottom: 5rem;
}

.social-section > p {
    font-size: 1rem;

    font-weight: 700;

    color: var(--text-light);

    margin-bottom: 1.5rem;
}

.socials {
    display: flex;

    justify-content: center;

    align-items: center;

    flex-wrap: wrap;

    gap: 1rem;
}

.socials a {
    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-width: 130px;

    padding: 0.95rem 1.6rem;

    border-radius: 999px;

    background: rgba(255, 255, 255, 0.6);

    backdrop-filter: blur(18px);

    border: 1px solid rgba(255, 255, 255, 0.55);

    box-shadow: var(--shadow-xs);

    color: var(--text);

    font-weight: 700;

    transition: var(--transition);
}

.socials a:hover {
    background: var(--primary);

    color: var(--white);

    transform: translateY(-4px);

    box-shadow: var(--shadow);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
    padding: 3rem 2rem;

    text-align: center;

    border-top: 1px solid rgba(255, 255, 255, 0.4);

    backdrop-filter: blur(18px);
}

.footer-logo {
    display: flex;

    justify-content: center;

    margin-bottom: 1.5rem;
}

.footer-logo img {
    width: 170px;

    opacity: 0.95;
}

.footer p {
    color: var(--text);

    font-size: 0.95rem;
}

.footer-text {
    margin-top: 0.5rem;

    color: var(--text-light);
}

/* ==========================================================================
   LINKS
   ========================================================================== */

a {
    text-decoration: none;

    transition: var(--transition);
}

a:focus-visible {
    outline: 3px solid rgba(47, 109, 187, 0.35);

    outline-offset: 4px;

    border-radius: 12px;
}

/* ==========================================================================
   SCROLLBAR
   ========================================================================== */

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(47, 109, 187, 0.05);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--primary), var(--primary-light));

    border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */

.hero-content {
    animation: fadeUp 1s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.logo {
    animation: logoFloat 8s ease-in-out infinite;
}

.orb {
    animation: orbFloat 20s ease-in-out infinite;
}

.orb-2 {
    animation-delay: -7s;
}

.orb-3 {
    animation-delay: -12s;
}

.contact-card:nth-child(2) {
    animation-delay: 0.15s;
}

.contact-card:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes fadeUp {
    from {
        opacity: 0;

        transform: translateY(32px);
    }

    to {
        opacity: 1;

        transform: translateY(0);
    }
}

@keyframes logoFloat {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes orbFloat {
    0% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(25px, -18px) scale(1.05);
    }

    50% {
        transform: translate(-20px, 20px) scale(0.97);
    }

    75% {
        transform: translate(18px, 30px) scale(1.03);
    }

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

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1100px) {
    .contact-grid {
        grid-template-columns: 1fr;

        max-width: 520px;

        margin-inline: auto;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    .hero {
        padding: 3rem 1.4rem;
    }

    .logo {
        width: 210px;
    }

    .launch-box {
        padding: 2rem;
    }

    .hero h1 {
        line-height: 1.1;
    }

    .description {
        font-size: 1rem;

        line-height: 1.8;
    }

    .highlights {
        gap: 0.75rem;
    }

    .highlights span {
        font-size: 0.8rem;
    }

    .socials {
        flex-direction: column;
    }

    .socials a {
        width: 100%;

        max-width: 320px;
    }
}

@media (max-width: 480px) {
    .logo {
        width: 180px;
    }

    .badge {
        font-size: 0.74rem;

        padding: 0.75rem 1.2rem;
    }

    .launch-box {
        border-radius: 24px;

        padding: 1.6rem;
    }

    .contact-card {
        padding: 2rem 1.3rem;
    }
}

/* ==========================================================================
   ACCESSIBILITY
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;

        transition: none !important;

        scroll-behavior: auto !important;
    }
}

/* ==========================================================================
   PRINT
   ========================================================================== */

@media print {
    .background,
    .orb,
    .grid,
    .noise {
        display: none;
    }

    body {
        background: #fff;
    }
}

/* ==========================================================================
   END
   ========================================================================== */
