/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Backgrounds */
    --bg-primary: #F8F6F1;
    --bg-dark: #1A1A1A;

    /* Accents */
    --accent-yellow: #FFE74C;
    --accent-blue: #4DA8DA;
    --accent-coral: #F08080;

    /* Text */
    --text-primary: #1A1A1A;
    --text-inverse: #FFFFFF;
    --text-muted: #666666;

    /* Borders */
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --border-radius-pill: 50px;

    /* Spacing - tighter for less whitespace */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 32px;
    --space-xl: 48px;
    --space-2xl: 64px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    background: var(--bg-primary);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3 {
    font-family: 'Space Grotesk', sans-serif;
}

.script-text {
    font-family: 'Playfair Display', serif;
    font-style: italic;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes wiggle {
    0%, 100% { transform: rotate(-2deg); }
    50% { transform: rotate(2deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: auto;
    padding: 80px 0 48px;
    overflow: visible;
    background: var(--bg-primary);
}

.hero-bg {
    display: none;
}

.hero .container {
    position: relative;
    z-index: 1;
}

/* Top Navigation */
.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 48px;
    background: rgba(248, 246, 241, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 2px solid var(--text-primary);
}

.logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.logo-accent {
    color: var(--accent-blue);
}

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

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

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

/* Hero Window Container */
.hero-window {
    background: var(--bg-dark);
    border-radius: var(--border-radius-lg);
    padding: 48px 40px;
    margin: 16px auto 28px;
    max-width: 850px;
    position: relative;
    border: 4px solid transparent;
    background-image: linear-gradient(var(--bg-dark), var(--bg-dark)),
                      linear-gradient(135deg, var(--accent-coral), var(--accent-yellow), var(--accent-blue));
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

/* Floating decorative shapes */
.hero-window::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 60px;
    height: 60px;
    background: var(--accent-coral);
    border-radius: 50%;
    z-index: -1;
    animation: float 4s ease-in-out infinite;
}

.hero-window::after {
    content: '';
    position: absolute;
    bottom: -25px;
    right: -25px;
    width: 70px;
    height: 70px;
    background: var(--accent-blue);
    border-radius: 50%;
    z-index: -1;
    animation: float 4s ease-in-out infinite 1s;
}

.window-dots {
    position: absolute;
    top: 16px;
    right: 20px;
    display: flex;
    gap: 8px;
}

.window-dots .dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    transition: transform 0.2s;
}

.window-dots .dot:hover {
    transform: scale(1.2);
}

.window-dots .dot.coral { background: var(--accent-coral); }
.window-dots .dot.yellow { background: var(--accent-yellow); }
.window-dots .dot.blue { background: var(--accent-blue); }

/* Hero Content */
.hero-content {
    text-align: center;
}

.hero-badge {
    display: none;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -1.5px;
    color: var(--text-inverse);
}

.gradient-text {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: var(--accent-yellow);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-inverse);
    opacity: 0.85;
    max-width: 500px;
    margin: 0 auto 28px;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--border-radius-pill);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--accent-yellow);
    color: var(--text-primary);
    border: 2px solid var(--text-primary);
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(26, 26, 26, 0.2);
}

.btn-secondary {
    background: var(--accent-blue);
    color: var(--text-inverse);
    border: 2px solid var(--accent-blue);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(77, 168, 218, 0.4);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    padding: 20px 32px;
    background: var(--text-inverse);
    border: 3px solid var(--text-primary);
    border-radius: var(--border-radius-lg);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

/* Tech frame corners */
.hero-stats::before,
.hero-stats::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 12px;
    border: 3px solid var(--accent-yellow);
}

.hero-stats::before {
    top: -6px;
    left: -6px;
    border-right: none;
    border-bottom: none;
}

.hero-stats::after {
    bottom: -6px;
    right: -6px;
    border-left: none;
    border-top: none;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.stat-divider {
    width: 2px;
    height: 36px;
    background: var(--text-primary);
    opacity: 0.2;
}

/* ============================================
   SECTION STYLES
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 32px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--bg-dark);
    border-radius: var(--border-radius-pill);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-inverse);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -1px;
    color: var(--text-primary);
}

/* ============================================
   WHAT WE DO SECTION
   ============================================ */
.what-we-do {
    padding: var(--space-2xl) 0;
    background: var(--bg-primary);
}

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

.service-card {
    padding: 32px 24px;
    background: var(--accent-yellow);
    border: 3px solid var(--text-primary);
    border-radius: var(--border-radius-lg);
    transition: all 0.3s ease;
    position: relative;
}

.service-card:hover {
    transform: translateY(-4px) rotate(-1deg);
    box-shadow: 8px 8px 0 var(--text-primary);
}

.service-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-dark);
    border-radius: var(--border-radius-md);
    margin-bottom: 20px;
    color: var(--text-inverse);
}

.service-card h3 {
    font-size: 1.35rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.85;
}

/* ============================================
   CREATORS SECTION
   ============================================ */
.creators-section {
    padding: var(--space-2xl) 0;
    background: var(--bg-primary);
}

.creators-tier {
    margin-bottom: 40px;
}

.creators-tier:last-child {
    margin-bottom: 0;
}

.tier-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    margin-bottom: 24px;
}

.creator-grid {
    display: grid;
    gap: 24px;
    max-width: 950px;
    margin: 0 auto;
}

.creator-grid.main {
    grid-template-columns: repeat(4, 1fr);
}

.creator-grid.secondary {
    grid-template-columns: repeat(6, 1fr);
}

/* Trading Card Style Creator Cards */
.creator-card {
    text-align: center;
    transition: transform 0.3s ease;
    text-decoration: none;
    display: block;
}

.creator-card:hover {
    transform: translateY(-4px);
}

.creator-card.plus-card:hover {
    transform: none;
}

.creator-card.plus-card .creator-image {
    cursor: default;
}

.creator-card.plus-card .creator-image,
.creator-card.plus-card:hover .creator-image {
    box-shadow: 4px 4px 0 var(--text-primary) !important;
}

.creator-card.plus-card .creator-image::after {
    display: none;
}

.creator-image {
    position: relative;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background-color: var(--bg-dark);
    background-size: cover;
    background-position: center;
    margin: 0 auto 12px;
    border: 4px solid var(--text-primary);
    box-shadow: 4px 4px 0 var(--accent-yellow);
    transition: all 0.3s ease;
    overflow: hidden;
}

.creator-card:hover .creator-image {
    box-shadow: 6px 6px 0 var(--accent-coral);
}

/* Holographic shine effect */
.creator-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        transparent 40%,
        rgba(255, 255, 255, 0.15) 45%,
        rgba(255, 255, 255, 0.25) 50%,
        rgba(255, 255, 255, 0.15) 55%,
        transparent 60%
    );
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.creator-card:hover .creator-image::after {
    transform: translateX(100%);
}

.creator-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 8px;
    background: linear-gradient(transparent, rgba(26, 26, 26, 0.9));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.creator-card:hover .creator-overlay {
    opacity: 1;
}

.creator-tag {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--accent-yellow);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.creator-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-primary);
}

/* Small creator cards */
.creator-card.small .creator-image {
    width: 100px;
    height: 100px;
    box-shadow: 3px 3px 0 var(--accent-yellow);
}

.creator-card.small .creator-name {
    font-size: 0.8rem;
}

.creator-image.plus-more {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-coral));
    box-shadow: 4px 4px 0 var(--text-primary);
}

.creator-image.plus-more span {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-inverse);
}

/* ============================================
   BRANDS SECTION
   ============================================ */
.brands-section {
    padding: var(--space-2xl) 0;
    background: var(--bg-dark);
    position: relative;
}

.brands-section .section-header h2 {
    color: var(--text-inverse);
}

.brands-section .section-tag {
    background: var(--accent-yellow);
    color: var(--text-primary);
}

.brand-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.brand-card {
    text-align: center;
}

.brand-logo {
    width: 100px;
    height: 100px;
    border-radius: var(--border-radius-md);
    background-color: #ffffff;
    background-size: 65%;
    background-position: center;
    background-repeat: no-repeat;
    margin: 0 auto 12px;
    border: 3px solid var(--accent-yellow);
    transition: all 0.3s ease;
}

.brand-card:hover .brand-logo {
    transform: translateY(-4px) rotate(2deg);
    box-shadow: 4px 4px 0 var(--accent-yellow);
}

.brand-name {
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--text-inverse);
    opacity: 0.8;
}

/* ============================================
   WORK/PROJECTS SECTION
   ============================================ */
.work-section {
    padding: var(--space-2xl) 0;
    background: var(--bg-primary);
}

.project-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: var(--text-inverse);
    border: 3px solid var(--text-primary);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 8px 8px 0 var(--accent-blue);
}

.project-featured.stacked {
    grid-template-columns: 1fr;
}

.project-image {
    min-height: 300px;
    background-color: var(--bg-dark);
    background-size: cover;
    background-position: center;
}

.project-featured.stacked .project-image {
    min-height: 200px;
}

.project-content {
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-featured.stacked .project-content {
    padding: 28px 32px;
}

.project-brands-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.project-brand {
    padding: 4px 12px;
    background: var(--bg-dark);
    border-radius: var(--border-radius-pill);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-inverse);
}

.project-x {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 700;
}

.project-content h3 {
    font-size: 1.75rem;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.project-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.project-highlights {
    list-style: none;
    padding: 0;
}

.project-highlights li {
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.project-highlights li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--accent-coral);
    font-size: 0.7rem;
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    padding: 48px 0 32px;
    background: var(--bg-dark);
}

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

.footer-brand .logo {
    color: var(--text-inverse);
}

.footer-brand p {
    color: var(--text-inverse);
    opacity: 0.6;
    margin-top: 6px;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 28px;
}

.footer-links a {
    color: var(--text-inverse);
    opacity: 0.6;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: var(--text-inverse);
    opacity: 0.5;
    font-size: 0.85rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .creator-grid.main {
        grid-template-columns: repeat(3, 1fr);
    }

    .creator-grid.secondary {
        grid-template-columns: repeat(3, 1fr);
    }

    .project-featured {
        grid-template-columns: 1fr;
    }

    .project-image {
        min-height: 250px;
    }

    .project-content {
        padding: 28px;
    }
}

@media (max-width: 768px) {
    .top-nav {
        padding: 12px 20px;
    }

    .nav-links {
        display: none;
    }

    .hero {
        padding: 70px 0 40px;
    }

    .hero-window {
        margin: 12px 16px 24px;
        padding: 40px 24px;
    }

    .hero-window::before,
    .hero-window::after {
        display: none;
    }

    .window-dots .dot {
        width: 10px;
        height: 10px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 24px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
        padding: 20px;
    }

    .hero-stats::before,
    .hero-stats::after {
        display: none;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-divider {
        width: 40px;
        height: 2px;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .creator-grid.main,
    .creator-grid.secondary {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .creator-image {
        width: 110px;
        height: 110px;
    }

    .creator-card.small .creator-image {
        width: 85px;
        height: 85px;
    }

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

    .brand-logo {
        width: 85px;
        height: 85px;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-window {
        margin: 8px 12px 20px;
        padding: 32px 20px;
    }

    .window-dots {
        top: 12px;
        right: 14px;
        gap: 5px;
    }

    .window-dots .dot {
        width: 8px;
        height: 8px;
    }

    .hero h1 {
        font-size: 1.6rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

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

    .btn {
        width: 100%;
        max-width: 240px;
        text-align: center;
        padding: 10px 20px;
    }

    .service-card {
        padding: 24px 20px;
    }

    .service-card:hover {
        box-shadow: 5px 5px 0 var(--text-primary);
    }

    .creator-grid.main,
    .creator-grid.secondary {
        gap: 12px;
    }

    .creator-image {
        width: 90px;
        height: 90px;
        box-shadow: 3px 3px 0 var(--accent-yellow);
    }

    .creator-card.small .creator-image {
        width: 70px;
        height: 70px;
    }

    .creator-name {
        font-size: 0.8rem;
    }

    .project-featured {
        box-shadow: 5px 5px 0 var(--accent-blue);
    }

    .project-featured.stacked .project-image {
        min-height: 140px;
    }

    .project-content h3 {
        font-size: 1.35rem;
    }

    .project-highlights li {
        font-size: 0.8rem;
    }
}
