:root {
    --bg-dark: #07080b;
    --bg-card: rgba(255, 255, 255, 0.02);
    --border-color: rgba(255, 255, 255, 0.08);
    --text-main: #f0f2f5;
    --text-muted: #9aa0b8;
    --accent: #00e5ff;
    --accent-glow: rgba(0, 229, 255, 0.3);
    
    --font-head: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 10% 50%, rgba(0, 229, 255, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 90% 20%, rgba(255, 255, 255, 0.03) 0%, transparent 40%);
}

a {
    text-decoration: none;
    color: var(--text-main);
    transition: color 0.3s;
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}

.logo {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--accent);
}

.navbar nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

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

/* BUTTONS */
.btn-primary {
    background: transparent;
    color: var(--accent);
    padding: 0.6rem 1.5rem;
    border: 1px solid var(--accent);
    border-radius: 8px;
    font-weight: 500;
    font-family: var(--font-body);
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}

.btn-primary:hover {
    background: var(--accent);
    color: var(--bg-dark);
    box-shadow: 0 0 20px var(--accent-glow);
}

.btn-primary.large {
    padding: 0.8rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.full-width {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    margin-top: 1rem;
}

/* MAIN LAYOUT */
main {
    padding-top: 5rem;
}

.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    gap: 2rem;
    position: relative;
    overflow: hidden;
}

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

.hero-content h1 {
    font-family: var(--font-head);
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero-content h1 span {
    color: var(--accent);
    text-shadow: 0 0 30px var(--accent-glow);
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

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

.hero-visual {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.glass-orb {
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.15), rgba(255, 255, 255, 0.02));
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 0 60px rgba(0, 229, 255, 0.15);
    animation: float 6s ease-in-out infinite;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glass-orb::before {
    content: '';
    position: absolute;
    inset: 20px;
    border-radius: 50%;
    border: 1px dashed rgba(255,255,255,0.15);
    animation: spin 40s linear infinite;
}

.inner-element {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(0,229,255,0.4) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite;
}

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

@keyframes spin {
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* SERVICES */
.services {
    padding: 8rem 5%;
    position: relative;
}

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

.section-header h2 {
    font-family: var(--font-head);
    font-size: 2.8rem;
    margin-bottom: 0.8rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.15rem;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 3rem 2.5rem;
    border-radius: 20px;
    transition: transform 0.4s, background 0.4s, border-color 0.4s;
    backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.service-card:hover {
    transform: translateY(-8px);
    background: rgba(255,255,255,0.04);
    border-color: rgba(0, 229, 255, 0.2);
}

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

.service-card .icon {
    font-size: 2.8rem;
    margin-bottom: 1.8rem;
}

.service-card h3 {
    font-family: var(--font-head);
    font-size: 1.6rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card p {
    color: var(--text-muted);
    font-weight: 300;
}

/* CONTACT */
.contact {
    padding: 8rem 5%;
    background: linear-gradient(to top, rgba(0,229,255,0.03), transparent);
}

.contact-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: center;
}

.contact-info h2 {
    font-family: var(--font-head);
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.contact-info p {
    color: var(--text-muted);
    font-size: 1.2rem;
    font-weight: 300;
}

.glass-form {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 3rem;
    border-radius: 24px;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

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

.form-group.duo {
    display: flex;
    gap: 1.2rem;
}
.input-wrapper {
    flex: 1;
}

label {
    display: block;
    margin-bottom: 0.6rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

input, textarea {
    width: 100%;
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--border-color);
    padding: 1rem 1.2rem;
    border-radius: 12px;
    color: var(--text-main);
    font-family: var(--font-body);
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}

input:focus, textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.1);
}

/* FOOTER */
footer {
    padding: 4rem 5%;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

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

/* UTILITIES & ANIMATIONS */
.hidden {
    display: none;
}

.form-msg {
    margin-top: 1.5rem;
    color: var(--accent);
    text-align: center;
    font-weight: 500;
    padding: 1rem;
    background: rgba(0, 229, 255, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(0, 229, 255, 0.2);
}

.fade-in, .slide-up {
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.slide-up {
    transform: translateY(40px);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .contact-info {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 6rem;
    }
    .hero-content h1 { font-size: 3.2rem; }
    .hero-actions { justify-content: center; }
    .form-group.duo { flex-direction: column; gap: 1.8rem; }
    .glass-orb { width: 280px; height: 280px; }
    .cards-container { grid-template-columns: 1fr; }
    .glass-form { padding: 2rem; }
}
