/* Reset & Core Base */
:root {
    --primary: #0070f3;
    --primary-dark: #0056b3;
    --foreground: #0f172a;
    --text-muted: #64748b;
    --background: #ffffff;
    --card-bg: #ffffff;
    --accent-bg: #0f172a;
    --border: #e2e8f0;
    --success: #10b981;
    --radius: 12px;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-heading: 'Space Grotesk', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-sans);
    color: var(--foreground);
    line-height: 1.6;
    background: var(--background);
    -webkit-font-smoothing: antialiased;
}

/* Utilities */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; position: relative; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.align-center { align-items: center; }
.align-start { align-items: flex-start; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.text-center { text-align: center; }
.uppercase { text-transform: uppercase; }
.italic { font-style: italic; }
.bold { font-weight: 700; }
.list-none { list-style: none; }
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }
.mt-60 { margin-top: 60px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mb-60 { margin-bottom: 60px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.p-40 { padding: 40px; }
.p-60 { padding: 60px; }
.p-80 { padding: 80px; }
.py-100 { padding-top: 100px; padding-bottom: 100px; }
.pb-40 { padding-bottom: 40px; }
.pt-100 { padding-top: 100px; }
.pt-30 { padding-top: 30px; }
.gap-10 { gap: 10px; }
.gap-20 { gap: 20px; }
.gap-40 { gap: 40px; }
.gap-60 { gap: 60px; }
.gap-80 { gap: 80px; }
.rounded-3xl { border-radius: 24px; }
.shadow-xl { box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25); }
.text-primary { color: var(--primary); }
.text-white { color: #ffffff; }
.text-muted { color: var(--text-muted); }
.text-success { color: var(--success); }
.text-xl { font-size: 1.25rem; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.font-mono { font-family: var(--font-mono); }
.italic-serif { font-family: 'Georgia', serif; font-style: italic; }

/* Components: Button */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    font-family: var(--font-sans);
    border: none;
}
.btn i { margin-left: 8px; width: 18px; }
.btn-consult {
    background: var(--primary);
    color: white;
    font-family: var(--font-mono);
    border: 2px solid var(--primary);
}
.btn-consult:hover {
    background: transparent;
    color: var(--primary);
}
.btn-primary {
    background: var(--primary);
    color: white;
    padding: 16px 32px;
    border-radius: 4px;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    border: 2px solid var(--primary);
}
.btn-primary:hover {
    background: var(--primary-dark);
}
.btn-outline {
    background: transparent;
    color: var(--foreground);
    border: 2px solid var(--border);
    padding: 16px 32px;
}
.btn-outline:hover {
    border-color: var(--foreground);
}
.btn-secondary {
    background: #ffffff;
    color: var(--primary);
    padding: 18px 40px;
}
.btn-secondary:hover {
    background: #f8fafc;
}

/* Logo Styles */
.logo { display: flex; flex-direction: column; align-items: center; gap: 0; }
.logo-top { display: flex; align-items: flex-end; line-height: 0.8; }
.logo-top span { font-size: 28px; font-weight: 900; }
.tech { color: #111; font-style: italic; letter-spacing: -0.04em; }
.slash { color: var(--primary); margin: 0 4px; transform: scaleY(1.3); }
.work { color: #444; font-weight: 500 !important; letter-spacing: -0.01em; }
.logo-bottom .pros {
    display: block;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.45em;
    color: #666;
    margin-top: 2px;
    padding-left: 0.45em;
}
.logo-link { text-decoration: none; }

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 24px 0;
    transition: all 0.3s ease;
}
header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}
nav ul li a {
    text-decoration: none;
    color: var(--foreground);
    font-weight: 600;
    font-size: 0.875rem;
    padding: 8px 16px;
    transition: color 0.2s;
}
nav ul li a:hover { color: var(--primary); }
.mobile-menu-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; }

/* Hero */
.hero {
    padding-top: 180px;
    padding-bottom: 120px;
    background: radial-gradient(circle at top right, rgba(0, 112, 243, 0.08) 0%, transparent 40%);
    overflow: hidden;
}
.badge {
    display: inline-block;
    padding: 4px 12px;
    background: #f1f5f9;
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.2em;
    margin-bottom: 24px;
}
.badge.primary { background: var(--primary); color: white; }
h1 {
    font-family: var(--font-heading);
    font-size: clamp(3.5rem, 8vw, 5.5rem);
    line-height: 0.95;
    font-weight: 900;
    letter-spacing: -0.05em;
    margin-bottom: 32px;
}
.hero-subtitle {
    font-family: var(--font-mono);
    color: var(--text-muted);
    font-size: 1.125rem;
    margin-bottom: 48px;
    max-width: 600px;
}
.cta-actions { display: flex; gap: 16px; margin-bottom: 48px; }
.hero-trust { display: flex; gap: 24px; opacity: 0.6; }
.tag { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; }
.hero-visual { position: relative; }
.image-wrapper { position: relative; border-radius: 24px; overflow: hidden; }
.image-wrapper img { width: 100%; display: block; filter: grayscale(0.2); transition: 0.5s; }
.image-wrapper:hover img { transform: scale(1.05); filter: grayscale(0); }
.hero-visual .floating-accent {
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 120px;
    height: 120px;
    border: 10px solid var(--primary);
    border-radius: 50%;
    opacity: 0.1;
    z-index: -1;
}

/* Sections */
.section-header h2 { font-family: var(--font-heading); font-size: 2.5rem; letter-spacing: -0.02em; font-weight: 800; }
.divider { width: 40px; height: 3px; background: var(--primary); margin: 20px 0; }
.max-w-700 { max-width: 700px; }
.max-w-600 { max-width: 600px; }

/* Cards */
.card {
    background: var(--card-bg);
    padding: 40px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}
.card:hover { transform: translateY(-10px); border-color: var(--primary); box-shadow: 0 30px 60px -12px rgba(0,0,0,0.1); }
.card-icon { color: var(--primary); margin-bottom: 30px; }
.card h3 { font-family: var(--font-heading); font-size: 1.5rem; margin-bottom: 24px; letter-spacing: 0.05em; }
.service-list li { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font-size: 0.875rem; color: #4b5563; font-weight: 500; }

/* Dark BG / Accent */
.dark-bg { background: #0a0a0a; color: white; }
.accent-box { background: #111; overflow: hidden; }
.glow-effect { position: absolute; top: 0; right: 0; width: 300px; height: 300px; background: radial-gradient(circle, rgba(0, 112, 243, 0.2) 0%, transparent 70%); filter: blur(40px); }
.special-item { position: relative; }
.special-item .index { font-family: 'Georgia', serif; font-size: 4rem; font-weight: 900; font-style: italic; opacity: 0.1; line-height: 1; margin-bottom: 10px; }
.special-item h4 { font-size: 1.25rem; font-weight: 700; margin-bottom: 16px; color: var(--primary); }
.special-item p { font-size: 0.875rem; color: #9ca3af; }

/* Tabs */
.tabs-nav { background: #f8fafc; padding: 6px; border-radius: 12px; }
.tab-btn {
    background: none; border: none; padding: 12px; cursor: pointer;
    font-weight: 700; font-size: 0.875rem; color: var(--text-muted); transition: 0.3s;
    border-radius: 8px;
}
.tab-btn.active { background: white; color: var(--primary); box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1); }
.tab-pane { display: none; }
.tab-pane.active { display: block; animation: fadeIn 0.4s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: translateX(0); } }

/* CTA Banner */
.cta-banner h2 { font-family: var(--font-heading); font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; }
.avatars-list img { width: 44px; height: 44px; border-radius: 50%; border: 3px solid var(--primary); margin-left: -12px; }
.avatars-list img:first-child { margin-left: 0; }

/* Contact */
.gray-bg { background: #fbfbfc; }
.info-item .icon-box { background: white; padding: 12px; border-radius: 12px; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); color: var(--primary); }
address { font-style: normal; }
.social-box {
    display: flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; background: white; border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); color: var(--foreground);
    text-decoration: none; transition: 0.3s;
}
.social-box:hover { background: var(--primary); color: white; }

/* Form */
.form-group label { display: block; font-size: 10px; font-weight: 800; color: #94a3b8; margin-bottom: 8px; letter-spacing: 0.1em; padding-left: 4px; }
.form-group input, .form-group textarea {
    width: 100%; padding: 14px; background: #f8fafc; border: none; border-radius: 8px;
    font-family: var(--font-sans); outline: none; transition: 0.2s;
}
.form-group input:focus, .form-group textarea:focus { background: white; box-shadow: 0 0 0 2px var(--primary); }
.full-width { grid-column: 1 / -1; }

/* Footer */
.main-footer { border-top: 1px solid var(--border); }
.footer-links a { text-decoration: none; color: inherit; transition: color 0.2s; }
.footer-links a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid var(--border); }
.status { display: flex; align-items: center; gap: 8px; }
.status .dot { width: 8px; height: 8px; background: var(--success); border-radius: 50%; display: block; animation: pulse 2s infinite; }
@keyframes pulse { 0% { opacity: 0.5; } 50% { opacity: 1; } 100% { opacity: 0.5; } }

/* Responsive */
@media (max-width: 1024px) {
    h1 { font-size: 4rem; }
    .grid-2 { gap: 40px; }
    .gap-80 { gap: 40px; }
}
@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .hero { padding-top: 140px; }
    .desktop-nav { display: none; }
    .mobile-menu-toggle { display: block; }
    .tab-btn { font-size: 12px; }
    .p-60 { padding: 30px; }
    .p-80 { padding: 40px; }
    .branding { margin-bottom: 40px; }
}
