:root {
    --bg-white: #FFFFFF;
    --bg-black: #000000;
    --bg-yellow: #fcf2a6;
    --bg-green: #afffcc;
    --bg-pink: #ffc2e2;
    --bg-orange: #fee0c7;
    --border-heavy: 6px solid #000;
    --border-med: 4px solid #000;
    --shadow-heavy: 8px 8px 0px #000;
    --shadow-med: 4px 4px 0px #000;
    --font-main: 'Inter', sans-serif;
}

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

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

/* Utilities */
.bg-yellow {
    background-color: var(--bg-yellow) !important;
}

.bg-green {
    background-color: var(--bg-green) !important;
}

.bg-pink {
    background-color: var(--bg-pink) !important;
}

.bg-orange {
    background-color: var(--bg-orange) !important;
}

.brute-box {
    background-color: var(--bg-white);
    border: var(--border-heavy);
    box-shadow: var(--shadow-heavy);
    padding: 2rem;
    border-radius: 20px;
}

.brute-header {
    background-color: var(--bg-white);
    border: var(--border-med);
    box-shadow: var(--shadow-med);
    padding: 1.5rem;
    border-radius: 16px;
    display: inline-block;
    margin-bottom: 2rem;
}

.brute-header h2 {
    font-size: 2.5rem;
    font-style: italic;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.brute-header p {
    font-weight: 700;
    color: #4b5563;
    margin-top: 0.5rem;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* Header */
.logo-header {
    width: 100%;
    height: 90px;
    padding: 10px 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--bg-white);
}

.logo {
    height: 70px;
    width: auto;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.header-download {
    color: var(--bg-black);
    text-decoration: none;
    font-weight: 900;
    font-style: italic;
    font-size: 1.25rem;
    text-transform: uppercase;
    border: var(--border-med);
    border-radius: 100px;
    padding: 0.5rem 1.5rem;
    box-shadow: var(--shadow-med);
    background-color: var(--bg-yellow);
    transition: all 0.2s ease;
}

.header-download:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px #000;
}

/* Panels */
.panel {
    min-height: 100vh;
    padding: 6rem 2rem 2rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.panel.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero */
.hero {
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 6rem;
}

/* Overlay for readability */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
}

.hero-content {
    position: relative;
    max-width: 800px;
    text-align: center;
    z-index: 10;
    transform: rotate(-1deg);
    margin-top: auto;
    /* Push to bottom if container is flex */
    margin-bottom: 2rem;
}

.hero-content h1 {
    font-size: 5rem;
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: -2px;
    line-height: 1;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.5rem;
    font-weight: 700;
    color: #374151;
    margin-bottom: 2.5rem;
}

.cta-button {
    display: inline-block;
    background-color: var(--bg-green);
    color: var(--bg-black);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 900;
    font-style: italic;
    text-transform: uppercase;
    padding: 1rem 2.5rem;
    border: var(--border-med);
    border-radius: 100px;
    box-shadow: var(--shadow-med);
    transition: all 0.2s ease;
}

.cta-button:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px #000;
}

.cta-button:active {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px #000;
}

/* Features */
.feature {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 0;
    min-height: auto;
}

.feature.reverse {
    flex-direction: column;
}

.feature-img {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: var(--border-heavy);
}

.feature-text {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 6.5rem 2rem;
    text-align: center;
    background-color: var(--bg-white);
    border-bottom: var(--border-heavy);
}

.feature-text h2,
.feature-text p {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.feature-text h2 {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: -1.5px;
    line-height: 1;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.feature-text p:not(.app-promo-tag):not(.app-promo-subtag):not(.app-promo-desc) {
    font-size: 1.25rem;
    font-weight: 500;
    color: #4b5563;
    line-height: 1.5;
}

/* Kites Gallery */
.kites-gallery {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    padding: 6rem 2rem 8rem 2rem;
    background-color: #fef9c3;
}

.kite-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 2rem;
    width: 100%;
    max-width: 1400px;
}

.kite-item {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
    background-color: var(--bg-white);
    border: var(--border-med);
    border-radius: 24px;
    box-shadow: var(--shadow-med);
    padding: 1rem;
    transition: transform 0.2s ease;
    cursor: pointer;
}

.kite-item:hover {
    transform: scale(1.1) rotate(3deg);
}

/* Footer */
.brute-footer {
    background-color: var(--bg-black);
    color: var(--bg-white);
    padding: 4rem 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--bg-yellow);
    text-decoration: none;
    font-weight: 900;
    font-style: italic;
    font-size: 1.25rem;
    text-transform: uppercase;
    border-bottom: 4px solid transparent;
    transition: border-color 0.2s;
}

.footer-links a:hover {
    border-color: var(--bg-yellow);
}

.brute-footer p {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    color: #9ca3af;
}

/* Modal Styling */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: var(--bg-white);
    max-width: 600px;
    width: 90%;
    position: relative;
    padding: 2.5rem;
    transform: rotate(0.5deg);
    animation: popIn 0.3s ease-out;
}

.close-modal {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    color: #000;
    font-size: 3rem;
    font-weight: 900;
    cursor: pointer;
    line-height: 1;
    transition: transform 0.2s;
}

.close-modal:hover {
    transform: scale(1.1) rotate(90deg);
}

.modal-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
}

.modal-img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    border: var(--border-med);
    border-radius: 24px;
    box-shadow: var(--shadow-med);
    padding: 1rem;
    background-color: #fff;
}

.modal-text h2 {
    font-size: 2.5rem;
    font-style: italic;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    letter-spacing: -1px;
}

.modal-text p {
    font-size: 1.15rem;
    font-weight: 700;
    color: #4b5563;
    line-height: 1.4;
}

@keyframes popIn {
    from {
        opacity: 0;
        transform: scale(0.8) rotate(-2deg);
    }

    to {
        opacity: 1;
        transform: scale(1) rotate(0.5deg);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .feature-img {
        height: auto;
        width: 100%;
        object-fit: contain;
    }
}

.app-promo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.app-promo-tag {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 0.5rem;
}

.app-promo-title {
    font-size: 6rem;
    font-weight: 900;
    letter-spacing: -3px;
    line-height: 0.9;
    margin-bottom: 2rem;
}

.app-promo-subtag {
    font-size: 1rem;
    font-weight: 500;
    color: #6b7280;
    margin-top: 1rem;
    margin-bottom: 2.5rem;
    display: inline-block;
}

.app-promo-desc {
    font-size: 1.25rem;
    font-weight: 500;
    color: #4b5563;
    line-height: 1.5;
    max-width: 640px;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .brute-header h2 {
        font-size: 1.75rem;
    }
    
    .feature-text h2 {
        font-size: 2rem;
    }
    
    .modal-text h2 {
        font-size: 1.75rem;
    }
    
    .app-promo-title {
        font-size: 3.5rem;
    }

    .kite-grid:not(.expanded) .kite-item:nth-child(n+11) {
        display: none;
    }

    #seeAllKitesBtn {
        display: inline-block !important;
    }

    .kite-grid.expanded + #seeAllKitesBtn {
        display: none !important;
    }
}