/* ============================================
   pinkone.ai — Global Styles
   Apple-inspired design with black & pink
   5-Slide Layout
   ============================================ */

:root {
    --pink: #FF2D78;
    --pink-light: #FF5A9E;
    --pink-dark: #D4205F;
    --pink-glow: rgba(255, 45, 120, 0.3);
    --pink-subtle: rgba(255, 45, 120, 0.08);
    --black: #000000;
    --black-soft: #0A0A0A;
    --black-card: rgba(255, 255, 255, 0.04);
    --black-border: rgba(255, 255, 255, 0.06);
    --gray-100: #F5F5F7;
    --gray-200: #E8E8ED;
    --gray-400: #86868B;
    --gray-500: #6E6E73;
    --gray-600: #424245;
    --white: #FFFFFF;

    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font);
    background: var(--black);
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* ============================================
   Navigation — Apple thin bar
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 24px;
    transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    background: rgba(0, 0, 0, 0.72);
    border-bottom: 1px solid transparent;
}

.nav.scrolled {
    background: rgba(0, 0, 0, 0.85);
    border-bottom: 1px solid var(--black-border);
}

.nav-inner {
    max-width: 1080px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 48px;
}

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

.logo-svg {
    height: 26px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 12px;
    font-weight: 400;
    color: var(--gray-400);
    transition: color 0.3s var(--ease);
    letter-spacing: 0;
}

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

.nav-cta {
    background: var(--pink);
    color: var(--white) !important;
    padding: 6px 16px;
    border-radius: 980px;
    font-size: 12px !important;
    font-weight: 500 !important;
    transition: all 0.3s var(--ease) !important;
}

.nav-cta:hover {
    background: var(--pink-light) !important;
    transform: scale(1.02);
}

.nav-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-mobile-toggle span {
    display: block;
    width: 18px;
    height: 1.5px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s var(--ease);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 48px;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    padding: 24px;
    flex-direction: column;
    gap: 24px;
    z-index: 999;
    border-bottom: 1px solid var(--black-border);
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu a {
    font-size: 16px;
    font-weight: 400;
    color: var(--gray-400);
    transition: color 0.3s;
}

.mobile-menu a:hover {
    color: var(--white);
}

/* ============================================
   Hero Section — Slide 1 (Hero + Stats)
   ============================================ */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 48px 24px 0;
    scroll-snap-align: start;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        radial-gradient(ellipse 70% 50% at 50% 45%, rgba(255, 45, 120, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse 40% 30% at 65% 55%, rgba(255, 45, 120, 0.08) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 820px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.9), 0 0 60px rgba(0, 0, 0, 0.5);
}

.hero-eyebrow {
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--pink);
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(16px);
    animation: fadeUp 1s var(--ease-out) 0.2s forwards;
}

.hero-title {
    font-size: clamp(52px, 9vw, 88px);
    font-weight: 700;
    line-height: 1.04;
    letter-spacing: -0.04em;
    margin-bottom: 24px;
    text-shadow: 0 4px 40px rgba(0, 0, 0, 1), 0 2px 10px rgba(0, 0, 0, 0.9);
}

.hero-title-line {
    display: block;
    opacity: 0;
    transform: translateY(24px);
    animation: fadeUp 1s var(--ease-out) forwards;
}

.hero-title-line:nth-child(1) { animation-delay: 0.35s; }
.hero-title-line:nth-child(2) { animation-delay: 0.5s; }
.hero-title-line:nth-child(3) { animation-delay: 0.65s; }

.hero-title-accent {
    color: var(--pink);
}

.hero-subtitle {
    font-size: clamp(17px, 1.8vw, 21px);
    font-weight: 400;
    color: var(--gray-200);
    max-width: 540px;
    margin: 0 auto 40px;
    line-height: 1.5;
    opacity: 0;
    transform: translateY(16px);
    animation: fadeUp 1s var(--ease-out) 0.8s forwards;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(16px);
    animation: fadeUp 1s var(--ease-out) 0.95s forwards;
}

/* Hero Stats Bar — bottom of hero */
.hero-stats {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
    max-width: 1080px;
    padding: 32px 0;
    border-top: 1px solid var(--black-border);
    text-align: center;
    opacity: 0;
    animation: fadeUp 1s var(--ease-out) 1.2s forwards;
}

.hero-stat {
    text-align: center;
}

.stat-number {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    letter-spacing: -0.04em;
    color: var(--pink);
    display: inline;
}

.stat-suffix {
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: 700;
    color: var(--pink);
}

.stat-label {
    display: block;
    font-size: 12px;
    color: var(--gray-500);
    font-weight: 400;
    letter-spacing: 0.02em;
}

/* Buttons — Apple pill style */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 980px;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: -0.01em;
    transition: all 0.4s var(--ease-out);
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background: var(--pink-light);
    transform: scale(1.04);
    box-shadow: 0 0 60px rgba(255, 45, 120, 0.25);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.04);
}

.btn-large {
    padding: 18px 40px;
    font-size: 18px;
}

/* ============================================
   Scroll Reveal
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s var(--ease-out),
                transform 0.8s var(--ease-out);
}

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

/* ============================================
   Section Styles
   ============================================ */
.section {
    height: 100vh;
    padding: 80px 0;
    scroll-snap-align: start;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.section-dark {
    background: var(--black-soft);
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 48px;
}

.section-eyebrow {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--pink);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.08;
    margin-bottom: 20px;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.9), 0 0 60px rgba(0, 0, 0, 0.5);
}

.section-subtitle {
    font-size: 17px;
    color: var(--gray-400);
    line-height: 1.6;
    font-weight: 400;
}

.accent {
    color: var(--pink);
}

/* ============================================
   Services Grid — 2×2 floating cards
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.service-card {
    background: var(--black-card);
    border: none;
    border-radius: 24px;
    padding: 28px 24px;
    opacity: 0;
    transform: translateY(20px) scale(0.98);
    transition: opacity 0.8s var(--ease-out),
                transform 0.8s var(--ease-out),
                background 0.4s var(--ease);
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-2px) scale(1.01);
}

.service-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 16px;
    opacity: 0.8;
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-title {
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.service-desc {
    font-size: 14px;
    color: var(--gray-400);
    line-height: 1.6;
}

/* ============================================
   Methodology — Slide 3
   ============================================ */
.methodology-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.method-step {
    position: relative;
    padding: 20px 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s var(--ease-out),
                transform 0.8s var(--ease-out);
}

.method-step.visible {
    opacity: 1;
    transform: translateY(0);
}

.method-number {
    font-size: 64px;
    font-weight: 800;
    color: var(--pink);
    opacity: 0.5;
    line-height: 1;
    margin-bottom: 12px;
    letter-spacing: -0.05em;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.9);
}

.method-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.8);
}

.method-desc {
    font-size: 14px;
    color: var(--gray-400);
    line-height: 1.6;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.7);
}

/* Section Quote — inside Methodik */
.section-quote {
    text-align: center;
    max-width: 860px;
    margin: 40px auto 0;
    padding-top: 32px;
    border-top: 1px solid var(--black-border);
}

.section-quote-text {
    font-size: clamp(24px, 3.5vw, 40px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.03em;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.8);
    color: var(--gray-200);
}

/* ============================================
   Use Cases — Floating cards (Slide 4)
   ============================================ */
.usecases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.usecase-card {
    background: var(--black-card);
    border: none;
    border-radius: 24px;
    padding: 28px;
    opacity: 0;
    transform: translateY(20px) scale(0.98);
    transition: opacity 0.8s var(--ease-out),
                transform 0.8s var(--ease-out),
                background 0.4s var(--ease);
}

.usecase-card.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.usecase-card:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-2px) scale(1.01);
}

.usecase-industry {
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--pink);
    margin-bottom: 16px;
}

.usecase-title {
    font-size: 21px;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.usecase-desc {
    font-size: 14px;
    color: var(--gray-400);
    line-height: 1.5;
    margin-bottom: 16px;
}

.usecase-metric {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--black-border);
}

.metric-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--pink);
    letter-spacing: -0.04em;
}

.metric-label {
    font-size: 13px;
    color: var(--gray-500);
}

/* ============================================
   CTA Section — Slide 5 (Kontakt + Footer)
   ============================================ */
.cta-section {
    padding: 0;
    background: var(--black);
    text-align: center;
    position: relative;
    overflow: hidden;
    scroll-snap-align: start;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.cta-section > .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    width: 100%;
    position: relative;
    z-index: 2;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 45, 120, 0.07) 0%, transparent 60%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.9), 0 0 60px rgba(0, 0, 0, 0.5);
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 80px 56px;
    max-width: 760px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(44px, 7vw, 80px);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.08;
    text-shadow: 0 4px 40px rgba(0, 0, 0, 1), 0 2px 10px rgba(0, 0, 0, 0.9);
    margin-bottom: 20px;
}

.cta-subtitle {
    font-size: 19px;
    color: var(--gray-200);
    max-width: 480px;
    margin: 0 auto 44px;
    line-height: 1.6;
    font-weight: 400;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.cta-locations {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    font-size: 17px;
    color: var(--gray-300);
}

.dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--gray-600);
}

/* CTA Footer — integrated into Slide 5 */
.cta-footer {
    width: 100%;
    padding: 24px 0;
    border-top: 1px solid var(--black-border);
    position: relative;
    z-index: 1;
}

.cta-footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 12px;
}

.cta-footer-links a {
    font-size: 12px;
    color: var(--gray-500);
    transition: color 0.3s;
}

.cta-footer-links a:hover {
    color: var(--white);
}

.cta-footer-copy {
    font-size: 11px;
    color: var(--gray-600);
    text-align: center;
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Background image styles are defined inline in index.html <head>
   to work around a CSS parsing issue with the external stylesheet. */

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

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

    .hero {
        padding: 48px 20px 0;
    }

    .hero-title {
        font-size: clamp(40px, 10vw, 60px);
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 24px 0;
    }

    .stat-number {
        font-size: clamp(28px, 6vw, 36px);
    }

    .stat-suffix {
        font-size: clamp(16px, 4vw, 22px);
    }

    .section {
        padding: 60px 0;
    }

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

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

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

    .section-quote {
        margin-top: 60px;
        padding-top: 40px;
    }

    .section-quote-text {
        font-size: clamp(20px, 5vw, 28px);
    }

    .cta-section {
        height: auto;
        min-height: 100vh;
        padding: 80px 0 0;
    }

    .btn-large {
        padding: 14px 28px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .cta-footer-links {
        flex-wrap: wrap;
    }
}
