  :root { --primary: #00d4ff; --primary-dark: #00a8cc; --primary-nav: #0f3460; }

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: #f0f4f8; color: #1a2a3a; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

nav { background: var(--primary-nav); padding: 18px 0; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 16px rgba(0,0,0,.2); }
nav .container { display: flex; justify-content: space-between; align-items: center; }
.logo { color: var(--primary); font-size: 1.3rem; font-weight: 800; text-decoration: none; letter-spacing: -0.5px; }
nav a { color: #a0b8cc; text-decoration: none; font-size: 0.9rem; transition: color .2s; }
nav a:hover { color: var(--primary); }
nav .nav-links { display: flex; gap: 28px; }

/* HERO */
.hero {
    background:
        linear-gradient(135deg, rgba(15,52,96,.88) 0%, rgba(22,33,62,.85) 50%, rgba(10,22,40,.9) 100%),
        url('https://loremflickr.com/1600/900/technology,startup?lock=5') center/cover no-repeat;
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}
/* Tech grid lines */
.hero::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
        linear-gradient(color-mix(in srgb, var(--primary) 6%, transparent) 1px, transparent 1px),
        linear-gradient(90deg, color-mix(in srgb, var(--primary) 6%, transparent) 1px, transparent 1px);
    background-size: 60px 60px;
}
/* Cyan glow orb */
.hero::after {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 600px; height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, color-mix(in srgb, var(--primary) 12%, transparent) 0%, transparent 70%);
}
/* Diagonal shape */
.hero-shape {
    position: absolute;
    bottom: 0; right: 0;
    width: 40%; height: 100%;
    background: linear-gradient(135deg, transparent 40%, color-mix(in srgb, var(--primary) 4%, transparent) 100%);
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0 100%);
}
.hero .container { text-align: center; }
.hero h1 { font-size: clamp(2.5rem, 5vw, 4rem); color: #fff; font-weight: 900; line-height: 1.1; position: relative; z-index: 1; }
.hero h1 em { color: var(--primary); font-style: normal; }
.hero p { font-size: 1.15rem; color: #7fb3cc; margin-top: 20px; line-height: 1.7; max-width: 520px; position: relative; z-index: 1; margin-left: auto; margin-right: auto; }
.btn { display: inline-flex; align-items: center; gap: 8px; margin-top: 36px; background: var(--primary); color: var(--primary-nav); padding: 16px 36px; border-radius: 50px; font-weight: 800; text-decoration: none; font-size: 1rem; transition: transform .2s, box-shadow .2s; box-shadow: 0 4px 24px color-mix(in srgb, var(--primary) 35%, transparent); position: relative; z-index: 1; }
.btn:hover { transform: translateY(-3px); box-shadow: 0 8px 36px color-mix(in srgb, var(--primary) 50%, transparent); }

section { padding: 100px 0; }
.section-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--primary); margin-bottom: 12px; }
h2 { font-size: 2.2rem; color: var(--primary-nav); font-weight: 800; margin-bottom: 16px; }
.lead { color: #4a6a8a; font-size: 1.05rem; line-height: 1.7; }

.features { background: #fff; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; margin-top: 50px; }
.feature-card {
    background: #f0f4f8;
    border-radius: 16px;
    padding: 32px;
    border-top: 4px solid var(--primary);
    transition: transform .2s, box-shadow .2s;
    position: relative;
    overflow: hidden;
}
.feature-card::after {
    content: '';
    position: absolute;
    bottom: -20px; right: -20px;
    width: 100px; height: 100px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--primary) 6%, transparent);
}
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px color-mix(in srgb, var(--primary) 15%, transparent); }
.feature-icon { font-size: 1.6rem; font-weight: 800; color: var(--primary); margin-bottom: 16px; line-height: 1; }
.feature-card h3 { color: var(--primary-nav); font-weight: 700; font-size: 1.05rem; margin-bottom: 8px; }
.feature-card p { color: #4a6a8a; font-size: 0.9rem; line-height: 1.6; }

#o-nas { background: #f0f4f8; }
#o-nas p { color: #3a5a7a; line-height: 1.9; font-size: 1.05rem; max-width: 680px; }

.contact { background: var(--primary-nav); }
.contact h2 { color: #fff; }
.contact .section-label { color: var(--primary); }
.contact-info { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; margin-top: 36px; }
.contact-info p { color: #7fb3cc; font-size: 0.95rem; line-height: 1.6; }
.contact-info a { color: var(--primary); text-decoration: none; }
.social-links { display: flex; gap: 12px; margin-top: 24px; }
.social-links a { border: 1px solid var(--primary); color: var(--primary); padding: 8px 22px; border-radius: 50px; text-decoration: none; font-size: 0.85rem; transition: all .2s; }
.social-links a:hover { background: var(--primary); color: var(--primary-nav); }

/* O NAS PHOTO */
.o-nas-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.o-nas-photo { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 16px; box-shadow: 0 16px 48px color-mix(in srgb, var(--primary) 12%, transparent); }
@media (max-width: 700px) { .o-nas-inner { grid-template-columns: 1fr; } }

.map { padding: 0; }
.map iframe { width:100%;height:420px;border:0;display:block;filter:grayscale(30%); }

footer { background: #07192e; padding: 28px 0; text-align: center; color: #3a5a7a; font-size: 0.85rem; }
footer strong { color: var(--primary); }

/* ── Modern animations ────────────────────────────── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
.hero .container > * { animation: fadeUp .7s ease both; }
.hero .container > *:nth-child(1) { animation-delay: .05s; }
.hero .container > *:nth-child(2) { animation-delay: .15s; }
.hero .container > *:nth-child(3) { animation-delay: .25s; }
.hero .container > *:nth-child(4) { animation-delay: .35s; }
.hero .container > *:nth-child(5) { animation-delay: .45s; }

/* ── Typography quality ───────────────────────────── */
html { -webkit-text-size-adjust: 100%; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }

/* ── Mobile hamburger nav ─────────────────────────── */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    gap: 5px;
    border-radius: 6px;
    color: #a0b8cc;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    flex-shrink: 0;
}
.nav-toggle:hover { opacity: .75; }
.nav-toggle:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; border-radius: 4px; }
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 640px) {
    .nav-toggle { display: flex; }
    nav .container { flex-wrap: wrap; }
    nav .nav-links {
        order: 9;
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 0;
        padding: 8px 0 12px;
        border-top: 1px solid rgba(128,128,128,.18);
        margin-top: 8px;
    }
    nav .nav-links.is-open { display: flex; }
    nav .nav-links a {
        padding: 11px 0;
        font-size: .95rem;
        letter-spacing: 0;
        text-transform: none;
        border-bottom: 1px solid rgba(128,128,128,.1);
        width: 100%;
        display: block;
    }
    nav .nav-links a:last-child { border-bottom: none; }
}
