/* Coretex Global Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Brand Colors */
    --primary: #111827;
    /* Dark Navy/Black */
    --primary-light: #1f2937;
    --accent: #3b82f6;
    /* Blue for neutral actions */

    /* Agent Identities */
    --sophie: #7e22ce;
    /* Purple */
    --sophie-bg: #faf5ff;
    --daniel: #ef4444;
    /* Red */
    --daniel-bg: #fff5f5;
    --david: #15803d;
    /* Green */
    --david-bg: #f0fdf4;

    /* Neutrals */
    --bg-body: #ffffff;
    --bg-card: #ffffff;
    --text-main: #111827;
    --text-muted: #6b7280;
    --border: #e5e7eb;

    /* Dark Mode Variables */
    --bg-dark: #0f172a;
    --bg-darker: #020617;
    --text-dark-main: #f8fafc;
    --text-dark-muted: #94a3b8;

    /* Spacing */
    --container-width: 1200px;
    --header-height: 80px;

    --white: #ffffff;
    --success: #10b981;
}

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

html {
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    max-width: 100vw;
}

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

ul {
    list-style: none;
}

/* Animations & Keyframes */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

.animate-float, .float {
    will-change: transform;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.animate-fade-in, .animate-fade-up {
    will-change: transform, opacity;
}

@keyframes gradient-x {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-fade-in {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

/* Dark & Vibrant Utilities */
.bg-dark-section {
    background: var(--bg-dark);
    color: white;
}

/* Dynamic Gradient blobs */
.bg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    z-index: -1;
    animation: float 10s ease-in-out infinite;
}

.blob-purple {
    background: #7e22ce;
    width: 500px;
    height: 500px;
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.blob-gold {
    background: #b45309;
    width: 400px;
    height: 400px;
    bottom: 0;
    right: -100px;
    animation-delay: -2s;
}

.blob-blue {
    background: #3b82f6;
    width: 300px;
    height: 300px;
    top: 40%;
    left: 30%;
    animation-delay: -5s;
    opacity: 0.4;
}

@media (max-width: 768px) {
    .blob-purple {
        width: 250px;
        height: 250px;
        left: -80px;
    }

    .blob-gold {
        width: 200px;
        height: 200px;
        right: -80px;
    }

    .blob-blue {
        width: 150px;
        height: 150px;
    }
}

/* Checklist with proper checkmarks */
.check-list {
    margin-top: 2rem;
    text-align: left;
    line-height: 1.8;
}

.check-list li {
    margin-bottom: 8px;
    padding-left: 28px;
    position: relative;
    color: var(--text-dark-muted);
}

.check-list li strong {
    color: var(--text-dark-main);
}

.check-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23a855f7' stroke-width='3'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M5 13l4 4L19 7' /%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

/* Dynamic Gradient Background for Hero/Body */
.bg-hero-gradient {
    background: linear-gradient(-45deg, #020617, #1e1b4b, #312e81, #0f172a) !important;
    background-size: 400% 400% !important;
    animation: gradient-x 15s ease infinite;
    color: white !important;
}

.card-dark {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
}

.card-dark:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
}

.text-gradient {
    background: linear-gradient(to right, #fff, #d8b4fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


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

.section {
    padding: 80px 0;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary);
}

.bg-hero-gradient h1,
.bg-hero-gradient h2,
.bg-hero-gradient h3 {
    color: white;
}

h1 {
    font-size: 3.5rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.75rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.bg-hero-gradient p {
    color: #cbd5e1;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-1px);
}

.btn-sophie {
    background: var(--sophie);
    color: white;
}

.btn-sophie:hover {
    background: #6b21a8;
}

.btn-daniel {
    background: var(--daniel);
    color: white;
}

.btn-daniel:hover {
    background: #dc2626;
}

.btn-david {
    background: var(--david);
    color: white;
}

.btn-david:hover {
    background: #166534;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--border);
    color: var(--text-main);
}

.bg-hero-gradient .btn-outline {
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
}

.btn-outline:hover {
    border-color: var(--primary);
    background: var(--bg-body);
}

.bg-hero-gradient .btn-outline:hover {
    background: white;
    color: var(--primary);
    border-color: white;
}


/* Cards */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 30px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Specific Card Hovers */
.card-daniel:hover {
    background: var(--daniel);
    border-color: var(--daniel);
}

.card-sophie:hover {
    background: var(--sophie);
    border-color: var(--sophie);
}

.card-david:hover {
    background: var(--david);
    border-color: var(--david);
}

/* Text & Elements on Hover */
.card:hover h3,
.card:hover p,
.card:hover .role-text,
.card:hover .desc-text {
    color: white !important;
}

/* Specific button styles inside cards */
.role-text {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.btn-card {
    border-color: currentColor;
    color: inherit;
}

.card:hover .btn-card {
    background: white;
    border-color: white;
    color: var(--primary);
}

/* Make keys match the card color on hover */
.card-daniel:hover .btn-card {
    color: var(--daniel);
}

.card-sophie:hover .btn-card {
    color: var(--sophie);
}

.card-david:hover .btn-card {
    color: var(--david);
}

/* Header/Nav */
.navbar {
    height: var(--header-height);
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    background: #0f172a;
    /* Marine Blue */
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-weight: 800;
    font-size: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span {
    color: white;
    text-transform: lowercase;
    letter-spacing: -1px;
    font-size: 1.8rem;
    /* Larger since image is gone */
}

/* Remove the rectangle (image) as requested */
.logo img {
    display: none;
}

.logo img {
    filter: brightness(0) invert(1);
}

.text-white {
    color: white !important;
}

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

.nav-links a {
    font-weight: 500;
    font-size: 14px;
    color: #cbd5e1;
    /* Light Gray */
}

.nav-links a:hover {
    color: white;
}

.nav-links a.active {
    color: white;
    font-weight: 700;
}

/* Ultimate Gold Link Animation */
@keyframes goldPulse {
    0% {
        text-shadow: 0 0 0 rgba(251, 191, 36, 0);
    }

    50% {
        text-shadow: 0 0 10px rgba(251, 191, 36, 0.8);
    }

    100% {
        text-shadow: 0 0 0 rgba(251, 191, 36, 0);
    }
}

/* Sophie Nav */
.nav-links .nav-sophie:hover,
.nav-links .nav-sophie.active {
    color: var(--sophie) !important;
}

/* Daniel Nav */
.nav-links .nav-daniel:hover,
.nav-links .nav-daniel.active {
    color: var(--daniel) !important;
}

/* David Nav */
.nav-links .nav-david:hover,
.nav-links .nav-david.active {
    color: var(--david) !important;
}

/* Ultimate Nav */
.nav-links .nav-ultimate {
    transition: all 0.3s ease;
}

.nav-links .nav-ultimate:hover,
.nav-links .nav-ultimate.active {
    color: #fbbf24 !important; /* Gold */
    font-weight: 700;
    animation: goldPulse 2s infinite;
}

/* Custom Nav */
.nav-links .nav-custom {
    border: 1px solid rgba(255,255,255,0.2);
    padding: 7px 18px;
    border-radius: 50px;
    margin-left: 5px;
    transition: all 0.3s ease;
}

.nav-links .nav-custom:hover,
.nav-links .nav-custom.active {
    background: white !important;
    color: #0f172a !important;
    border-color: white !important;
    font-weight: 700;
}

/* Mission/Über-uns Nav */
.nav-links .nav-mission {
    border: 1px solid rgba(255,255,255,0.2);
    padding: 7px 18px;
    border-radius: 50px;
    margin-left: 5px;
    transition: all 0.3s ease;
}

.nav-links .nav-mission:hover,
.nav-links .nav-mission.active {
    background: rgba(255,255,255,0.1) !important;
    color: white !important;
    border-color: rgba(255,255,255,0.5) !important;
}

/* Footer */
footer {
    background: var(--bg-light);
    border-top: 1px solid var(--border);
    padding: 60px 0;
    margin-top: 100px;
}

.bg-hero-gradient footer {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.1);
}

/* Utility */
.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

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

@media (max-width: 768px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 2.5rem;
    }
}

/* =============================================
   HAMBURGER MENU & MOBILE NAV
   ============================================= */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    z-index: 200;
    gap: 5px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 900px) {
    html {
        overflow-x: hidden;
    }

    body {
        overflow-x: hidden;
        max-width: 100vw;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(10, 17, 40, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 20px;
        z-index: 150;
        padding: 80px 20px 40px;
    }

    .nav-links.mobile-open {
        display: flex;
    }

    .nav-links a {
        font-size: 1.4rem;
        padding: 10px 20px;
    }

    .nav-links .nav-custom,
    .nav-links .nav-mission {
        margin-left: 0;
        padding: 12px 30px;
    }

    .container {
        padding: 0 16px;
    }

    /* Blob fixes on mobile */
    .blob-purple {
        width: 200px !important;
        height: 200px !important;
        left: -60px !important;
    }

    .blob-gold {
        width: 180px !important;
        height: 180px !important;
        right: -60px !important;
    }

    .blob-blue {
        width: 150px !important;
        height: 150px !important;
    }

    /* Pricing table on mobile */
    .pricing-table-wrapper {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
    }

    .pricing-table {
        min-width: 560px;
    }
}