/* ==========================================================================
   1. VARIABLES & SETTINGS
   ========================================================================== */
:root {
    /* Colors */
    --bg-color: #050505; 
    --surface-color: #111111;
    --text-color: #e0e0e0; 
    --accent-color: #00ff9d; 
    --secondary-accent: #5e6ad2; 
    --border-color: #141414;
    
    /* Typography */
    --font-main: 'Inter', sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    /* Layout */
    --spacing-unit: 1rem;
    --container-width: 1200px;
}

/* ==========================================================================
   2. RESET & BASE STYLES
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

a { 
    text-decoration: none; 
    color: inherit; 
    transition: 0.3s; 
}

ul { 
    list-style: none; 
}

/* ==========================================================================
   3. TYPOGRAPHY
   ========================================================================== */
h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 700;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 2rem);
    margin-bottom: 3rem;
    border-left: 4px solid var(--secondary-accent);
    padding-left: 1rem;
}

/* Monospace Elements */
.price-label, 
.price-value, 
.service-tags li,
.code-block,
.project-tech,
.tag,
.footer-bottom-code,
.nav-links a,
.btn {
    font-family: var(--font-mono);
}

/* ==========================================================================
   4. LAYOUT & UTILITIES
   ========================================================================== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    position: relative; 
    z-index: 1;
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
section {
    padding: 50px 0;
}

/* ==========================================================================
   5. BACKGROUND BLOBS & ANIMATIONS
   ========================================================================== */
.glow-blob {
    position: absolute; 
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.5;
}

.blob-1 {
    top: -150px; left: -150px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(0, 255, 157, 0.2) 0%, rgba(0, 255, 157, 0) 70%);
    animation: floatGlow 15s infinite ease-in-out;
}

.blob-2 {
    top: 350px; right: -100px; 
    width: 500px; height: 400px;
    background: radial-gradient(circle, rgba(94, 106, 210, 0.45) 0%, rgba(94, 106, 210, 0) 70%);
}

.blob-3 {
    bottom: 5%; right: -100px;
    width: 450px; height: 450px;
    background: radial-gradient(circle, rgba(0, 255, 157, 0.3) 0%, rgba(0, 255, 157, 0) 70%);
    animation: floatGlow 18s infinite ease-in-out;
}

.blob-5 {
    position: absolute; bottom: 10%; left: -350px; 
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(0, 255, 157, 0.25) 0%, rgba(0, 255, 157, 0) 70%);
    filter: blur(100px);
    animation: floatGlow 18s infinite ease-in-out;
    z-index: 0; pointer-events: none;
}

@keyframes floatGlow {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40px, 60px) scale(1.1); }
    100% { transform: translate(0, 0) scale(1); }
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.4; }
    100% { opacity: 1; }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--accent-color); }
}

/* ==========================================================================
   6. COMPONENTS (Buttons, Cards, Inputs)
   ========================================================================== */
/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    background: transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn:hover {
    background: var(--accent-color);
    color: var(--bg-color);
    box-shadow: 0 0 15px rgba(0, 255, 157, 0.4);
}

.btn-send {
    background: #00ff88;
    color: #0a0a0a;
    border: none;
    padding: 15px 40px;
    border-radius: 12px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
    width: 100%;
}

.btn-send:hover {
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.4);
    transform: translateY(-2px);
}

/* Forms */
.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 10px;
}

.form-group input, 
.form-group textarea,
select {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: 0.3s;
    appearance: none;
}

.form-group input:focus, 
.form-group textarea:focus,
select:focus {
    border-color: #00ff88;
    background: rgba(0, 255, 136, 0.05);
}

.required {
    color: #ff4d4d;
    margin-left: 4px;
    font-weight: bold;
}

option {
    background-color: #1a1a1a;
    color: white;
}

/* ==========================================================================
   7. HEADER & NAVIGATION
   ========================================================================== */
header {
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.3) !important;
    backdrop-filter: blur(5px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border-bottom: 1px solid var(--border-color)!important;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
}

.logo span { color: var(--accent-color); }

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-size: 0.9rem;
}

.nav-links a:hover { color: var(--accent-color); }

.menu-toggle {
    display: none !important;
}

/* ==========================================================================
   8. HERO SECTION
   ========================================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    text-align: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 1100px; 
    width: 90%;
    margin: 0 auto;
}
.hero-text {
    width: 100%;
}
.hero-text h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 2rem;
}

.hero-text h1 span {
    color: var(--accent-color);
    position: relative;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #888;
    margin-bottom: 1.5rem; 
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}
/* ==========================================================================
   9. SERVICES SECTION
   ========================================================================== */
.services-section {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: start;
}

.service-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 40px 30px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative; 
    cursor: pointer;
    min-height: 560px;
    transition: transform 0.3s ease, border-color 0.3s ease, min-height 0.4s ease;
}
.short-desc {
    margin-bottom: 10px !important; /* зменшуємо дирку між текстом і плюсиком */
    flex-grow: 0; 
}

.service-card:hover {
    transform: translateY(-10px); 
    border-color: var(--secondary-accent);
    box-shadow: 0 10px 30px rgba(43, 62, 134, 0.437);
}

.service-card .card-link {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 10;
}

.icon-box {
    width: 60px; height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--secondary-accent);
    font-size: 2rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #fff;
}

.service-card p {
    color: #bbb;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 40px; 
    margin-bottom: 20px;
}

.service-tags li {
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    color: #ccc;
    padding: 5px 10px;
    border-radius: 4px;
}
/* Container for the dropdown logic */
.service-details {
    margin-top: 0px;
    width: 100%;
}

/* The clickable Icon Wrapper */
.service-details summary {
    pointer-events: none;
    list-style: none;
    display: flex;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    outline: none;
    margin: 10px 0;
}

.service-details summary::-webkit-details-marker {
    display: none; 
}

/* Custom Plus Icon */
.service-details summary::before {
    content: '+';
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.7rem;
    color: var(--secondary-accent);
    width: 32px;
    height: 32px;
    border: 1px solid var(--secondary-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover state */
.service-details summary:hover::before {
    background: rgba(0, 255, 153, 0.1);
    border-color: var(--secondary-accent);
}

/* Rotation and Minus when open */
.service-details[open] summary::before {
    content: '−';
    transform: rotate(180deg);
    border-color: var(--secondary-accent);
    box-shadow: 0 0 15px rgba(0, 255, 153, 0.15);
}

/* The revealed content */
.details-content {
    text-align: left;
    padding-bottom: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    animation: slideDown 0.4s ease-out;
}

.details-content p {
    font-size: 0.9rem;
    color: #a0a0a0;
    margin: 12px 0;
    line-height: 1.6;
}

.details-content strong {
    color: #fff;
    font-size: 0.7rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 4px;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}
/* Price Tag Styling */
.service-price-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 32px !important; 
    padding: 4px 0;
    background: transparent !important; 
}

.service-card:hover .service-price-tag {
    background: rgba(0, 255, 157, 0.05);
    transition: 0.3s ease;
}

.price-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #555;
    white-space: nowrap;
}

.price-value {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary-accent);
    text-shadow: 0 0 10px rgba(40, 60, 133, 0.452);
}
   /* ==========================================================================
   10. Automation Block
   ========================================================================== */

.automation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); 
    gap: 2rem;
    margin-top: 4rem;
    align-items: stretch; 
}


.main-screen-card {
   
    display: flex;
    flex-direction: column; 
    
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px 30px;
    position: relative;
    transition: all 0.4s ease;
    height: 100%; 
}
.benefit-list li span {
    color: #00ff9d !important; 
    font-weight: bold;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.main-screen-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.main-screen-card .service-icon {
    font-size: 1.4rem;
    margin-bottom: 6px;
    display: inline-block;
}

.service-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.benefit-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.benefit-list li {
    font-size: 0.95rem;
    color: #999;
    margin-bottom: 12px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.result-highlight {
    margin-top: auto; 
    padding-top: 20px;
    border-top: 1px dotted rgba(255, 255, 255, 0.1);
}
.result-highlight strong {
    color: #00ff9d;
    font-size: 0.75rem;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 4px;
}
.automation-cta {
    text-align: center;
    margin-top: 60px;
    padding: 40px;
    background: linear-gradient(180deg, transparent, rgba(0, 255, 157, 0.03));
    border-radius: 30px;
}

.automation-cta p {
    color: #888;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 35px;
    background: var(--accent-color);
    color: #000;
    font-weight: 700;
    font-family: var(--font-display);
    border-radius: 14px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px rgba(0, 255, 157, 0.15);
}

.cta-btn svg {
    transition: transform 0.3s ease;
}

.cta-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 255, 157, 0.3);
    background: #00e68e;
}

.cta-btn:hover svg {
    transform: translateX(5px); 
}

.cta-btn:active {
    transform: scale(0.98);
}
/* ==========================================================================
   12. ABOUT ME SECTION
   ========================================================================== */
.about-section {
    padding: 100px 0;
    background-color: #0a0a0a; 
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.about-subtitle {
    font-family: var(--font-display);
    color: #888;
    margin-bottom: 30px;
    font-size: 1.2rem;
    font-weight: 400;
}

.text-block p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #ccc;
    font-size: 1.05rem;
}

.text-block strong { color: #fff; font-weight: 600; }
.text-block em { color: var(--accent-color); font-style: normal; }

.code-card {
    background: #1e1e1e;
    border-radius: 12px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-family: var(--font-mono);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.card-header {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.dot {
    width: 12px; height: 12px;
    border-radius: 50%;
}

.card-body p {
    margin: 5px 0;
    color: #abb2bf;
    font-size: 0.9rem;
}

.indent { margin-left: 20px !important; }
.purple { color: #c678dd; }
.blue { color: #61afef; }
.green { color: #98c379; }
.orange { color: #d19a66; }

/* ==========================================================================
   10. PROJECTS SECTION
   ========================================================================== */
.projects {
    padding: 100px 0;
}

.projects-list {
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.project-glass-card {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    background: rgba(255, 255, 255, 0.03); 
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 32px;
    padding: 40px;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.project-glass-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(94, 106, 210, 0.4);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.project-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.project-title {
    font-size: 2.2rem;
    font-family: var(--font-display);
    color: #fff;
    line-height: 1.2;
}

.project-desc {
    color: #aaa;
    font-size: 1.05rem;
    line-height: 1.7;
}

.project-tags-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.project-tag-pill {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(94, 106, 210, 0.1);
    color: var(--secondary-accent); 
    padding: 6px 14px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}


.project-outcome-box {
    margin: 1.5rem 0;
    padding-left: 20px;
    border-left: 3px solid var(--secondary-accent);
}

.project-outcome-box strong {
    display: block;
    color: #fff;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

.project-outcome-box p, 
.project-benefits li {
    font-size: 0.95rem;
    color: #bbb;
    line-height: 1.6;
}

.project-benefits {
    list-style: none;
    padding: 0;
}

.project-benefits li {
    margin-bottom: 8px;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.project-benefits li::before {
    content: "✓";
    color: var(--secondary-accent);
    font-weight: bold;
}
.project-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

/* Кнопка посилання */
.project-link {
    width: fit-content;
    padding: 14px 30px;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    background: transparent;
    border-radius: 50px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.85rem;
    font-family: var(--font-mono);
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.project-link:hover {
    background: var(--accent-color);
    color: #000;
    box-shadow: 0 0 25px rgba(0, 255, 157, 0.4);
    transform: translateY(-2px);
}
/* ==========================================================================
   14. SOCIAL PROOF & CONTACT
   ========================================================================== */
.social-proof {
    padding: 80px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

.quote-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.quote-author {
    font-family: var(--font-mono);
    color: var(--accent-color);
}

.accent-text {
    color: var(--accent-color); 
    border-right: 2px solid var(--accent-color);
    padding-right: 4px;
    white-space: nowrap;
    animation: blink-caret 0.75s step-end infinite;
}

.contact-section {
    padding: 150px 20px 100px;
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.1;
    gap: 1.5rem;
}

.info-item span {
    display: block;
    font-family: var(--font-mono);
    color: #00ff88;
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-bottom: 5px;
}
.contact-info {
    margin-top: 50px !important; 
    display: flex;
    flex-direction: column;
    gap: 20px; 
}

.contact-form-container {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 24px;
    backdrop-filter: blur(10px);
}
/* Контейнер, щоб все було рівно */
.checkbox-group {
    margin: 30px 0; 
    display: flex;
    justify-content: center; /* Центруємо галочку під формою */
}

.checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
    gap: 12px;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: #ccc;
}

/* Приховуємо стандартний інпут */
.checkbox-container input {
    display: none;
}

/* САМ БОКС (тепер його буде видно) */
.checkmark {
    width: 23px;
    height: 23px;
    border: 2px solid rgba(255, 255, 255, 0.3); /* Світла рамка */
    border-radius: 4px;
    position: relative;
    transition: 0.3s;
    background: rgba(255, 255, 255, 0.05);
    display: inline-block; /* Гарантуємо відображення */
}

/* Коли натиснуто — бокс стає зеленим */
.checkbox-container input:checked + .checkmark {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

/* Малюємо галочку всередині */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid #000;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-container input:checked + .checkmark:after {
    display: block;
}
.label-text {
    position: relative;
    top: -6px; /* Посуне текст ВГОРУ на 1 піксель */
    /* top: 1px; — якщо треба посунути ВНИЗ */
}
.label-text a {
    color: var(--accent-color); /* Використовуємо твою змінну з неновим зеленим */
    text-decoration: none; /* Прибираємо лінію знизу для мінімалізму */
    font-weight: 600; /* Робимо текст трохи жирнішим, щоб він виділявся */
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 255, 157, 0.2); /* Тонка ледь помітна лінія */
}
/* ==========================================================================
   15. FOOTER
   ========================================================================== */
.site-footer {
    background-color: #050505; 
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #fff;
}

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

.system-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 12px;
    color: #888;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.status-dot {
    width: 8px; height: 8px;
    background-color: var(--accent-color); 
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-color);
    animation: pulse 2s infinite;
}

.footer-nav h4, 
.footer-social h4, 
.footer-legal h4 {
    font-family: var(--font-display);
    font-size: 16px;
    margin-bottom: 25px;
    color: #fff;
    font-weight: 600;
}

.footer-content ul li a {
    text-decoration: none;
    color: #888;
    font-size: 14px;
    transition: 0.3s ease;
}

.footer-content ul li a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-bottom-code {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    text-align: center;
    font-size: 13px;
    color: #333; 
}

/* ==========================================================================
   16. MOBILE RESPONSIVE & MEDIA QUERIES
   ========================================================================== */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1.5fr 1fr 1fr;
    }
    .footer-legal {
        grid-column: span 3;
    }
}

@media (max-width: 768px) {
    /* Global Mobile Fixes */
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        position: relative;
    }

    .container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 25px !important;
        padding-right: 25px !important;
    }

    /* Header & Navigation */
    header {
        background: transparent !important;
        backdrop-filter: none !important;
        border-bottom: none !important;
        padding: 10px 0 !important;
    }

    header .btn { display: none !important; }

    /* Mobile Menu Overlay */
    .nav-links.active {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        background: rgba(5, 5, 5, 0.7) !important; 
        backdrop-filter: blur(20px) saturate(160%) !important;
        -webkit-backdrop-filter: blur(20px) saturate(160%) !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 35px !important;
        z-index: 1000 !important;
    }

    .nav-links:not(.active) { display: none !important; }

    .nav-links a {
        font-size: 2rem !important;
        font-family: var(--font-display) !important;
        color: #fff !important;
    }

    .menu-toggle {
        display: block !important;
        position: relative;
        z-index: 1001 !important;
        background: transparent;
        border: 1px solid var(--accent-color);
        color: var(--accent-color);
        padding: 8px 16px;
        font-family: var(--font-mono);
        font-size: 13px;
        cursor: pointer;
    }

    /* Hero Section */
    .hero {
        padding-top: 120px;
        text-align: center;
    }

    .hero-content {
        display: flex !important;
        flex-direction: column !important;
        gap: 2rem !important;
        width: 100% !important;
        align-items: center !important; 
    }

    .hero-text, .hero-image {
        width: 100% !important; 
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    h1, .hero-title {
        font-size: 1.8rem !important;
        line-height: 1.2;
    }
    
    p {
        font-size: 1rem !important;
        max-width: 100%; 
    }

    /* Sections Adjustment */
    .about-grid, 
    .contact-section {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }

    .service-price-tag {
        margin-top: 24px !important;
        gap: 6px;
    }

    /* Performance: Remove heavy elements on mobile */
    .glow-blob, 
    .blob-1, .blob-2, .blob-3, .blob-4, .blob-5,
    .project-image::before {
        display: none !important;
        animation: none !important;
        visibility: hidden !important;
    }

    /* Projects Layout Fix */
    .project-card {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 0 !important;
    }

    .project-info {
        order: 1 !important;
        width: 100% !important;
        display: block !important;
    }

    .project-image {
        order: 2 !important;
        width: 100% !important;
        margin-bottom: 20px !important;
    }

    .project-card:nth-child(even) .project-info { order: 1 !important; }
    .project-card:nth-child(even) .project-image { order: 2 !important; }

    .project-link {
        display: inline-flex !important;
        order: 3 !important;
        width: 100% !important;
        justify-content: center !important;
        margin: 10px 0 40px 0 !important;
        padding: 15px !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    .footer-brand {
        grid-column: span 2;
        margin-bottom: 20px;
    }
}
@media (min-width: 992px) {
    .project-glass-card:nth-child(even) .project-image { order: 2; }
    .project-glass-card:nth-child(even) .project-info { order: 1; }
}