/* ============================================
   PixelArt3D - Estilos Principais
   Fundo escuro, texto branco, acentos coloridos
   ============================================ */

/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-dark: #1a1a1a;
    --bg-darker: #0d0d0d;
    --bg-card: #262626;
    --text-white: #ffffff;
    --text-light: #e8e8e8;
    --text-gray: #b8b8b8;
    /* Rainbow colors inspired by banner */
    --accent-red: #ff0066;
    --accent-orange: #ff6600;
    --accent-yellow: #ffcc00;
    --accent-green: #00ff66;
    --accent-cyan: #00ccff;
    --accent-blue: #0066ff;
    --accent-purple: #6600ff;
    --accent-violet: #cc00ff;
    --border-color: #404040;
    --hover-bg: #333333;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    min-height: 100vh;
}

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

/* ============================================
   Header
   ============================================ */
.header {
    background: var(--bg-darker);
    border-bottom: 2px solid var(--border-color);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-text h1 {
    font-size: 28px;
    font-weight: bold;
    background: linear-gradient(90deg, var(--accent-red), var(--accent-orange), var(--accent-yellow), var(--accent-green), var(--accent-cyan), var(--accent-blue), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.logo-text p {
    font-size: 12px;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
}

/* ============================================
   Banner Section
   ============================================ */
.banner-section {
    width: 100%;
    background: var(--bg-darker);
    padding: 0;
    margin: 0;
    position: relative;
    overflow: hidden;
}

.banner-carousel {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.banner-slide {
    width: 100%;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.banner-slide.active {
    display: flex;
    opacity: 1;
}

.banner-image {
    width: 30%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 600px;
}

/* Carousel Controls */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: var(--text-white);
    font-size: 40px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.carousel-control:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: var(--accent-cyan);
    transform: translateY(-50%) scale(1.1);
}

.carousel-control:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

.carousel-control span {
    line-height: 1;
    font-weight: bold;
}

/* Carousel Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-indicator:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.2);
}

.carousel-indicator.active {
    background: var(--accent-cyan);
    border-color: var(--accent-cyan);
    width: 30px;
    border-radius: 6px;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 0, 0, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 15px;
    background: linear-gradient(90deg, var(--accent-red), var(--accent-orange), var(--accent-yellow), var(--accent-green), var(--accent-cyan), var(--accent-blue), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 100%;
    animation: gradientShift 4s ease infinite;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-light);
}

.color-gradient-accent {
    width: 200px;
    height: 4px;
    margin: 30px auto;
    background: linear-gradient(90deg, var(--accent-red), var(--accent-orange), var(--accent-yellow), var(--accent-green), var(--accent-cyan), var(--accent-blue), var(--accent-purple), var(--accent-violet));
    border-radius: 2px;
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

/* ============================================
   Main Content
   ============================================ */
.main-content {
    padding: 60px 0;
}

.step-section {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 40px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

.section-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 30px;
    color: var(--text-white);
    border-bottom: 3px solid;
    border-image: linear-gradient(90deg, var(--accent-red), var(--accent-orange), var(--accent-yellow), var(--accent-green), var(--accent-cyan), var(--accent-blue), var(--accent-purple)) 1;
    padding-bottom: 15px;
}

/* ============================================
   Model Selection
   ============================================ */
.model-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.model-card {
    background: var(--bg-darker);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.model-card:hover {
    border-color: var(--accent-cyan);
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 204, 255, 0.4);
    background: var(--hover-bg);
}

.model-card.selected {
    border-color: var(--accent-purple);
    box-shadow: 0 0 25px rgba(102, 0, 255, 0.6);
}

.model-preview {
    width: 100%;
    aspect-ratio: 9 / 16;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 15px;
    background: var(--bg-dark);
}

.model-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.model-card:hover .model-image {
    transform: scale(1.05);
}

.model-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--text-white);
}

.model-card p {
    color: var(--text-gray);
    font-size: 14px;
}

/* ============================================
   Model Description Box
   ============================================ */
.model-description-box {
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-darker) 100%);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 40px;
    border: 2px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.5s ease-out;
    position: relative;
    overflow: hidden;
}

.model-description-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-red), var(--accent-orange), var(--accent-yellow), var(--accent-green), var(--accent-cyan), var(--accent-blue), var(--accent-purple));
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

.model-description-content {
    position: relative;
    z-index: 1;
}

.model-description-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--text-white);
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.model-description-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-light);
    margin: 0;
}

/* ============================================
   QR Code Configuration
   ============================================ */
.qr-config {
    background: var(--bg-darker);
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
}

.qr-type-selector {
    margin-bottom: 20px;
}

.qr-type-selector label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-light);
    font-weight: 500;
}

.qr-type-hint {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: 10px;
    padding: 6px 12px;
    background: rgba(0, 204, 255, 0.1);
    border: 1px solid var(--accent-cyan);
    border-radius: 6px;
    font-size: 13px;
    color: var(--accent-cyan);
    font-weight: normal;
    animation: fadeIn 0.3s ease-out;
}

.hint-icon {
    font-size: 16px;
    flex-shrink: 0;
}

.hint-text {
    color: var(--text-light);
    line-height: 1.4;
}

.qr-config-panel {
    margin-bottom: 20px;
}

.qr-config-panel label {
    display: block;
    margin-bottom: 8px;
    margin-top: 15px;
    color: var(--text-light);
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-white);
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 12px rgba(0, 204, 255, 0.4);
}

.form-control:disabled {
    background: var(--bg-darker);
    border-color: var(--border-color);
    color: var(--text-gray);
    cursor: not-allowed;
    opacity: 0.7;
}

.form-control::placeholder {
    color: var(--text-gray);
}

/* PIX Key Type Selector */
.pix-key-type-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding: 15px;
    background: var(--bg-darker);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    margin-bottom: 15px;
}

.pix-key-type-selector label {
    display: flex;
    align-items: center;
    cursor: pointer;
    color: var(--text-white);
    font-size: 14px;
    transition: color 0.3s ease;
    user-select: none;
}

.pix-key-type-selector label:hover {
    color: var(--accent-cyan);
}

.pix-key-type-selector input[type="radio"] {
    margin-right: 8px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--accent-cyan);
}

.pix-key-type-selector input[type="radio"]:checked + span {
    color: var(--accent-cyan);
    font-weight: 600;
}

.pix-key-type-selector label:has(input[type="radio"]:checked) {
    color: var(--accent-cyan);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-sizing: border-box;
    max-width: 100%;
}

.btn-primary {
    background: linear-gradient(90deg, var(--accent-red), var(--accent-orange), var(--accent-yellow), var(--accent-green), var(--accent-cyan));
    background-size: 200% 100%;
    color: var(--text-white);
    box-shadow: 0 4px 20px rgba(255, 102, 0, 0.4);
    animation: gradientShift 3s ease infinite;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 170, 0, 0.5);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-large {
    padding: 15px 40px;
    font-size: 18px;
    width: 100%;
    margin-top: 20px;
}

/* ============================================
   QR Preview Container
   ============================================ */
.qr-preview-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

#okButton {
    grid-column: 1 / -1;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

#generateQR {
    width: 100%;
    margin-top: 20px;
}

#qrPreview {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #000000;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    min-height: 300px;
    box-sizing: border-box;
    max-width: 100%;
    overflow: hidden;
}

#qrPreview canvas {
    max-width: 100%;
    height: auto;
}

#paymentQR {
    background: #000000;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#paymentQR canvas {
    max-width: 100%;
    height: auto;
}

/* ============================================
   STL Viewer Container
   ============================================ */
.stl-viewer-container {
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    overflow: hidden;
}

.viewer-title {
    font-size: 20px;
    color: var(--text-white);
    margin-bottom: 10px;
    text-align: center;
}

.viewer-instructions {
    font-size: 14px;
    color: var(--text-gray);
    text-align: center;
    margin-bottom: 15px;
    font-style: italic;
}

.stl-viewer {
    width: 100%;
    height: 500px;
    background: var(--bg-darker);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-sizing: border-box;
    max-width: 100%;
}

/* ============================================
   Order Form
   ============================================ */
.order-form {
    background: var(--bg-darker);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-light);
    font-weight: 500;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* ============================================
   Order Summary
   ============================================ */
.order-summary {
    background: var(--bg-dark);
    padding: 25px;
    border-radius: 8px;
    margin-top: 30px;
    border: 1px solid var(--border-color);
}

.order-summary h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--text-white);
    border-bottom: 2px solid;
    border-image: linear-gradient(90deg, var(--accent-red), var(--accent-orange), var(--accent-yellow), var(--accent-green), var(--accent-cyan)) 1;
    padding-bottom: 10px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-light);
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-item.total {
    font-size: 20px;
    font-weight: bold;
    background: linear-gradient(90deg, var(--accent-red), var(--accent-orange), var(--accent-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px solid;
    border-image: linear-gradient(90deg, var(--accent-cyan), var(--accent-blue), var(--accent-purple)) 1;
}

/* ============================================
   Cart Items List
   ============================================ */
.cart-items-list {
    margin-bottom: 20px;
}

.cart-empty-message {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-light);
    font-style: italic;
}

.cart-items-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cart-item {
    background: var(--bg-darker);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
}

.cart-item:hover {
    border-color: var(--accent-blue);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.cart-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.cart-item-header h4 {
    margin: 0;
    color: var(--text-white);
    font-size: 18px;
    font-weight: 600;
    flex: 1;
}

.btn-remove-item {
    background: rgba(220, 53, 69, 0.2);
    border: 1px solid rgba(220, 53, 69, 0.5);
    border-radius: 6px;
    padding: 8px 12px;
    cursor: pointer;
    color: #dc3545;
    font-size: 16px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-remove-item:hover {
    background: rgba(220, 53, 69, 0.3);
    border-color: #dc3545;
    transform: scale(1.05);
}

.btn-remove-item:active {
    transform: scale(0.95);
}

.cart-item-price {
    color: var(--accent-green);
    font-size: 18px;
    font-weight: bold;
}

.cart-item-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}

.cart-item-detail {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
}

.cart-item-detail strong {
    color: var(--text-white);
    margin-right: 8px;
}

.qr-info-value {
    color: var(--accent-cyan);
    word-break: break-all;
    font-family: 'Courier New', monospace;
    font-size: 15px;
}

.cart-item-quantity-control {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 15px 0;
    padding: 10px;
    background: var(--bg-dark);
    border-radius: 6px;
    border: 1px solid var(--border-color);
}

.cart-item-quantity-control label {
    color: var(--text-light);
    font-size: 14px;
    margin: 0;
    white-space: nowrap;
}

.cart-quantity-input {
    width: 80px;
    padding: 8px 12px;
    background: var(--bg-darker);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-white);
    font-size: 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.cart-quantity-input:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.cart-quantity-input::-webkit-inner-spin-button,
.cart-quantity-input::-webkit-outer-spin-button {
    opacity: 1;
    height: 30px;
}

.cart-item-subtotal {
    display: flex;
    justify-content: space-between;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
    color: var(--text-light);
    font-weight: 600;
}

.cart-item-subtotal span:last-child {
    color: var(--accent-yellow);
    font-size: 16px;
}

/* ============================================
   Payment Section
   ============================================ */
.payment-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

.pix-payment-card {
    background: var(--bg-darker);
    border: 2px solid var(--accent-blue);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
}

.pix-card-header {
    margin-bottom: 25px;
}

.pix-card-header h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--text-white);
}

.pix-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 32px;
    font-weight: bold;
    color: var(--text-white);
}

.pix-logo svg {
    width: 40px;
    height: 40px;
}

.pix-qr-code {
    background: var(--bg-dark);
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
}

.pix-key {
    margin-top: 20px;
    padding: 15px;
    background: var(--bg-dark);
    border-radius: 6px;
    border: 1px solid var(--border-color);
}

.pix-key p {
    color: var(--text-light);
    font-size: 14px;
}

.pix-key span {
    background: linear-gradient(90deg, var(--accent-yellow), var(--accent-green), var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
}

.payment-info {
    background: var(--bg-darker);
    padding: 25px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.payment-info p {
    color: var(--text-light);
    margin-bottom: 10px;
    line-height: 1.8;
}

/* ============================================
   Customer Reviews
   ============================================ */
.reviews-summary {
    background: var(--bg-darker);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
    text-align: center;
}

.summary-stats {
    display: flex;
    justify-content: center;
    align-items: center;
}

.average-rating {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.average-number {
    font-size: 48px;
    font-weight: bold;
    background: linear-gradient(90deg, var(--accent-yellow), var(--accent-orange), var(--accent-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stars-display {
    display: flex;
    gap: 5px;
    font-size: 24px;
}

.star {
    color: var(--accent-yellow);
}

.star.empty {
    color: var(--border-color);
}

.total-reviews {
    font-size: 16px;
    color: var(--text-gray);
}

.reviews-list {
    display: grid;
    gap: 20px;
}

.review-item {
    background: var(--bg-darker);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.review-item:hover {
    border-color: var(--accent-cyan);
    box-shadow: 0 4px 15px rgba(0, 204, 255, 0.2);
    transform: translateY(-2px);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.review-author {
    font-weight: bold;
    color: var(--text-white);
    font-size: 18px;
}

.review-date {
    color: var(--text-gray);
    font-size: 14px;
}

.review-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 15px;
}

.review-stars .star {
    font-size: 18px;
}

.review-text {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 15px;
}

/* ============================================
   Review Form
   ============================================ */
.review-form-container {
    background: var(--bg-darker);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    margin-bottom: 30px;
}

.review-form-title {
    color: var(--text-white);
    font-size: 24px;
    margin-bottom: 25px;
    font-weight: 600;
}

.review-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group label {
    color: var(--text-white);
    font-weight: 500;
    font-size: 16px;
}

.form-control {
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 15px;
    color: var(--text-white);
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 3px rgba(0, 204, 255, 0.1);
}

.form-control option {
    background: var(--bg-darker);
    color: var(--text-white);
}

.rating-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 5px;
}

.rating-input input[type="radio"] {
    display: none;
}

.rating-input .star-label {
    font-size: 32px;
    color: var(--border-color);
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.rating-input .star-label:hover,
.rating-input .star-label:hover ~ .star-label {
    color: var(--accent-yellow);
}

.rating-input input[type="radio"]:checked ~ .star-label,
.rating-input input[type="radio"]:checked ~ .star-label ~ .star-label {
    color: var(--accent-yellow);
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.btn-submit-review,
.btn-cancel-review {
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-submit-review {
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
    color: var(--text-white);
    flex: 1;
}

.btn-submit-review:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 204, 255, 0.3);
}

.btn-submit-review:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-cancel-review {
    background: transparent;
    color: var(--text-gray);
    border: 1px solid var(--border-color);
}

.btn-cancel-review:hover {
    border-color: var(--text-gray);
    color: var(--text-white);
}

.form-message {
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    margin-top: 10px;
    display: none;
}

.form-message.success {
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid rgba(0, 255, 0, 0.3);
    color: #4ade80;
    display: block;
}

.form-message.error {
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.3);
    color: #f87171;
    display: block;
}

.review-prompt-container {
    background: var(--bg-darker);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    margin-bottom: 30px;
    text-align: center;
}

.review-prompt-text {
    color: var(--text-light);
    font-size: 16px;
    margin: 0;
}

.review-login-link {
    color: var(--accent-cyan);
    text-decoration: none;
    font-weight: 600;
    margin-left: 5px;
}

.review-login-link:hover {
    text-decoration: underline;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--bg-darker);
    border-top: 2px solid var(--border-color);
    padding: 30px 0;
    text-align: center;
    margin-top: 60px;
}

.footer p {
    color: var(--text-gray);
    font-size: 14px;
}

/* ============================================
   Responsive Design
   ============================================ */

/* Tablets and smaller desktops */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }
    
    .qr-preview-container {
        gap: 30px;
    }
    
    .stl-viewer {
        height: 450px;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .banner-image {
        max-height: 400px;
    }
    
    .banner-slide {
        transition: opacity 0.8s ease-in-out;
    }
    
    .carousel-control {
        width: 40px;
        height: 40px;
        font-size: 30px;
    }
    
    .carousel-prev {
        left: 15px;
    }
    
    .carousel-next {
        right: 15px;
    }
    
    .carousel-indicators {
        bottom: 15px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .model-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .qr-preview-container {
        grid-template-columns: 1fr;
        gap: 30px;
        width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .payment-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .step-section {
        padding: 30px 25px;
    }
    
    .model-description-box {
        padding: 25px;
        margin-bottom: 30px;
    }
    
    .model-description-title {
        font-size: 26px;
    }
    
    .model-description-text {
        font-size: 15px;
    }
    
    .qr-config {
        padding: 25px;
    }
    
    .order-form {
        padding: 25px;
    }
    
    .stl-viewer {
        height: 400px;
    }
    
    .header {
        padding: 15px 0;
    }
    
    .logo-icon {
        width: 50px;
        height: 50px;
    }
    
    .logo-text h1 {
        font-size: 24px;
    }
    
    .logo-text p {
        font-size: 11px;
    }
}

/* Mobile devices */
@media (max-width: 480px) {
    .banner-image {
        max-height: 300px;
        width: 100%;
    }
    
    .banner-slide {
        transition: opacity 0.6s ease-in-out;
    }
    
    .carousel-control {
        width: 35px;
        height: 35px;
        font-size: 24px;
    }
    
    .carousel-prev {
        left: 10px;
    }
    
    .carousel-next {
        right: 10px;
    }
    
    .carousel-indicators {
        bottom: 10px;
        gap: 8px;
    }
    
    .carousel-indicator {
        width: 10px;
        height: 10px;
    }
    
    .carousel-indicator.active {
        width: 25px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .header {
        padding: 12px 0;
    }
    
    .logo {
        gap: 10px;
    }
    
    .logo-icon {
        width: 45px;
        height: 45px;
    }
    
    .logo-text h1 {
        font-size: 20px;
    }
    
    .logo-text p {
        font-size: 10px;
        letter-spacing: 1px;
    }
    
    .hero {
        padding: 40px 0;
    }
    
    .hero-title {
        font-size: 28px;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .color-gradient-accent {
        width: 150px;
        height: 3px;
        margin: 20px auto;
    }
    
    .section-title {
        font-size: 24px;
        margin-bottom: 20px;
        padding-bottom: 12px;
    }
    
    .step-section {
        padding: 20px 15px;
        margin-bottom: 30px;
    }
    
    .model-grid {
        gap: 20px;
    }
    
    .model-card {
        padding: 15px;
    }
    
    .model-card h3 {
        font-size: 20px;
    }
    
    .model-card p {
        font-size: 13px;
    }
    
    .model-description-box {
        padding: 20px 15px;
        margin-bottom: 30px;
    }
    
    .model-description-title {
        font-size: 22px;
        margin-bottom: 12px;
    }
    
    .model-description-text {
        font-size: 14px;
        line-height: 1.6;
    }
    
    .qr-config {
        padding: 20px 15px;
    }
    
    .qr-type-selector label,
    .qr-config-panel label {
        font-size: 14px;
    }
    
    .qr-type-hint {
        display: block;
        margin-top: 8px;
        margin-left: 0;
        font-size: 12px;
        padding: 8px 10px;
    }
    
    .hint-text {
        font-size: 12px;
    }
    
    .form-control {
        padding: 10px 12px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .form-group {
        margin-bottom: 15px;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 14px;
        width: 100%;
    }
    
    .btn-large {
        padding: 15px 30px;
        font-size: 16px;
    }
    
    .order-form {
        padding: 20px 15px;
    }
    
    .order-summary {
        padding: 20px;
    }
    
    .order-summary h3 {
        font-size: 18px;
    }
    
    .summary-item {
        font-size: 14px;
        padding: 10px 0;
    }
    
    .summary-item.total {
        font-size: 18px;
        margin-top: 12px;
        padding-top: 12px;
    }
    
    .payment-container {
        gap: 20px;
    }
    
    .pix-payment-card {
        padding: 20px;
    }
    
    .pix-card-header h3 {
        font-size: 20px;
    }
    
    .pix-logo {
        font-size: 28px;
    }
    
    .pix-logo svg {
        width: 35px;
        height: 35px;
    }
    
    .pix-qr-code {
        padding: 15px;
        min-height: 180px;
    }
    
    .payment-info {
        padding: 20px;
    }
    
    .payment-info p {
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    .reviews-summary {
        padding: 20px;
    }
    
    .average-number {
        font-size: 36px;
    }
    
    .stars-display {
        font-size: 20px;
    }
    
    .review-item {
        padding: 20px;
    }
    
    .review-author {
        font-size: 16px;
    }
    
    .review-text {
        font-size: 14px;
    }
    
    .qr-preview-container {
        gap: 25px;
    }
    
    #qrPreview {
        padding: 15px;
        min-height: 250px;
        max-width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }
    
    .stl-viewer-container {
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
        overflow: hidden;
        padding: 0;
        margin: 0;
    }
    
    .stl-viewer {
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .viewer-title {
        font-size: 18px;
    }
    
    .viewer-instructions {
        font-size: 12px;
        margin-bottom: 12px;
    }
    
    .stl-viewer {
        height: 300px;
    }
    
    .footer {
        padding: 25px 0;
        margin-top: 40px;
    }
    
    .footer p {
        font-size: 12px;
    }
}

/* Very small mobile devices */
@media (max-width: 360px) {
    .container {
        padding: 0 12px;
    }
    
    .hero-title {
        font-size: 24px;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .step-section {
        padding: 15px 12px;
    }
    
    .model-description-box {
        padding: 15px 12px;
        margin-bottom: 25px;
    }
    
    .model-description-title {
        font-size: 20px;
        margin-bottom: 10px;
    }
    
    .model-description-text {
        font-size: 13px;
        line-height: 1.5;
    }
    
    .qr-config,
    .order-form {
        padding: 15px 12px;
    }
    
    .stl-viewer {
        height: 250px;
    }
    
    .logo-text h1 {
        font-size: 18px;
    }
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-section {
    animation: fadeIn 0.5s ease-out;
}

/* ============================================
   Scrollbar Styling
   ============================================ */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--accent-red), var(--accent-orange), var(--accent-yellow), var(--accent-green), var(--accent-cyan), var(--accent-blue), var(--accent-purple));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--accent-purple), var(--accent-blue), var(--accent-cyan), var(--accent-green), var(--accent-yellow), var(--accent-orange), var(--accent-red));
}

