:root {
    --bg-color: #050505;
    --text-color: #f5f5f5;
    --accent: #fff;
    --border: rgba(255, 255, 255, 0.15);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Noise overlay for brutalist feel */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.05;
    background: url('data:image/svg+xml;utf8,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.85" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
}

/* Custom Cursor */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--accent);
    mix-blend-mode: difference;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: width 0.3s cubic-bezier(0.25, 1, 0.5, 1), height 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}
.custom-cursor.hover {
    width: 64px;
    height: 64px;
}

/* Container & Grid */
.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 4vw;
}

/* Header — minimal top bar, only MADE IN BRAZIL on the right */
.header {
    position: absolute;
    top: 0;
    right: 0;
    padding: 3vh 4vw;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    z-index: 5;
}

.made-in {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    color: #D4AF37;
    font-size: 0.75rem;
}

.flag-br {
    display: block;
    width: 1em;
    height: 1em;
    flex-shrink: 0;
}

/* Hero Section — the only thing on the first screen is the giant logo */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo {
    display: block;
    width: min(92vw, 1400px);
    height: auto;
    filter: drop-shadow(0 0 60px rgba(255, 255, 255, 0.04));
}

/* Showcase Section */
.showcase {
    padding: 15vh 0 20vh;
    border-top: 1px solid var(--border);
}

.showcase-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
}

.showcase-header h2 {
    font-family: 'Instrument Serif', serif;
    font-size: clamp(3rem, 7vw, 7rem);
    font-weight: 400;
    line-height: 0.9;
}

.showcase-header span {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding-bottom: 0.5rem;
    opacity: 0.6;
}

.iframe-container {
    width: 100%;
    height: 80vh;
    background: #000;
    border: 1px solid var(--border);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
    transform-origin: center top;
}

.iframe-container::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0) 100%);
    pointer-events: none;
}

.iframe-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(100%) contrast(1.1) brightness(0.9);
    transition: filter 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.iframe-container:hover iframe {
    filter: grayscale(0%) contrast(1) brightness(1);
}

/* Footer */
.footer {
    padding: 6vh 0;
    border-top: 1px solid var(--border);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

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

.footer-left {
    opacity: 0.6;
}

.magnetic-btn {
    display: inline-block;
    padding: 1.2rem 2.5rem;
    border: 1px solid var(--text-color);
    color: var(--text-color);
    text-decoration: none;
    border-radius: 100px;
    transition: background 0.4s cubic-bezier(0.25, 1, 0.5, 1), color 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.magnetic-btn:hover {
    background: var(--text-color);
    color: var(--bg-color);
}
