@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@500;700&display=swap');

:root {
    --accent: #ff5500;
    --accent-glow: rgba(255, 85, 0, 0.15);
    --accent-light: #fff4ed;
    --bg-main: #fafafa;
    --text-main: #0f172a;
    --text-muted: #475569;
    --border-light: rgba(15, 23, 42, 0.1);
}

/* Base Styling */
body {
    background-color: var(--bg-main);
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-main);
    margin: 0;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

h1, h2, h3, .font-heading {
    font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
}

/* Background Grid Overlay */
.framer-grid-bg {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(15, 23, 42, 0.08) 1.2px, transparent 1.2px);
    background-size: 24px 24px;
    pointer-events: none;
    z-index: 0;
}

.framer-dots-light {
    background-image: radial-gradient(#cbd5e1 1.2px, transparent 1.2px);
    background-size: 18px 18px;
}

/* Title Styling */
.hero-title {
    color: #0f172a;
    font-weight: 900;
}

/* Bento Cards System */
.bento-card {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 28px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    box-shadow: 0 4px 20px -5px rgba(15, 23, 42, 0.05);
}

.bento-card:hover {
    border-color: rgba(255, 85, 0, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 20px 40px -10px rgba(255, 85, 0, 0.12);
}

/* Hero "Currently Building" Card */
.currently-building-card {
    background: #ffffff;
    border: 1.5px solid rgba(255, 85, 0, 0.35);
    border-radius: 28px;
    box-shadow: 0 15px 35px -10px rgba(255, 85, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
    transition: all 0.35s ease;
}

.currently-building-card:hover {
    border-color: rgba(255, 85, 0, 0.6);
    box-shadow: 0 25px 50px -12px rgba(255, 85, 0, 0.2);
}

/* Floating Ambient Orbs */
.orb-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    z-index: 0;
}

@keyframes float-slow {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(12px, -15px) scale(1.05); }
}

.animate-float {
    animation: float-slow 10s ease-in-out infinite;
}

/* Live Pulse Badge */
.pulse-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 99px;
    background: #fff4ed;
    border: 1px solid rgba(255, 85, 0, 0.35);
    color: #ea580c;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #ff5500;
    border-radius: 50%;
    position: relative;
}

.pulse-dot::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background-color: #ff5500;
    opacity: 0.6;
    animation: ping-pulse 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping-pulse {
    75%, 100% {
        transform: scale(2.2);
        opacity: 0;
    }
}

/* Floating Elements Animation */
@keyframes float-chip {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
}

.animate-float-chip {
    animation: float-chip 3.8s ease-in-out infinite;
}

@keyframes float-chip-reverse {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(6px); }
}

.animate-float-chip-reverse {
    animation: float-chip-reverse 4.2s ease-in-out infinite;
}

@keyframes pulse-wave {
    0% { stroke-dashoffset: 400; }
    100% { stroke-dashoffset: 0; }
}

.animate-pulse-wave {
    stroke-dasharray: 400;
    animation: pulse-wave 3s ease-in-out infinite alternate;
}

/* Carousel Card Styling */
.carousel-card {
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0.4;
    transform: scale(0.92);
}

.carousel-card.active-slide {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 20px 40px -10px rgba(255, 85, 0, 0.18), 0 0 0 2px rgba(255, 85, 0, 0.3);
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
    transition: all 0.3s ease;
    cursor: pointer;
}

.carousel-dot.active {
    background: #ff5500;
    width: 24px;
    border-radius: 12px;
}

/* Expertise Skill Tags */
.skill-tag {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: #f1f5f9;
    color: #1e293b;
    border: 1px solid #cbd5e1;
    padding: 6px 14px;
    border-radius: 99px;
    transition: all 0.25s ease;
}

.skill-tag:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

/* Infrastructure Orbit Animation */
.node-main {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ff6600, #ea580c);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 11px;
    z-index: 2;
    box-shadow: 0 12px 35px rgba(255, 85, 0, 0.4);
}

.node-sub {
    position: absolute;
    padding: 6px 12px;
    background: #ffffff;
    color: #0f172a;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 800;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.08);
    animation: orbit 15s linear infinite;
}

@keyframes orbit {
    from {
        transform: rotate(0deg) translateX(125px) rotate(0deg);
    }
    to {
        transform: rotate(360deg) translateX(125px) rotate(-360deg);
    }
}

@media (max-width: 640px) {
    @keyframes orbit {
        from {
            transform: rotate(0deg) translateX(85px) rotate(0deg);
        }

        to {
            transform: rotate(360deg) translateX(85px) rotate(-360deg);
        }
    }
}

/* Hire Me Phone Animation */
.phone-frame {
    width: 145px;
    height: 250px;
    background: #ffffff;
    border: 6px solid #cbd5e1;
    border-radius: 2.5rem;
    transition: all 0.8s ease;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
}

.group-phone:hover .phone-frame {
    transform: scale(1.05) rotate(-5deg);
    border-color: var(--accent);
    box-shadow: 0 25px 50px rgba(255, 85, 0, 0.22);
}

.orange-text {
    color: var(--accent);
}

.hand {
    transform-origin: bottom center;
}

/* Trick Mini-Styles */
#trick-input::placeholder {
    color: #94a3b8;
}

.binary-text {
    font-family: 'Space Grotesk', monospace;
    color: var(--accent);
    font-weight: 700;
}

/* Scroll Reveal Animations */
.reveal,
.bento-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active,
.bento-card.active {
    opacity: 1;
    transform: translateY(0);
}

.hero-content {
    opacity: 1 !important;
    transform: none !important;
}

/* Framer Pill Buttons */
.framer-btn-primary {
    background: #0f172a;
    color: #ffffff;
    font-weight: 800;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 16px 32px;
    border-radius: 99px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.framer-btn-primary:hover {
    background: #ff5500;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 85, 0, 0.35);
}

.framer-btn-secondary {
    background: #ffffff;
    color: #0f172a;
    font-weight: 800;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 16px 28px;
    border-radius: 99px;
    border: 1px solid #cbd5e1;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.framer-btn-secondary:hover {
    border-color: #ff5500;
    color: #ff5500;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 85, 0, 0.12);
}