/* 
   SN Solutions - Core Design System & Stylesheet
   Premium Dark Tech Aesthetic
*/

@import url('fonts.css');

:root {
    /* Color Palette */
    --bg-dark-base: #06070a;
    --bg-dark-surface: #0f111a;
    --bg-dark-card: #151824;
    --border-color: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(11, 198, 149, 0.3);
    
    --accent-emerald: #0bc695;
    --accent-emerald-glow: rgba(11, 198, 149, 0.15);
    --accent-cyber-cyan: #00a8cc;
    --accent-cyan-glow: rgba(0, 168, 204, 0.15);
    
    --gradient-accent: linear-gradient(135deg, var(--accent-emerald) 0%, var(--accent-cyber-cyan) 100%);
    --gradient-glow: linear-gradient(135deg, var(--accent-emerald-glow) 0%, var(--accent-cyan-glow) 100%);
    
    --text-primary: #f8fbfb;
    --text-secondary: #a0a5b5;
    --text-muted: #646876;
    
    /* Layout Variables */
    --max-width: 1200px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition-smooth: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    --header-height: 80px;
}

/* Reset & Base Stitels */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-emerald) var(--bg-dark-base);
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-dark-base);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .brand-name {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

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

/* Utilities */
.container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.text-gradient {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Header & Glassmorphism Navigation */
header.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(6, 7, 10, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: var(--border-color) 1px solid;
    z-index: 1000;
    transition: var(--transition-smooth);
}

header.site-header.scrolled {
    height: 70px;
    background: rgba(6, 7, 10, 0.9);
    border-bottom: rgba(11, 198, 149, 0.2) 1px solid;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

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

.logo-wrapper {
    display: flex;
    align-items: center;
}

.logo-wrapper img {
    height: 32px;
    width: auto;
    display: block;
}

nav.nav-desktop {
    display: flex;
    align-items: center;
}

nav.nav-desktop ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav.nav-desktop ul li a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    position: relative;
}

nav.nav-desktop ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 12px;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: var(--transition-smooth);
}

nav.nav-desktop ul li a:hover,
nav.nav-desktop ul li.active a {
    color: var(--text-primary);
}

nav.nav-desktop ul li a:hover::after,
nav.nav-desktop ul li.active a::after {
    width: calc(100% - 24px);
}

/* Hamburger Menu Icon */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition-smooth);
    transform-origin: left;
}

/* Mobile Nav Drawer */
.nav-mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--bg-dark-surface);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: var(--transition-smooth);
    border-left: var(--border-color) 1px solid;
}

.nav-mobile-drawer.open {
    right: 0;
}

.nav-mobile-drawer ul {
    list-style: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.nav-mobile-drawer ul li a {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-secondary);
}

.nav-mobile-drawer ul li a:hover,
.nav-mobile-drawer ul li.active a {
    color: var(--accent-emerald);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 80vh;
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 80px;
    background: radial-gradient(circle at 80% 20%, rgba(11, 198, 149, 0.08) 0%, rgba(0, 168, 204, 0.03) 40%, transparent 80%),
                url('images/hero-bg.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    border-bottom: var(--border-color) 1px solid;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(6, 7, 10, 0.4) 0%, var(--bg-dark-base) 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    max-width: 800px;
    z-index: 2;
}

.hero-tagline {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-emerald);
    margin-bottom: 20px;
    display: inline-block;
    padding: 6px 12px;
    background: rgba(11, 198, 149, 0.1);
    border: rgba(11, 198, 149, 0.2) 1px solid;
    border-radius: 50px;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.15;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 650px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
}

.btn-primary {
    background: var(--gradient-accent);
    color: #000;
    box-shadow: 0 4px 20px rgba(11, 198, 149, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(11, 198, 149, 0.5);
    background: linear-gradient(135deg, #0ee4ad 0%, #00c2ec 100%);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: var(--border-color) 1px solid;
    margin-left: 15px;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-cyber-cyan);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

/* Sections Base */
section.section-padding {
    padding: 100px 0;
    border-bottom: var(--border-color) 1px solid;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-header h2 {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    font-size: 16px;
}

/* About Section & Founder Cards */
.founders-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.founder-card {
    background: var(--bg-dark-card);
    border: var(--border-color) 1px solid;
    border-radius: var(--radius-md);
    padding: 40px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.founder-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 100% 0%, rgba(11, 198, 149, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.founder-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    box-shadow: 0 10px 30px rgba(11, 198, 149, 0.05);
}

.founder-header {
    margin-bottom: 25px;
}

.founder-header h3 {
    font-size: 24px;
    margin-bottom: 5px;
}

.founder-title {
    color: var(--accent-emerald);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.founder-card p.founder-bio {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 25px;
}

.skills-wrapper h4 {
    font-size: 15px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.skills-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 30px;
}

.skills-list li {
    font-size: 14px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.skills-list li::before {
    content: '→';
    color: var(--accent-emerald);
    font-weight: 700;
}

.founder-contact {
    padding-top: 20px;
    border-top: rgba(255, 255, 255, 0.05) 1px solid;
    font-size: 14px;
    color: var(--text-secondary);
}

.founder-contact span {
    display: block;
    margin-bottom: 5px;
}

.founder-contact a {
    color: var(--text-primary);
}

.founder-contact a:hover {
    color: var(--accent-emerald);
}

.about-footer {
    text-align: center;
    margin-top: 50px;
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--bg-dark-card);
    border: var(--border-color) 1px solid;
    border-radius: var(--radius-md);
    padding: 35px;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-hover);
    box-shadow: 0 10px 30px rgba(11, 198, 149, 0.05);
}

.service-icon {
    width: 50px;
    height: 50px;
    background: rgba(11, 198, 149, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--accent-emerald);
}

.service-icon svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2px;
}

.service-card h3 {
    font-size: 18px;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 14px;
    flex-grow: 1;
}

/* Tech Badges Section */
.tech-container {
    background: var(--bg-dark-card);
    border: var(--border-color) 1px solid;
    border-radius: var(--radius-md);
    padding: 50px;
    text-align: center;
}

.tech-container p.tech-intro {
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-size: 16px;
}

.tech-badge-wall {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.tech-tag {
    background: rgba(255, 255, 255, 0.03);
    border: var(--border-color) 1px solid;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: 50px;
    transition: var(--transition-smooth);
}

.tech-tag:hover {
    background: rgba(11, 198, 149, 0.1);
    color: var(--accent-emerald);
    border-color: var(--accent-emerald);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(11, 198, 149, 0.1);
}

/* Contact Section */
.contact-wrapper {
    display: grid;
    grid-template-columns: 4fr 5fr;
    gap: 60px;
    align-items: start;
}

.contact-info-panel {
    padding-right: 20px;
}

.contact-info-panel h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.contact-info-panel p {
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-item-icon {
    width: 44px;
    height: 44px;
    background: rgba(0, 168, 204, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyber-cyan);
    flex-shrink: 0;
}

.contact-item-icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2px;
}

.contact-item-details h4 {
    font-size: 15px;
    margin-bottom: 4px;
}

.contact-item-details p, 
.contact-item-details a {
    color: var(--text-secondary);
    font-size: 14px;
}

.contact-item-details a:hover {
    color: var(--accent-cyber-cyan);
}

.contact-form-card {
    background: var(--bg-dark-card);
    border: var(--border-color) 1px solid;
    border-radius: var(--radius-md);
    padding: 40px;
}

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

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    background: rgba(6, 7, 10, 0.5);
    border: var(--border-color) 1px solid;
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-family: inherit;
    font-size: 15px;
    color: var(--text-primary);
    transition: var(--transition-smooth);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-emerald);
    background: rgba(6, 7, 10, 0.8);
    box-shadow: 0 0 10px rgba(11, 198, 149, 0.15);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Footer Section */
footer.site-footer {
    background: var(--bg-dark-base);
    border-top: var(--border-color) 1px solid;
    padding: 40px 0;
    font-size: 14px;
    color: var(--text-secondary);
}

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

.footer-logo img {
    height: 24px;
    margin-bottom: 10px;
}

.footer-nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.footer-nav ul li a:hover {
    color: var(--text-primary);
}

/* Static CV Details Pages Styling */
.cv-container {
    max-width: 900px;
    margin: calc(var(--header-height) + 40px) auto 100px auto;
    padding: 0 20px;
}

.cv-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 30px;
}

.cv-back-link:hover {
    color: var(--accent-emerald);
}

.cv-header-block {
    background: var(--bg-dark-card);
    border: var(--border-color) 1px solid;
    border-radius: var(--radius-md);
    padding: 40px;
    margin-bottom: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cv-header-text h1 {
    font-size: 32px;
    margin-bottom: 8px;
}

.cv-meta {
    font-size: 14px;
    color: var(--text-secondary);
}

.cv-meta span {
    display: block;
    margin-bottom: 4px;
}

.cv-meta a {
    color: var(--text-primary);
}

.cv-meta a:hover {
    color: var(--accent-emerald);
}

.cv-body h2 {
    font-size: 22px;
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: rgba(255, 255, 255, 0.05) 1px solid;
    padding-bottom: 8px;
    color: var(--accent-emerald);
}

.cv-timeline {
    position: relative;
    padding-left: 30px;
}

.cv-timeline::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 8px;
    width: 2px;
    height: calc(100% - 10px);
    background: rgba(255, 255, 255, 0.05);
}

.cv-timeline-item {
    position: relative;
    margin-bottom: 35px;
}

.cv-timeline-item::before {
    content: '';
    position: absolute;
    top: 6px;
    left: -27px;
    width: 10px;
    height: 10px;
    background: var(--bg-dark-base);
    border: var(--accent-emerald) 2px solid;
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-emerald);
}

.cv-timeline-date {
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-emerald);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.cv-timeline-title {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 8px;
}

.cv-timeline-item ul {
    list-style: none;
    padding-left: 0;
    margin-top: 8px;
}

.cv-timeline-item ul li {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 5px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.cv-timeline-item ul li::before {
    content: '▪';
    color: var(--accent-cyber-cyan);
    font-size: 10px;
    margin-top: 4px;
}

.cv-skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.cv-skills-card {
    background: var(--bg-dark-card);
    border: var(--border-color) 1px solid;
    border-radius: var(--radius-md);
    padding: 30px;
}

.cv-skills-card h3 {
    font-size: 16px;
    margin-bottom: 15px;
    border-bottom: rgba(255, 255, 255, 0.05) 1px solid;
    padding-bottom: 8px;
}

.cv-skills-card ul {
    list-style: none;
}

.cv-skills-card ul li {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cv-skills-card ul li::before {
    content: '✓';
    color: var(--accent-emerald);
    font-weight: 700;
}

/* Legal & Impressum Page Layout */
.legal-page-container {
    max-width: 800px;
    margin: calc(var(--header-height) + 40px) auto 100px auto;
    padding: 0 20px;
}

.legal-page-container h1 {
    font-size: 36px;
    margin-bottom: 30px;
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    font-size: 20px;
    margin-bottom: 15px;
    border-bottom: rgba(255, 255, 255, 0.05) 1px solid;
    padding-bottom: 8px;
    color: var(--accent-emerald);
}

.legal-section h3 {
    font-size: 16px;
    margin-top: 20px;
    margin-bottom: 8px;
}

.legal-section p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 12px;
}

.legal-section ul {
    list-style: disc;
    padding-left: 20px;
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 15px;
}

.legal-section ul li {
    margin-bottom: 5px;
}

/* Responsive Rules */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    nav.nav-desktop {
        display: none;
    }
    
    .founders-grid,
    .services-grid,
    .contact-wrapper,
    .cv-skills-grid {
        grid-template-columns: 1fr;
    }
    
    .cv-header-block {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    footer.site-footer .container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    footer.site-footer .footer-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}
