:root {
    --bg: #ffffff;
    --card: #ffffff;
    --text: #77787b;
    --heading: #005f80;
    --border: #e2e8f0;
    --blue: #00a0d2;
    --green: #39b54a;
    --yellow: #ffc20e;
    --nav-height: 100px;
    --cyan: #2ab8c4;
    --gold: #f5c842;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background-color: var(--blue);
    color: white;
}

::-webkit-scrollbar { 
    width: 8px; 
}

::-webkit-scrollbar-track { 
    background: #f1f5f9; 
}

::-webkit-scrollbar-thumb { 
    background: #cbd5e1; 
    border-radius: 4px; 
}

::-webkit-scrollbar-thumb:hover { 
    background: var(--blue); 
}

.font-mono { 
    font-family: 'JetBrains Mono', monospace; 
}

.text-center { 
    text-align: center; 
}

h1, h2, h3, h4 { 
    color: var(--heading); 
    font-weight: 800; 
    line-height: 1.2; 
}

.title-large { 
    font-size: clamp(3rem, 5vw, 5rem); 
    letter-spacing: -0.02em; 
    margin-bottom: 2rem; 
}

.title-medium { 
    font-size: clamp(2rem, 4vw, 3rem); 
    margin-bottom: 1.5rem; 
}

.title-small { 
    font-size: 1.5rem; 
    margin-bottom: 0.5rem; 
}

.text-gradient {
    background-image: linear-gradient(to right, var(--green), var(--blue), var(--yellow));
    background-size: 200% 200%;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
    animation: gradientFlow 5s ease infinite;
    display: inline-block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 120px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 10;
}

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

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

.bg-grid {
    position: fixed; 
    inset: 0; 
    z-index: 0; 
    pointer-events: none; 
    opacity: 0.4;
    background-image: linear-gradient(to right, var(--border) 1px, transparent 1px),
                      linear-gradient(to bottom, var(--border) 1px, transparent 1px);
    background-size: 40px 40px;
}

#particles-js { 
    position: fixed; 
    inset: 0; 
    z-index: 0; 
    pointer-events: none; 
    opacity: 0.6; 
}

.blob {
    position: fixed; 
    border-radius: 50%; 
    filter: blur(100px);
    animation: blob 10s infinite; 
    pointer-events: none; 
    z-index: 0;
}

.blob-1 { 
    top: 0; 
    left: 25%; 
    width: 400px; 
    height: 400px; 
    background: rgba(0, 160, 210, 0.1); 
}

.blob-2 { 
    bottom: 0; 
    right: 25%; 
    width: 400px; 
    height: 400px; 
    background: rgba(57, 181, 74, 0.1); 
    animation-delay: 2s; 
}

@keyframes load { 
    0% { width: 0%; } 
    100% { width: 100%; } 
}

@keyframes blob {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

@keyframes gradientFlow { 
    0%, 100% { background-position: 0% 50%; } 
    50% { background-position: 100% 50%; } 
}

@keyframes blink { 
    0%, 100% { opacity: 1; } 
    50% { opacity: 0.4; } 
}

.reveal { 
    opacity: 0; 
    transform: translateY(30px); 
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1); 
}

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

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }

.btn {
    display: inline-block; 
    padding: 1rem 2rem; 
    border-radius: 0.75rem;
    font-weight: 600; 
    text-decoration: none; 
    text-align: center;
    transition: all 0.3s ease; 
    cursor: pointer; 
    border: none; 
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(to right, var(--green), var(--blue));
    color: white; 
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    transform: translateY(-2px); 
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    background: linear-gradient(to right, var(--blue), var(--green));
}

.btn-outline {
    background: rgba(255,255,255,0.8); 
    border: 1px solid var(--border);
    color: var(--text); 
    backdrop-filter: blur(4px);
}

.btn-outline:hover {
    border-color: var(--blue); 
    color: var(--heading);
}

.btn-small { 
    padding: 0.5rem 1.25rem; 
    font-size: 0.875rem; 
    border-radius: 0.5rem; 
}

.tag {
    display: inline-flex; 
    align-items: center; 
    gap: 0.5rem;
    padding: 0.25rem 1rem; 
    border-radius: 9999px;
    background: rgba(0, 160, 210, 0.1); 
    border: 1px solid rgba(0, 160, 210, 0.3);
    color: var(--blue); 
    font-size: 0.75rem; 
    margin-bottom: 2rem;
}

.pulse-dot {
    width: 6px; 
    height: 6px; 
    background-color: var(--blue);
    border-radius: 50%; 
    animation: blink 1s infinite;
}

.card {
    background: var(--card); 
    border: 1px solid var(--border);
    border-radius: 1rem; 
    padding: 2rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: all 0.3s ease; 
    transform-style: preserve-3d;
}

.card:hover { 
    border-color: rgba(0, 160, 210, 0.3); 
    box-shadow: 0 10px 20px rgba(0,0,0,0.05); 
}

.icon-box {
    width: 64px; 
    height: 64px; 
    border-radius: 50%;
    display: flex; 
    align-items: center; 
    justify-content: center;
    font-size: 1.5rem; 
    margin: 0 auto 1.5rem auto;
}

.form-group { 
    margin-bottom: 1.5rem; 
    text-align: left; 
}

.form-label { 
    display: block; 
    font-size: 0.75rem; 
    color: var(--heading); 
    margin-bottom: 0.5rem; 
}

.form-input {
    width: 100%; 
    padding: 0.75rem; 
    border: 1px solid var(--border);
    border-radius: 0.5rem; 
    background: white; 
    color: var(--heading);
    font-family: inherit; 
    transition: border-color 0.3s;
}

.form-input:focus { 
    outline: none; 
    border-color: var(--blue); 
}

textarea.form-input { 
    resize: none; 
    height: 120px; 
}

@media (max-width: 768px) {
    .nav-links { 
        display: none; 
    }
    
    .grid-3, .grid-2 { 
        grid-template-columns: 1fr; 
    }
    
    section { 
        padding: 80px 0; 
        min-height: auto; 
    }
    
    .title-large { 
        font-size: 2.5rem; 
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-brand {
        margin-bottom: 1rem;
    }
}