@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&display=swap');

:root {
    --bg-main: #000000;
    --bg-card: #131316;
    --border-card: #222226;
    --accent: #D4A03D;
    --text-main: #FFFFFF;
    --text-sec: #A0A0AA;
    --radius: 16px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    -webkit-tap-highlight-color: transparent;
}

html {
    background-color: #050505;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
    max-width: 480px;
    margin: 0 auto;
    position: relative;
    box-shadow: 0 0 50px rgba(0,0,0,0.8), 0 0 20px rgba(212,160,61,0.05);
    min-height: 100vh;
}

h1, h2, h3, h4 {
    line-height: 1.2;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: bounce 2s infinite;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.scroll-indicator span {
    font-size: 18px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-10px) translateX(-50%); }
    60% { transform: translateY(-5px) translateX(-50%); }
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 40px 20px;
    background: linear-gradient(to bottom, rgba(11,11,12,0.1) 0%, rgba(11,11,12,1) 85%), url('./Hero.png') center/cover no-repeat;
}

.hero-content {
    text-align: center;
    z-index: 10;
    width: 100%;
    max-width: 500px;
}

.hero-logo {
    width: 140px;
    margin-bottom: 24px;
    filter: drop-shadow(0 0 15px rgba(255,255,255,0.1));
}

.hero h1 {
    font-size: 36px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.hero p {
    font-size: 15px;
    color: var(--text-sec);
    margin-bottom: 32px;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 16px 24px;
    background-color: var(--accent);
    color: var(--bg-main);
    text-decoration: none;
    font-weight: 800;
    font-size: 16px;
    border-radius: var(--radius);
    margin-bottom: 16px;
    transition: var(--transition);
    box-shadow: 0 0 20px rgba(212, 160, 61, 0.4);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(212, 160, 61, 0.6);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px 24px;
    background-color: rgba(255,255,255,0.05);
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    border-radius: var(--radius);
    border: 1px solid var(--border-card);
    margin-bottom: 24px;
    transition: var(--transition);
}

.btn-secondary:hover {
    background-color: var(--bg-card);
}

/* PWA Buttons Group */
.pwa-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    width: 100%;
}

.pwa-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: rgba(19, 19, 22, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-card);
    border-radius: 12px;
    padding: 16px 8px;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-sec);
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
}

.pwa-btn span {
    font-size: 22px;
    margin-bottom: 6px;
}

.pwa-btn:hover {
    background-color: var(--bg-card);
    color: var(--text-main);
    border-color: rgba(255,255,255,0.2);
}

/* Section Container */
.section {
    padding: 60px 20px;
    max-width: 600px;
    margin: 0 auto;
}

.section-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-desc {
    color: var(--text-sec);
    margin-bottom: 32px;
    font-size: 15px;
}

/* Card Style */
.card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 24px;
    transition: var(--transition);
}
.card:hover {
    transform: translateY(-2px);
    border-color: rgba(212, 160, 61, 0.2);
}

/* Status Indicator */
.status-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    background-color: rgba(19, 19, 22, 0.9);
    border-radius: 50px;
    border: 1px solid var(--border-card);
    margin: 0 auto 40px auto;
    width: fit-content;
}
.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 12px;
}
.status-dot.active {
    background-color: #D4A03D;
    box-shadow: 0 0 10px #D4A03D;
}
.status-dot.offline {
    background-color: #FF3333;
    box-shadow: 0 0 10px #FF3333;
}
.status-text {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Calculator */
.calc-input {
    width: 100%;
    padding: 16px;
    background-color: #000;
    border: 1px solid var(--border-card);
    border-radius: 12px;
    color: #fff;
    font-size: 16px;
    margin-bottom: 16px;
    outline: none;
    transition: var(--transition);
}
.calc-input:focus {
    border-color: var(--accent);
}
.water-result-box {
    background: rgba(212, 160, 61, 0.05);
    border: 1px dashed var(--accent);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    margin-top: 16px;
}
.water-result-box h3 {
    color: var(--accent);
    font-size: 32px;
    margin-bottom: 12px;
}

/* Accordion */
.accordion {
    margin-bottom: 16px;
}
.accordion-header {
    background-color: var(--bg-card);
    padding: 18px 20px;
    border-radius: var(--radius);
    border: 1px solid var(--border-card);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    transition: var(--transition);
}
.accordion-header:hover {
    border-color: rgba(255,255,255,0.2);
}
.accordion-header.active {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-color: var(--border-card);
    border-bottom: none;
}
.accordion-content {
    background-color: #080809;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    border: 1px solid var(--border-card);
    border-top: none;
    border-bottom-left-radius: var(--radius);
    border-bottom-right-radius: var(--radius);
}
.accordion-content.active {
    border-color: var(--border-card);
}
.accordion-inner {
    padding: 0 20px 20px 20px;
    color: var(--text-sec);
    font-size: 15px;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 32px;
    margin-top: 32px;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 0;
    height: 100%;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent) 0%, var(--border-card) 100%);
}
.timeline-item {
    position: relative;
    margin-bottom: 32px;
}
.timeline-item:last-child {
    margin-bottom: 0;
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: -26px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--bg-main);
    border: 2px solid var(--accent);
    box-shadow: 0 0 10px rgba(212, 160, 61, 0.4);
}
.timeline-title {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 6px;
}
.timeline-text {
    font-size: 14px;
    color: var(--text-sec);
}

/* Desafio Card */
.desafio-card {
    border: 2px solid var(--accent);
    background: linear-gradient(145deg, #131316, #0B0B0C);
    position: relative;
    padding: 40px 24px;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.9), 0 0 40px rgba(212, 160, 61, 0.15);
    margin-top: -150px;
    z-index: 10;
}
.desafio-tag {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent);
    color: #000;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 800;
    font-size: 12px;
    text-transform: uppercase;
    box-shadow: 0 0 15px rgba(212,160,61,0.5);
}

.checklist {
    list-style: none;
    margin: 24px 0;
}
.checklist li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 16px;
    font-size: 15px;
    color: var(--text-main);
}
.checklist li span {
    color: var(--accent);
    margin-right: 12px;
    font-size: 18px;
}

.price-box {
    background: rgba(0,0,0,0.5);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    margin-bottom: 24px;
}
.price-old {
    text-decoration: line-through;
    color: var(--text-sec);
    font-size: 14px;
}
.price-new {
    font-size: 36px;
    color: var(--accent);
    font-weight: 800;
    display: block;
    margin-top: 4px;
}

/* Plans Grid */
.plans-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 30px;
    scroll-snap-type: x mandatory;
    margin: 0 -20px;
    padding-left: 20px;
    padding-right: 20px;
}
.plans-scroll::-webkit-scrollbar {
    display: none;
}
.plan-card {
    flex: 0 0 85%;
    scroll-snap-align: center;
    background-color: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 20px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
}
.plan-card h3 {
    font-size: 20px;
    margin-bottom: 8px;
}
.plan-card.highlight {
    border: 2px solid var(--accent);
    background: linear-gradient(180deg, #18181c 0%, #0B0B0C 100%);
    position: relative;
}
.plan-highlight-tag {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--accent);
    color: #000;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 800;
}
.plan-price {
    font-size: 32px;
    font-weight: 800;
    margin: 16px 0 24px 0;
    color: #fff;
}
.plan-features {
    margin-bottom: 24px;
    color: var(--text-sec);
    font-size: 14px;
}
.plan-features p {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}
.plan-features p::before {
    content: '•';
    color: var(--accent);
    margin-right: 8px;
    font-size: 18px;
}
.plan-tag {
    font-size: 13px;
    background-color: rgba(255,255,255,0.05);
    padding: 12px;
    border-radius: 12px;
    margin-top: auto;
    margin-bottom: 24px;
    color: #ccc;
    font-style: italic;
}

/* Pre-registration Form */
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-size: 14px;
    margin-bottom: 8px;
    color: var(--text-sec);
    font-weight: 600;
}
.form-group input, .form-group select {
    width: 100%;
    padding: 16px;
    background-color: #000;
    border: 1px solid var(--border-card);
    border-radius: 12px;
    color: #fff;
    font-size: 16px;
    outline: none;
    transition: var(--transition);
}
.form-group input:focus, .form-group select:focus {
    border-color: var(--accent);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.85);
    backdrop-filter: blur(5px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}
.modal-content {
    background-color: var(--bg-card);
    padding: 32px 24px;
    border-radius: 24px;
    width: 90%;
    max-width: 400px;
    position: relative;
    border: 1px solid var(--border-card);
    text-align: center;
}
.modal-content h3 {
    margin-bottom: 16px;
}
.modal-content p {
    color: var(--text-sec);
    font-size: 15px;
    margin-bottom: 24px;
}
.close-modal {
    position: absolute;
    top: 15px; right: 20px;
    font-size: 28px;
    color: var(--text-sec);
    cursor: pointer;
}

/* Footer */
.footer {
    background-color: #000000;
    padding: 60px 20px 40px 20px;
    text-align: center;
    border-top: 1px solid var(--border-card);
}
.footer img {
    max-width: 140px;
    margin-bottom: 12px;
}
.footer p.blue-text {
    color: #0066FF;
    font-weight: 700;
    margin-bottom: 24px;
    font-size: 18px;
}
.footer p.msg {
    font-size: 14px;
    color: #666;
    margin-bottom: 32px;
    font-style: italic;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* Card Neon */
.card.card-neon {
    background-color: var(--accent);
    color: #000;
    border: none;
    box-shadow: 0 0 20px rgba(212, 160, 61, 0.4);
}
.card-neon .section-title, .card-neon .section-desc {
    color: #000 !important;
}
.light-input {
    background-color: rgba(0,0,0,0.1) !important;
    border: 1px solid rgba(0,0,0,0.2) !important;
    color: #000 !important;
}
.light-input::placeholder {
    color: rgba(0,0,0,0.6) !important;
}
.light-input:focus {
    border-color: #000 !important;
}
.dark-btn {
    background-color: #000 !important;
    color: var(--accent) !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3) !important;
}
.dark-btn:hover {
    background-color: #111 !important;
    color: var(--accent) !important;
    box-shadow: 0 6px 15px rgba(0,0,0,0.4) !important;
}
.dark-result-box {
    background: rgba(0,0,0,0.05) !important;
    border: 1px dashed rgba(0,0,0,0.3) !important;
}
.dark-result-box h3, .dark-result-box h4, .dark-result-box p {
    color: #000 !important;
}

/* Image Separator with Neon Glow */
.hero-image-separator {
    position: relative;
    width: 100%;
    height: 350px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin: -30px 0;
    overflow: hidden;
    z-index: 1;
}
.hero-image-separator .hero-media {
    height: 100%;
    object-fit: contain;
    z-index: 2;
    filter: drop-shadow(0 0 10px rgba(0,0,0,0.8));
    position: relative;
}
.neon-glow {
    position: absolute;
    width: 250px;
    height: 250px;
    background: var(--accent);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Swipe Arrow */
.swipe-arrow {
    font-size: 12px;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
    animation: swipeAnim 1.5s infinite;
}
@keyframes swipeAnim {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

/* Hand-drawn Text Effects */
.scratched-text {
    position: relative;
    display: inline-block;
    color: var(--text-main);
}
.scratched-text::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 0;
    height: 4px;
    background-color: var(--accent);
    transform: translateY(-50%) rotate(-2deg);
    animation: scratchDraw 0.4s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    animation-delay: 0.3s;
}
@keyframes scratchDraw {
    to { width: 100%; }
}

.circled-text {
    position: relative;
    display: inline-block;
    padding: 0 4px;
    z-index: 1;
}
.circled-text::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -8px;
    right: -8px;
    bottom: -4px;
    border: 3px solid var(--accent);
    border-radius: 255px 15px 225px 15px/15px 225px 15px 255px;
    z-index: -1;
    transform: rotate(-2deg);
    clip-path: inset(0 100% 0 0);
    animation: circleDraw 0.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    animation-delay: 0.7s;
}
@keyframes circleDraw {
    to { clip-path: inset(0 0 0 0); }
}

.neon-highlight {
    color: var(--accent);
    position: relative;
    display: inline-block;
    text-shadow: 0 0 10px rgba(212, 160, 61, 0.4);
    animation: neonPulse 2s infinite alternate;
}
@keyframes neonPulse {
    0% { text-shadow: 0 0 5px rgba(212, 160, 61, 0.4), 0 0 15px rgba(212, 160, 61, 0.2); }
    100% { text-shadow: 0 0 10px rgba(212, 160, 61, 0.8), 0 0 30px rgba(212, 160, 61, 0.6); }
}
