@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
}

/* ===== HERO SECTION ===== */
.hero-section {
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-color: #0A0A0A;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/assets/images/antonov-kaip12.jpg');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}

@media (min-width: 1920px) {
    .hero-bg {
        background-size: contain;
        background-position: center top;
    }
}

.mobile-abstract-bg {
    background: linear-gradient(135deg, rgba(33, 130, 42, 0.15) 0%, #0A0A0A 50%, #0A0A0A 100%);
}

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

.section-spacing {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

@media (min-width: 1024px) {
    .section-spacing {
        padding-top: 10rem;
        padding-bottom: 10rem;
    }
}

.hero-text {
    font-size: clamp(3rem, 10vw, 7rem);
    line-height: 0.9;
    letter-spacing: -0.04em;
}

.tech-icons {
    font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
    font-size: 0.8125rem;
}

.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(33, 130, 42, 0.15);
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    pointer-events: none;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-menu-content {
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-menu.active .mobile-menu-content {
    transform: translateX(0);
}

/* ===== BURGER MENU BUTTON ===== */
.burger-menu-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 60;
}

.burger-menu-btn:hover {
    border-color: #21822a;
    background: rgba(33, 130, 42, 0.1);
}

.burger-menu-btn-static {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.burger-menu-btn-static:hover {
    border-color: #21822a;
    background: rgba(33, 130, 42, 0.1);
}

.burger-line {
    width: 20px;
    height: 2px;
    background-color: white;
    transition: all 0.3s ease;
    border-radius: 1px;
}

/* ===== UI COMPONENTS ===== */
.tag-pill {
    display: inline-block;
    padding: 0.625rem 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 9999px;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.tag-pill:hover {
    border-color: #21822a;
    color: #21822a;
    background: rgba(33, 130, 42, 0.05);
}

.social-icon {
    color: #21822a;
    transition: all 0.2s ease;
}

.social-icon:hover {
    background: #21822a;
    color: white;
    border-color: #21822a;
    transform: translateY(-3px);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: #21822a;
    color: white;
    border-radius: 12px;
    font-weight: 500;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-primary:hover {
    background: #1a6b22;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px -10px rgba(33, 130, 42, 0.5);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-weight: 500;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-secondary:hover {
    border-color: #21822a;
    color: #21822a;
    background: rgba(33, 130, 42, 0.05);
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.2s ease;
    text-decoration: none;
}

.link-arrow:hover {
    gap: 1rem;
}

.gradient-line {
    height: 1px;
    background: linear-gradient(90deg, #21822a 0%, transparent 100%);
}

/* ===== PHONE WIDGET ===== */
.phone-widget {
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 50;
}

.phone-widget-btn {
    position: fixed;
    bottom: 16px;
    right: 16px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #21822a;
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(33, 130, 42, 0.5);
    z-index: 51;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.phone-widget-btn:hover {
    box-shadow: 0 6px 30px rgba(33, 130, 42, 0.7);
}

.phone-widget-content {
    position: fixed;
    bottom: 80px;
    right: 16px;
    width: 320px;
    background: #0A0A0A;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.phone-widget.active .phone-widget-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.phone-widget.active .phone-widget-btn {
    transform: rotate(135deg);
    box-shadow: 0 0 0 4px rgba(33, 130, 42, 0.3);
}

/* ===== PUBLICATION CARD ===== */
.publication-card {
    aspect-ratio: 1;
}

.feature-icon {
    color: #21822a;
}
