*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --accent: #7C5CFC;
    --accent-light: #EEE9FF;
    --accent-dark: #5238C8;
    --text: #111;
    --muted: #666;
    --border: #e8e8e8;
    --bg: #fff;
    --surface: #f8f8f8;
}

body {
    font-family: 'Instrument Sans', sans-serif;
    color: var(--text);
    background: var(--bg);
}

/* NAV */
nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    background: var(--bg);
    z-index: 100;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

/* LOGO */
.logo-img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: contain;
    flex-shrink: 0;
}

.logo-wordmark {
    font-family: 'Syne', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
}

.logo-wordmark span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-links a {
    font-size: 14px;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--text);
}

.nav-btn {
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 8px 18px;
    font-size: 14px;
    font-family: 'Instrument Sans', sans-serif;
    cursor: pointer;
    font-weight: 500;
    transition: background 0.2s;
}

.nav-btn:hover {
    background: var(--accent-dark);
}

/* FOOTER */
footer {
    border-top: 1px solid var(--border);
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--muted);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .nav-links a {
        display: none;
    }
}

/* HERO & SLIDESHOW */
main {
    min-height: calc(100vh - 140px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: radial-gradient(circle at top right, var(--accent-light), transparent);
}

.hero {
    width: 100%;
    max-width: 1024px;
}

.slideshow-container {
    position: relative;
    height: 480px;
    width: 100%;
    overflow: hidden;
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.08);
}

.slides-wrapper {
    position: relative;
    height: 100%;
    width: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    color: var(--text);
    opacity: 0;
    visibility: hidden;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    animation: slideLoop 15s infinite;
}

.slide-content {
    max-width: 700px;
    padding: 3rem;
    transform: translateY(20px);
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide[style*="opacity: 1"] .slide-content {
    transform: translateY(0);
}

.slide h1 {
    font-family: 'Syne', sans-serif;
    font-size: 4rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.04em;
    font-weight: 700;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--text) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.slide p {
    font-size: 1.25rem;
    color: var(--muted);
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.btn-secondary {
    display: inline-block;
    padding: 14px 36px;
    background: var(--text);
    color: #fff;
    border-radius: 14px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    background: #000;
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.2);
}

/* Animations */
@keyframes slideLoop {
    0%, 28.33% {
        opacity: 0;
        visibility: visible;
        transform: scale(1.05);
    }
    3.33%, 25% {
        opacity: 1;
        visibility: visible;
        transform: scale(1);
    }
    31.66%, 100% {
        opacity: 0;
        visibility: hidden;
        transform: scale(0.95);
    }
}

.slide:nth-child(1) { animation-delay: 0s; }
.slide:nth-child(2) { animation-delay: 5s; }
.slide:nth-child(3) { animation-delay: 10s; }

/* RESPONSIVE */
@media (max-width: 768px) {
    main {
        padding: 1rem;
    }
    .slide h1 {
        font-size: 2.5rem;
    }
    .slideshow-container {
        height: 400px;
        border-radius: 24px;
    }
}
