/* <label> placeholder aria-label */
/* ==========================================================================
   Assistly Web Hub - Brutalist Design System
   ========================================================================== */

:root {
    /* Color Palette */
    --color-bg-base: #E4E2DD;
    --color-text-main: #1E1E1E;
    --color-text-muted: #555555;
    
    /* Accents */
    --color-primary: #DB4A2B; /* Red-Orange */
    --color-secondary: #F8A348; /* Warm Orange */
    --color-tertiary: #FF89A9; /* Soft Pink */
    
    /* Typography */
    --font-heading: 'Clash Display', sans-serif;
    --font-body: 'Satoshi', sans-serif;
    
    /* Spacing & Layout */
    --container-max: 1200px;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-brutal: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    background-color: var(--color-bg-base);
    color: var(--color-text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Selection */
::selection {
    background-color: var(--color-primary);
    color: #ffffff;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--color-bg-base);
}
::-webkit-scrollbar-thumb {
    background: var(--color-primary);
}
::-webkit-scrollbar-thumb:hover {
    background: #b0361c;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    position: relative;
    z-index: 10;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

/* Typography Utilities */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 0.9;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.text-gradient {
    color: var(--color-primary);
}

.text-muted {
    color: var(--color-text-muted);
}

/* ==========================================================================
   Background Blobs
   ========================================================================== */
.background-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 1;
    mix-blend-mode: multiply;
    animation: float 10s ease-in-out infinite alternate;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: var(--color-tertiary);
}

.blob-2 {
    top: 30%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: var(--color-secondary);
    animation-delay: -3s;
}

.blob-3 {
    bottom: -10%;
    left: 20%;
    width: 700px;
    height: 700px;
    background: var(--color-primary);
    opacity: 0.6;
    animation-delay: -6s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 30px) scale(1.1); }
}

/* ==========================================================================
   Components
   ========================================================================== */

/* Buttons (Brutalist) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--color-text-main);
    border-radius: 0; /* Sharp edges */
    padding: 0.8rem 1.6rem;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.2s ease, background 0.3s ease;
    cursor: pointer;
    background: transparent;
    color: var(--color-text-main);
    box-shadow: 4px 4px 0px var(--color-text-main);
    will-change: transform, box-shadow;
}

.btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px var(--color-text-main);
}

.btn:active {
    box-shadow: 0px 0px 0px var(--color-text-main);
    transform: translate(4px, 4px);
    transition: all 0.1s;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

.btn-primary {
    background: var(--color-primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--color-text-main);
    color: #fff;
}

.btn-outline {
    background: var(--color-bg-base);
}

.btn-outline:hover {
    background: var(--color-secondary);
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: all var(--transition-brutal);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ==========================================================================
   Layout Sections
   ========================================================================== */

/* Header */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    padding: var(--spacing-sm) 0;
    background: rgba(228, 226, 221, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--color-text-main);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
}

.logo-img {
    height: 48px;
    width: auto;
    display: block;
}

.footer-logo {
    height: 56px;
    margin-bottom: 1rem;
}

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

.nav-links a {
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
}

.hero-container {
    max-width: 900px;
}

.hero-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border: 2px solid var(--color-text-main);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-bottom: var(--spacing-md);
    background: #fff;
    box-shadow: 3px 3px 0px var(--color-text-main);
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    margin-bottom: var(--spacing-md);
}

.hero-subtitle {
    font-size: 1.25rem;
    max-width: 600px;
    margin-bottom: var(--spacing-lg);
    font-weight: 500;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.cta-note {
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
}

/* Section Header */
.section-header {
    margin-bottom: var(--spacing-lg);
}

.section-header h2 {
    font-size: clamp(2rem, 5vw, 4rem);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    max-width: 600px;
}

/* Problem vs Solution */
.problem-solution {
    padding: var(--spacing-xl) 0;
    border-top: 2px solid var(--color-text-main);
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
}

@media (min-width: 768px) {
    .comparison-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.comparison-card {
    background: #fff;
    border: 2px solid var(--color-text-main);
    padding: var(--spacing-md);
    box-shadow: 6px 6px 0px var(--color-text-main);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, box-shadow;
}

.comparison-card:hover {
    transform: translate(-6px, -6px);
    box-shadow: 12px 12px 0px var(--color-text-main);
}

.card-solution {
    background: var(--color-bg-base);
    box-shadow: 6px 6px 0px var(--color-primary);
    border-color: var(--color-primary);
}

.card-solution:hover {
    box-shadow: 12px 12px 0px var(--color-primary);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--color-text-main);
    padding-bottom: 1rem;
}

.card-header h3 {
    font-size: 1.5rem;
}

.feature-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(30, 30, 30, 0.1);
    font-weight: 500;
}

.feature-list li:last-child {
    border-bottom: none;
}

/* Features Grid */
.features {
    padding: var(--spacing-xl) 0;
    background: var(--color-text-main);
    color: var(--color-bg-base);
}

.features .text-gradient {
    color: var(--color-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-box {
    border: 2px solid var(--color-bg-base);
    padding: var(--spacing-md);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease;
    will-change: transform;
}

.feature-box:hover {
    transform: translateY(-10px);
    border-color: var(--color-secondary);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-box h4 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.feature-box p {
    color: rgba(228, 226, 221, 0.8);
}

/* Pricing Section */
.pricing {
    padding: var(--spacing-xl) 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
    align-items: stretch;
}

@media (min-width: 992px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.pricing-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 2px solid var(--color-text-main);
    padding: var(--spacing-md);
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 6px 6px 0px var(--color-text-main);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, box-shadow;
    border-radius: 16px; /* Glassmorphism rounded corners */
}

.pricing-card:hover {
    transform: translate(-8px, -8px);
    box-shadow: 14px 14px 0px var(--color-text-main);
}

.pricing-card.popular {
    background: rgba(219, 74, 43, 0.05);
    border-color: #00f0ff; /* Ciano Elétrico */
    box-shadow: 6px 6px 0px #00f0ff;
    transform: scale(1.02);
}

.pricing-card.popular:hover {
    transform: scale(1.02) translate(-8px, -8px);
    box-shadow: 14px 14px 0px #00f0ff;
}

.popular-badge {
    position: absolute;
    top: -16px;
    left: -2px;
    background: #00f0ff;
    color: var(--color-text-main);
    padding: 6px 16px;
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    border: 2px solid var(--color-text-main);
    border-radius: 20px;
}

.plan-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(30, 30, 30, 0.1);
}

.plan-header h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 0.5rem;
}

.plan-price .currency {
    font-size: 1.2rem;
    font-weight: 700;
}

.plan-price .amount {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}

.plan-price .period {
    color: var(--color-text-muted);
    font-weight: 500;
}

.setup-fee {
    font-size: 0.9rem;
    color: var(--color-primary);
    font-weight: 600;
}

.plan-features {
    margin-bottom: 2rem;
    flex-grow: 1;
}

.plan-features li {
    padding: 0.6rem 0;
    font-weight: 500;
}

.plan-features .highlight {
    font-weight: 700;
    background: rgba(0, 240, 255, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
}

.pricing-card .btn {
    width: 100%;
    margin-top: auto;
    border-radius: 8px; /* Matching the rounded glass style */
}

/* Pricing FAQ */
.pricing-faq {
    margin-top: var(--spacing-xl);
    padding: var(--spacing-md);
    background: #fff;
    border: 2px solid var(--color-text-main);
    box-shadow: 4px 4px 0px var(--color-text-main);
    max-width: 800px;
    margin-inline: auto;
}

.pricing-faq h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.pricing-faq p {
    color: var(--color-text-muted);
    font-size: 1rem;
    font-weight: 500;
}

/* Process Timeline */
.process {
    padding: var(--spacing-xl) 0;
    border-top: 2px solid var(--color-text-main);
}

.timeline {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

@media (min-width: 768px) {
    .timeline {
        flex-direction: row;
        justify-content: space-between;
    }
}

.timeline-step {
    border: 2px solid var(--color-text-main);
    padding: 1.5rem;
    background: #fff;
    flex: 1;
    box-shadow: 4px 4px 0px var(--color-text-main);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, box-shadow;
}

.timeline-step:hover {
    transform: translate(-4px, -4px);
    box-shadow: 8px 8px 0px var(--color-text-main);
}

.step-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 1rem;
}

.timeline-step h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Contact Section */
.contact {
    padding: var(--spacing-xl) 0;
    background: var(--color-bg-base);
}

.contact-card {
    background: #fff;
    border: 2px solid var(--color-text-main);
    padding: var(--spacing-md);
    box-shadow: 8px 8px 0px var(--color-text-main);
    max-width: 800px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .contact-card {
        padding: var(--spacing-lg);
    }
}

.brutalist-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 700;
    font-size: 1.1rem;
}

.form-control {
    font-family: var(--font-body);
    font-size: 1rem;
    padding: 1rem;
    border: 2px solid var(--color-text-main);
    background: var(--color-bg-base);
    color: var(--color-text-main);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    will-change: box-shadow, transform;
}

.form-control:focus {
    outline: none;
    box-shadow: 4px 4px 0px var(--color-primary);
    transform: translate(-2px, -2px);
    border-color: var(--color-primary);
}

.submit-btn {
    margin-top: 1rem;
    align-self: flex-start;
}

/* Footer */
.footer {
    border-top: 4px solid var(--color-text-main);
    padding: var(--spacing-lg) 0 var(--spacing-md);
    background: var(--color-text-main);
    color: var(--color-bg-base);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.footer-brand p {
    margin-top: 1rem;
    font-weight: 500;
}

.footer h4 {
    color: var(--color-secondary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-links a, .footer-legal a {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.footer-links a:hover, .footer-legal a:hover {
    color: var(--color-tertiary);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(228, 226, 221, 0.2);
    font-family: var(--font-heading);
    text-transform: uppercase;
}

/* Floating WhatsApp */
.floating-whatsapp {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 4px 4px 0px var(--color-text-main);
    z-index: 999;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    border: 2px solid var(--color-text-main);
}

.floating-whatsapp svg {
    width: 32px;
    height: 32px;
}

.floating-whatsapp:hover {
    transform: translate(-4px, -4px);
    box-shadow: 8px 8px 0px var(--color-text-main);
}

/* Media Queries */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
}
