/* ============================================
   LIORA AI – MAIN STYLESHEET
   Design: Refined Industrial / Tech-Premium
   Fonts: Syne (Display) + DM Sans (Body)
   ============================================ */

/* ---------- CSS VARIABLES ---------- */
:root {
    --bg:           #F8F8F6;
    --bg-subtle:    #F0F0EC;
    --bg-dark:      #0D0F12;
    --bg-dark-2:    #141720;
    --bg-card:      #FFFFFF;

    --text-primary: #0D0F12;
    --text-secondary:#3D3F47;
    --text-muted:   #7A7D8A;
    --text-light:   rgba(255,255,255,0.85);

    --accent-cyan:  #00C8C8;
    --accent-cyan-dark: #009999;
    --accent-gold:  #C8A84B;
    --accent-red:   #E05555;

    --border:       rgba(0,0,0,0.08);
    --border-dark:  rgba(255,255,255,0.1);

    --radius-sm:    6px;
    --radius-md:    12px;
    --radius-lg:    20px;

    --shadow-sm:    0 2px 8px rgba(0,0,0,0.06);
    --shadow-md:    0 8px 32px rgba(0,0,0,0.10);
    --shadow-lg:    0 24px 64px rgba(0,0,0,0.14);

    --font-display: 'Syne', sans-serif;
    --font-body:    'DM Sans', sans-serif;

    --nav-height:   72px;
    --section-pad:  100px;
    --container:    1200px;
}

/* ---------- RESET & BASE ---------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text-primary);
    font-size: 1rem;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
h4 { font-size: 1.1rem; }

/* ---------- NAVBAR ---------- */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--nav-height);
    z-index: 1000;
    background: rgba(248, 248, 246, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow 0.3s;
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.logo-text { color: var(--text-primary); }
.logo-dot  { color: var(--accent-cyan); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    transition: color 0.2s, background 0.2s;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-primary);
    background: rgba(0,0,0,0.05);
}

.nav-link.nav-cta {
    background: var(--text-primary);
    color: #fff;
    padding: 0.5rem 1.25rem;
}

.nav-link.nav-cta:hover {
    background: var(--accent-cyan);
    color: var(--bg-dark);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s;
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: all 0.22s ease;
    letter-spacing: 0.01em;
}

.btn-primary {
    background: var(--accent-cyan);
    color: var(--bg-dark);
    font-weight: 600;
}
.btn-primary:hover {
    background: var(--accent-cyan-dark);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(0, 200, 200, 0.3);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}
.btn-ghost:hover {
    border-color: var(--text-secondary);
    color: var(--text-primary);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid var(--border);
}
.btn-outline:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
}

.btn-large { padding: 1rem 2.5rem; font-size: 1.05rem; }

/* ---------- FLASH MESSAGES ---------- */
.flash-container {
    position: fixed;
    top: calc(var(--nav-height) + 1rem);
    right: 1rem;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.flash {
    padding: 0.875rem 1.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: var(--shadow-md);
}
.flash-success { background: #d1fae5; color: #065f46; }
.flash-error   { background: #fee2e2; color: #991b1b; }
.flash-info    { background: #dbeafe; color: #1e40af; }

/* ---------- HERO BACKGROUNDS ---------- */
.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at 50% 0%, black 40%, transparent 80%);
    opacity: 0.5;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.orb-1 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(0,200,200,0.12), transparent 70%);
    top: -100px; right: -100px;
}

.orb-2 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(200,168,75,0.08), transparent 70%);
    bottom: -50px; left: 10%;
}

/* ---------- HERO SECTION ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--nav-height);
    overflow: hidden;
}

.hero-container {
    position: relative;
    max-width: var(--container);
    margin: 0 auto;
    padding: 6rem 2rem;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0,200,200,0.1);
    border: 1px solid rgba(0,200,200,0.25);
    color: var(--accent-cyan-dark);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    margin-bottom: 2rem;
}

.badge-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--accent-cyan);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.5; transform: scale(0.8); }
}

.hero-headline {
    max-width: 820px;
    margin: 0 auto 1.5rem;
}

.headline-accent {
    color: var(--accent-cyan);
    position: relative;
}

.hero-sub {
    max-width: 600px;
    margin: 0 auto 2.5rem;
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    max-width: 600px;
    margin: 0 auto;
    box-shadow: var(--shadow-sm);
}

.stat { text-align: center; }
.stat-num {
    display: block;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}
.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* ---------- SECTION COMMONS ---------- */
.section-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 2rem;
}

.section-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-cyan-dark);
    margin-bottom: 1rem;
}

.section-label--light { color: rgba(0,200,200,0.7); }

.section-title {
    margin-bottom: 1rem;
}

.section-sub {
    max-width: 560px;
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 3.5rem;
}

/* ---------- MODULES SECTION ---------- */
.modules-section {
    padding: var(--section-pad) 0;
    background: var(--bg-subtle);
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.module-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: transform 0.22s, box-shadow 0.22s;
    position: relative;
    overflow: hidden;
}

.module-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(0,200,200,0.3), transparent);
    opacity: 0;
    transition: opacity 0.22s;
}

.module-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.module-card:hover::before { opacity: 1; }

.module-card--dark {
    background: var(--bg-dark);
    border-color: var(--border-dark);
    color: var(--text-light);
}

.module-card--dark h3 { color: #fff; }
.module-card--dark p  { color: rgba(255,255,255,0.6); }

.module-card--accent {
    background: linear-gradient(135deg, var(--bg-dark), #1a1f2e);
    border-color: rgba(0,200,200,0.3);
    color: var(--text-light);
}

.module-card--accent h3 { color: var(--accent-cyan); }
.module-card--accent p  { color: rgba(255,255,255,0.6); }

.module-icon {
    width: 52px; height: 52px;
    background: rgba(0,200,200,0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
    margin-bottom: 1.25rem;
}

.module-card--dark .module-icon,
.module-card--accent .module-icon {
    background: rgba(0,200,200,0.15);
}

.module-tag {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    display: block;
    margin-bottom: 0.5rem;
}

.module-card--dark .module-tag,
.module-card--accent .module-tag {
    color: rgba(255,255,255,0.4);
}

.module-card h3 { margin-bottom: 0.75rem; }
.module-card p  { font-size: 0.9rem; color: var(--text-secondary); }

.module-live {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-cyan);
    margin-top: 1rem;
}

.live-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--accent-cyan);
    animation: pulse 2s infinite;
}

.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-cyan);
    background: rgba(0,200,200,0.1);
    border: 1px solid rgba(0,200,200,0.25);
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    margin-left: auto;
}

.modules-cta { text-align: center; }

/* ---------- HOW IT WORKS ---------- */
.how-section {
    padding: var(--section-pad) 0;
}

.steps-row {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.step {
    flex: 1;
    min-width: 180px;
    text-align: center;
}

.step-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    color: rgba(0,200,200,0.15);
    line-height: 1;
    margin-bottom: 0.75rem;
}

.step h4 { margin-bottom: 0.5rem; }
.step p   { font-size: 0.875rem; color: var(--text-secondary); }

.step-arrow {
    font-size: 1.5rem;
    color: var(--accent-cyan);
    padding-top: 1rem;
    opacity: 0.5;
}

/* ---------- CTA SECTION ---------- */
.cta-section {
    padding: var(--section-pad) 2rem;
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -200px; left: 50%;
    transform: translateX(-50%);
    width: 800px; height: 400px;
    background: radial-gradient(ellipse, rgba(0,200,200,0.1), transparent 70%);
}

.cta-inner {
    position: relative;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-inner h2 {
    color: #fff;
    margin-bottom: 1rem;
}

.cta-inner p {
    color: rgba(255,255,255,0.6);
    margin-bottom: 2rem;
}

/* ---------- PAGE HERO ---------- */
.page-hero {
    position: relative;
    padding: calc(var(--nav-height) + 5rem) 2rem 5rem;
    text-align: center;
    overflow: hidden;
}

.page-hero--dark {
    background: var(--bg-dark);
    border-bottom: 1px solid var(--border-dark);
}

.page-hero-container {
    position: relative;
    max-width: var(--container);
    margin: 0 auto;
}

.page-hero-title {
    margin: 0.5rem auto 0;
    max-width: 700px;
}

.page-hero-sub {
    color: rgba(255,255,255,0.6);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 1.5rem auto 0;
}

/* ---------- ABOUT PAGE ---------- */
.about-section { padding: var(--section-pad) 0; }

.about-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 5rem;
    align-items: start;
}

.about-text h2 { margin-bottom: 1.5rem; }
.about-text p  { color: var(--text-secondary); margin-bottom: 1rem; line-height: 1.75; }

.skills-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-top: 2rem;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.skill-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--accent-cyan);
    flex-shrink: 0;
}

.about-info-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.875rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
}

.info-row:last-child { border-bottom: none; }
.info-label { color: var(--text-muted); }
.info-value { font-weight: 500; display: flex; align-items: center; gap: 0.4rem; }

/* ---------- CONTACT PAGE ---------- */
.contact-section { padding: var(--section-pad) 0; }

.contact-grid {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h3 {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.25rem;
}

.contact-icon {
    width: 40px; height: 40px;
    background: rgba(0,200,200,0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan-dark);
    flex-shrink: 0;
}

.contact-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    display: block;
    margin-bottom: 0.2rem;
}

.contact-value {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-primary);
}

a.contact-value:hover { color: var(--accent-cyan-dark); }

.contact-note {
    margin-top: 2rem;
    padding: 1rem;
    background: var(--bg-subtle);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Contact Form */
.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-primary);
    background: var(--bg);
    transition: border-color 0.2s;
    outline: none;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 3px rgba(0,200,200,0.1);
}

.form-note {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 1rem;
    text-align: center;
}

/* ---------- LEGAL PAGES ---------- */
.legal-section { padding: var(--section-pad) 0; }

.legal-content h2 {
    font-size: 1.4rem;
    margin: 2rem 0 0.75rem;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 {
    font-size: 1.05rem;
    margin: 1.5rem 0 0.5rem;
    color: var(--text-secondary);
}
.legal-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

/* ---------- PROJECT DETAIL ---------- */
.project-detail-section { padding: var(--section-pad) 0; }

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 3rem;
    transition: color 0.2s;
}
.back-link:hover { color: var(--accent-cyan-dark); }

.project-content h2 { margin-bottom: 1rem; }
.project-content p { color: var(--text-secondary); line-height: 1.8; }

.project-tech { margin-top: 2.5rem; }
.project-tech h3 { margin-bottom: 1rem; }

.tech-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.tech-tag {
    background: rgba(0,200,200,0.1);
    color: var(--accent-cyan-dark);
    border: 1px solid rgba(0,200,200,0.25);
    padding: 0.35rem 0.875rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 500;
}

.project-meta-row {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-top: 2rem;
    font-size: 0.9rem;
}

/* ---------- PROJECTS GRID ---------- */
.projects-section {
    padding: var(--section-pad) 0;
    background: var(--bg-subtle);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.project-card {
    display: block;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.22s, box-shadow 0.22s;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.project-card-inner { padding: 1.75rem; }
.project-tag {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-cyan-dark);
    display: block;
    margin-bottom: 0.5rem;
}
.project-card h3 { margin-bottom: 0.5rem; }
.project-card p  { font-size: 0.875rem; color: var(--text-secondary); margin-bottom: 1rem; }
.project-link    { font-size: 0.85rem; font-weight: 600; color: var(--accent-cyan-dark); }

/* ---------- SOFTWARE DETAIL (software.css) ---------- */
.software-detail-section { padding: var(--section-pad) 0; }

.module-detail {
    padding: 3rem 0;
}

.module-detail-header {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 1.75rem;
}

.module-number {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 800;
    color: rgba(0,0,0,0.07);
    line-height: 1;
    flex-shrink: 0;
}

.module-number--cyan { color: rgba(0,200,200,0.3); }
.module-number--gold { color: rgba(200,168,75,0.4); }

.module-category {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    display: block;
    margin-bottom: 0.25rem;
}

.module-detail h2 { font-size: 2rem; }

.module-detail-body p {
    max-width: 640px;
    color: var(--text-secondary);
    font-size: 1.025rem;
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.feature-icon {
    color: var(--accent-cyan-dark);
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.feature-item--light { color: rgba(255,255,255,0.7); }
.feature-icon--cyan  { color: var(--accent-cyan); }

.module-divider {
    height: 1px;
    background: var(--border);
}

.module-detail--highlighted {
    background: rgba(0,200,200,0.03);
    border-radius: var(--radius-lg);
    padding: 3rem;
    margin: 0 -3rem;
    border: 1px solid rgba(0,200,200,0.1);
}

.module-detail--dark {
    background: var(--bg-dark);
    border-radius: var(--radius-lg);
    padding: 3rem;
    margin: 2rem -3rem 0;
}

.module-detail--dark .module-category { color: var(--accent-cyan); }
.module-detail--dark .module-divider  { background: var(--border-dark); }

/* ---------- FOOTER ---------- */
.footer {
    background: var(--text-primary);
    color: rgba(255,255,255,0.7);
    padding: 4rem 0 0;
}

.footer-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 2rem 3rem;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 4rem;
}

.footer-brand .logo-text { color: #fff; }

.footer-tagline {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.45);
    margin-top: 0.75rem;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    gap: 4rem;
    justify-content: flex-end;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-col h4 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.4);
    margin-bottom: 0.5rem;
}

.footer-col a {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    transition: color 0.2s;
}

.footer-col a:hover { color: var(--accent-cyan); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 1.25rem 2rem;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.3);
    max-width: var(--container);
    margin: 0 auto;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .about-grid    { grid-template-columns: 1fr; gap: 3rem; }
    .about-card-col { max-width: 400px; }
    .contact-grid  { grid-template-columns: 1fr; gap: 2.5rem; }
    .footer-container { grid-template-columns: 1fr; gap: 2.5rem; }
    .footer-links  { justify-content: flex-start; }
    .module-detail--highlighted { margin: 0; }
    .module-detail--dark        { margin: 2rem 0 0; }
}

@media (max-width: 768px) {
    :root { --section-pad: 60px; }

    .nav-links { display: none; flex-direction: column; position: fixed;
        top: var(--nav-height); left: 0; right: 0;
        background: rgba(248,248,246,0.97); backdrop-filter: blur(16px);
        padding: 1.5rem; gap: 0.5rem; border-bottom: 1px solid var(--border); }
    .nav-links.open { display: flex; }
    .hamburger { display: flex; }

    .hero-stats { flex-direction: column; gap: 1.5rem; }
    .stat-divider { width: 40px; height: 1px; }

    .steps-row { flex-direction: column; }
    .step-arrow { transform: rotate(90deg); }

    .form-row { grid-template-columns: 1fr; }

    .footer-links { flex-direction: column; gap: 2rem; }

    .module-detail-header { flex-direction: column; gap: 1rem; }
    .module-number { font-size: 2rem; }
}

@media (max-width: 480px) {
    .hero-actions { flex-direction: column; align-items: center; }
    .skills-grid  { grid-template-columns: 1fr; }
}

/* ---------- QUOTE BLOCK ---------- */
.quote-block {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    padding: 4rem 2rem;
}

.quote-mark {
    font-family: var(--font-display);
    font-size: 5rem;
    line-height: 0.5;
    color: var(--accent-cyan);
    opacity: 0.4;
    margin-bottom: 1.5rem;
}

blockquote {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-weight: 600;
    line-height: 1.5;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    margin: 0 0 2rem;
}

.quote-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.quote-name {
    font-weight: 700;
    font-size: 1rem;
}

.quote-title {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ---------- CONTACT CENTERED ---------- */
.contact-centered {
    max-width: 600px;
    margin: 0 auto;
}

.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-md);
}

.contact-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-btn {
    justify-content: center;
    gap: 0.75rem;
}

.contact-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.contact-divider::before,
.contact-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.contact-meta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-meta-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    font-size: 0.875rem;
}

.contact-meta-label {
    color: var(--text-muted);
    flex-shrink: 0;
    font-weight: 500;
}

.contact-meta-value {
    color: var(--text-secondary);
    text-align: right;
}

/* ---------- ABOUT PHOTO CARD ---------- */
.about-photo-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.about-photo {
    width: 100%;
    height: 320px;
    object-fit: contain;
    object-position: center top;
    display: block;
    background: var(--bg-subtle);
}

.about-photo-placeholder {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    height: 220px;
    background: var(--bg-subtle);
    color: var(--text-muted);
    font-size: 0.85rem;
}

.about-photo-info {
    padding: 1.25rem 1.5rem;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.about-photo-info strong {
    font-family: var(--font-display);
    font-size: 1rem;
}

.about-photo-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ---------- SOFTWARE PROJECTS LIST ---------- */
.sw-projects-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2.5rem;
}

.sw-project-card {
    display: grid;
    grid-template-columns: 420px 1fr;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-card);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.22s;
}

.sw-project-card:hover { box-shadow: var(--shadow-md); }

.sw-project-img {
    background: var(--bg-subtle);
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.sw-project-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-height: 360px;
}

.sw-project-info {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sw-project-info h3 { margin-bottom: 0.75rem; }
.sw-project-info p  { color: var(--text-secondary); line-height: 1.7; font-size: 1rem; flex: 1; }

.sw-project-footer {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

/* ---------- PROJECT DETAIL IMAGE ---------- */
.project-detail-img {
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 2.5rem;
    border: 1px solid var(--border);
}

.img-fluid-rounded {
    width: 100%;
    display: block;
}

/* ---------- RESPONSIVE ADDITIONS ---------- */
@media (max-width: 900px) {
    .sw-project-card { grid-template-columns: 1fr; }
    .sw-project-img { min-height: 220px; }
}

@media (max-width: 600px) {
    .contact-card { padding: 1.75rem; }
    .contact-meta-item { flex-direction: column; gap: 0.2rem; }
    .contact-meta-value { text-align: left; }
}

/* ---------- ABOUT – NEUES LAYOUT (Foto links, Text rechts) ---------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-photo-col {
    position: relative;
}

.about-photo-full {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    object-position: center top;
    display: block;
    border-radius: var(--radius-lg);
}

.about-text h2 {
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.about-meta {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.about-meta-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.about-meta-label { color: var(--text-muted); }
.about-meta-value { font-weight: 500; }

@media (max-width: 900px) {
    .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .about-photo-full { max-height: 400px; }
}