:root {
    /* Main Slove Colors based on slove.pl (#d6d7ea) */
    --slove-bg: #d6d7ea;
    --slove-bg-darker: #c5c6d9;
    
    /* Dark Theme Accents */
    --color-dark: #1e1e2d;
    --color-dark-surface: #2b2b3d;
    --color-primary: #5142f5;
    --color-primary-light: #7c72f7;
    --color-text: #e1e1e8;
    --color-text-muted: #a1a1b5;
    
    /* Gradients and shadows */
    --gradient-primary: linear-gradient(135deg, var(--color-primary), #8a3ffc);
    --shadow-glass: 0 8px 32px 0 rgba(30, 30, 45, 0.37);
    --shadow-soft: 0 10px 40px -10px rgba(0,0,0,0.3);
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    line-height: 1.2;
    color: #ffffff;
}

p {
    font-size: 1.1rem;
    font-weight: 300;
    margin-bottom: 1rem;
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(30, 30, 45, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo-text {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 2px;
    background: linear-gradient(90deg, #ffffff, var(--slove-bg));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a {
    font-weight: 600;
    font-size: 1rem;
    color: var(--color-text);
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a:not(.btn-nav)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--slove-bg);
    transition: var(--transition);
}

.nav-links a:not(.btn-nav):hover::after {
    width: 100%;
}

.btn-nav {
    background: var(--slove-bg);
    color: var(--color-dark) !important;
    padding: 0.6rem 1.5rem !important;
    border-radius: 50px;
    font-weight: 800 !important;
}

.btn-nav:hover {
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(214, 215, 234, 0.4);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 30px;
    height: 2px;
    background: var(--slove-bg);
    transition: var(--transition);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--color-dark);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: 0.5s ease-in-out;
}

.mobile-menu.active {
    right: 0;
}

.mobile-link {
    font-size: 1.5rem;
    font-weight: 600;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 5rem;
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: var(--slove-bg);
    top: -100px;
    right: -100px;
    animation: float 10s infinite alternate;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: var(--color-primary);
    bottom: 100px;
    left: -100px;
    animation: float 12s infinite alternate-reverse;
}

@keyframes float {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(50px) scale(1.1); }
}

.hero-content {
    display: flex;
    position: relative;
    z-index: 2;
}

.hero-text {
    max-width: 800px;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.hero-title span {
    color: var(--slove-bg);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--slove-bg);
    color: var(--color-dark);
}

.btn-primary:hover {
    background: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(214, 215, 234, 0.3);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--slove-bg);
    color: var(--slove-bg);
}

.btn-secondary:hover {
    background: rgba(214, 215, 234, 0.1);
    transform: translateY(-3px);
}

/* Sections */
.section {
    padding: 8rem 0;
}

.section-tag {
    display: inline-block;
    color: var(--color-primary-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.line {
    width: 60px;
    height: 4px;
    background: var(--slove-bg);
    margin-bottom: 3rem;
    border-radius: 4px;
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-glass-card {
    background: rgba(43, 43, 61, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-glass);
    position: relative;
    overflow: hidden;
}

.about-glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--slove-bg);
}

.about-glass-card h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--slove-bg);
}

.lead {
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 2.5rem;
    color: #fff;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
}

.feature-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    background: rgba(214, 215, 234, 0.1);
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--slove-bg);
    transition: var(--transition);
}

.feature-item:hover .feature-icon {
    background: var(--slove-bg);
    color: var(--color-dark);
    transform: translateY(-5px);
}

.feature-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.feature-item p {
    font-size: 1rem;
    color: var(--color-text-muted);
}

/* Divider */
.divider {
    position: absolute;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 70px;
}

.divider .shape-fill {
    fill: var(--color-dark-surface);
}

/* Contact */
.contact {
    background: var(--color-dark-surface);
    position: relative;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    background: rgba(30, 30, 45, 0.6);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 4rem;
    box-shadow: var(--shadow-soft);
}

.contact-desc {
    margin-bottom: 3rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.icon-box {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--slove-bg);
}

.contact-item h5 {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    font-weight: 400;
    margin-bottom: 0.2rem;
}

.contact-item p, .contact-item a {
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.contact-item a:hover {
    color: var(--slove-bg);
}

/* Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-group input, 
.form-group textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.2rem;
    border-radius: 12px;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: transparent;
}

.form-group label {
    position: absolute;
    top: 1.2rem;
    left: 1.2rem;
    color: var(--color-text-muted);
    transition: var(--transition);
    pointer-events: none;
}

.form-group input:focus, 
.form-group textarea:focus,
.form-group input:not(:placeholder-shown),
.form-group textarea:not(:placeholder-shown) {
    border-color: var(--slove-bg);
    background: rgba(0, 0, 0, 0.4);
}

.form-group input:focus + label, 
.form-group textarea:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -0.6rem;
    left: 0.8rem;
    font-size: 0.8rem;
    padding: 0 0.5rem;
    background: var(--color-dark-surface);
    color: var(--slove-bg);
    border-radius: 4px;
}

.submit-btn {
    width: 100%;
    justify-content: center;
    margin-top: 1rem;
}

/* Footer */
.footer {
    background: var(--color-dark);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    margin-top: 1.5rem;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    max-width: 300px;
}

.footer h4 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-links, .footer-legal {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a, .footer-legal a {
    color: var(--color-text-muted);
}

.footer-links a:hover, .footer-legal a:hover {
    color: var(--slove-bg);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

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

/* Responsive */
@media (max-width: 992px) {
    .about-grid, .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .contact-wrapper {
        padding: 3rem 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section {
        padding: 5rem 0;
    }
}
