:root {
    --bg-primary: #fafafa;
    --bg-secondary: #ffffff;
    --text-primary: #1a1a1a;
    --text-secondary: #555555;
    --text-muted: #888888;
    --accent: #0066ff;
    --accent-light: #e6f0ff;
    --accent-dark: #0052cc;
    --border: #e5e5e5;
    --border-light: #eeeeee;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 8px 30px rgba(0, 102, 255, 0.12);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1.25rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo svg {
    height: 32px;
    width: auto;
}

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

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--accent);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8rem 4rem 4rem;
    position: relative;
    background: linear-gradient(180deg, #f5f8ff 0%, var(--bg-primary) 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: url('hero.png');
    background-repeat: no-repeat;
    background-position: center right;
    background-size: contain;
    opacity: 0.8;
    pointer-events: none;
}

.hero-content {
    max-width: 650px;
    position: relative;
    z-index: 1;
}

.hero-tag {
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    color: var(--accent);
    letter-spacing: 0.15em;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
}

.hero-tag-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
}

.hero h1 {
    font-size: clamp(2.25rem, 5vw, 3.25rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.25rem;
    letter-spacing: -0.03em;
}

.hero h1 .highlight {
    color: var(--accent);
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 480px;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 1rem 2rem;
    background: var(--accent);
    border: none;
    border-radius: 10px;
    color: white;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 1rem 2rem;
    background: transparent;
    border: 2px solid var(--border);
    border-radius: 10px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* Services Section */
.services {
    padding: 5rem 4rem;
    background: var(--bg-secondary);
}

.section-tag {
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.15em;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 2.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
}

.service-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: 14px;
    padding: 1.75rem;
    transition: all 0.3s;
}

.service-card:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    width: 44px;
    height: 44px;
    background: var(--accent-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-family: 'Space Mono', monospace;
    font-size: 1rem;
    font-weight: 700;
    color: var(--accent);
}

.service-title {
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
    font-weight: 600;
}

.service-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* About Section */
.about {
    padding: 5rem 4rem;
    background: var(--bg-primary);
}

.about-content {
    max-width: 550px;
}

.about-content h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 1rem;
    font-weight: 700;
}

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

/* Contact Section */
.contact {
    padding: 5rem 4rem;
    background: var(--bg-secondary);
    display: flex;
    justify-content: center;
}

.contact-form {
    background: var(--bg-primary);
    padding: 2rem;
    border: 1px solid var(--border-light);
    border-radius: 14px;
    width: 100%;
    max-width: 500px;
}

.contact-form h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 0.5rem;
    font-weight: 700;
    text-align: center;
}

.contact-form > p {
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    display: block;
    margin-bottom: 0.4rem;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    transition: border-color 0.3s;
}

.form-input::placeholder {
    color: var(--text-muted);
}

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

textarea.form-input {
    min-height: 80px;
    resize: vertical;
}

.form-submit {
    width: 100%;
    padding: 0.85rem;
    background: var(--accent);
    border: none;
    border-radius: 8px;
    color: white;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.form-submit:hover {
    background: var(--accent-dark);
}

/* Footer */
footer {
    padding: 2rem 4rem;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-light);
    text-align: center;
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--text-muted);
}

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

.hero-content > * {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.hero-tag { animation-delay: 0.1s; }
.hero h1 { animation-delay: 0.2s; }
.hero-description { animation-delay: 0.3s; }
.hero-buttons { animation-delay: 0.4s; }

/* Responsive */
@media (max-width: 1024px) {
    nav { padding: 1rem 2rem; }
    .nav-links { display: none; }
    .hero, .services, .about, .contact { padding: 3.5rem 2rem; }
}

@media (max-width: 640px) {
    .services-grid { grid-template-columns: 1fr; }
}