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

/* 
 * DESIGN SYSTEM
 * Theme: Dark Mode Premium
 * Fonts: Outfit (Headings), Inter (Body)
 */

:root {
    /* Color Palette - Green/Teal/Yellow Theme */
    --bg-dark: #0a1628;
    --bg-card: rgba(16, 42, 67, 0.7);
    --bg-card-hover: rgba(26, 58, 90, 0.8);

    --primary: #10b981;
    /* Emerald Green */
    --secondary: #14b8a6;
    /* Teal */
    --accent: #facc15;
    /* Yellow */

    --text-main: #f0fdf4;
    --text-muted: #94a3b8;

    --gradient-primary: linear-gradient(135deg, var(--primary), var(--secondary));
    --gradient-glow: radial-gradient(circle at center, rgba(16, 185, 129, 0.15) 0%, transparent 70%);

    /* Effects */
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.36);
    --blur: blur(12px);

    /* Spacing */
    --container-width: 1200px;
    --header-height: 80px;
}

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

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Animated Aurora Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(16, 185, 129, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 20%, rgba(20, 184, 166, 0.18) 0%, transparent 50%),
        radial-gradient(ellipse 50% 60% at 60% 80%, rgba(16, 185, 129, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 40% 40% at 30% 70%, rgba(250, 204, 21, 0.08) 0%, transparent 50%);
    animation: auroraMove 12s ease-in-out infinite alternate;
    z-index: -1;
    pointer-events: none;
}

@keyframes auroraMove {
    0% {
        transform: translate(0, 0) scale(1);
        filter: blur(60px);
    }

    25% {
        transform: translate(60px, -40px) scale(1.1);
        filter: blur(70px);
    }

    50% {
        transform: translate(-40px, 50px) scale(0.95);
        filter: blur(65px);
    }

    75% {
        transform: translate(30px, -30px) scale(1.05);
        filter: blur(75px);
    }

    100% {
        transform: translate(-50px, 30px) scale(1);
        filter: blur(60px);
    }
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-main);
}

.navbar .btn {
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 5rem 0;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass-card {
    background: rgba(10, 22, 40, 0.4);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(16, 185, 129, 0.3);
    background: rgba(10, 22, 40, 0.6);
}

/* Floating Social Links */
.social-float {
    position: fixed;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 100;
}

.social-float a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.social-float a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #0a1628;
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

@media (max-width: 768px) {
    .social-float {
        left: 50%;
        top: auto;
        bottom: 1.5rem;
        bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
        /* Safe area for notched phones */
        transform: translateX(-50%);
        flex-direction: row;
        gap: 1.25rem;
        padding: 0.75rem 1.5rem;
        background: rgba(10, 22, 40, 0.8);
        backdrop-filter: blur(10px);
        border-radius: 50px;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .social-float a {
        width: 36px;
        height: 36px;
        font-size: 0.95rem;
        background: transparent;
        border: none;
    }
}

/* Floating Mobile Navigation - HIDDEN, not used */
.mobile-nav-float {
    display: none !important;
}

/* Mobile Header - Floating logo and hamburger */
@media (max-width: 768px) {

    /* Glass effect navbar with transparency */
    .navbar {
        background: rgba(10, 22, 40, 0.7) !important;
        backdrop-filter: blur(20px) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
        box-shadow: none !important;
    }

    .navbar.scrolled {
        background: rgba(10, 22, 40, 0.85) !important;
    }

    /* Hide nav links on mobile (use fullscreen overlay instead) */
    .nav-links:not(.active) {
        display: none;
    }

    /* Floating logo styling */
    .nav-logo {
        position: relative;
        z-index: 1001;
    }

    /* Clean hamburger button - no background or border */
    .hamburger {
        display: flex !important;
        width: 44px;
        height: 44px;
        align-items: center;
        justify-content: center;
        background: transparent;
        backdrop-filter: none;
        border-radius: 0;
        border: none;
        z-index: 1001;
        font-size: 1.5rem;
        color: var(--text-main);
    }

    .hamburger:hover {
        color: var(--primary);
        background: transparent;
        border: none;
    }

    /* Show social float at bottom on mobile */
    .social-float {
        display: flex !important;
    }

    /* Center hero content better on mobile */
    .hero {
        padding-top: 60px;
        /* Reduced from header-height */
        padding-bottom: 100px;
        /* Account for social links at bottom */
        min-height: 100vh;
        justify-content: center;
    }

    .hero-content {
        padding: 0 1rem;
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.nav-logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--text-main);
}

.nav-link:hover::after {
    width: 100%;
}

/* Icon Navigation Styles */
.nav-link-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-link.icon-only {
    font-size: 1.2rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    color: var(--text-muted);
}

.nav-link.icon-only:hover,
.nav-link.icon-only.active {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary);
    transform: translateY(-2px);
}

.nav-link.icon-only::after {
    display: none;
    /* No underline for icons */
}

/* Tooltip */
.nav-tooltip {
    position: absolute;
    top: 130%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    color: var(--text-main);
}

.nav-tooltip::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 8px;
    height: 8px;
    background: inherit;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-link-item:hover .nav-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Consulting Icon Distinction */
.nav-link.icon-only.consulting-icon {
    color: var(--accent);
    border: 1px solid rgba(244, 114, 182, 0.3);
}

.nav-link.icon-only.consulting-icon:hover {
    background: rgba(244, 114, 182, 0.1);
    box-shadow: 0 0 15px rgba(244, 114, 182, 0.2);
}

/* Mobile Menu Adjustments */
@media (max-width: 768px) {
    .nav-link-item {
        width: 100%;
        justify-content: flex-start;
    }

    .nav-link.icon-only {
        width: auto;
        height: auto;
        border-radius: 0;
        background: none !important;
        font-size: 1.1rem;
        margin-right: 1rem;
    }

    .nav-tooltip {
        /* On mobile, convert tooltip to text label next to icon */
        position: static;
        transform: none;
        opacity: 1;
        background: none;
        border: none;
        box-shadow: none;
        padding: 0;
        backdrop-filter: none;
        font-size: 1.1rem;
        color: var(--text-main);
    }

    .nav-tooltip::before {
        display: none;
    }
}

/* Navbar CTA Button - Differentiated from regular links */
.nav-link.btn {
    margin-left: 1rem;
    padding: 0.6rem 1.5rem;
    border: 1px solid var(--primary);
    border-radius: 6px;
    color: var(--primary);
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-link.btn::after {
    display: none;
    /* Remove underline effect for button */
}

.nav-link.btn:hover {
    background: var(--primary);
    color: #0a1628;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(10, 22, 40, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 2rem;
    font-size: 0.875rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    animation: fadeDown 0.8s ease-out;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    animation: fadeUp 0.8s ease-out 0.2s backwards;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeUp 0.8s ease-out 0.4s backwards;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    animation: fadeUp 0.8s ease-out 0.6s backwards;
}

/* Scroll Down Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
    animation: fadeUp 1s ease-out 1s backwards;
}

.scroll-indicator:hover {
    color: var(--primary);
}

.scroll-text {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounce 2s ease-in-out infinite;
}

.scroll-arrow i {
    font-size: 0.875rem;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(8px);
    }

    60% {
        transform: translateY(4px);
    }
}

@media (max-width: 768px) {
    .scroll-indicator {
        display: flex;
        /* Show on mobile */
        bottom: 6rem;
        /* Above social links bar */
    }

    .scroll-text {
        font-size: 0.65rem;
    }
}

.btn {
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.btn-primary {
    background: var(--primary);
    color: #0a1628;
    font-weight: 700;
    border: none;
    box-shadow: 0 4px 14px 0 rgba(16, 185, 129, 0.4);
}

.btn-primary:hover {
    background: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
}

.btn-outline {
    background: rgba(10, 22, 40, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--text-main);
    backdrop-filter: blur(15px);
}

.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary);
}

/* Bento Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.grid-auto {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

/* About Section */
.section-header {
    margin-bottom: 4rem;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Experience Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
}

.timeline-item {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 3rem;
}

.timeline-dot {
    position: absolute;
    left: -5px;
    top: 0;
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
}

.timeline-date {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.timeline-role {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.timeline-company {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

/* Skills Tags */
.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tag {
    padding: 0.4rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.tag:hover {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    border-color: rgba(99, 102, 241, 0.2);
}

/* Footer */
footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem 0;
    margin-top: 4rem;
    text-align: center;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    footer {
        padding-bottom: 6rem;
        /* Extra space for floating social bar */
    }
}

/* Animations */
@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

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

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

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

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        /* Full-screen overlay menu */
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(10, 22, 40, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        padding: 2rem;

        /* Hidden by default */
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 999;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-links .nav-link {
        font-size: 1.8rem;
        font-weight: 600;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.3s ease;
        letter-spacing: 0.5px;
        padding: 0.5rem 2rem;
        border-radius: 8px;
        position: relative;
    }

    .nav-links.active .nav-link {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-links .nav-link:hover {
        color: var(--primary);
        text-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
        transform: scale(1.02);
    }

    /* Staggered animation for menu items */
    .nav-links.active .nav-link:nth-child(1) {
        transition-delay: 0.1s;
    }

    .nav-links.active .nav-link:nth-child(2) {
        transition-delay: 0.15s;
    }

    .nav-links.active .nav-link:nth-child(3) {
        transition-delay: 0.2s;
    }

    .nav-links.active .nav-link:nth-child(4) {
        transition-delay: 0.25s;
    }

    .nav-links.active .nav-link:nth-child(5) {
        transition-delay: 0.3s;
    }

    .nav-links.active .nav-link:nth-child(6) {
        transition-delay: 0.35s;
    }

    .nav-links .btn {
        margin-top: 2rem;
        padding: 1rem 3rem;
        font-size: 1.2rem;
        box-shadow: 0 0 30px rgba(16, 185, 129, 0.4);
    }

    /* Decorative gradient orb in mobile menu */
    .nav-links::before {
        content: '';
        position: absolute;
        width: 300px;
        height: 300px;
        background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
        border-radius: 50%;
        filter: blur(60px);
        top: 10%;
        right: -100px;
        pointer-events: none;
    }

    .nav-links::after {
        content: '';
        position: absolute;
        width: 250px;
        height: 250px;
        background: radial-gradient(circle, rgba(20, 184, 166, 0.12) 0%, transparent 70%);
        border-radius: 50%;
        filter: blur(50px);
        bottom: 15%;
        left: -80px;
        pointer-events: none;
    }

    .hamburger {
        display: block;
        color: var(--text-main);
        font-size: 1.5rem;
        z-index: 1000;
        position: relative;
    }

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .typing-text {
        display: block;
        min-height: 1.2em;
        /* Prevent layout shift */
    }
}

/* Highlight Card for Latest Experience */
.glass-card.highlight {
    border: 1px solid var(--primary);
    background: rgba(99, 102, 241, 0.05);
    /* Very subtle primary tint */
    box-shadow: 0 0 25px rgba(99, 102, 241, 0.15);
    transform: scale(1.02);
    position: relative;
    z-index: 2;
}

.glass-card.highlight::before {
    content: 'Current Role';
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    /* Opaque gradient */
    padding: 2px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.5);
    /* Shadow to mask border connection */
    z-index: 10;
}

@media (max-width: 768px) {
    .glass-card.highlight {
        transform: scale(1);
    }
}

/* Scroll Reveal Animation */
.hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.show {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered Delay for Grid Items */
.grid-2>div:nth-child(2),
.grid-3>div:nth-child(2) {
    transition-delay: 0.1s;
}

.grid-2>div:nth-child(3),
.grid-3>div:nth-child(3) {
    transition-delay: 0.2s;
}

.grid-3>div:nth-child(4) {
    transition-delay: 0.3s;
}

/* Enhanced Glass Card Hover */
.glass-card {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
        box-shadow 0.4s ease,
        border-color 0.4s ease,
        background 0.4s ease;
}

.glass-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 15px 35px rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.3);
    background: rgba(30, 41, 59, 0.85);
    /* Slightly less transparent on hover */
}

/* Dynamic Navbar Scrolled State */
.navbar.scrolled {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(16px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 0.8rem 0;
    /* Slightly shrink navbar */
}

/* Typing Cursor Effect */
.typing-text::after {
    content: '|';
    animation: blink 1s step-start infinite;
    color: var(--accent);
    margin-left: 2px;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

/* Floating Animation for Hero Cards */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

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

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

.float-card {
    position: absolute;
    padding: 1rem 1.5rem;
    background: rgba(30, 41, 59, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    /* Slightly more rounded */
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    animation: float 6s ease-in-out infinite;
    z-index: 2;
}

/* Stagger the animation for the second card */
.float-card:nth-child(2) {
    animation-delay: 3s;
}

/* Ensure Hero is perfectly centered */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Horizontally center */
    padding: 120px 0 80px;
    /* Account for fixed navbar */
    position: relative;
    overflow: hidden;
    text-align: center;
    /* Center text content */
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Adjust visual container to be behind/around content if needed */
.hero-visual {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    /* Let clicks pass through to content */
    z-index: 0;
}

/* Hero Chip Buttons */
.hero-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.chip {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(10, 22, 40, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.chip:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(16, 185, 129, 0.1);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .hero-visual {
        display: none;
    }
}