:root {
    --bg-color: #0a192f;
    --light-bg: #112240;
    --text-primary: #ccd6f6;
    --text-secondary: #8892b0;
    --accent: #2affd5;
    --accent-glow: rgba(100, 255, 218, 0.1);
    --white: #e6f1ff;
    --font-main: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 20px 0;
    box-shadow: 0 10px 30px -10px rgba(2, 12, 27, 0.7);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
}

.logo .highlight {
    color: var(--white);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-size: 0.9rem;
    color: var(--text-primary);
}

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

.btn-primary {
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-size: 0.9rem;
    background: transparent;
}

.btn-primary:hover {
    background: var(--accent-glow);
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 80px;
}

.hero-content {
    z-index: 2;
    max-width: 800px;
}

.overline {
    color: var(--accent);
    font-family: monospace;
    margin-bottom: 20px;
    font-size: 1rem;
}

h1 {
    font-size: clamp(40px, 8vw, 70px);
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 20px;
}

.text-gradient {
    background: linear-gradient(45deg, var(--accent), #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: clamp(16px, 4vw, 20px);
    color: var(--text-secondary);
    max-width: 540px;
    margin-bottom: 50px;
}

.cta-group {
    display: flex;
    gap: 20px;
}

.btn-secondary {
    padding: 0.75rem 1.5rem;
    color: var(--text-primary);
    border: 1px solid transparent;
}

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

/* Background Elements */
.hero-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.circle {
    position: absolute;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.05;
    filter: blur(80px);
}

.circle-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
}

.circle-2 {
    width: 300px;
    height: 300px;
    bottom: 50px;
    left: -50px;
}

/* Sections */
.section {
    padding: 100px 0;
}

.section-title {
    font-size: clamp(26px, 5vw, 32px);
    color: var(--white);
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.section-title::after {
    content: "";
    display: block;
    width: 300px;
    height: 1px;
    background: var(--light-bg);
    margin-left: 20px;
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 50px;
    align-items: center;
}

.about-text p {
    margin-bottom: 15px;
    color: var(--text-secondary);
}

.about-text strong {
    color: var(--accent);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-card {
    background: var(--light-bg);
    padding: 20px;
    border-radius: 4px;
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card .number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
}

.stat-card .label {
    font-size: 0.8rem;
    font-family: monospace;
    color: var(--accent);
}

/* Expertise */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.tech-card {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 4px;
    transition: var(--transition);
    cursor: default;
}

.tech-card:hover {
    transform: translateY(-7px);
}

.tech-card h3 {
    color: var(--white);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.tech-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-list li {
    font-family: monospace;
    font-size: 0.8rem;
    color: var(--accent);
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-item {
    text-align: center;
    padding: 30px 20px;
}

.service-item .icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-item h3 {
    color: var(--white);
    margin-bottom: 10px;
}

.service-item p {
    color: var(--text-secondary);
}

/* Contact */
.contact {
    text-align: center;
    margin-bottom: 100px;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact h2 {
    font-size: clamp(30px, 5vw, 50px);
    color: var(--white);
    margin-bottom: 20px;
}

.contact p {
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.email-link {
    font-size: 1.5rem;
    color: var(--accent);
    font-weight: 600;
    border-bottom: 2px solid transparent;
}

.email-link:hover {
    border-bottom-color: var(--accent);
}

.location {
    margin-top: 30px;
    font-size: 0.9rem;
    font-family: monospace;
}

/* Footer */
.footer {
    padding: 20px 0;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-family: monospace;
}

/* Mobile */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title::after {
        width: 100%;
    }
}
