/* 
   Nurnberg Consulting - Professional Design System (SOTA)
   Aesthetics: Premium, Modern, Secure, Trustworthy
   Typography: Plus Jakarta Sans & Inter
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    /* Core Colors */
    --brand-primary: #0f172a;
    /* Deep Navy */
    --brand-accent: #4f46e5;
    /* Electric Indigo */
    --brand-accent-glow: rgba(79, 70, 229, 0.4);
    --brand-success: #10b981;
    /* Emerald */
    --brand-surface: #ffffff;
    --brand-background: #f8fafc;
    /* Slate 50 */

    /* Text Colors */
    --text-heading: #0f172a;
    /* Slate 900 */
    --text-body: #334155;
    /* Slate 700 */
    --text-muted: #64748b;
    /* Slate 500 */
    --text-on-dark: #f1f5f9;

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.3);
    --dark-glass-bg: rgba(15, 23, 42, 0.8);
    --dark-glass-border: rgba(255, 255, 255, 0.1);

    /* Shadows */
    --shadow-soft: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-premium: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-glow: 0 0 20px var(--brand-accent-glow);

    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);

    /* Spacing & Radius */
    --radius-full: 9999px;
    --radius-2xl: 24px;
    --radius-xl: 16px;
    --radius-lg: 12px;
}

/* Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--brand-background);
    color: var(--text-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-heading);
    font-weight: 700;
    letter-spacing: -0.025em;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

section {
    padding: 6rem 0;
}

/* Header & Nav */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: var(--glass-bg);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
}

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

.logo {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--brand-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-text-bold {
    color: var(--brand-primary);
}

.logo-text-light {
    color: var(--brand-accent);
    font-weight: 400;
}

.nav ul {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav a {
    text-decoration: none;
    color: var(--text-heading);
    font-weight: 500;
    font-size: 0.9375rem;
    transition: var(--transition-smooth);
    opacity: 0.8;
}

.nav a:hover,
.nav a.active {
    color: var(--brand-accent);
    opacity: 1;
}

.mobile-nav-toggle {
    display: none;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 0% 0%, rgba(79, 70, 229, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(16, 185, 129, 0.05) 0%, transparent 50%),
        #ffffff;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%234f46e5' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2v-4h4v-2h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2v-4h4v-2H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.hero-content {
    max-width: 800px;
    animation: fadeInSlideUp 0.8s ease-out;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    line-height: 1.1;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.btn-primary {
    background: var(--brand-accent);
    color: #ffffff;
    box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.4);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 25px -5px rgba(79, 70, 229, 0.5);
    background: #4338ca;
}

.btn-outline {
    border: 1px solid #e2e8f0;
    color: var(--text-heading);
    background: transparent;
}

.btn-outline:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

/* Page Hero */
.page-hero {
    padding: 10rem 0 6rem;
    background: var(--brand-primary);
    color: #ffffff;
    text-align: center;
}

.page-hero h1 {
    color: #ffffff;
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 1.5rem;
}

.subtitle {
    color: #94a3b8;
    font-size: 1.25rem;
    font-weight: 400;
    max-width: 700px;
    margin: 0 auto;
}

/* Content Sections */
.service-detail {
    background-color: var(--brand-background);
}

.service-intro {
    max-width: 800px;
    margin: 0 auto 4rem;
    font-size: 1.25rem;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.7;
}

/* Founder Section */
.founder-section {
    background: #ffffff;
    border-radius: var(--radius-2xl);
    padding: 4rem;
    margin-bottom: 4rem;
    border: 1px solid #f1f5f9;
    margin-top: -4rem;
    position: relative;
    z-index: 10;
    box-shadow: var(--shadow-premium);
}

.founder-header {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 3rem;
}

.founder-photo {
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-premium);
    object-fit: cover;
    border: 4px solid #ffffff;
}

.founder-title {
    color: var(--brand-accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    display: block;
}

.expertise-list {
    list-style: none;
    margin: 2.5rem 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.expertise-list li {
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: var(--radius-lg);
    position: relative;
    color: var(--text-body);
    border: 1px solid #f1f5f9;
}

.expertise-list li::before {
    content: '→';
    margin-right: 0.75rem;
    color: var(--brand-accent);
    font-weight: 700;
}

.quote-box {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.75rem;
    font-weight: 600;
    font-style: italic;
    color: var(--brand-primary);
    border-left: 6px solid var(--brand-accent);
    padding: 3rem;
    background: #f8fafc;
    margin: 4rem 0;
    line-height: 1.4;
}

/* Service Groups */
.service-group {
    margin-bottom: 4rem;
    padding: 3.5rem;
    background: #ffffff;
    border-radius: var(--radius-2xl);
    border: 1px solid #f1f5f9;
    box-shadow: var(--shadow-soft);
}

.service-group h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--brand-accent);
}

.service-group ul {
    list-style: none;
    margin-top: 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.25rem;
}

.service-group li {
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-body);
    font-weight: 500;
}

.service-group li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--brand-accent);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #ffffff;
    padding: 3rem;
    border-radius: var(--radius-2xl);
    border: 1px solid #f1f5f9;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-premium);
    border-color: #e2e8f0;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--brand-primary);
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.learn-more {
    color: var(--brand-accent);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.learn-more::after {
    content: '→';
    transition: transform 0.3s ease;
}

.learn-more:hover::after {
    transform: translateX(4px);
}

/* Philosophy */
.philosophy {
    background: var(--brand-primary);
    color: #ffffff;
    border-radius: 3rem;
    margin: 4rem 1.5rem;
    padding: 8rem 0;
}

.philosophy h2 {
    color: #ffffff;
    text-align: center;
    margin-bottom: 4rem;
}

.philosophy-pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.philosophy-pillar {
    text-align: center;
}

.icon-circle {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.icon-circle img {
    width: 32px;
    height: 32px;
    filter: brightness(0) invert(1);
}

.philosophy-pillar h3 {
    color: #ffffff;
    margin-bottom: 1rem;
}

.philosophy-pillar p {
    color: #94a3b8;
}

/* Company Stats */
.company-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin: 6rem 0;
}

.stat-card {
    background: #ffffff;
    padding: 3rem 2rem;
    border-radius: var(--radius-xl);
    text-align: center;
    border: 1px solid #f1f5f9;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-premium);
}

.stat-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--brand-accent);
    margin-bottom: 0.75rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.stat-description {
    color: var(--text-muted);
    font-size: 0.9375rem;
    font-weight: 500;
}

/* Mission Grid */
.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin: 4rem 0;
}

.mission-card {
    background: #ffffff;
    padding: 3rem;
    border-radius: var(--radius-2xl);
    transition: var(--transition-smooth);
    border: 1px solid #f1f5f9;
}

.mission-card:hover {
    box-shadow: var(--shadow-premium);
    transform: translateY(-5px);
}

.mission-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--brand-primary);
    margin-bottom: 1.25rem;
}

/* Contact Form */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-form {
    background: #ffffff;
    padding: 4rem;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-premium);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--text-heading);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-lg);
    font-family: inherit;
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--brand-accent);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, var(--brand-primary) 0%, #1e293b 100%);
    color: #ffffff;
    padding: 6rem;
    border-radius: 4rem;
    text-align: center;
    margin: 8rem 0;
    position: relative;
    overflow: hidden;
}

.cta-box h3 {
    color: #ffffff;
    font-size: 3rem;
    margin-bottom: 2rem;
}

.cta-box p {
    color: #94a3b8;
    margin-bottom: 4rem;
    font-size: 1.25rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

/* Footer */
footer {
    background: #f8fafc;
    padding: 4rem 0 2rem;
    border-top: 1px solid #e2e8f0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

.footer-brand h4 {
    margin-bottom: 1.5rem;
}

.footer-links h4 {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

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

.copyright {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

/* Animations */
@keyframes fadeInSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero h1 {
        font-size: clamp(2.5rem, 8vw, 3.5rem);
    }

    .nav {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: #ffffff;
        padding: 2rem;
        border-bottom: 1px solid #f1f5f9;
        box-shadow: var(--shadow-premium);
    }

    .nav.active {
        display: block;
        animation: fadeInSlideUp 0.3s ease-out;
    }

    .nav ul {
        flex-direction: column;
        gap: 1.5rem;
    }

    .mobile-nav-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
        color: var(--brand-primary);
    }

    .founder-header {
        flex-direction: column;
        text-align: center;
    }

    .cta-box {
        padding: 4rem 2rem;
        border-radius: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
    }
}