:root {
    --color-primary: #22c55e;
    --color-primary-hover: #1ea550;
    --color-dark: #1a1f2e;
    --color-dark-light: #252b3d;
    --color-dark-border: #2d3548;
    --color-dark-card: #252b3d;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f9fafb;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: var(--color-primary);
    text-decoration: underline;
}

a:hover {
    text-decoration: none;
}

/* ===== HEADER ===== */
.site-header {
    background: var(--color-dark);
    border-bottom: 1px solid var(--color-dark-border);
}

.rating-bar {
    background: var(--color-primary);
    padding: 0.375rem 0;
    text-align: center;
}

.rating-bar span {
    color: white;
    font-size: 0.875rem;
    font-weight: 500;
}

.rating-stars {
    display: inline-flex;
    gap: 2px;
    margin-right: 0.5rem;
}

.rating-stars svg {
    width: 16px;
    height: 16px;
    fill: white;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: var(--color-primary);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon svg {
    width: 20px;
    height: 20px;
    color: white;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
}

.logo-text-white {
    color: white;
}

.logo-text-green {
    color: var(--color-primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.nav-link:hover {
    color: white;
}

.nav-link-active {
    background: var(--color-primary);
    color: white;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-menu-trigger {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #9ca3af;
    padding: 0.5rem;
}

.user-menu-trigger:hover {
    color: white;
}

.user-avatar {
    width: 32px;
    height: 32px;
    background: var(--color-dark-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-balance {
    color: var(--color-primary);
    font-weight: 500;
    font-size: 0.875rem;
}

/* ===== HERO ===== */
.hero {
    max-width: 896px;
    margin: 0 auto;
    padding: 4rem 1rem;
    text-align: center;
}

.hero h1 {
    color: black;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 1rem;
}

.hero-subtitle {
    color: #9ca3af;
    font-size: 1.25rem;
    margin: 0 0 0.5rem;
}

.hero-link {
    color: var(--color-primary);
    font-size: 0.875rem;
    text-decoration: none;
}

.hero-link:hover {
    text-decoration: underline;
}

/* ===== SERVICE CARD ===== */
.service-card {
    background: var(--color-dark-card);
    border-radius: 12px;
    padding: 2rem;
    margin-top: 3rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.service-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.youtube-icon {
    width: 48px;
    height: 48px;
    background: #dc2626;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.youtube-icon svg {
    width: 28px;
    height: 28px;
    fill: white;
}

.service-title {
    text-align: left;
}

.service-title h2 {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.service-title p {
    color: #9ca3af;
    margin: 0.25rem 0 0;
    font-size: 0.875rem;
}

/* ===== COUNTRY SELECTOR ===== */
.country-selector {
    margin-bottom: 2rem;
}

.country-selector-label {
    display: block;
    color: #9ca3af;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
    text-align: left;
}

.country-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.country-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    border-radius: 8px;
    border: 2px solid var(--color-dark-border);
    background: transparent;
    color: #9ca3af;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.country-btn:hover {
    border-color: #6b7280;
}

.country-btn.active {
    border-color: var(--color-primary);
    background: rgba(34, 197, 94, 0.1);
    color: white;
}

.country-flag {
    font-size: 1.125rem;
    width: 24px;
    height: 18px;
    display: inline-block;
    /* Add this */
}

/* Add this new rule */
.country-flag img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.country-prefix {
    opacity: 0.75;
    font-size: 0.75rem;
}

/* ===== PRICE BOX ===== */
.price-box {
    background: var(--color-dark);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-label {
    color: #9ca3af;
    font-size: 0.875rem;
    margin: 0 0 0.25rem;
}

.price-value {
    color: white;
    font-size: 1.875rem;
    font-weight: 700;
    margin: 0;
}

.price-country {
    text-align: right;
}

.price-country-name {
    color: white;
    font-size: 1.25rem;
    font-weight: 500;
    margin: 0;
}

/* ===== CTA BUTTON ===== */
.cta-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s;
    box-shadow: 0 10px 25px -5px rgba(34, 197, 94, 0.25);
}

.cta-btn:hover {
    background: var(--color-primary-hover);
    transform: scale(1.02);
}

.cta-btn:active {
    transform: scale(0.98);
}

.cta-btn svg {
    width: 20px;
    height: 20px;
}

.error-message {
    color: white;
    background-color: #dc2626;
    font-size: 1.050rem;
    margin: 1rem 0;
    padding: 0.5rem;
    border-radius: 4px;
    display: none;
}

.login-hint {
    margin-top: 1rem;
    color: #6b7280;
    font-size: 0.875rem;
}

.login-hint a {
    color: var(--color-primary);
    text-decoration: none;
}

.login-hint a:hover {
    text-decoration: underline;
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
    width: 100%;
    background: linear-gradient(to bottom, var(--color-dark), #0f1219);
}

.how-it-works-container {
    max-width: 1280px;
    padding: 4rem 1rem;
    margin: 0 auto;
}

.how-it-works h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 2.5rem;
    text-align: center;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.step {
    text-align: center;
}

.step-number {
    width: 64px;
    height: 64px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
}

.step h4 {
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
}

.step p {
    color: #9ca3af;
    font-size: 0.875rem;
    margin: 0;
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--color-dark);
    border-top: 1px solid var(--color-dark-border);
    margin-top: auto;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 3rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    color: #9ca3af;
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-link {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.footer-link:hover {
    color: var(--color-primary);
}

/* ===== MODAL ===== */
.modal-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 100;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-backdrop.active {
    display: flex;
}

.modal {
    background: white;
    border-radius: 12px;
    width: 100%;
    max-width: 448px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.modal-header {
    padding: 1.5rem 1.5rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.modal-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 0.25rem;
}

.modal-close:hover {
    color: #6b7280;
}

.modal-close svg {
    width: 20px;
    height: 20px;
}

/* ===== TABS ===== */
.auth-tabs {
    display: flex;
    border-bottom: 1px solid #e5e7eb;
    padding: 0 1.5rem;
}

.auth-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    color: #6b7280;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.auth-tab:hover {
    color: #374151;
}

.auth-tab.active {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

.auth-tab svg {
    width: 16px;
    height: 16px;
}

/* ===== FORM ===== */
.auth-panel {
    display: none;
    padding: 1.5rem;
}

.auth-panel.active {
    display: block;
}

.form-field {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    outline: none;
    transition: all 0.2s;
    box-sizing: border-box;
}

.form-input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.form-input-wrapper {
    position: relative;
}

.form-input-wrapper .form-input {
    padding-right: 3rem;
}

.password-toggle {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 0.25rem;
}

.password-toggle:hover {
    color: #6b7280;
}

.password-toggle svg {
    width: 20px;
    height: 20px;
}

.form-submit {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--color-dark);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.form-submit:hover {
    background: var(--color-dark-light);
}

.forgot-link {
    display: block;
    text-align: center;
    margin-top: 1rem;
    color: var(--color-primary);
    font-size: 0.875rem;
    text-decoration: none;
}

.forgot-link:hover {
    text-decoration: underline;
}

.terms-text {
    font-size: 0.75rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

.terms-text a {
    color: var(--color-primary);
    text-decoration: none;
}

.terms-text a:hover {
    text-decoration: underline;
}

/* ===== OAUTH ===== */
.oauth-divider {
    padding: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.divider-line {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.divider-line::before,
.divider-line::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}

.divider-line span {
    padding: 0 1rem;
    color: #6b7280;
    font-size: 0.875rem;
}

.oauth-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.oauth-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin: 0 auto;
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.oauth-btn svg {
    width: 20px;
    height: 20px;
}

.oauth-google {
    background: white;
    border: 1px solid #d1d5db;
    color: #374151;
}

.oauth-google:hover {
    background: #f9fafb;
}

.oauth-apple {
    background: black;
    border: 1px solid black;
    color: white;
}

.oauth-apple:hover {
    background: #1f2937;
}

/* ===== PAGE HEADER ===== */
.page-header {
    background: var(--color-primary);
    padding: 2rem 0;
}

.page-header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.page-header h1 {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.page-header-subtitle {
    color: rgba(255, 255, 255, 0.8);
    margin: 0.25rem 0 0;
    font-size: 0.875rem;
}

.breadcrumb {
    margin-top: 0.5rem;
    font-size: 0.875rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0.5rem;
}

.breadcrumb-current {
    color: white;
}

/* ===== MAIN CONTENT ===== */
.main-content {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 2.5rem 1rem;
}

.order-grid {
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 2rem;
}

/* ===== CARD ===== */
.card {
    background: white;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    min-width: 0;
}

.card-header {
    padding: 1.5rem;
    border-bottom: 1px solid #f3f4f6;
}

.card-header h2 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
}

.card-body {
    padding: 1.5rem;
}

.summary-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.summary-item:last-child {
    margin-bottom: 0;
}

.summary-icon {
    width: 32px;
    height: 32px;
    background: #f3f4f6;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.summary-icon svg {
    width: 16px;
    height: 16px;
    color: #6b7280;
}

.summary-icon.youtube svg {
    color: #dc2626;
}

.summary-label {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
}

.summary-value {
    font-weight: 500;
    color: #111827;
    margin: 0.125rem 0 0;
}

.summary-value-muted {
    color: #9ca3af;
    font-weight: 400;
}

.cancel-link {
    color: #d97706;
    font-size: 0.875rem;
    text-decoration: none;
    font-weight: 500;
}

.cancel-link:hover {
    text-decoration: underline;
}

/* ===== NUMBER SECTION ===== */
.number-section {
    padding: 1.5rem;
}

.number-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.number-label {
    color: #6b7280;
    font-size: 0.875rem;
}

.number-display {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.number-value {
    background: var(--color-primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-family: monospace;
    font-size: 1.125rem;
    font-weight: 700;
}

.copy-btn {
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 0.5rem;
    position: relative;
}

.copy-btn:hover {
    color: #6b7280;
}

.copy-btn svg {
    width: 20px;
    height: 20px;
}

.copy-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #1f2937;
    color: white;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
}

.copy-btn.copied .copy-tooltip {
    opacity: 1;
}

/* ===== STATUS ===== */
.status-waiting {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #d97706;
    font-weight: 500;
    margin-bottom: 1rem;
}

.status-waiting svg {
    width: 20px;
    height: 20px;
}

.status-completed {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-primary);
    font-weight: 500;
    margin-bottom: 1rem;
}

.status-completed svg {
    width: 20px;
    height: 20px;
}

.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid #d97706;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.info-text {
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0 0 1rem;
}

.info-text strong {
    color: #111827;
}

.hint-text {
    color: #9ca3af;
    font-size: 0.75rem;
    font-style: italic;
    margin: 0 0 1.5rem;
}

/* ===== SMS CODE BOX ===== */
.sms-code-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.sms-code-label {
    color: #6b7280;
    font-size: 0.875rem;
    align-self: flex-start;
}

.sms-code-display {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sms-code-value {
    background: var(--color-primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-family: monospace;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

/* ===== SKIP BUTTON ===== */
.skip-btn {
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background 0.2s;
}

.skip-btn:hover {
    background: #dc2626;
}

.skip-btn svg {
    width: 20px;
    height: 20px;
}

/* ===== ACTION BUTTONS ===== */
.action-buttons {
    display: flex;
    gap: 0.75rem;
}

.btn {
    flex: 1;
    padding: 0.875rem 1rem;
    border: none;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background 0.2s;
}

.btn svg {
    width: 18px;
    height: 18px;
}

.btn-reuse {
    background: var(--color-primary);
    color: white;
}

.btn-reuse:hover {
    background: var(--color-primary-hover);
}

.btn-new {
    background: #3b82f6;
    color: white;
}

.btn-new:hover {
    background: #2563eb;
}

/* ===== TABLE CARD ===== */
.table-card {
    background: white;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.table-wrapper {
    overflow-x: auto;
}

.orders-table {
    width: 100%;
    border-collapse: collapse;
}

.orders-table thead {
    background: #f9fafb;
}

.orders-table th {
    padding: 1rem 1.5rem;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 1px solid #e5e7eb;
}

.orders-table td {
    padding: 1rem 1.5rem;
    font-size: 0.875rem;
    color: #374151;
    border-bottom: 1px solid #f3f4f6;
}

.orders-table tbody tr:hover {
    background: #f9fafb;
}

.orders-table tbody tr:last-child td {
    border-bottom: none;
}

/* Order ID */
.order-id {
    font-weight: 500;
    color: #111827;
}

/* Service cell */
.service-cell {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-icon {
    width: 24px;
    height: 24px;
    background: #dc2626;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon svg {
    width: 14px;
    height: 14px;
    fill: white;
}

/* Number */
.phone-number {
    font-family: monospace;
    color: #374151;
}

/* Date */
.date-cell {
    color: #6b7280;
}

/* Status Badge */
.badge {
    display: inline-flex;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.badge-completed {
    background: var(--color-primary);
    color: white;
}

.badge-pending {
    background: #f59e0b;
    color: white;
}

.badge-expired,
.badge-cancelled {
    background: #ef4444;
    color: white;
}

.badge-added {
    background: #6b7280;
    color: white;
}

/* SMS Content */
.sms-content {
    max-width: 250px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sms-empty {
    color: #9ca3af;
}

/* View Button */
.btn-view {
    display: inline-flex;
    padding: 0.5rem 1rem;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-view:hover {
    background: var(--color-primary-hover);
}

/* ===== USER MENU POPOVER ===== */
.dropdown-menu {
    position: relative;
}

.user-menu-trigger {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #9ca3af;
    padding: 0.5rem;
}

.user-menu-trigger:hover {
    color: white;
}

.user-menu-trigger .user-avatar {
    width: 32px;
    height: 32px;
    background: var(--color-dark-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-menu-trigger .user-balance {
    color: var(--color-primary);
    font-weight: 500;
    font-size: 0.875rem;
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    min-width: 200px;
    background: var(--color-dark-card);
    border: 1px solid var(--color-dark-border);
    border-radius: 12px;
    padding: 0.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s;
}

.dropdown-menu:hover .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: block;
    padding: 0.75rem 1rem;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s;
    font-size: 0.95rem;
}

.dropdown-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-primary);
}

.cancel-order-btn {
    background: none;
    border: none;
    color: #dc2626;
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
    font-size: inherit;
    transition: color 0.2s;
}

/* ===== ALERTS ===== */
.cancel-order-btn:hover {
    color: #991b1b;
}

/* Error/Warning alert box */
.alert-error {
    background-color: #fee2e2;
    border-radius: 8px;
    padding: 16px;
    margin: 16px 0;
}

.alert-error-header {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #dc2626;
    margin-bottom: 8px;
}

.alert-error-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.alert-error-title {
    font-size: 1.1em;
}

.alert-error-message {
    color: #991b1b;
    margin: 0;
    line-height: 1.5;
}

/* ===== PRICING GRID ===== */
.pricing-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.pricing-header h1 {
    color: var(--color-primary);
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
}

.pricing-subtitle {
    color: #4b5563;
    font-size: 1.1rem;
    margin: 0;
}

.pricing-highlight {
    font-weight: 700;
    text-decoration: underline;
    color: #111827;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1280px;
    margin: 0 auto;
}

/* ===== PRICING CARD ===== */
.pricing-highlight-urgent {
    font-weight: 700;
    text-decoration: underline;
    color: #dc2626;
}

.pricing-card {
    position: relative;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    border-color: #d1d5db;
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

/* Featured card */
.pricing-card-featured {
    border-color: var(--color-primary);
    background: linear-gradient(to bottom, rgba(34, 197, 94, 0.03), white);
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(34, 197, 94, 0.2);
}

.pricing-card-featured:hover {
    transform: scale(1.05) translateY(-4px);
    border-color: var(--color-primary);
}

.pricing-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.pricing-value-featured {
    color: black;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Badge */
.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.375rem 1rem;
    border-radius: 9999px;
    white-space: nowrap;
}

/* Card header */
.pricing-card-header {
    padding-bottom: 1rem;
    border-bottom: 1px solid #f3f4f6;
    margin-bottom: 1.25rem;
}

.pricing-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: #111827;
}

.pricing-card-featured .pricing-amount {
    color: var(--color-primary);
}

/* Card body */
.pricing-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60px;
}

/* Bonus tags */
.pricing-bonus {
    margin-bottom: 0.5rem;
}

.pricing-bonus-none {
    color: #d1d5db;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.pricing-bonus-tag {
    display: inline-block;
    background: #dcfce7;
    color: #166534;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.5rem 0.875rem;
    border-radius: 9999px;
}

.pricing-best-value {
    font-size: 0.75rem;
    color: var(--color-primary);
    font-weight: 600;
    margin-top: 0.75rem;
}

/* Card footer */
.pricing-card-footer {
    margin-top: 1.25rem;
}

.pricing-btn {
    display: block;
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: var(--color-dark);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.2s;
    text-align: center;
}

.pricing-btn:hover {
    background: var(--color-dark-light);
    transform: scale(1.02);
}

.pricing-btn-featured {
    background: var(--color-primary);
    box-shadow: 0 4px 14px rgba(34, 197, 94, 0.3);
}

.pricing-btn-featured:hover {
    background: var(--color-primary-hover);
}

.fire-icon {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-right: 4px;
}

.svg-icon {
    width: 24px;
    height: 24px;
    vertical-align: middle;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1000px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-card-featured {
        transform: scale(1.02);
    }

    .pricing-card-featured:hover {
        transform: scale(1.02) translateY(-4px);
    }
}

@media (max-width: 500px) {
    .pricing-header h1 {
        font-size: 1.5rem;
    }

    .pricing-subtitle {
        font-size: 0.95rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .pricing-card-featured {
        transform: none;
        order: -1;
    }

    .pricing-card-featured:hover {
        transform: translateY(-4px);
    }
}

/* ===== MODAL LEGAL ===== */
.modal-body {
    padding: 0 1.5rem 1.5rem;
}

.modal-body p {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.modal-body ul {
    color: #4b5563;
    line-height: 1.6;
    margin: 0 0 1.5rem 0;
    padding-left: 1.5rem;
}

.modal-body li {
    margin-bottom: 0.5rem;
}

.terms-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    cursor: pointer;
    color: #374151;
    font-size: 0.95rem;
    line-height: 1.5;
}

.terms-checkbox input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: #22c55e;
}

.btn-accept {
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: #22c55e;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-accept:disabled {
    background: #9ca3af;
    cursor: not-allowed;
}

.btn-accept:not(:disabled):hover {
    background: #16a34a;
}

/* ===== FAQs Section ===== */
.faqs-section {
    padding: 80px 20px;
    background-color: #f8f9fa;
}

.faqs-container {
    max-width: 800px;
    margin: 0 auto;
}

.faqs-container h3 {
    text-align: center;
    font-size: 2rem;
    color: #1a1a2e;
    margin-bottom: 12px;
}

.faqs-subtitle {
    text-align: center;
    color: #6b7280;
    font-size: 1.1rem;
    margin-bottom: 40px;
    line-height: 1.6;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.faq-item.active {
    border-color: var(--color-primary);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.1);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 1.05rem;
    font-weight: 600;
    color: #1a1a2e;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.faq-question:hover {
    background-color: #f9fafb;
}

.faq-item.active .faq-question {
    background-color: var(--color-primary);
    color: #ffffff;
}

.faq-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-left: 16px;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 24px 20px 24px;
    border-top: 1px solid #e5e7eb;
}

.faq-answer p {
    color: #4b5563;
    line-height: 1.7;
    margin: 16px 0 0 0;
}

.faq-answer p:first-child {
    margin-top: 0;
}

.faq-note {
    font-size: 0.9rem;
    color: #6b7280 !important;
    background-color: #f3f4f6;
    padding: 12px 16px;
    border-radius: 8px;
    margin-top: 12px !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .price-box {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .price-country {
        text-align: center;
    }

    .footer-container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .order-grid {
        grid-template-columns: 1fr;
    }

    .footer-links {
        flex-direction: column;
    }

        .faqs-section {
        padding: 60px 16px;
    }
    
    .faqs-container h3 {
        font-size: 1.6rem;
    }
    
    .faqs-subtitle {
        font-size: 1rem;
    }
    
    .faq-question {
        padding: 16px 20px;
        font-size: 0.95rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 20px 16px 20px;
    }
}