/* --- DESIGN SYSTEM & CSS VARIABLES --- */
:root {
    --brand-red: #a81e14; /* Deeper, more sophisticated crimson */
    --brand-red-hover: #cf291d;
    --brand-red-glow: rgba(168, 30, 20, 0.4);
    --brand-red-light: rgba(168, 30, 20, 0.05);
    --brand-red-border: rgba(168, 30, 20, 0.15);
    
    /* Dark Theme Palette (Ultra Premium Aura) */
    --bg-primary: #030303;       /* Almost pitch black */
    --bg-secondary: #0a0a0a;     /* Very dark charcoal */
    --bg-glass: rgba(10, 10, 10, 0.6);
    --bg-glass-hover: rgba(15, 15, 15, 0.8);
    
    --text-main: #e2e8f0;        /* Soft off-white */
    --text-medium: #cbd5e1;      /* Slate 300 */
    --text-muted: #94a3b8;       /* Slate 400 */
    --text-light: #7c8ba8;       /* Lightened for WCAG AA contrast on near-black */

    --border-color: rgba(255, 255, 255, 0.07);
    --border-color-hover: rgba(255, 255, 255, 0.14);
    
    --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-heading: 'Plus Jakarta Sans', var(--font-sans);
    
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 8px 24px -4px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 40px -8px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 40px rgba(168, 30, 20, 0.15);
    
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 400ms cubic-bezier(0.4, 0, 0.2, 1); /* Slower, more elegant */
    --transition-slow: 800ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- RESET & GLOBALS --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-primary);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    letter-spacing: 0.01em;
}

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

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
    transition: var(--transition-normal);
}

img, svg {
    display: block;
    max-width: 100%;
}

.container {
    width: 100%;
    max-width: 1140px; /* Slightly narrower for a more focused read */
    margin: 0 auto;
    padding: 0 24px;
}

/* --- SCROLL PROGRESS BAR --- */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 1px;
    background: var(--brand-red);
    z-index: 1000;
    width: 0%;
    transition: width 0.1s ease-out;
    box-shadow: 0 0 10px var(--brand-red);
}

/* --- CUSTOM SCROLLBAR --- */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: #2a2a2a;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #444;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.2;
    color: var(--text-main);
}

h1 { letter-spacing: -0.04em; }
h2 { letter-spacing: -0.03em; }

.text-highlight {
    background: linear-gradient(120deg, #ffffff 0%, #e8c9c6 55%, var(--brand-red-hover) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    font-weight: 700;
    filter: drop-shadow(0 0 10px rgba(168, 30, 20, 0.18));
}

.text-red-highlight {
    color: var(--brand-red-hover);
    font-weight: 400;
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 32px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 100px; /* Pill shape for elegance */
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.05em;
}

/* Premium Primary Button (Solid crimson, real weight) */
.btn-primary {
    background: linear-gradient(135deg, var(--brand-red) 0%, #6e130d 100%);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 8px 24px -8px rgba(168, 30, 20, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.10);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--brand-red-hover) 0%, var(--brand-red) 100%);
    box-shadow: 0 12px 28px -6px rgba(168, 30, 20, 0.6);
    transform: translateY(-2px);
}

/* Premium Secondary Button */
.btn-secondary {
    background: transparent;
    color: var(--text-medium);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.28);
    color: #fff;
    transform: translateY(-2px);
}

.btn-sm {
    padding: 10px 24px;
    font-size: 13px;
}

.btn-lg {
    padding: 18px 40px;
    font-size: 15px;
}

.btn-block {
    display: flex;
    width: 100%;
}

.flex-center {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* --- BADGES --- */
.badge-accent {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
    padding: 6px 16px;
    font-size: 11px;
    font-weight: 500;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.2em; /* Very wide tracking for high-end feel */
    margin-bottom: 20px;
}
.badge-accent::before {
    content: '';
    display: block;
    width: 4px;
    height: 4px;
    background: var(--brand-red);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--brand-red);
}

.badge-hero {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 8px 18px;
    font-size: 11px;
    font-weight: 500;
    border-radius: 100px;
    margin-bottom: 32px;
    color: var(--text-medium);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    backdrop-filter: blur(10px);
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background-color: var(--brand-red);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(168, 30, 20, 0.4);
    animation: pulse 3s infinite; /* Slower pulse */
}

/* --- GLASS CARD --- */
.glass-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    border-top-color: rgba(168, 30, 20, 0.18);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 20px 50px -20px rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(24px); /* Stronger blur */
    -webkit-backdrop-filter: blur(24px);
    border-radius: var(--radius-lg);
    transition: var(--transition-slow);
}

.glass-card:hover {
    border-color: var(--border-color-hover);
    background: var(--bg-glass-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

/* --- HEADER / NAVIGATION --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    display: flex;
    align-items: center;
    z-index: 99;
    transition: var(--transition-normal);
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    height: 70px;
    background: rgba(3, 3, 3, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 18px;
    font-weight: 400;
    display: flex;
    align-items: center;
    letter-spacing: 0.05em;
}

.header-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255,255,255,0.1);
    margin-right: 12px;
    transition: var(--transition-slow);
    filter: grayscale(100%);
}

.logo:hover .header-avatar {
    filter: grayscale(0%);
    border-color: var(--brand-red-border);
}

.logo-white { color: var(--text-main); }
.logo-red { color: var(--brand-red); font-weight: 300;}
.logo-dot { color: var(--text-muted); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    font-size: 13px;
    font-weight: 400;
    color: var(--text-muted);
    position: relative;
    padding: 8px 0;
    letter-spacing: 0.05em;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-main);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background: var(--text-main);
    transition: var(--transition-normal);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.mobile-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    font-size: 24px;
}

.mobile-menu-toggle .menu-icon-close {
    display: none;
}

.mobile-menu-toggle.active .menu-icon-open {
    display: none;
}

.mobile-menu-toggle.active .menu-icon-close {
    display: block;
}

/* --- MOBILE NAVIGATION --- */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background: #050505;
    border-left: 1px solid var(--border-color);
    z-index: 100;
    padding: 120px 40px 40px 40px;
    transition: var(--transition-normal);
}

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

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.mobile-nav-link {
    font-size: 20px;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

.mobile-nav-link:hover, .mobile-nav-link.active {
    color: #fff;
}

.mobile-divider {
    border: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
    margin: 20px 0;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    z-index: 98;
    display: none;
}

.mobile-menu-overlay.active {
    display: block;
}

/* --- HERO SECTION (AURA HEAVY) --- */
.hero-section {
    position: relative;
    padding: 220px 0 140px 0;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Slow breathing auras */
.hero-glow-1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80vw;
    height: 80vw;
    background: radial-gradient(circle, rgba(168, 30, 20, 0.08) 0%, rgba(3, 3, 3, 0) 60%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    animation: aura-breathe 10s ease-in-out infinite alternate;
}

.hero-glow-2 {
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.02) 0%, rgba(3, 3, 3, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: center;
}

.hero-content {
    max-width: 650px;
}

.hero-content h1 {
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-subline {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 20px;
    letter-spacing: -0.01em;
}

.hero-desc {
    font-size: 19px;
    color: var(--text-muted);
    margin-bottom: 48px;
    line-height: 1.8;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

/* Abstract AI & Storytelling Art in Hero */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.art-container {
    width: 420px;
    height: 420px;
    position: relative;
}

.art-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid transparent;
    background: conic-gradient(from 0deg, rgba(168, 30, 20, 0.35), rgba(255, 255, 255, 0.02) 45%, rgba(168, 30, 20, 0.35) 100%) border-box;
    -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
    mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    top: 0; left: 0; right: 0; bottom: 0;
    animation: rotate 120s linear infinite;
}

.art-ring-2 {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.05);
    top: 40px; left: 40px; right: 40px; bottom: 40px;
    animation: rotate-reverse 90s linear infinite;
}

.art-core {
    position: absolute;
    top: 100px; left: 100px; right: 100px; bottom: 100px;
    background: #000;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 50%;
    box-shadow: 0 0 60px rgba(0,0,0,0.8), inset 0 0 20px rgba(255,255,255,0.02);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 8s ease-in-out infinite;
    overflow: hidden;
}

/* Cinematic red/black duotone grade over the raw photo, instead of a flat grayscale filter */
.art-core::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(155deg, rgba(168, 30, 20, 0.28) 0%, rgba(3, 3, 3, 0.05) 45%, rgba(3, 3, 3, 0.75) 100%);
    mix-blend-mode: color;
    pointer-events: none;
    z-index: 1;
}
.art-core::before {
    content: '';
    position: absolute;
    inset: 0;
    box-shadow: inset 0 0 60px 20px rgba(0, 0, 0, 0.7);
    z-index: 2;
    pointer-events: none;
}

.art-profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.2) brightness(0.75);
    opacity: 0.92;
    transition: var(--transition-slow);
}
.art-core:hover .art-profile-img {
    filter: grayscale(40%) contrast(1.15) brightness(1);
    opacity: 1;
}

.art-node {
    position: absolute;
    background: rgba(255,255,255,0.5);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255,255,255,0.8);
}

.art-node-1 { top: 15%; left: 25%; animation: pulse-node 4s infinite 0.2s; }
.art-node-2 { top: 85%; left: 20%; animation: pulse-node 4s infinite 1.8s; }
.art-node-3 { top: 30%; right: 10%; animation: pulse-node 4s infinite 2.4s; }

.art-node-red {
    position: absolute;
    background: var(--brand-red);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    box-shadow: 0 0 15px var(--brand-red);
}
.art-node-r1 { top: 35%; right: 25%; animation: pulse-node-red 5s infinite 0.5s; }
.art-node-r2 { bottom: 25%; right: 35%; animation: pulse-node-red 5s infinite 2.5s; }

/* --- SECTION GENERAL --- */
.section {
    padding: 140px 0;
    position: relative;
}

.section-header {
    margin-bottom: 80px;
}

.section-header.text-center {
    text-align: center;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 500;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.section-desc {
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.7;
    font-weight: 300;
}

/* --- STORY (ABOUT) SECTION --- */
.about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 100px;
    align-items: center;
}

.about-graphics {
    position: relative;
}

.about-quote {
    background: transparent;
    border: 1px solid var(--border-color);
    padding: 60px 40px;
    border-radius: var(--radius-lg);
    position: relative;
    z-index: 2;
    backdrop-filter: blur(10px);
}

.quote-icon {
    font-size: 80px;
    color: rgba(255, 255, 255, 0.05);
    line-height: 1;
    position: absolute;
    top: 20px;
    left: 30px;
    font-family: Georgia, serif;
}

.about-quote-eyebrow {
    display: block;
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.about-quote p {
    font-size: 22px;
    line-height: 1.6;
    font-style: italic;
    color: #fff;
    margin-bottom: 32px;
    font-weight: 300;
    position: relative;
    z-index: 1;
}

.about-quote-author {
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.05em;
}

.about-quote-title {
    color: var(--text-light);
    font-size: 14px;
    margin-top: 4px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.about-content h2 {
    font-size: 46px;
    margin-bottom: 32px;
}

.about-text p {
    font-size: 17px;
    color: var(--text-muted);
    margin-bottom: 24px;
    font-weight: 300;
}
.about-text strong {
    color: var(--text-main);
    font-weight: 500;
}

.highlight-box {
    margin-top: 40px;
    padding: 24px 32px;
    background: rgba(255, 255, 255, 0.02);
    border-left: 2px solid var(--brand-red);
    font-size: 16px;
    color: var(--text-medium);
    font-style: italic;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

/* --- EXPERTISE (NƏ EDİRƏM) --- */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.expertise-card {
    padding: 48px 32px;
}

.expertise-icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
    color: #fff;
    transition: var(--transition-normal);
}

.expertise-card:hover .expertise-icon-wrapper {
    background: rgba(168, 30, 20, 0.1);
    color: var(--brand-red-hover);
    border-color: rgba(168, 30, 20, 0.3);
    box-shadow: 0 0 20px rgba(168, 30, 20, 0.2);
}

.expertise-card h3 {
    font-size: 22px;
    margin-bottom: 16px;
}

.expertise-card p {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 32px;
    font-weight: 300;
}

.expertise-features {
    list-style: none;
}

.expertise-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 14px;
    color: var(--text-medium);
}

.expertise-feature-item i {
    width: 18px;
    height: 18px;
    color: var(--brand-red);
    opacity: 0.7;
    margin-top: 2px;
}

/* --- ECOSYSTEM (LAYİHƏLƏR) --- */
.ecosystem-grid {
    display: flex;
    flex-direction: column;
    gap: 100px;
    margin-top: 60px;
}

.project-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.project-row.reverse {
    grid-template-columns: 1fr 1fr;
}

.project-row.reverse .project-info {
    order: 2;
}

.project-row.reverse .project-visual-wrapper {
    order: 1;
}

.project-meta {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-light);
    display: block;
    margin-bottom: 16px;
}

.project-info h3 {
    font-size: 38px;
    margin-bottom: 24px;
}

.project-desc {
    color: var(--text-muted);
    font-size: 17px;
    margin-bottom: 32px;
    font-weight: 300;
}

.project-features {
    list-style: none;
    margin-bottom: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.project-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-medium);
}

.project-feature-item i {
    color: var(--brand-red);
    width: 16px;
    height: 16px;
}

.project-visual-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
}

.project-visual-glass {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.project-logo-box {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: #fff;
    margin-bottom: 0;
}

.project-logo-box::after {
    content: '';
    display: block;
    width: 48px;
    height: 2px;
    background: var(--brand-red);
    margin: 16px auto 40px;
    box-shadow: 0 0 12px rgba(168, 30, 20, 0.6);
}

.project-logo-accent {
    color: var(--brand-red);
    font-weight: 300;
}

.project-stat-badge {
    position: absolute;
    bottom: 32px;
    right: 32px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: #fff;
}

/* --- BLOG --- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.blog-card {
    padding: 0;
    overflow: hidden;
}

.blog-image-wrapper {
    width: 100%;
    height: 200px;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border-color);
}

.blog-image-placeholder i {
    width: 48px;
    height: 48px;
    color: rgba(255, 255, 255, 0.1);
}

.blog-card-content {
    padding: 32px;
}

.blog-date {
    display: block;
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 12px;
    letter-spacing: 0.05em;
}

.blog-card-content h3 {
    font-size: 20px;
    margin-bottom: 16px;
    line-height: 1.4;
}

.blog-card-content p {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 24px;
    font-weight: 300;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.blog-read-more i {
    transition: transform var(--transition-fast);
}

.blog-read-more:hover {
    color: var(--text-muted);
}
.blog-read-more:hover i {
    transform: translateX(4px);
}

.blog-read-more-disabled {
    opacity: 0.5;
    cursor: default;
    pointer-events: none;
}

/* --- CONTACT SECTION --- */
.contact-section {
    background: linear-gradient(to bottom, transparent, rgba(10, 10, 10, 0.8));
    border-top: 1px solid var(--border-color);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.contact-info-panel h2 {
    font-size: 42px;
    margin-bottom: 16px;
}

.contact-info-list {
    list-style: none;
    margin: 40px 0;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 24px;
}

.contact-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.contact-info-text h4 {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.contact-info-text a, .contact-info-text p {
    font-size: 16px;
    color: var(--text-main);
    font-weight: 500;
}

.contact-info-text a:hover {
    color: var(--text-muted);
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-link-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
}

.social-link-btn:hover {
    background: #fff;
    color: #000;
}

.contact-form-panel {
    padding: 48px;
}

.contact-form-title {
    font-size: 26px;
    margin-bottom: 12px;
}

.contact-form-desc {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 32px;
    font-weight: 300;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 13px;
    color: var(--text-medium);
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 16px;
    width: 18px;
    height: 18px;
    color: var(--text-light);
}

input[type="text"], input[type="tel"], input[type="email"], select, textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 16px 16px 16px 48px;
    color: var(--text-main);
    font-size: 15px;
    font-family: inherit;
    transition: var(--transition-fast);
    appearance: none;
    -webkit-appearance: none;
}

select {
    background-image: linear-gradient(45deg, transparent 50%, var(--text-muted) 50%), linear-gradient(135deg, var(--text-muted) 50%, transparent 50%);
    background-position: calc(100% - 22px) center, calc(100% - 17px) center;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
}

select option {
    background: #0a0a0a;
    color: var(--text-main);
}

textarea {
    padding-left: 16px;
    min-height: 120px;
    resize: vertical;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: rgba(255,255,255,0.2);
    background-color: rgba(0, 0, 0, 0.6);
}

.form-consent-group {
    margin-bottom: 32px;
}

.consent-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 13px;
    color: var(--text-muted);
    cursor: pointer;
}

.consent-checkbox-label input {
    margin-top: 3px;
    accent-color: #fff;
}

.submit-btn {
    width: 100%;
    padding: 18px;
    font-size: 15px;
}

/* --- FOOTER --- */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 80px 0 0 0;
    background: #020202;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 16px;
    margin-top: 24px;
    max-width: 320px;
    font-weight: 300;
}

.footer-links-group h3 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #fff;
    margin-bottom: 24px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-link-item a {
    color: var(--text-muted);
    font-size: 15px;
}

.footer-link-item a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.03);
    padding: 32px 0;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-light);
    font-size: 14px;
}

.footer-legal-links {
    display: flex;
    gap: 24px;
}

.footer-legal-link:hover {
    color: #fff;
}

/* --- ANIMATIONS --- */
@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(168, 30, 20, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(168, 30, 20, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(168, 30, 20, 0); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes rotate-reverse {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes pulse-node {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.5); opacity: 1; }
}

@keyframes pulse-node-red {
    0%, 100% { transform: scale(1); opacity: 0.8; box-shadow: 0 0 10px rgba(168, 30, 20, 0.5); }
    50% { transform: scale(1.2); opacity: 1; box-shadow: 0 0 20px rgba(168, 30, 20, 1); }
}

@keyframes aura-breathe {
    0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.6; }
    100% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .hero-container, .about-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .hero-content {
        text-align: center;
        margin: 0 auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .expertise-grid, .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .project-row, .project-row.reverse {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .project-row.reverse .project-info {
        order: initial;
    }
    
    .project-row.reverse .project-visual-wrapper {
        order: initial;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .header-actions .btn-primary.btn-sm {
        width: 40px;
        height: 40px;
        padding: 0;
        border-radius: 50%;
    }

    .header-actions .btn-primary.btn-sm span {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-subline {
        font-size: 16px;
    }

    .hero-desc {
        font-size: 17px;
    }
    
    .about-content h2, .section-header h2, .contact-info-panel h2 {
        font-size: 34px;
    }
    
    .expertise-grid, .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom-container {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .art-container {
        width: 320px;
        height: 320px;
    }
}

/* --- LEGAL PAGES LAYOUT --- */
.legal-body {
    padding-top: 140px;
    padding-bottom: 80px;
    position: relative;
    min-height: calc(100vh - 200px);
}

.legal-title {
    margin-bottom: 40px;
    text-align: center;
}

.legal-title h1 {
    font-size: clamp(28px, 5vw, 44px);
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.legal-meta {
    color: var(--text-muted);
    font-size: 14px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.legal-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-md);
}

.legal-card h2 {
    font-size: 20px;
    color: #fff;
    margin-top: 35px;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
    letter-spacing: -0.01em;
}

.legal-card h2:first-of-type {
    margin-top: 0;
}

.legal-card h3 {
    font-size: 16px;
    color: var(--text-medium);
    margin-top: 20px;
    margin-bottom: 10px;
}

.legal-card p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.8;
}

.legal-card ul {
    margin-bottom: 24px;
    padding-left: 24px;
}

.legal-card li {
    color: var(--text-muted);
    margin-bottom: 10px;
    font-size: 15px;
    line-height: 1.6;
}

.legal-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-medium);
    margin-bottom: 30px;
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition-fast);
}

.legal-back-btn:hover {
    color: var(--brand-red);
}

@media (max-width: 768px) {
    .legal-card {
        padding: 24px;
    }
}
