:root {
    --bg-dark: #070709;
    --bg-darker: #030304;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.08);
    --text-main: #ffffff;
    --text-muted: #888899;
    --accent-color: #3b82f6; /* Niebieski tech-akcent */
    --gradient-text: linear-gradient(90deg, #ffffff, #888899);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, .logo, .role, .btn-primary {
    font-family: 'Michroma', sans-serif;
    text-transform: uppercase;
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Sections Setup */
section {
    padding: 120px 20px;
    position: relative;
}

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

.section-dark {
    background-color: var(--bg-dark);
}

.section-darker {
    background-color: var(--bg-darker);
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: -40px auto 60px auto;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: 2px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(7, 7, 9, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--card-border);
    z-index: 1000;
    transition: background 0.3s;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.2rem;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: 1px;
}

nav {
    display: flex;
    gap: 30px;
}

nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--text-main);
}

/* Glowing Background Blobs */
.glow-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 0;
    opacity: 0.4;
    pointer-events: none;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: #1d4ed8;
    top: 20%;
    left: -100px;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: #312e81;
    bottom: 0;
    right: -150px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 5vw;
    margin-bottom: 10px;
    letter-spacing: 6px;
}

.typewriter-line {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    height: 30px;
}

.cursor-blink {
    border-right: 2px solid var(--text-main);
    padding-right: 5px;
    animation: blink 0.8s step-end infinite;
}

@keyframes blink {
    50% { border-color: transparent; }
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background: var(--text-main);
    color: var(--bg-dark);
    padding: 15px 35px;
    text-decoration: none;
    font-size: 0.85rem;
    letter-spacing: 2px;
    border-radius: 30px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

.btn-primary.large {
    font-size: 1rem;
    padding: 20px 50px;
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--text-main);
}

.btn-primary.large:hover {
    background: var(--text-main);
    color: var(--bg-dark);
}

/* Glass Cards */
.glass-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 40px 30px;
    transition: transform 0.4s ease, border-color 0.4s ease, background 0.4s ease;
    position: relative;
    z-index: 1;
}

.glass-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

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

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.glass-card h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

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

/* About Grid */
.about-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
    font-size: 1.2rem;
    color: var(--text-muted);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.member {
    text-align: center;
    padding: 50px 30px;
}

.avatar-container {
    width: 160px;
    height: 160px;
    margin: 0 auto 25px auto;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--card-border);
}

.avatar-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Michroma', sans-serif;
    color: var(--text-muted);
}

.member h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.member .role {
    font-size: 0.75rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

/* Contact Details */
.contact-cta {
    text-align: center;
    margin-top: 40px;
}

.company-details {
    text-align: center;
    margin-top: 60px;
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    line-height: 1.8;
}

/* Footer */
footer {
    text-align: center;
    padding: 30px 20px calc(30px + env(safe-area-inset-bottom)) 20px;
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: var(--text-muted);
    background-color: var(--bg-darker);
    border-top: 1px solid var(--card-border);
}

/* Scroll Animation Classes */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 15px;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
    h2 {
        font-size: 1.8rem;
    }
}