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

:root {
    --bg-dark: #0a0a0c;
    --text-primary: #f8f9fa;
    --text-secondary: #a1a1aa;
    --accent: #3b82f6;
    --accent-glow: rgba(59, 130, 246, 0.4);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

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

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

/* Dynamic Background grid */
.background-grid {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        linear-gradient(to right, rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -2;
    mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
}

.glow-orb {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.5;
    animation: float 20s infinite ease-in-out alternate;
}

.orb-1 {
    top: -10%; left: -10%;
    background: radial-gradient(circle, rgba(59,130,246,0.2) 0%, transparent 70%);
}

.orb-2 {
    bottom: -10%; right: -10%;
    background: radial-gradient(circle, rgba(139,92,246,0.15) 0%, transparent 70%);
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Glassmorphism Nav */
.glass-nav {
    position: fixed;
    top: 0; width: 100%;
    background: rgba(10, 10, 12, 0.7);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 100;
}

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

.logo-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: 2px;
    background: linear-gradient(to right, #fff, #a1a1aa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-button {
    background: transparent;
    color: var(--text-primary);
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: var(--text-primary);
    color: var(--bg-dark);
    box-shadow: 0 0 15px var(--accent-glow);
}

/* Container & Hero */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8rem 2rem 4rem;
}

.hero {
    text-align: center;
    margin-bottom: 5rem;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, #60a5fa, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    color: var(--text-secondary);
    font-size: 1.125rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Grid Layout */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

/* Interactive Glass Cards */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, background 0.3s ease;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(
        400px circle at var(--mouse-x, 0) var(--mouse-y, 0),
        rgba(255, 255, 255, 0.05),
        transparent 40%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.glass-card:hover::before {
    opacity: 1;
}

.glass-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.glass-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.glass-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.highlight-card {
    border-color: rgba(96, 165, 250, 0.3);
    background: rgba(59, 130, 246, 0.05);
}

.text-link {
    display: inline-block;
    margin-top: 1rem;
    color: #60a5fa;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.text-link span {
    transition: transform 0.2s ease;
    display: inline-block;
}

.text-link:hover span {
    transform: translateX(5px);
}

.llm-data-section {
    text-align: center;
    border-top: 1px solid var(--glass-border);
    padding-top: 2rem;
}

.small-text {
    font-size: 0.75rem;
    color: #52525b;
}

/* Contact Section */
.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 2rem;
}

.contact-section {
    margin-bottom: 4rem;
}

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

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

.contact-card .mailing {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: #71717a;
}

.contact-link {
    color: #60a5fa;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-link:hover {
    color: #93bbfd;
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--glass-border);
    padding: 2rem 0;
}

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

.footer-content p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.footer-link {
    color: #60a5fa;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #93bbfd;
}

@media (max-width: 768px) {
    .container { padding-top: 6rem; }
    .expertise-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-content { justify-content: center; text-align: center; }
}
