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

body {
    font-family: 'Inter', sans-serif;
    background: #ffffff;
    color: #1a1a1a;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Poppins', sans-serif;
}

/* Navigation */
#headerNav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    text-decoration: none;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #000000, #3b82f6);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 1.1rem;
}

.logo-label {
    line-height: 1;
}

@media (max-width: 968px) {
    .logo-label {
        display: none;
    }
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #4a5568;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #000;
}

.nav-cta-wrapper {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-cta-buttons {
    display: flex;
    gap: 1rem;
}

.nav-cta-buttons a {
    text-decoration: none;
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    font-size: 0.95rem;
    text-decoration: none;
}

.btn-primary, a.btn-primary {
    background: linear-gradient(135deg, #000000, #1e3a8a);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: #000;
    border: 2px solid #e5e7eb;
}

.btn-secondary:hover {
    border-color: #000;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    background: white;
    padding: 1rem 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    display: block;
}

.mobile-menu a:not(.btn) {
    display: block;
    padding: 0.75rem 0;
    color: #4a5568;
    text-decoration: none;
    font-weight: 500;
}

/* Footer */
footer {
    background: #000;
    color: white;
    padding: 60px 2rem 30px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    color: #9ca3af;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}




/**
 * Marks an element as an AI twinkle host.
 *
 * Sample usage:
 * <button class="toolbar-btn ai-twinkle-target">
 *     <i class="fas fa-robot"></i>
 * </button>
 */
.ai-twinkle-target {
    position: relative;
    overflow: visible;
}

/**
 * Layer that holds floating twinkles.
 */
.ai-twinkle-floating-layer {
    position: absolute;
    inset: -2px;
    pointer-events: none;
    overflow: visible;
}

/**
 * Single floating twinkle.
 */
.ai-twinkle-floating-star {
    position: absolute;
    width: 8px;
    height: 8px;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.2) rotate(0deg);
    animation: aiFloatingTwinkle var(--ai-twinkle-duration, 1.8s) ease-in-out forwards;
    will-change: transform, opacity;
}

.ai-twinkle-floating-star::before,
.ai-twinkle-floating-star::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: #3b82f6;
    border-radius: 999px;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.8);
}

.ai-twinkle-floating-star::before {
    width: 2px;
    height: 100%;
}

.ai-twinkle-floating-star::after {
    width: 100%;
    height: 2px;
}

/**
 * Floating twinkle animation.
 */
@keyframes aiFloatingTwinkle {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.2) rotate(0deg);
    }
    20% {
        opacity: 0.45;
        transform: translate(-50%, -50%) scale(0.65) rotate(8deg);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.15) rotate(14deg);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.25) rotate(20deg);
    }
}