:root {
    --bg-color: #ffffff;
    --text-color: #000000;
    --accent-color: #f7941d;
    --secondary-bg: #f2f2f2;
    --dark-bg: #000000;
    --border-color: #e5e5e5;
    --gray-text: #666666;
    --light-gray: #999999;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.2;
    overflow-x: hidden;
}

/* Header & Navbar */
.main-header {
    background-color: var(--dark-bg);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    height: 55px;
    color: white;
}

.nav-left, .nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 80px;
}

.nav-right {
    justify-content: flex-end;
}

.menu-icon, .search-icon, .user-icon, .cart-icon {
    font-size: 18px;
    cursor: pointer;
}

.logo-container {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.logo-div {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.logo-div img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cart-icon {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--accent-color);
    color: white;
    font-size: 9px;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 900;
}

.promo-banner img {
    width: 100%;
    display: block;
}

.benefits-slider {
    background: white;
    padding: 12px 15px;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

.benefit-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 11px;
    font-weight: 900;
}

.benefit-item i {
    font-size: 26px;
    color: #333;
}

.benefit-item span {
    text-align: left;
    line-height: 1.1;
}

.benefit-item small {
    font-weight: 400;
    font-size: 9px;
    color: var(--gray-text);
}

/* Main Content */
.product-container {
    padding: 15px;
}

.breadcrumb {
    font-size: 10px;
    color: var(--light-gray);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.breadcrumb a {
    text-decoration: none;
    color: inherit;
    font-weight: 700;
}

.product-title {
    font-size: 19px;
    font-weight: 900;
    margin-bottom: 12px;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 20px;
}

.stars {
    color: #ffd700;
    font-size: 12px;
}

.rating-count {
    color: var(--light-gray);
    font-size: 12px;
}

.product-image img {
    width: 100%;
    margin-bottom: 15px;
    border-radius: 4px;
}

.video-button {
    text-align: center;
    margin-bottom: 30px;
}

.video-button button {
    background: white;
    border: 1px solid #eee;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 900;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    cursor: pointer;
    transition: transform 0.2s;
}

.video-button button:active {
    transform: scale(0.95);
}

.video-button i {
    color: #ff0000;
    margin-right: 6px;
    font-size: 15px;
}

/* Purchase Options */
.purchase-options {
    margin-bottom: 35px;
}

.option-label {
    font-size: 12px;
    margin-bottom: 12px;
}

.license-tags .tag {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid #000;
    border-radius: 30px;
    font-weight: 900;
    font-size: 12px;
}

.price-container {
    margin-top: 25px;
}

.old-price {
    text-decoration: line-through;
    color: var(--light-gray);
    font-size: 15px;
    font-weight: 700;
}

.current-price {
    display: block;
    font-size: 34px;
    font-weight: 900;
    color: var(--accent-color);
    margin: 2px 0;
}

.installments {
    font-size: 14px;
    margin-bottom: 5px;
}

.pix-price {
    font-size: 15px;
    color: var(--accent-color);
    font-weight: 900;
}

.buy-actions {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

.quantity-selector {
    display: flex;
    border: 1px solid #ddd;
    border-radius: 5px;
    height: 50px;
    background: white;
}

.quantity-selector button {
    background: none;
    border: none;
    width: 40px;
    font-size: 20px;
    color: #666;
    cursor: pointer;
}

.quantity-selector input {
    width: 40px;
    border: none;
    text-align: center;
    font-weight: 900;
    font-size: 16px;
}

.buy-now {
    flex-grow: 1;
    background: linear-gradient(to right, #f7941d, #fbb03b);
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: 900;
    font-size: 16px;
    text-transform: uppercase;
    cursor: pointer;
}

/* Payment Methods & Installments */
.payment-methods {
    border: 1px solid #eee;
    border-radius: 5px;
    margin-bottom: 35px;
    overflow: hidden;
}

.method-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px;
    border-bottom: 1px solid #eee;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    background: white;
}

.method-row:last-child {
    border-bottom: none;
}

.method-row .icons {
    display: flex;
    gap: 10px;
    font-size: 20px;
    color: #003366;
}

.method-row .left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.method-row i {
    font-size: 22px;
}

.method-row.pix i { color: #32bcad; }
.method-row.boleto i { color: #333; }

.parcelas i {
    transition: transform 0.3s;
    margin-left: 5px;
}

.parcelas.active i {
    transform: rotate(180deg);
}

.installments-list {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background: #fafafa;
}

.installments-list.active {
    max-height: 500px;
}

.inst-item {
    padding: 12px 18px;
    font-size: 12px;
    border-bottom: 1px solid #f0f0f0;
    color: #555;
}

.inst-item:last-child {
    border-bottom: none;
}

/* Share Section */
.share-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 45px;
}

.share-section span {
    font-size: 13px;
    font-weight: 900;
    color: var(--gray-text);
}

.whatsapp-circle {
    width: 40px;
    height: 40px;
    background: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 3px 10px rgba(37, 211, 102, 0.3);
}

/* Sections Styling */
.section-title {
    text-align: center;
    font-size: 16px;
    font-weight: 900;
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 2px solid #000;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    text-transform: uppercase;
}

.description-content p {
    font-size: 12px;
    color: var(--gray-text);
    line-height: 1.6;
    margin-bottom: 25px;
    text-align: justify;
}

.tech-details {
    list-style: none;
    font-size: 12px;
    color: var(--gray-text);
}

.tech-details li {
    margin-bottom: 10px;
}

.tech-details strong {
    color: #000;
}

/* Reviews */
.rating-card {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 25px;
}

.rating-summary {
    display: flex;
    gap: 30px;
    align-items: center;
}

.big-rating .score {
    font-size: 32px;
    font-weight: 900;
    display: block;
}

.big-rating p {
    font-size: 10px;
    color: var(--light-gray);
    margin: 5px 0;
}

.rating-bars {
    flex-grow: 1;
}

.bar-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    color: var(--light-gray);
    margin-bottom: 5px;
}

.bar {
    flex-grow: 1;
    height: 5px;
    background: #e5e5e5;
    border-radius: 3px;
}

.fill {
    height: 100%;
    background: #ffd700;
    border-radius: 3px;
}

.user-review {
    border-top: 1px solid #eee;
    padding-top: 25px;
}

.review-header {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 8px;
}

.review-date {
    color: var(--light-gray);
    font-weight: 400;
}

.recommend {
    margin-top: 12px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.recommend i {
    color: #000;
    margin-right: 6px;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.product-card {
    border: 1px solid #eee;
    padding: 12px;
    border-radius: 5px;
    position: relative;
    background: white;
}

.product-card .badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #00c853;
    color: white;
    font-size: 10px;
    padding: 4px 8px;
    border-radius: 3px;
    font-weight: 900;
    z-index: 1;
}

.wishlist {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #ccc;
    font-size: 18px;
}

.product-card img {
    width: 100%;
    margin-bottom: 15px;
}

.product-card h3 {
    font-size: 12px;
    font-weight: 900;
    height: 32px;
    overflow: hidden;
    margin-bottom: 15px;
    line-height: 1.2;
}

.product-card .prices {
    margin-bottom: 15px;
}

.product-card .old {
    font-size: 11px;
    text-decoration: line-through;
    color: var(--light-gray);
    display: block;
}

.product-card .new {
    font-size: 16px;
    font-weight: 900;
    color: var(--accent-color);
}

.product-card .install, .product-card .pix-p {
    font-size: 10px;
    font-weight: 800;
    margin-top: 3px;
}

.buy-btn {
    width: 100%;
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 12px;
    font-size: 12px;
    font-weight: 900;
    border-radius: 5px;
    text-transform: uppercase;
    cursor: pointer;
}

/* Newsletter */
.newsletter {
    background: #000;
    color: white;
    padding: 45px 20px;
    text-align: center;
    margin-top: 45px;
}

.newsletter h3 {
    font-size: 18px;
    font-weight: 900;
    margin-bottom: 15px;
}

.newsletter p {
    font-size: 11px;
    font-weight: 800;
    margin-bottom: 30px;
    line-height: 1.5;
}

.newsletter input {
    width: 100%;
    padding: 18px;
    margin-bottom: 15px;
    border: none;
    border-radius: 5px;
    font-size: 13px;
    text-align: center;
}

.newsletter button {
    width: 100%;
    padding: 18px;
    background: white;
    color: black;
    border: none;
    font-weight: 900;
    border-radius: 5px;
    font-size: 13px;
    cursor: pointer;
}

/* Footer */
.main-footer {
    background: #000;
    color: white;
    padding: 0 20px 40px;
}

.footer-accordion .acc-header {
    padding: 20px 0;
    border-bottom: 1px solid #222;
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
}

.footer-payments, .footer-seals {
    margin-top: 40px;
    text-align: center;
}

.footer-payments p, .footer-seals p {
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 20px;
}

.payment-icons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.payment-icons img {
    height: 24px;
}

.seal-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.seal-icons img {
    height: 40px;
}

.footer-bottom {
    margin-top: 50px;
    text-align: center;
    font-size: 10px;
    color: #888;
    line-height: 1.5;
}

.dev-logos {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.dev-item {
    font-size: 11px;
}

.dev-item strong {
    color: white;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    width: 95%;
    max-width: 600px;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}

.close-modal {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}
