:root {
    /* Color Palette - FutureDesks Style */
    --primary: #8b5cf6;
    --secondary: #3b82f6;
    --accent: #10b981;
    --background: #0b0d17;
    /* Very dark blue/black */
    --background-alt: #161a2b;
    /* Slightly lighter for cards */
    --text: #ffffff;
    --text-dim: #94a3b8;
    --card-border: rgba(59, 130, 246, 0.4);
    /* Blue border for cards */
    --glass-border: rgba(255, 255, 255, 0.1);

    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);

    --border-radius-lg: 1.5rem;
    --border-radius-md: 1rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}


body {
    background-color: var(--background);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-padding {
    padding: 6rem 0;
}

/* Premium Solid Cards (FutureDesks Style) */
.glass-card {
    background: var(--background-alt);
    border: 1px solid var(--card-border);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: var(--transition-smooth);
}

/* Interactive enhancements */
a,
button,
.portfolio-item,
.glass-card {
    cursor: pointer;
}

.glass-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Floating Blob Animation for Hero */
.shape-blob {
    position: absolute;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.4), rgba(14, 165, 233, 0.4));
    border-radius: 50%;
    filter: blur(80px);
    animation: morph 8s ease-in-out infinite alternate;
    z-index: -1;
}

.shape-blob.one {
    width: 500px;
    height: 500px;
    top: -20%;
    left: -10%;
}

.shape-blob.two {
    width: 400px;
    height: 400px;
    bottom: -10%;
    right: -10%;
    background: linear-gradient(135deg, rgba(244, 63, 94, 0.3), rgba(139, 92, 246, 0.3));
    animation-delay: -2s;
}

@keyframes morph {
    0% {
        border-radius: 40% 60% 70% 30% / 40% 40% 60% 50%;
        transform: rotate(0deg) scale(1);
    }

    100% {
        border-radius: 60% 40% 30% 70% / 60% 60% 40% 50%;
        transform: rotate(10deg) scale(1.1);
    }
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: var(--transition-fast);
}

nav.scrolled {
    background: rgba(11, 13, 23, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.75rem;
    font-weight: 800;
    text-decoration: none;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo span {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.8;
    text-transform: lowercase;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dim);
    font-weight: 500;
    transition: var(--transition-fast);
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--text);
}

/* Dropdown */
.dropdown {
    position: relative;
    cursor: pointer;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--background-alt);
    border: 1px solid var(--glass-border);
    border-radius: 0.75rem;
    padding: 0.75rem;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-fast);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    color: var(--text-dim);
}

.dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--secondary);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding-top: 5rem;
}

.hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.15), transparent 60%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-dim);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--secondary);
    color: white;
    text-decoration: none;
    border-radius: 99px;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.cta-button:hover {
    background: var(--primary);
    transform: scale(1.05);
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    padding: 3rem;
    text-align: center;
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    color: var(--secondary);
}

/* Portfolio Expanding */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    background: var(--background-alt);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    border: 1px solid var(--card-border);
    transition: var(--transition-smooth);
    text-align: center;
    display: flex;
    flex-direction: column;
}

.portfolio-item:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
}

.portfolio-item img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-bottom: 1px solid var(--card-border);
}

.portfolio-info {
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
}

/* Lead Sheet / Table */
.lead-sheet-container {
    margin-top: 3rem;
    overflow-x: auto;
    border-radius: 1rem;
    border: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.2);
}

.lead-sheet {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
    font-size: 0.9rem;
}

.lead-sheet th {
    background: var(--background-alt);
    color: var(--secondary);
    text-align: left;
    padding: 1rem;
    border-bottom: 2px solid var(--glass-border);
}

.lead-sheet td {
    padding: 1rem;
    border-bottom: 1px solid var(--glass-border);
    color: var(--text-dim);
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 99px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-new {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
}

.status-contacted {
    background: rgba(126, 34, 206, 0.2);
    color: #c084fc;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    padding: 2rem;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--secondary);
}

/* Form Refinements */
#main-contact-form input:focus,
#main-contact-form textarea:focus {
    border-color: var(--secondary) !important;
    background: rgba(0, 0, 0, 0.3) !important;
}

@media (max-width: 768px) {
    #main-contact-form {
        grid-template-columns: 1fr !important;
    }
}

/* Footer */
footer {
    background: var(--background-alt);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 3rem;
}

.copyright {
    text-align: center;
    color: var(--text-dim);
    font-size: 0.9rem;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
}

/* Mobile Menu */
.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .section-padding {
        padding: 4rem 0;
    }
}