/* === CSS VARIABLES === */
:root {
    --bg-gradient: linear-gradient(135deg, #030308 0%, #0a0a1a 50%, #050510 100%);
    --glass-bg: rgba(15, 15, 35, 0.7);
    --glass-border: rgba(80, 80, 150, 0.15);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    --primary-blue: #5b5fc7;
    --primary-purple: #7c3aed;
    --primary-gradient: linear-gradient(135deg, #5b5fc7 0%, #7c3aed 100%);
    --text-main: #e2e8f0;
    --text-muted: #64748b;
    --header-height: 60px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg-gradient);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(5, 5, 15, 0.5);
}

::-webkit-scrollbar-thumb {
    background: rgba(91, 95, 199, 0.5);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(91, 95, 199, 0.8);
}


/* === HEADER/NAVBAR === */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(3, 3, 8, 0.01);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(91, 95, 199, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 50px;
    z-index: 1000;
}

.logo {
    position: absolute;
    left: 50px;
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 1px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo i {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    gap: 45px;
    align-items: center;
    justify-content: center;
}

.nav-menu a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: width 0.3s;
}

.nav-menu a:hover {
    color: var(--primary-blue);
}

.nav-menu a:hover::after {
    width: 100%;
}

/* === MOBILE BURGER MENU === */
.nav-burger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
    position: absolute;
    right: 20px;
    transition: all 0.3s ease;
}

.nav-burger:hover {
    transform: scale(1.1);
}

.nav-burger span {
    width: 23px;
    height: 2.5px;
    background: var(--text-main);
    border-radius: 2px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-origin: center;
}

.nav-burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(9px, 9px);
    background: var(--primary-blue);
}

.nav-burger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.nav-burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(9px, -9px);
    background: var(--primary-blue);
}



/* === HERO SECTION === */
.hero {
    padding-top: var(--header-height);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-wrapper {
    max-width: 1200px;
    width: 100%;
    padding: 0 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-left h1 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    color: var(--text-main);
    margin-bottom: 25px;
    background: linear-gradient(135deg, var(--text-main) 0%, var(--primary-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-left p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-secondary {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid rgba(91, 95, 199, 0.3);
    padding: 12px 38px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-secondary:hover {
    background: rgba(91, 95, 199, 0.1);
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.hero-right {
    position: relative;
}

.hero-box {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 50px;
    box-shadow: var(--glass-shadow);
    text-align: center;
}

.hero-icon {
    font-size: 5rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    animation: pulse-icon 3s ease-in-out infinite;
}

@keyframes pulse-icon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.hero-box-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
}

/* === PROJECTS SECTION === */
.projects {
    padding: 100px 50px;
    background: rgba(10, 10, 25, 0.4);
}

.section-center {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-label {
    font-size: 0.85rem;
    color: var(--primary-blue);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.section-title {
    font-size: 2.6rem;
    font-weight: 900;
    color: var(--text-main);
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--text-main) 0%, var(--primary-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-desc {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* === PROJECTS GRID === */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
}

/* === PROJECT CARD LINK === */
.project-card-link {
    text-decoration: none;
    display: block;
    cursor: pointer;
    transition: all 0.3s ease;
}

.project-card-link:hover {
    transform: translateY(-5px);
}

/* === PROJECT CARD === */
.project-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 30px;
    background: rgba(23, 23, 40, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(31, 3, 95, 0.15);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    min-height: 300px;
}

.project-card:hover {
    transform: translateY(-8px);
    background: rgba(15, 15, 35, 0.75);
    border-color: rgba(91, 95, 199, 0.3);
    box-shadow: 
        0 15px 40px rgba(107, 36, 222, 0.2),
        0 0 40px rgba(71, 30, 124, 0.15),
        inset 0 0 30px rgba(98, 18, 190, 0.1);
}

.project-card:focus {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

.project-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.15;
    pointer-events: none;
    z-index: 1;
    border-radius: 16px;
}

.project-card.monitoring::before {
    background-image: url('/static/images/png1.png');
}

.project-card.telegram::before {
    background-image: url('/static/images/png2.png');
}

.project-card.wenabier::before {
    background-image: url('/static/images/png3.png');
}

.project-card.morally::before {
    background-image: url('/static/images/morally-icon.png');
}

.project-title {
    font-size: 1.4rem;
    font-weight: 900;
    background: linear-gradient(135deg, #5b5fc7 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
    position: relative;
    z-index: 2;
}

.project-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: auto;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-clamp: 3;
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.project-stack {
    font-size: 0.85rem;
    color: rgba(100, 116, 139, 0.8);
    font-weight: 500;
    margin-top: 75px;
    padding-top: 15px;
    position: relative;
    z-index: 2;
}

/* === ABOUT SECTION === */
.about {
    padding: 100px 50px;
}

.about-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 70px;
}

.about-header h2 {
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--text-main);
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--text-main) 0%, var(--primary-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-header p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.about-member {
    background: rgba(23, 23, 40, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(91, 95, 199, 0.15);
    border-radius: 16px;
    padding: 40px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.about-member:hover {
    transform: translateY(-5px);
    background: rgba(15, 15, 35, 0.75);
    border-color: rgba(91, 95, 199, 0.3);
    box-shadow: 
        0 15px 40px rgba(107, 36, 222, 0.2),
        0 0 40px rgba(71, 30, 124, 0.15);
}

.about-member-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.about-member-header .about-icon {
    font-size: 3rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    flex-shrink: 0;
}

.about-member-header h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-main);
    margin: 0;
}

.about-member-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 25px;
}

.about-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.about-list li {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 12px;
    padding-left: 30px;
    position: relative;
    transition: 0.3s;
}

.about-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 1.1rem;
}

.about-list li:hover {
    color: var(--primary-blue);
    transform: translateX(8px);
}

/* === FOOTER === */
.footer {
    background: rgba(5, 5, 15, 0.9);
    border-top: 1px solid var(--glass-border);
    padding: 60px 50px 30px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 50px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: var(--text-main);
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.footer-col p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 15px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--primary-blue);
    transform: translateX(5px);
}

.footer-bottom {
    border-top: 1px solid rgba(91, 95, 199, 0.1);
    padding-top: 30px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-left h1, .hero-left p, .hero-buttons {
    animation: slideInUp 0.6s ease-out forwards;
}

.hero-left p { animation-delay: 0.1s; }
.hero-buttons { animation-delay: 0.2s; }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .navbar {
        padding: 0 30px;
    }

    .hero-wrapper {
        padding: 0 30px;
        gap: 50px;
    }

    .hero-left h1 {
        font-size: 2.8rem;
    }

    .about-grid {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 0 16px;
        height: 56px;
        position: fixed;
    }

    .logo {
        font-size: 1.25rem;
        gap: 8px;
        position: absolute;
        left: 16px;
    }

    .logo img {
        height: 36px;
    }

    .nav-menu {
        position: fixed;
        left: 0;
        top: var(--header-height);
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: rgba(3, 3, 8, 0.99);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(91, 95, 199, 0.1);
        flex-direction: column;
        gap: 0;
        align-items: stretch;
        justify-content: flex-start;
        padding: 0;
        display: none;
        z-index: 999;
        animation: slideDown 0.3s ease-out forwards;
        overflow-y: auto;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu a {
        padding: 16px 24px;
        border-bottom: 1px solid rgba(91, 95, 199, 0.08);
        font-size: 1.05rem;
        transition: all 0.3s ease;
        color: var(--text-muted);
        font-weight: 500;
    }

    .nav-menu a:hover {
        background: rgba(91, 95, 199, 0.1);
        color: var(--primary-blue);
        padding-left: 30px;
    }

    .nav-menu a::after {
        display: none;
    }

    .nav-burger {
        display: flex;
        position: absolute;
        right: 16px;
    }

    .hero-wrapper {
        grid-template-columns: 1fr;
        padding: 0 20px;
        gap: 40px;
        min-height: 600px;
    }

    .hero-left {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .hero-left h1 {
        font-size: 2.2rem;
        margin-bottom: 20px;
        line-height: 1.3;
    }

    .hero-left p {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
        font-size: 0.95rem;
    }

    .hero-right {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .hero-box {
        width: 100%;
        max-width: 400px;
        padding: 40px 30px;
        border-radius: 14px;
    }

    .hero-icon {
        font-size: 4rem;
        margin-bottom: 15px;
    }

    .hero-box-text {
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .section-desc {
        font-size: 0.95rem;
        margin-bottom: 40px;
    }

    .projects {
        padding: 60px 20px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .project-card {
        height: auto;
        min-height: 280px;
        padding: 24px;
        transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    .project-card:active {
        transform: translateY(-4px);
        background: rgba(15, 15, 35, 0.75);
        border-color: rgba(91, 95, 199, 0.3);
    }

    .project-title {
        font-size: 1.25rem;
        margin-bottom: 10px;
    }

    .project-desc {
        font-size: 0.9rem;
        margin-bottom: 12px;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }

    .project-stack {
        font-size: 0.8rem;
        margin-top: auto;
        padding-top: 12px;
    }

    .about {
        padding: 60px 20px;
    }

    .about-header {
        margin-bottom: 50px;
    }

    .about-header h2 {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .about-header p {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-member {
        padding: 30px;
        border-radius: 14px;
    }

    .about-member:hover {
        transform: translateY(-3px);
    }

    .about-member-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .about-member-header .about-icon {
        font-size: 2.5rem;
    }

    .about-member-header h3 {
        font-size: 1.1rem;
        text-align: center;
    }

    .about-member-desc {
        font-size: 0.95rem;
        text-align: center;
    }

    .about-list li {
        font-size: 0.9rem;
        text-align: left;
    }

    .monitoring-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .monitoring-header h1 {
        font-size: 2.5rem;
    }

    .tech-stack {
        grid-template-columns: 1fr;
    }

    .stat-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .project-header h1 {
        font-size: 2.5rem;
    }

    .project-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 60px;
    }

    .project-image {
        max-width: 300px;
    }

    .project-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .footer {
        padding: 50px 20px 25px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-bottom: 30px;
    }

    .footer-col h4 {
        font-size: 0.95rem;
        margin-bottom: 15px;
    }

    .footer-col p {
        font-size: 0.85rem;
    }

    .footer-links a {
        font-size: 0.85rem;
    }

    .footer-bottom {
        padding-top: 20px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0 15px;
        height: 55px;
        position: fixed;
    }

    .logo {
        font-size: 1.1rem;
        gap: 6px;
        position: absolute;
        left: 15px;
    }

    .logo i {
        font-size: 1.4rem;
    }

    .hero {
        padding-top: 55px;
    }

    .hero-wrapper {
        padding: 0 12px;
        gap: 25px;
        min-height: 550px;
    }

    .hero-left h1 {
        font-size: 1.6rem;
        margin-bottom: 12px;
        line-height: 1.25;
    }

    .hero-left p {
        font-size: 0.9rem;
        margin-bottom: 15px;
        line-height: 1.5;
    }

    .hero-buttons {
        gap: 10px;
    }

    .btn-primary, .btn-secondary {
        padding: 12px 20px;
        font-size: 0.85rem;
        gap: 6px;
    }

    .hero-box {
        padding: 25px 20px;
        border-radius: 12px;
    }

    .hero-icon {
        font-size: 3rem;
        margin-bottom: 12px;
    }

    .hero-box-text {
        font-size: 0.85rem;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .hero-box {
        padding: 30px;
    }

    .hero-icon {
        font-size: 3rem;
    }

    .about-card {
        padding: 30px;
    }

    .about-icon {
        font-size: 2.5rem;
    }

    .cta {
        padding: 40px 15px;
        margin: 0 15px;
    }

    .cta h2 {
        font-size: 1.4rem;
    }

    .cta p {
        font-size: 0.9rem;
    }

    .projects, .about {
        padding: 40px 12px;
    }

    .section-header {
        margin-bottom: 30px;
    }

    .section-title {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }

    .section-desc {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .project-card {
        height: auto;
        min-height: 260px;
        padding: 20px;
        border-radius: 12px;
    }

    .project-title {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    .project-desc {
        font-size: 0.85rem;
        margin-bottom: 10px;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        line-height: 1.4;
    }

    .project-stack {
        font-size: 0.75rem;
        margin-top: auto;
        padding-top: 10px;
    }

    .about {
        padding: 40px 12px;
    }

    .about-header {
        margin-bottom: 35px;
    }

    .about-header h2 {
        font-size: 1.5rem;
        margin-bottom: 12px;
        background: linear-gradient(135deg, var(--text-main) 0%, var(--primary-blue) 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .about-header p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .about-member {
        padding: 20px;
        border-radius: 12px;
    }

    .about-member-header {
        gap: 12px;
    }

    .about-member-header .about-icon {
        font-size: 2rem;
    }

    .about-member-header h3 {
        font-size: 1rem;
    }

    .about-member-desc {
        font-size: 0.85rem;
    }

    .about-list {
        margin-top: 12px;
    }

    .about-list li {
        font-size: 0.85rem;
        margin-bottom: 8px;
    }

    .project-title {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    .project-desc {
        font-size: 0.85rem;
        margin-bottom: 15px;
    }

    .project-header h1 {
        font-size: 2rem;
    }

    .project-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 50px;
    }

    .project-image {
        max-width: 280px;
    }

    .project-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .project-stats .stat-card {
        padding: 20px;
    }

    .project-stats .stat-icon {
        font-size: 2.5rem;
    }

    .footer {
        padding: 30px 12px 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 20px;
    }

    .footer-col h4 {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }

    .footer-col p {
        font-size: 0.8rem;
        line-height: 1.5;
        margin-bottom: 12px;
    }

    .footer-links {
        gap: 10px;
    }

    .footer-links a {
        font-size: 0.8rem;
        gap: 6px;
    }

    .footer-bottom {
        padding-top: 15px;
        font-size: 0.75rem;
    }

    /* === MOBILE NAVIGATION === */
    .nav-burger {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        background: none;
        position: absolute;
        right: 15px;
        border: none;
        padding: 8px;
        margin-left: auto;
    }

    .nav-burger span {
        width: 25px;
        height: 3px;
        background: var(--text-main);
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    /* === MOBILE FOOTER === */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-col {
        text-align: center;
    }

    .footer-links {
        align-items: center;
    }

    /* === TOUCH-FRIENDLY BUTTONS === */
    .btn-secondary {
        min-height: 44px;
    }

    /* === TEXT ADJUSTMENTS === */
    .hero-box-text {
        font-size: 0.85rem;
    }

    .project-stack {
        font-size: 0.75rem;
        margin-top: 50px;
    }

    .about-list li {
        padding-left: 25px;
        font-size: 0.9rem;
    }

    .monitoring-stats {
        flex-direction: column;
    }

    .monitoring-stats .stat-card {
        min-width: auto;
        width: 100%;
    }

    .tech-image {
        max-width: 100%;
    }
}

/* === EXTRA SMALL SCREENS (320px) === */
@media (max-width: 360px) {
    :root {
        --header-height: 50px;
    }

    .hero {
        padding-top: 50px;
    }

    .logo {
        font-size: 0.9rem;
    }

    .logo img {
        height: 32px;
    }

    .hero-left h1 {
        font-size: 1.3rem;
    }

    .hero-box {
        padding: 20px;
    }

    .hero-icon {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 1.2rem;
    }

    .project-title {
        font-size: 1rem;
    }

    .about-member-header h3 {
        font-size: 1.1rem;
    }
}
