/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-light: #f1f5f9;
    --card-bg: rgba(255, 255, 255, 0.75);
    --card-border: rgba(255, 255, 255, 0.95);
    --primary-glow: #6366f1;
    --accent-cyan: #06b6d4;
    --accent-purple: #8b5cf6;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

html, body {
    width: 100%;
    height: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: hidden;
    background: linear-gradient(135deg, #f0f4ff 0%, #faf5ff 40%, #e0f2fe 100%);
    font-family: var(--font-body);
    color: var(--text-primary);
}

body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    min-height: 100dvh;
    position: relative;
    padding: 0.5rem;
}

/* Background Canvas */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Ambient Glowing Orbs */
.ambient-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.6;
    z-index: 0;
    pointer-events: none;
    animation: floatOrb 18s infinite alternate ease-in-out;
}

.orb-1 {
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.35) 0%, rgba(168, 85, 247, 0) 70%);
    top: -12%;
    left: -8%;
}

.orb-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.4) 0%, rgba(56, 189, 248, 0) 70%);
    bottom: -15%;
    right: -10%;
    animation-delay: -6s;
}

.orb-3 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(244, 114, 182, 0.35) 0%, rgba(244, 114, 182, 0) 70%);
    top: 30%;
    left: 30%;
    animation-delay: -11s;
}

@keyframes floatOrb {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(70px, 50px) scale(1.15); }
    100% { transform: translate(-50px, 90px) scale(0.95); }
}

/* Page Layout Wrapper */
.page-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 720px;
    padding: 1.5rem 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

/* Main Glass Card */
.main-card {
    background: var(--card-bg);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
    border: 1px solid var(--card-border);
    border-radius: 32px;
    padding: 2.5rem 2.25rem;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.12),
                0 8px 24px rgba(0, 0, 0, 0.04),
                inset 0 1px 2px rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
}

.main-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(99, 102, 241, 0.4) 50%, 
        transparent 100%);
}

/* Central Logo Styling */
.logo-container {
    position: relative;
    width: 230px;
    height: 230px;
    margin-bottom: 1.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-glow {
    position: absolute;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.25) 0%, rgba(168, 85, 247, 0) 70%);
    border-radius: 50%;
    filter: blur(22px);
    animation: logoGlowPulse 4s ease-in-out infinite alternate;
}

@keyframes logoGlowPulse {
    0% { transform: scale(0.88); opacity: 0.6; }
    100% { transform: scale(1.35); opacity: 1; }
}

.main-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 12px 20px rgba(99, 102, 241, 0.22));
    animation: floatLogo 6s ease-in-out infinite;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.4s ease;
}

.main-logo:hover {
    transform: scale(1.08) rotate(2deg);
    filter: drop-shadow(0 18px 30px rgba(99, 102, 241, 0.35));
}

@keyframes floatLogo {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Main Title & Subtitle */
.main-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 0.8rem;
    background: linear-gradient(135deg, #1e1b4b 0%, #4338ca 50%, #7e22ce 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 540px;
    line-height: 1.6;
    font-weight: 400;
    margin-bottom: 1.5rem;
}

/* Contact Phone Pill Button */
.contact-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.6rem 1.4rem;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.22);
    border-radius: 50px;
    text-decoration: none;
    color: #4338ca;
    font-size: 0.9rem;
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.08);
}

.contact-pill:hover {
    transform: translateY(-3px) scale(1.02);
    background: rgba(99, 102, 241, 0.16);
    border-color: rgba(99, 102, 241, 0.45);
    color: #3730a3;
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.2);
}

.contact-icon-wrapper {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.3);
    transition: transform 0.3s ease;
}

.contact-pill:hover .contact-icon-wrapper {
    transform: rotate(15deg) scale(1.08);
}

.contact-text strong {
    font-weight: 700;
    letter-spacing: 0.3px;
}

/* Developer Footer Section - Light Premium Badge with Solid Black Avatar Background */
.developer-footer {
    width: 100%;
    display: flex;
    justify-content: center;
}

.developer-card {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.95);
    padding: 0.85rem 1.8rem 0.85rem 1rem;
    border-radius: 50px;
    text-decoration: none;
    color: inherit;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 12px 30px rgba(99, 102, 241, 0.1), 0 4px 12px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.developer-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.6), 
        transparent);
    transition: left 0.7s ease;
}

.developer-card:hover::after {
    left: 140%;
}

.developer-card:hover {
    transform: translateY(-5px) scale(1.03);
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 18px 40px rgba(99, 102, 241, 0.2);
    background: rgba(255, 255, 255, 0.98);
}

/* Avatar Wrapper with Solid Black Background */
.dev-avatar-wrapper {
    position: relative;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #000000; /* Pure solid black circle */
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.developer-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: contain;
    object-position: center 65%;
    transform: translateY(4px) scale(1.06);
    background: #000000;
}

.dev-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.dev-text {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.9px;
    font-weight: 600;
}

.dev-brand {
    font-size: 1.02rem;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    transition: color 0.3s ease;
}

.developer-card:hover .dev-brand {
    color: #0284c7;
}

.dev-link-icon {
    font-size: 0.8rem;
    opacity: 0.7;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.developer-card:hover .dev-link-icon {
    opacity: 1;
    transform: translate(2px, -2px);
}

.dev-subtext {
    font-size: 0.83rem;
    color: var(--text-secondary);
}

/* Responsive Styling for Mobile / iPhone 11 & Compact Screens */
@media (max-width: 768px), (max-height: 900px) {
    .page-wrapper {
        padding: 0.75rem 0.5rem;
        gap: 1rem;
        max-width: 100%;
    }

    .main-card {
        padding: 1.75rem 1.25rem;
        border-radius: 26px;
    }

    .main-title {
        font-size: clamp(1.8rem, 6.5vw, 2.3rem);
        margin-bottom: 0.6rem;
    }

    .subtitle {
        font-size: clamp(0.85rem, 3.2vw, 0.95rem);
        margin-bottom: 1.25rem;
        max-width: 100%;
        line-height: 1.5;
    }

    .logo-container {
        width: clamp(130px, 22vh, 170px);
        height: clamp(130px, 22vh, 170px);
        margin-bottom: 1.2rem;
    }

    .contact-pill {
        padding: 0.55rem 1.25rem;
        font-size: 0.85rem;
        gap: 0.6rem;
    }

    .contact-icon-wrapper {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }

    .developer-card {
        padding: 0.6rem 1.25rem 0.6rem 0.75rem;
        gap: 0.85rem;
    }

    .dev-avatar-wrapper {
        width: 46px;
        height: 46px;
    }

    .dev-brand {
        font-size: 0.95rem;
    }

    .dev-text {
        font-size: 0.68rem;
    }

    .dev-subtext {
        font-size: 0.78rem;
    }
}

@media (max-height: 720px) {
    .page-wrapper {
        gap: 0.65rem;
        padding: 0.4rem;
    }

    .main-card {
        padding: 1.25rem 1rem;
        border-radius: 20px;
    }

    .logo-container {
        width: 110px;
        height: 110px;
        margin-bottom: 0.75rem;
    }

    .main-title {
        font-size: 1.55rem;
        margin-bottom: 0.4rem;
    }

    .subtitle {
        font-size: 0.82rem;
        margin-bottom: 0.85rem;
        line-height: 1.4;
    }

    .contact-pill {
        padding: 0.45rem 1rem;
        font-size: 0.8rem;
    }

    .developer-card {
        padding: 0.5rem 1rem 0.5rem 0.65rem;
    }

    .dev-avatar-wrapper {
        width: 40px;
        height: 40px;
    }
}
