@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600&display=swap');

:root {
    --bg-color: #0f172a;
    --card-bg: rgba(30, 41, 59, 0.7);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent-color: #38bdf8;
    /* Sky blue */
    --accent-hover: #0ea5e9;
    --link-bg: rgba(255, 255, 255, 0.05);
    --link-border: rgba(255, 255, 255, 0.1);
    --link-hover-bg: rgba(255, 255, 255, 0.1);
    --special-bg: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
    --font-family: 'Outfit', sans-serif;
}

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

body {
    font-family: var(--font-family);
    /* Professional dark overlay on top of the custom background */
    background: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.9)), url('bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 420px;
    /* Premium Glassmorphism */
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    padding: 45px 35px;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.6);
    text-align: center;
    animation: fadeIn 0.8s ease-out;
}

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

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

/* Profile Section */
.profile {
    margin-bottom: 35px;
}

.logo {
    width: 140px;
    /* Slightly larger logo */
    height: auto;
    object-fit: contain;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 15px rgba(56, 189, 248, 0.2));
    transition: transform 0.5s ease;
}

.logo:hover {
    transform: scale(1.02);
}

.profile h1 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 1px;
    /* Architectural spacing */
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.profile p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Links Section */
/* Neon Motion Effect Animation */
@keyframes neon-flow {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

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

.links {
    display: flex;
    flex-direction: column;
    gap: 16px;
    /* Spacing between buttons */
}

.link-card {
    display: flex;
    align-items: center;
    padding: 18px 24px;

    /* Structure for Neon Border */
    border: 2px solid transparent;
    border-radius: 16px;

    /* Dual Background: Inner content (Glass) + Outer Border (Gradient) */
    background:
        linear-gradient(rgba(30, 41, 59, 0.6), rgba(30, 41, 59, 0.6)) padding-box,
        linear-gradient(90deg, transparent 0%, rgba(56, 189, 248, 0.8) 50%, transparent 100%) border-box;

    background-size: 200% 100%;
    animation: neon-flow 3s linear infinite;

    /* Glass Effect */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    /* Neon Glow Shadow */
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.05);

    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.link-card:hover {
    transform: translateY(-2px);
    /* Intensify Glow on Hover */
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.4), inset 0 0 0 1px rgba(56, 189, 248, 0.2);
    /* Speed up animation or brighten border */
    background:
        linear-gradient(rgba(30, 41, 59, 0.7), rgba(30, 41, 59, 0.7)) padding-box,
        linear-gradient(90deg, transparent 0%, #38bdf8 50%, transparent 100%) border-box;
    background-size: 200% 100%;
}

.link-card i {
    font-size: 1.3rem;
    width: 28px;
    margin-right: 15px;
    color: var(--accent-color);
    text-shadow: 0 0 8px rgba(56, 189, 248, 0.5);
    transition: all 0.3s ease;
}

.link-card span {
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.8px;
    flex-grow: 1;
    text-align: left;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.link-card:hover i {
    transform: scale(1.15);
    color: #fff;
    text-shadow: 0 0 12px rgba(56, 189, 248, 0.8);
}

/* Meet Founders Button - Distinct Style */
.link-card.special {
    background: var(--special-bg);
    border: none;
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
}

.link-card.special:hover {
    filter: brightness(1.1);
    box-shadow: 0 20px 25px -5px rgba(37, 99, 235, 0.4);
}

.link-card.special i {
    color: #fff;
}

/* Services Section */
.services-container {
    margin-top: 30px;
    margin-bottom: 30px;
    text-align: left;
}

.section-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    font-weight: 600;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.service-tag {
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.2);
    color: var(--accent-color);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.service-tag:hover {
    background: rgba(56, 189, 248, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(56, 189, 248, 0.1);
}

/* About Section */
.about-section {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 16px;
    padding: 20px;
    margin-top: 25px;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.about-text {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.highlight {
    color: var(--text-primary);
    font-weight: 500;
}

/* Footer */
footer {
    margin-top: 40px;
    color: var(--text-secondary);
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 480px) {
    .container {
        padding: 30px 20px;
        border-radius: 20px;
    }

    .profile h1 {
        font-size: 1.3rem;
    }
}