/**
 * ScrubberSweeper Main Styles
 * Local CSS file to replace Tailwind CDN dependency
 */

/* ===== RESET & BASE ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
    background-color: #1a1a1a;
    color: #fafafa;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    selection: background-color: #f97316;
    color: #fafafa;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

a {
    color: #f97316;
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: #ea580c;
}

/* ===== UTILITY CLASSES ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-grow { flex-grow: 1; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }
.inline-flex { display: inline-flex; }

/* ===== SPACING ===== */
.p-2 { padding: 0.5rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.p-12 { padding: 3rem; }
.p-20 { padding: 5rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.pb-2 { padding-bottom: 0.5rem; }
.pt-0 { padding-top: 0; }
.pt-2 { padding-top: 0.5rem; }
.pt-4 { padding-top: 1rem; }
.pt-6 { padding-top: 1.5rem; }
.pt-8 { padding-top: 2rem; }
.pt-12 { padding-top: 3rem; }
.pt-20 { padding-top: 5rem; }

.m-4 { margin: 1rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-16 { margin-bottom: 4rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-12 { margin-top: 3rem; }
.mt-auto { margin-top: auto; }
.mr-2 { margin-right: 0.5rem; }
.mr-4 { margin-right: 1rem; }
.ml-2 { margin-left: 0.5rem; }

/* ===== SIZES ===== */
.w-3 { width: 0.75rem; }
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-8 { width: 2rem; }
.w-10 { width: 2.5rem; }
.w-full { width: 100%; }
.w-1\/2 { width: 50%; }
.h-3 { height: 0.75rem; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-8 { height: 2rem; }
.h-10 { height: 2.5rem; }
.h-14 { height: 3.5rem; }
.h-20 { height: 5rem; }
.h-full { height: 100%; }
.min-h-screen { min-height: 100vh; }
.h-\[85vh\] { height: 85vh; }
.max-w-2xl { max-width: 42rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-xl { max-width: 36rem; }

/* ===== COLORS ===== */
.bg-background { background-color: #1a1a1a; }
.bg-foreground { background-color: #fafafa; }
.bg-primary { background-color: #f97316 !important; }
.bg-secondary { background-color: #2a2a2a; }
.bg-muted { background-color: #2a2a2a; }
.bg-card { background-color: #1f1f1f; }
.bg-black\/60 { background-color: rgba(0, 0, 0, 0.6); }
.bg-black\/80 { background-color: rgba(0, 0, 0, 0.8); }
.bg-primary\/90 { background-color: rgba(249, 115, 22, 0.9); }
.bg-primary\/20 { background-color: rgba(249, 115, 22, 0.2); }
.bg-white\/10 { background-color: rgba(255, 255, 255, 0.1); }

.text-background { color: #1a1a1a; }
.text-foreground { color: #fafafa; }
.text-primary { color: #f97316; }
.text-muted-foreground { color: #a3a3a3; }
.text-white { color: #ffffff; }
.text-gray-200 { color: #e5e7eb; }

.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }
.text-6xl { font-size: 3.75rem; }
.text-8xl { font-size: 6rem; }

.font-bold { font-weight: 700; }
.font-mono { font-family: 'Roboto Mono', monospace; }
.font-light { font-weight: 300; }
.uppercase { text-transform: uppercase; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }
.tracking-tighter { letter-spacing: -0.05em; }

.leading-none { line-height: 1; }
.leading-\[0\.9\] { line-height: 0.9; }
.leading-relaxed { line-height: 1.625; }

/* ===== BORDERS ===== */
.border { border: 1px solid #3a3a3a; }
.border-b { border-bottom: 1px solid #3a3a3a; }
.border-b-4 { border-bottom: 4px solid #f97316; }
.border-l-4 { border-left: 4px solid #f97316; }
.border-t { border-top: 1px solid #3a3a3a; }
.border-2 { border: 2px solid #fafafa; }
.border-dashed { border-style: dashed; }

.rounded-sm { border-radius: 0.125rem; }
.rounded-none { border-radius: 0; }

/* ===== LAYOUT ===== */
.relative { position: relative; }
.absolute { position: absolute; }
.sticky { position: sticky; }
.top-0 { top: 0; }
.top-4 { top: 1rem; }
.top-20 { top: 5rem; }
.bottom-0 { bottom: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.inset-0 { inset: 0; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-50 { z-index: 50; }

.overflow-hidden { overflow: hidden; }
.flex-wrap { flex-wrap: wrap; }
.flex-col { flex-direction: column; }
.flex-grow { flex-grow: 1; }

.aspect-\[4\/3\] { aspect-ratio: 4/3; }
.object-cover { object-fit: cover; }
.backdrop-blur-sm { backdrop-filter: blur(4px); }
.backdrop-blur-md { backdrop-filter: blur(12px); }

/* ===== HEADER ===== */
header {
    border-bottom: 4px solid #f97316;
    background-color: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(4px);
}

header .container {
    height: 5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header nav a {
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.5rem 0;
    position: relative;
    color: #fafafa;
}

header nav a:hover {
    color: #f97316;
}

header nav a.bg-primary {
    padding: 0.5rem 1.5rem;
    background-color: #f97316;
    color: #1a1a1a;
    transform: skewX(-10deg);
}

/* ===== TOP BAR ===== */
.top-bar {
    background-color: #fafafa;
    color: #1a1a1a;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(249, 115, 22, 0.2);
}

@media (max-width: 768px) {
    .top-bar { display: none; }
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    height: 85vh;
    width: 100%;
    overflow: hidden;
    background-color: #fafafa;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.6;
    background-image: url('/static/images/hero-banner.jpg');
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 10;
    background: radial-gradient(circle at center, transparent 0%, #1a1a1a 100%);
}

.hero-gradient {
    position: absolute;
    inset: 0;
    z-index: 10;
    background: linear-gradient(to bottom right, transparent, transparent, rgba(26, 26, 26, 0.8));
}

.hero-content {
    position: relative;
    z-index: 20;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: rgba(249, 115, 22, 0.9);
    color: #1a1a1a;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.75rem;
    margin-bottom: 1.5rem;
    border-radius: 0.125rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: #fafafa;
    line-height: 0.9;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.hero-title span {
    background: linear-gradient(to right, #f97316, rgba(249, 115, 22, 0.6));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 1.5rem;
    backdrop-filter: blur(4px);
    border-left: 4px solid #f97316;
    margin-bottom: 2.5rem;
    max-width: 36rem;
}

.hero-description p {
    font-size: 1.25rem;
    color: #e5e7eb;
    font-weight: 300;
    line-height: 1.6;
}

.hero-stats {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 20;
    backdrop-filter: blur(12px);
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.hero-stat-label {
    color: #f97316;
    font-family: 'Roboto Mono', monospace;
    font-size: 0.75rem;
}

.hero-stat-value {
    color: #fafafa;
    font-weight: 700;
    font-size: 1.5rem;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 2px solid transparent;
    border-radius: 0;
    transition: all 0.3s;
    text-decoration: none;
    cursor: pointer;
}

.btn-primary {
    background-color: #f97316;
    color: #1a1a1a;
}

.btn-primary:hover {
    background-color: rgba(249, 115, 22, 0.9);
}

.btn-secondary {
    border-color: #fafafa;
    color: #fafafa;
    background-color: transparent;
}

.btn-secondary:hover {
    background-color: #fafafa;
    color: #1a1a1a;
}

.btn-skew {
    transform: skewX(-10deg);
}

.btn-skew span {
    transform: skewX(10deg);
    display: inline-flex;
    align-items: center;
}

/* ===== FEATURES ===== */
.feature-card {
    border: 1px solid #3a3a3a;
    background-color: #1f1f1f;
    padding: 2rem;
    transition: all 0.3s;
    border-radius: 0.125rem;
}

.feature-card:hover {
    border-color: rgba(249, 115, 22, 0.5);
}

.feature-icon {
    width: 4rem;
    height: 4rem;
    margin-bottom: 1.5rem;
    background-color: #2a2a2a;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.125rem;
    border: 1px solid #3a3a3a;
}

.feature-card:hover .feature-icon {
    border-color: #f97316;
    background-color: rgba(249, 115, 22, 0.1);
}

.feature-card h3 {
    font-size: 1.25rem;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    color: #fafafa;
}

.feature-card:hover h3 {
    color: #f97316;
}

.feature-card p {
    color: #a3a3a3;
    font-size: 0.875rem;
    line-height: 1.6;
}

/* ===== PRODUCTS ===== */
.product-card {
    border: 1px solid #3a3a3a;
    background-color: #1f1f1f;
    transition: all 0.3s;
    border-radius: 0.125rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    border-color: rgba(249, 115, 22, 0.5);
}

.product-image-container {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background-color: #2a2a2a;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s;
}

.product-card:hover .product-image {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: #fafafa;
    color: #fafafa;
    padding: 0.25rem 0.5rem;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 0.125rem;
}

.product-title {
    font-size: 1.5rem;
    text-transform: uppercase;
    color: #fafafa;
    margin-bottom: 0.5rem;
}

.product-card:hover .product-title {
    color: #f97316;
}

.product-description {
    padding: 1.5rem;
    padding-top: 0;
    flex-grow: 1;
}

.product-description p {
    color: #a3a3a3;
    font-size: 0.875rem;
    line-height: 1.6;
}

.product-border {
    padding: 1.5rem;
    padding-top: 1rem;
    border-top: 1px dashed #3a3a3a;
}

.product-link {
    padding: 1.5rem;
    padding-top: 0;
    margin-top: auto;
    width: 100%;
}

.product-link a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    height: 2.5rem;
    background-color: #1a1a1a;
    color: #fafafa;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid #3a3a3a;
    border-radius: 0.125rem;
    transition: all 0.3s;
}

.product-link a:hover {
    background-color: #f97316;
    color: #1a1a1a;
    border-color: #f97316;
}

/* ===== FOOTER ===== */
footer {
    background-color: #2a2a2a;
    color: #a3a3a3;
    border-top: 1px solid #3a3a3a;
    padding: 3rem 1rem;
}

footer .grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

footer h4 {
    font-size: 0.875rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: #fafafa;
}

footer ul {
    list-style: none;
}

footer li {
    margin-bottom: 0.5rem;
}

footer a {
    color: #a3a3a3;
    font-size: 0.875rem;
}

footer a:hover {
    color: #f97316;
}

footer .footer-bottom {
    border-top: 1px solid #3a3a3a;
    padding-top: 2rem;
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-size: 0.75rem;
    color: #a3a3a3;
}

footer .footer-bottom a {
    margin-left: 1.5rem;
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
    display: none;
}

@media (max-width: 768px) {
    .mobile-menu {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        background-color: #1a1a1a;
        border-bottom: 1px solid #3a3a3a;
        padding: 1rem;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.3);
    }

    .desktop-nav { display: none; }
    .mobile-toggle { display: block; }
}

@media (min-width: 769px) {
    .mobile-menu { display: none !important; }
    .desktop-nav { display: flex; }
    .mobile-toggle { display: none; }
}

/* ===== CTA SECTION ===== */
.cta-section {
    position: relative;
    padding: 6rem 1rem;
    background-color: #1a1a1a;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.05;
    background: radial-gradient(circle at center, #f97316 0%, transparent 70%);
}

.cta-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.cta-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: rgba(249, 115, 22, 0.2);
    color: #f97316;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.75rem;
    border-radius: 0.125rem;
    margin-bottom: 1.5rem;
}

/* ===== ANIMATIONS ===== */
.fade-in-up {
    animation: fadeInUp 0.7s ease-out forwards;
}

.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(2.5rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    .hero-title { font-size: 2rem; }
    .hero-stats { font-size: 0.875rem; }
    .grid-cols-4 { grid-template-columns: 1fr; }
    .grid-cols-3 { grid-template-columns: 1fr; }
    .grid-cols-2 { grid-template-columns: 1fr; }
}

@media (min-width: 768px) {
    .md\:flex { display: flex; }
    .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
    .md\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
    .md\:hidden { display: none; }
    .md\:block { display: block; }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ===== SECTIONS ===== */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: #a3a3a3;
    font-size: 1.125rem;
    font-weight: 300;
}

/* ===== ICONS ===== */
.icon {
    width: 1rem;
    height: 1rem;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}
