/* =========================================
   zeitvision - Main Stylesheet
   ========================================= */

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

:root {
    --black: #000000;
    --white: #FFFFFF;
    --gray: #888888;
    --light-gray: #F5F5F5;
    --accent: #FFEE00;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

::selection {
    background: var(--accent);
    color: var(--black);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--white);
    color: var(--black);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 16px;
    font-weight: 400;
    cursor: none;
}

.cursor {
    width: 12px;
    height: 12px;
    background: var(--black);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: all 0.2s ease;
    transform: translate(-50%, -50%);
}

.cursor.hover {
    transform: translate(-50%, -50%) scale(2.5);
    background: var(--accent);
}

.cursor.white {
    background: var(--white);
}

@media (hover: none) {
    * { cursor: auto !important; }
    .cursor { display: none; }
}

.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--white);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: transform 1.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 1.2s ease;
}

.loader.hide {
    transform: translateY(-100%);
    opacity: 0;
}

.loader-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.loader-circle {
    position: relative;
    width: 180px;
    height: 180px;
}

.loader-circle svg {
    transform: rotate(-90deg);
    width: 100%;
    height: 100%;
}

.loader-circle-bg {
    fill: none;
    stroke: var(--light-gray);
    stroke-width: 2;
}

.loader-circle-progress {
    fill: none;
    stroke: var(--accent);
    stroke-width: 2;
    stroke-dasharray: 565;
    stroke-dashoffset: 565;
    animation: progressCircle 2.5s ease-in-out forwards;
    stroke-linecap: round;
}

.loader-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--black);
    opacity: 0;
    animation: logoFadeIn 0.8s ease 0.5s forwards;
}

@keyframes progressCircle {
    from { stroke-dashoffset: 565; }
    to { stroke-dashoffset: 0; }
}

@keyframes logoFadeIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    background: var(--accent);
    z-index: 1001;
    transition: width 0.2s ease;
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 2rem 3rem;
    z-index: 1000;
    background: var(--white);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

nav.scrolled {
    padding: 1.5rem 3rem;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    transition: opacity 0.3s ease;
    position: relative;
    text-decoration: none;
    color: var(--black);
}

.logo::after {
    content: '®';
    position: absolute;
    top: 0;
    right: -6px;
    font-size: 0.5rem;
    font-weight: 400;
    opacity: 0.5;
}

.logo:hover {
    opacity: 0.6;
}

.nav-menu {
    display: flex;
    gap: 3rem;
    list-style: none;
    align-items: center;
}

.nav-link {
    color: var(--black);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 400;
    transition: opacity 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--black);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 0;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--black);
    margin: 5px 0;
    transition: 0.3s;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 4rem;
    position: relative;
}

.hero-content h1 {
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.03em;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease 0.5s forwards;
}

.hero-content h1 .accent {
    position: relative;
    display: inline-block;
}

.hero-content h1 .accent::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 35%;
    background: var(--accent);
    z-index: -1;
    animation: expandWidth 0.8s ease 1.3s both;
}

@keyframes expandWidth {
    from { width: 0; }
    to { width: 100%; }
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--gray);
    max-width: 600px;
    margin-bottom: 3rem;
    font-weight: 300;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease 0.7s forwards;
}

.hero-cta {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--black);
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s var(--ease);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease 0.9s forwards;
    position: relative;
    overflow: hidden;
}

.hero-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--accent);
    transition: left 0.3s ease;
    z-index: -1;
}

.hero-cta:hover {
    color: var(--black);
    transform: translateX(5px);
}

.hero-cta:hover::before {
    left: 0;
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

.time-zones {
    position: absolute;
    bottom: 2rem;
    right: 3rem;
    display: flex;
    gap: 2rem;
    font-size: 0.75rem;
    color: var(--gray);
    font-weight: 500;
    letter-spacing: 0.02em;
    z-index: 100;
}

.timezone span {
    display: block;
    color: var(--black);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    font-size: 0.875rem;
    color: var(--gray);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 500;
    letter-spacing: -0.02em;
}

.services {
    padding: 6rem 0;
    background: var(--light-gray);
}

.services-preview {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-preview-card {
    padding: 3rem;
    background: var(--white);
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.service-preview-card:hover {
    transform: translateX(10px);
    border-left-color: var(--accent);
}

.service-preview-number {
    font-size: 0.875rem;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.service-preview-card h3 {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.service-preview-card p {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.service-preview-list {
    list-style: none;
}

.service-preview-list li {
    padding: 0.5rem 0;
    color: var(--gray);
    position: relative;
    padding-left: 1.5rem;
}

.service-preview-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent);
}

.about-preview {
    padding: 6rem 0;
    background: var(--white);
}

.about-preview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-preview-text h2 {
    font-size: 3rem;
    font-weight: 500;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.about-preview-text p {
    font-size: 1.125rem;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-cta {
    display: inline-block;
    margin-top: 1rem;
    padding: 1rem 2rem;
    background: var(--black);
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.about-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--accent);
    transition: left 0.3s ease;
    z-index: -1;
}

.about-cta:hover {
    color: var(--black);
    transform: translateX(5px);
}

.about-cta:hover::before {
    left: 0;
}

.about-stats-preview {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 3rem;
    background: var(--light-gray);
    border-left: 4px solid var(--accent);
}

.stat-preview {
    text-align: left;
}

.stat-preview .stat-number {
    font-size: 2.5rem;
    font-weight: 600;
    display: block;
    letter-spacing: -0.02em;
    color: var(--black);
}

.stat-preview .stat-label {
    font-size: 0.875rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.5rem;
    display: block;
}

.contact {
    background: var(--light-gray);
    color: var(--black);
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.contact-content {
    max-width: 1000px;
    position: relative;
    z-index: 1;
    text-align: center;
    margin: 0 auto;
}

.contact-headline h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 500;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--black);
}

.contact-headline p {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 4rem;
    font-weight: 300;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.contact-options {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 3rem;
}

.contact-option h3 {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    color: var(--black);
}

.contact-option p {
    font-size: 0.9375rem;
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.contact-divider {
    width: 1px;
    height: 80px;
    background: #ddd;
}

.contact-link {
    font-size: 1.5rem;
    color: var(--black);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    font-weight: 500;
    position: relative;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--black);
}

.contact-link:hover {
    color: var(--black);
    border-bottom-color: var(--accent);
    border-bottom-width: 5px;
    transform: translateY(-2px);
}

footer {
    background: var(--black);
    color: var(--white);
    margin-top: 0;
}

.footer-main {
    padding: 5rem 0 3rem;
    border-top: none;
}

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

.footer-logo {
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.footer-logo::after {
    content: '®';
    position: absolute;
    top: 0;
    margin-left: 2px;
    font-size: 0.6rem;
    font-weight: 400;
    opacity: 0.5;
}

.footer-tagline {
    color: var(--gray);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 280px;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border: 1px solid #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon {
    color: var(--gray);
    font-size: 0.75rem;
    font-weight: 600;
}

.social-link:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-3px);
}

.social-link:hover .social-icon {
    color: var(--black);
}

.footer-column h4 {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
    color: var(--white);
}

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

.footer-list li {
    margin-bottom: 1rem;
}

.footer-list a {
    color: var(--gray);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.footer-list a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.3s ease;
}

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

.footer-list a:hover::after {
    width: 100%;
}

.footer-contact .contact-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray);
    margin-bottom: 0.25rem;
}

.footer-contact li {
    margin-bottom: 1.5rem;
}

.footer-contact span:not(.contact-label) {
    color: var(--white);
    font-size: 0.9375rem;
}

.footer-bottom {
    background: #0a0a0a;
    padding: 2rem 0;
}

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

.footer-copyright {
    color: var(--gray);
    font-size: 0.875rem;
    letter-spacing: -0.01em;
}

.footer-legal {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer-legal a {
    color: var(--gray);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

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

.separator {
    color: #333;
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media (max-width: 968px) {
    .time-zones {
        display: none;
    }

    .container {
        padding: 0 2rem;
    }

    nav {
        padding: 1.5rem 2rem;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.5s var(--ease);
    }

    .nav-menu.active {
        right: 0;
    }

    .menu-toggle {
        display: block;
        z-index: 1001;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

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

    .about-preview-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-options {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-divider {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .footer-brand {
        order: 1;
    }

    .footer-tagline {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-column {
        order: 2;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-legal {
        order: -1;
    }
}
