@font-face {
    font-family: 'Outfit';
    src: url('https://fonts.gstatic.com/s/outfit/v11/QGYyz_MVcBeNP4NjuGObqx1XmO1I4TC1C4G-EiAou6Y.woff2') format('woff2');
    font-weight: 400 700;
    font-style: normal;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Outfit';
    src: local('Noto Sans'), local('NotoSans');
    font-weight: 400 700;
    font-style: normal;
    unicode-range: U+0259;
}
:root {
    /* Background & surface */
    --bg: #050505;
    --bg-alt: #050505;
    --bg-section: #050505;
    --bg-section-alt: #050505;
    --card-bg: #0b0508;

    /* Accent colors: tünd qırmızı + alov sarısı */
    --accent: #f97316;             /* alov sarısı / narıncı */
    --accent-soft: rgba(249, 115, 22, 0.12);
    --accent-strong: #7f1d1d;      /* yumşaq tünd qırmızı */

    /* Text & border */
    --text-main: #f9fafb;
    --text-muted: #9ca3af;
    --border-subtle: #262626;

    /* Shadows & radius */
    --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.95);
    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-pill: 999px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

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

body {
  font-family: 'Poppins', sans-serif;
  background: radial-gradient(circle at top, #111111 0, #050505 45%, #000 100%);
  color: var(--text-main);
  line-height: 1.6;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}
/* Layout */

.container {
    width: 100%;
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.section {
    padding: 4.5rem 0;
}

.section-alt {
    padding: 4.5rem 0;
    background: radial-gradient(
        circle at top,
        rgba(248, 113, 22, 0.10) 0,
        #050505 50%,
        #050505 100%
    );
}

.section-inner.two-column {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.5fr);
    gap: 2.5rem;
    align-items: flex-start;
}

.section h2 {
    font-size: 1.9rem;
    margin-bottom: 0.75rem;
    letter-spacing: 0.02em;
}

.section-lead {
    max-width: 640px;
    font-size: 0.98rem;
    color: var(--text-muted);
    margin-bottom: 1.75rem;
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(16px);
    background: linear-gradient(
        to bottom,
        rgba(12, 12, 12, 0.98),
        rgba(5, 5, 5, 0.9),
        transparent
    );
    border-bottom: 1px solid rgba(15, 15, 15, 0.95);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 0;
}

.logo a {
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.12em;
    color: #f9fafb;
}

.nav {
    display: flex;
    gap: 1.2rem;
    font-size: 0.9rem;
}

.nav a {
    color: var(--text-muted);
    text-decoration: none;
    padding: 0.3rem 0.2rem;
    position: relative;
    transition: color 0.18s ease;
}

.nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.2rem;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, #f97316, #fb923c, #facc15);
    border-radius: 999px;
    transition: width 0.18s ease;
}

.nav a:hover {
    color: #e5e7eb;
}

.nav a:hover::after {
    width: 100%;
}

/* Hero */

.hero {
    padding: 4.5rem 0 4rem;
}

.hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.3fr);
    gap: 2.75rem;
    align-items: center;
}

.hero-kicker {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #9ca3af;
    margin-bottom: 0.5rem;
}

.hero h1 {
    font-size: 2.5rem;
    letter-spacing: 0.03em;
    margin: 0 0 0.75rem;
}

.hero-subtitle {
    font-size: 0.98rem;
    color: var(--text-muted);
    max-width: 540px;
    margin-bottom: 1.4rem;
}

.highlight {
    color: #fef2f2;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-bottom: 1.1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
    border-radius: var(--radius-pill);
    border: 1px solid transparent;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.btn.primary {
    background: radial-gradient(circle at top left, #f97316, #ea580c, #7f1d1d);
    color: #f9fafb;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.9);
}

.btn.primary:hover {
    box-shadow: 0 18px 40px rgba(0, 0, 0, 1);
    transform: translateY(-0.5px);
}

.btn.ghost {
    border-color: rgba(82, 82, 82, 0.9);
    color: var(--text-main);
    background: transparent;
}

.btn.ghost:hover {
    border-color: rgba(163, 163, 163, 1);
    background: rgba(10, 10, 10, 0.95);
}

.hero-meta {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    font-size: 0.78rem;
    color: #9ca3af;
}

.hero-card {
    position: relative;
}

.hero-card-inner {
    background: radial-gradient(
        circle at top left,
        rgba(248, 113, 22, 0.16),
        rgba(10, 10, 10, 0.98)
    );
    border-radius: 20px;
    padding: 1.5rem 1.6rem;
    border: 1px solid rgba(248, 113, 22, 0.5);
    box-shadow: var(--shadow-soft);
}

.hero-card h2 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #9ca3af;
    margin: 0 0 0.6rem;
}

.hero-card-title {
    font-size: 0.95rem;
    color: #f9fafb;
    margin-bottom: 0.8rem;
}

.hero-list {
    list-style: none;
    margin: 0 0 0.9rem;
    padding: 0;
    font-size: 0.9rem;
    color: #e5e7eb;
}

.hero-list li {
    position: relative;
    padding-left: 1.1rem;
    margin-bottom: 0.3rem;
}

.hero-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(to right, #f97316, #facc15);
}

/* About */

.about-highlights {
    background: #050505;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(82, 82, 82, 0.8);
    padding: 1.3rem 1.4rem;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.95);
}

.about-highlights h3 {
    font-size: 1rem;
    margin-top: 0;
    margin-bottom: 0.6rem;
}

.about-highlights ul {
    list-style: none;
    padding: 0;
    margin: 0 0 0.5rem;
    font-size: 0.9rem;
    color: #e5e7eb;
}

.about-highlights h4.highlights-heading {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin: 1rem 0 0.4rem;
}

.about-highlights li {
    position: relative;
    padding-left: 1rem;
    margin-bottom: 0.4rem;
}

.about-highlights li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
    color: #f97316;
}

/* Cards */

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.card {
    background: #050505;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(82, 82, 82, 0.85);
    padding: 1.4rem 1.5rem;
    box-shadow: var(--shadow-soft);
}

.card h3 {
    font-size: 1.05rem;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.7rem;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    list-style: none;
    padding: 0;
    margin: 0.3rem 0 0.7rem;
}

.tag-list li {
    font-size: 0.75rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    border: 1px solid rgba(82, 82, 82, 0.9);
    background: #050505;
    color: #e5e7eb;
}

.card-footer a {
    font-size: 0.86rem;
    color: #fbbf24;
    text-decoration: none;
}

.card-footer a:hover {
    color: #fde68a;
}

/* Project blocks */

.project {
    border-radius: 22px;
    background: linear-gradient(
        135deg,
        rgba(127, 29, 29, 0.25),
        #050505
    );
    border: 1px solid rgba(248, 113, 22, 0.45);
    padding: 1.6rem 1.7rem;
    box-shadow: var(--shadow-soft);
    margin-bottom: 1.5rem;
}

.project-alt {
    background: linear-gradient(
        135deg,
        rgba(248, 113, 22, 0.18),
        #050505
    );
}

.project-text h3 {
    margin-top: 0;
    margin-bottom: 0.6rem;
    font-size: 1.1rem;
}

.project-text p {
    font-size: 0.92rem;
    color: var(--text-muted);
}

.project-text ul {
    margin: 0.7rem 0 0.8rem;
    padding-left: 1.1rem;
    font-size: 0.9rem;
}

.project-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.project-links a {
    font-size: 0.83rem;
    color: #fbbf24;
    text-decoration: none;
    border-radius: 999px;
    border: 1px solid rgba(82, 82, 82, 0.9);
    padding: 0.3rem 0.85rem;
    background: #050505;
}

.project-links a:hover {
    border-color: #fde68a;
}

/* Blog minimal cards */

.minimal-card {
    background: #050505;
}

.card-meta {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* Contact */

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.9rem;
}

.contact-list li {
    margin-bottom: 0.35rem;
}

.contact-list span {
    color: #9ca3af;
    margin-right: 0.3rem;
}

.contact-list a {
    color: #fbbf24;
    text-decoration: none;
}

.contact-list a:hover {
    color: #fde68a;
}

.contact-note {
    background: #050505;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(82, 82, 82, 0.9);
    padding: 1.3rem 1.4rem;
    box-shadow: var(--shadow-soft);
}

.contact-note h3 {
    margin-top: 0;
    margin-bottom: 0.6rem;
}

/* Footer */

.site-footer {
    border-top: 1px solid #111111;
    background: #050505;
    padding: 1.2rem 0 1.4rem;
    margin-top: 1rem;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.8rem;
    color: #9ca3af;
    text-align: center;
}

.footer-meta {
    font-size: 0.78rem;
}

/* Publications list */

.pub-list {
    padding-left: 1.2rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.pub-list li {
    margin-bottom: 0.8rem;
}

/* Responsive */

@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .section-inner.two-column {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 720px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .nav {
        flex-wrap: wrap;
        gap: 0.8rem;
        font-size: 0.86rem;
    }

    .hero {
        padding-top: 3.2rem;
    }

    .hero h1 {
        font-size: 2.1rem;
    }
}
