/* Reset e Estilos Gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Segoe UI', 'Roboto', sans-serif;
}

html {
    scroll-behavior: smooth; /* Enables smooth scrolling for anchor links */
    scroll-padding-top: 80px; /* Adjust based on header height */
}


:root {
    --bg-dark: #121212;
    --bg-card: #1e1e1e;
    --bg-card-hover: #252525;
    --bg-section-odd: rgba(30, 30, 30, 0.5); /* Slightly lighter than dark */
    --bg-section-even: var(--bg-dark); /* Same as body background */
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --accent: #f2a900; /* Amarelo Bitcoin */
    --accent-hover: #d99000;
    --card-border: #333333;
    --header-height: 80px; /* Define header height variable */
    --error-color: #ff5252;
    --success-color: #4CAF50;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

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

section {
    padding: 80px 0;
}

section {
    background-color: var(--bg-section-even); /* Default to dark */
}
section:nth-of-type(2n) { /* Every second section */
     background-color: var(--bg-section-odd); /* Lighter */
}

/* Override specific sections if needed */
.hero { background: linear-gradient(180deg, #121212 0%, #1c1c1c 100%);}
.cta { background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(30, 30, 30, 0.9) 100%);}
.footer { background: #0c0c0c; }


h1, h2, h3, h4 {
    margin-bottom: 20px;
    font-weight: 700;
    color: var(--text-primary); /* Ensure headings are white */
}

h1 {
    font-size: 3.2rem; /* Slightly adjusted */
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
}

h3 {
    font-size: 1.5rem;
}
h3.accordion-title { /* Specific adjustment for accordion */
     font-size: 1.1rem;
     margin-bottom: 0; /* Remove default margin */
}


p {
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    background: var(--accent);
    color: var(--bg-dark) !important; /* Ensure button text is dark */
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-align: center;
}

.btn:hover:not(:disabled) {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(242, 169, 0, 0.3);
}
.btn:disabled {
    background-color: #555;
    cursor: not-allowed;
    opacity: 0.7;
}

.section-title-container {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    display: inline-block;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent);
}

/* Header / Navegação */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(18, 18, 18, 0.85);
    backdrop-filter: blur(10px);
    padding: 0;
    height: var(--header-height);
    transition: background-color 0.3s ease, box-shadow 0.3s ease, height 0.3s ease;
    display: flex;
    align-items: center;
}

#main-header.scrolled {
    background: rgba(12, 12, 12, 0.9);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    height: 70px;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 100%;
}

.logo {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
}

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

nav {
    display: flex;
    align-items: center;
}


.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    padding-left: 0;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 5px 0;
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent);
    transition: width 0.3s ease;
}


.nav-links a:hover,
.nav-links a.active-link {
    color: var(--accent);
}
.nav-links a:hover::after,
.nav-links a.active-link::after {
    width: 100%;
}


.nav-links .btn.nav-btn {
    padding: 10px 20px;
    margin-left: 30px;
}
.nav-links .btn.nav-btn:hover {
     transform: translateY(-1px);
     box-shadow: 0 3px 10px rgba(242, 169, 0, 0.25);
}


.mobile-menu-btn {
    display: none;
    font-size: 1.8rem;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 10px;
    /* Positioning adjustments */
    position: absolute; /* Relative to #main-header */
    right: 20px;        /* Aligned with .container padding */
    top: 50%;           /* Vertical centering */
    transform: translateY(-50%); /* Precise vertical centering */
    z-index: 1051;      /* Above open mobile menu */
}

/* Hero Section */
.hero {
    padding: calc(var(--header-height) + 60px) 0 100px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    min-height: 85vh;
}

.hero-container-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    position: relative;
    z-index: 2;
     width: 100%;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(242, 169, 0, 0.08) 0%, rgba(18, 18, 18, 0) 60%);
    z-index: 1;
}

.hero-content {
    flex: 1 1 55%;
    max-width: 700px;
    position: relative;
    z-index: 2;
}

.hero h1 {
    margin-bottom: 30px;
}

.hero h1 span {
    color: var(--accent);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 50px;
}

.hero-stats {
    display: flex;
    margin-top: 50px;
    gap: 40px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    flex-basis: 120px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
}

.hero-image {
    flex: 1 1 40%;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-image img {
    max-width: 100%;
    height: auto;
}

/* Combined About & Solo Section */
.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-text {
    flex: 1;
}
.about-text h3 {
    margin-top: 0;
    font-size: 1.7rem;
    color: var(--accent);
    margin-bottom: 15px;
}
.about-text h3:not(:first-of-type) {
     margin-top: 40px;
}
.about-text p strong {
    color: var(--accent);
    font-weight: 700;
}


.about-image {
    flex: 1;
    text-align: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* How It Works Section */
.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}


.step-card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 30px 25px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    border: 1px solid var(--card-border);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    background: var(--bg-card-hover);
    border-color: var(--accent);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--accent);
    color: var(--bg-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 25px;
}

.step-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.step-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    flex-grow: 1;
}

/* Plans Section */
.plans-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    align-items: stretch;
}

.plan-card {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 40px 25px;
    border: 1px solid var(--card-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--accent);
}

.plan-badge {
    position: absolute;
    top: 60px;
    right: -25px;
    background: var(--accent);
    color: var(--bg-dark);
    font-weight: 700;
    font-size: 0.8rem;
    padding: 4px 35px;
    transform: rotate(45deg);
    transform-origin: top right;
    z-index: 1;
    display: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

@media (min-width: 901px) {
     .plans-container .plan-card:nth-child(2) .plan-badge { display: block; }
}
@media (min-width: 601px) and (max-width: 900px) {
     .plans-container .plan-card:nth-child(2) .plan-badge { display: block; }
}
@media (max-width: 600px) {
     .plans-container .plan-card:nth-child(2) .plan-badge { display: block; }
}


.plan-title {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--text-primary);
    text-align: center;
    font-weight: 700;
}

.plan-price {
    font-size: 1.2rem;
    color: var(--accent);
    margin-bottom: 15px;
    font-weight: 600;
    text-align: center;
}

.plan-vacancies {
    font-size: 0.95rem;
    color: var(--accent);
    font-weight: 600;
    margin-top: 5px;
    margin-bottom: 20px;
    text-align: center;
    padding: 8px 10px;
    background-color: rgba(242, 169, 0, 0.1);
    border-left: 3px solid var(--accent);
    border-right: 3px solid var(--accent);
    border-radius: 4px;
}

.plan-vacancies .vacancies-count {
    font-weight: 700;
    color: var(--text-primary);
}

.plan-features {
    list-style: none;
    margin-bottom: 35px;
    padding-left: 0;
    flex-grow: 1;
}

.plan-features li {
    padding: 9px 0;
    position: relative;
    padding-left: 30px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    text-align: left;
}

.plan-features li::before {
    content: attr(data-icon);
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    text-align: center;
    font-size: 1em;
    display: inline-block;
}


.plan-card .btn {
    margin-top: auto;
    width: 100%;
}

/* Sorteio Mensal Section */
.sorteio-mensal .solo-mining-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}
.sorteio-mensal .solo-mining-content p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: var(--text-secondary);
}
.sorteio-mensal .solo-mining-content p strong {
     color: var(--accent);
     font-weight: 700;
}
.sorteio-mensal .solo-mining-content ul {
     list-style: none;
     padding-left: 0;
     max-width: 650px;
     margin: 30px auto;
     text-align: left;
}
.sorteio-mensal .solo-mining-content li {
    margin-bottom: 15px;
    background: var(--bg-card);
    padding: 15px 20px;
    border-radius: 8px;
    border-left: 4px solid var(--accent);
    line-height: 1.5;
}
.sorteio-mensal .solo-mining-content li strong {
    color: var(--text-primary);
}
.sorteio-mensal .solo-mining-content .btn {
    margin-top: 30px;
    display: inline-block;
}


/* Gallery Section */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}


.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    height: 250px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.03) translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}
.gallery-item:hover img {
    opacity: 0.9;
}


/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    margin-bottom: 15px;
    border: 1px solid var(--card-border);
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-card);
     transition: background-color 0.3s ease;
}
.accordion-item:hover {
     background: var(--bg-card-hover);
}


.accordion-header {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.accordion-icon {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
    color: var(--accent);
    font-weight: bold;
}

.accordion-content {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.accordion-content p {
    padding-bottom: 20px;
    margin-bottom: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}
.accordion-content p a {
    color: var(--accent);
    text-decoration: underline;
    transition: color 0.3s ease;
}
.accordion-content p a:hover {
    color: var(--accent-hover);
}

.accordion-item.active {
    background: var(--bg-card-hover);
    border-left: 3px solid var(--accent);
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-item.active .accordion-content {
    max-height: 400px;
    padding-top: 5px;
    padding-bottom: 20px;
}


/* CTA Section */
.cta {
    text-align: center;
    padding: 100px 0;
}

.cta h2 {
    margin-bottom: 30px;
}

.cta p {
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
}

/* Footer */
footer {
    background: #0c0c0c;
    padding: 60px 0 30px;
    color: var(--text-secondary);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    display: inline-block;
    text-decoration: none;
}

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

.footer-description {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: #242424;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, transform 0.3s ease;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1.2rem;
}
.social-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.social-icon:hover {
    background: var(--accent);
    color: var(--bg-dark);
    transform: translateY(-3px);
}


.footer-links-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-links {
    list-style: none;
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
    position: relative;
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #242424;
    color: #666;
    font-size: 0.9rem;
}
.footer-bottom a {
    color: #888;
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-bottom a:hover {
    color: var(--accent);
}

/* Modal Styles (Planos/Quantidade) */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 2000; /* Higher than header */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.7); /* Darker overlay */
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    padding: 20px; /* Padding for smaller screens */
}

.modal-content {
    background-color: var(--bg-card);
    margin: auto;
    padding: 30px 35px; /* Increased padding */
    border: 1px solid var(--card-border);
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5); /* Stronger shadow */
    animation: fadeInModal 0.3s ease-out;
    color: var(--text-primary);
}

@keyframes fadeInModal {
    from { opacity: 0; transform: translateY(-20px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.close-modal-btn {
    color: var(--text-secondary);
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    transition: color 0.3s ease, transform 0.3s ease;
}

.close-modal-btn:hover,
.close-modal-btn:focus {
    color: var(--accent);
    text-decoration: none;
    cursor: pointer;
    transform: scale(1.1);
}

#modal-plan-title {
    text-align: center;
    font-size: 1.8rem;
    color: var(--text-primary); /* Changed to primary */
    margin-bottom: 10px; /* Reduced margin */
}

#modal-plan-details {
    text-align: center; /* Center plan details */
    margin-bottom: 25px; /* Add space below details */
}

#modal-plan-details p {
    font-size: 1rem;
    margin-bottom: 5px; /* Reduced margin */
    color: var(--text-secondary);
}
#modal-plan-details strong {
    color: var(--accent); /* Highlight plan name and price */
}


.quantity-selector {
    margin: 25px 0;
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: center; /* Center content */
    background-color: rgba(0,0,0,0.1); /* Subtle background */
    padding: 15px;
    border-radius: 8px;
}

.quantity-selector label {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.quantity-selector input[type="number"] {
    width: 80px; /* Slightly wider */
    padding: 10px;
    border-radius: 6px;
    border: 1px solid var(--card-border);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-size: 1.1rem; /* Larger font */
    text-align: center;
    font-weight: 600;
}
/* Style for input arrows (browser dependent) */
.quantity-selector input[type=number]::-webkit-inner-spin-button,
.quantity-selector input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.quantity-selector input[type=number] {
  -moz-appearance: textfield; /* Firefox */
}


.modal-total-price {
    text-align: center;
    font-size: 1.3rem;
    margin: 30px 0; /* Increased margin */
    color: var(--text-primary);
    padding: 15px;
    background-color: rgba(var(--accent), 0.1); /* Subtle accent background */
    border-top: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent);
    border-radius: 4px;
}
.modal-total-price p {
    margin-bottom: 0; /* Remove paragraph margin */
}
.modal-total-price strong {
    color: var(--accent);
    font-size: 1.8rem; /* Larger total price */
    font-weight: 700;
}

#modal-confirm-btn {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
}

/* Login/Register Modal Styles - moved from index.php */
#login-register-modal-overlay {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 2050; /* Higher than other modals */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeInOverlay 0.3s ease-out;
}

@keyframes fadeInOverlay {
    from { opacity: 0; }
    to { opacity: 1; }
}

#login-register-modal-overlay .login-register-modal-content {
    background-color: var(--bg-card);
    padding: 30px 25px; /* Adjusted padding */
    border-radius: 12px;
    border: 1px solid var(--card-border);
    width: 100%;
    max-width: 450px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    text-align: center;
    position: relative;
    animation: fadeInFormModal 0.4s ease-out;
}

@keyframes fadeInFormModal {
    from { opacity: 0; transform: translateY(20px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

#login-register-modal-overlay .login-register-close-btn {
    color: var(--text-secondary);
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
    line-height: 1;
}
#login-register-modal-overlay .login-register-close-btn:hover {
    color: var(--accent);
}

#login-register-modal-overlay .logo {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    display: inline-block;
    margin-bottom: 10px;
}
#login-register-modal-overlay .logo span {
    color: var(--accent);
}

#login-register-modal-overlay h2.auth-modal-title { /* Specific class for modal title */
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-secondary);
    font-weight: 500;
}

#login-register-modal-overlay .form-group {
    margin-bottom: 18px; /* Adjusted */
    text-align: left;
}
#login-register-modal-overlay .form-group label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-weight: 500;
}
#login-register-modal-overlay .form-group input {
    width: 100%;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid var(--card-border);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
#login-register-modal-overlay .form-group input.error-field {
    border-color: var(--error-color) !important;
    box-shadow: 0 0 0 3px rgba(255, 82, 82, 0.2) !important;
}
#login-register-modal-overlay .form-group .error-text {
    font-size: 0.8rem;
    color: var(--error-color);
    margin-top: 5px;
    display: block;
    min-height: 1em;
}
#login-register-modal-overlay .form-group input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(242, 169, 0, 0.2);
}

#login-register-modal-overlay .btn.auth-btn { /* Specific class for modal auth buttons */
    display: inline-block;
    width: 100%;
    padding: 14px 28px; /* Adjusted */
    font-size: 1.05rem; /* Adjusted */
    margin-top: 8px; /* Adjusted */
}

#login-register-modal-overlay .auth-links {
    margin-top: 20px; /* Adjusted */
    font-size: 0.9rem;
}
#login-register-modal-overlay .auth-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    margin: 0 5px;
    cursor: pointer;
}
#login-register-modal-overlay .auth-links a:hover {
    color: var(--accent);
    text-decoration: underline;
}
#login-register-modal-overlay #register-form-container-modal {
    display: none;
}
#login-register-modal-overlay .auth-message-area {
    padding: 10px 15px;
    border-radius: 6px;
    margin: 15px 0;
    font-size: 0.9rem;
    font-weight: 500;
    display: none; /* Hidden by default */
    text-align: left;
    border-left-width: 4px;
    border-left-style: solid;
}
#login-register-modal-overlay .auth-message-area.success {
    background-color: rgba(76, 175, 80, 0.1);
    color: var(--success-color);
    border-left-color: var(--success-color);
}
#login-register-modal-overlay .auth-message-area.error {
    background-color: rgba(255, 82, 82, 0.1);
    color: var(--error-color);
    border-left-color: var(--error-color);
}
#login-register-modal-overlay .auth-message-area ul {
    list-style: none;
    padding-left: 5px;
    margin-top: 5px;
}
#login-register-modal-overlay .auth-message-area ul li {
    margin-bottom: 3px;
}



/* Responsividade */
@media (max-width: 1100px) {
    .steps-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .gallery-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .hero-container-flex {
        gap: 30px;
    }
    .hero-content {
        flex-basis: 60%;
    }
    .hero-image {
        flex-basis: 35%;
    }

}


@media (max-width: 900px) {
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2.2rem; }

    .about-content {
        flex-direction: column;
        gap: 40px;
    }
    .about-image {
        margin-top: 30px;
        max-width: 450px;
        margin-left: auto;
        margin-right: auto;
    }

    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 30px 40px;
    }
     .footer-content > div:first-child {
        grid-column: 1 / -1;
        margin-bottom: 20px;
    }

     .hero-container-flex {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    .hero-content {
        flex-basis: auto;
        max-width: 650px;
        order: 1;
        text-align: center;
    }
     .hero-stats { justify-content: center; }
     .hero-buttons { justify-content: center; }

    .hero-image {
        flex-basis: auto;
        max-width: 400px;
        margin: 0 auto;
        order: 2;
    }

}

@media (max-width: 768px) {
    html { scroll-padding-top: 70px; }
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }

    section { padding: 60px 0; }

    .hero { padding: calc(var(--header-height) + 40px) 0 60px; text-align: center; min-height: auto;}
    .hero-content { margin: 0 auto; order: 1; }
    .hero-image { order: 2; margin-bottom: 0; margin-top: 40px; max-width: 350px;}
    .hero-buttons { flex-direction: column; gap: 15px; }


    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(18, 18, 18, 0.98);
        padding: var(--header-height) 20px 20px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 25px;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
        backdrop-filter: blur(10px);
        overflow-y: auto;
        /* z-index will be applied by .active class */
    }

    .nav-links.active {
        transform: translateX(0);
        z-index: 1050; /* Above header */
    }

    .nav-links li { margin: 0; }
    .nav-links a { font-size: 1.2rem; }
    .nav-links .btn.nav-btn { margin-left: 0; margin-top: 20px; }

    .steps-container { grid-template-columns: 1fr; }
    .plans-container { grid-template-columns: 1fr; }
    .gallery-container { grid-template-columns: 1fr; }

    .plans-container .plan-card:nth-child(2) .plan-badge { display: block; }
    .plans-container .plan-card:not(:nth-child(2)) .plan-badge { display: none; }


    .stat-item { flex-basis: 40%; }

    .footer-content { grid-template-columns: 1fr; }
     .footer-content > div:first-child { grid-column: auto; }

     .about-text { text-align: center; }
     .about-text .btn { margin-left: auto; margin-right: auto; }


}

@media (max-width: 480px) {
    h1 { font-size: 2.2rem; }
    .hero p { font-size: 1.1rem; }
    .container { padding: 0 15px; }
    .stat-item { flex-basis: 100%; }

    .plan-card { padding: 30px 20px; }
    .plan-badge {
        font-size: 0.75rem;
        padding: 3px 30px;
        top: 55px;
        right: -30px;
    }
    .footer-content { text-align: center; }
    .footer-social { justify-content: center; }

    .modal-content { padding: 25px 20px; }
    #modal-plan-title { font-size: 1.6rem; }
    .quantity-selector { flex-direction: column; gap: 10px; padding: 10px; }
    .modal-total-price { font-size: 1.1rem; }
    .modal-total-price strong { font-size: 1.5rem; }

    #login-register-modal-overlay .login-register-modal-content {
        padding: 25px 20px;
    }
    #login-register-modal-overlay .logo {
        font-size: 2.2rem;
    }
    #login-register-modal-overlay h2.auth-modal-title {
        font-size: 1.3rem;
    }
}


/* Animações */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate {
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
    animation-delay: 0.2s;
}
.hero-content.animate { animation-delay: 0.2s; }
.hero-image.animate { animation-delay: 0.4s; }


/* Scroll-triggered animations */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    transform: translateY(40px);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}