/* ============================================
   SMSVerifier - Minimal, Fast CSS
   ============================================ */

:root {
    --primary: #4f46e5;
    --primary-dark: #4338ca;
    --secondary: #10b981;
    --dark: #1f2937;
    --gray: #4b5563;
    --light: #f3f4f6;
    --white: #ffffff;
    --danger: #ef4444;
    --warning: #f59e0b;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background: var(--white);
}

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

/* ============================================
   Header
   ============================================ */

.header {
    background: var(--white);
    border-bottom: 1px solid var(--light);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 20px;
    color: var(--dark);
    text-decoration: none;
}

.nav {
    display: flex;
    gap: 32px;
}

.nav a {
    color: var(--gray);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav a:hover { color: var(--primary); }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* User Menu */
.user-menu {
    position: relative;
}

.user-menu-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 12px 6px 6px;
    background: var(--light);
    border: 1px solid #e5e7eb;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s;
}

.user-menu-trigger:hover {
    background: #e5e7eb;
}

.user-avatar {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary) 0%, #8b5cf6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 14px;
}

.user-balance {
    font-weight: 600;
    font-size: 14px;
    color: var(--secondary);
}

.user-menu-trigger .chevron {
    color: var(--gray);
    transition: transform 0.2s;
}

.user-menu.open .chevron {
    transform: rotate(180deg);
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 220px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    display: none;
    flex-direction: column;
    transform: translateY(-10px);
    transition: all 0.2s;
    z-index: 1000;
    overflow: hidden;
}

.user-menu.open .user-dropdown {
    opacity: 1;
    visibility: visible;
    display: flex;
    transform: translateY(0);
}

.dropdown-header {
    padding: 14px 16px;
}

.dropdown-email {
    font-size: 13px;
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dropdown-balance {
    font-size: 12px;
    color: var(--gray);
}

.dropdown-balance strong {
    color: var(--secondary);
}

.dropdown-nav {
    display: flex;
    flex-direction: column;
    padding: 4px 0;
}

.dropdown-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 0;
    flex-shrink: 0;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    color: var(--dark);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: background 0.15s;
    white-space: nowrap;
}

.dropdown-item:hover {
    background: var(--light);
}

.dropdown-item svg {
    color: var(--gray);
    flex-shrink: 0;
}

.dropdown-item-admin {
    color: var(--primary);
}

.dropdown-item-admin svg {
    color: var(--primary);
}

.dropdown-item-danger {
    color: var(--danger);
    padding: 10px 16px;
}

.dropdown-item-danger svg {
    color: var(--danger);
}

.btn-ghost {
    background: transparent;
    color: var(--gray);
    border: 1px solid #e5e7eb;
}

.btn-ghost:hover {
    background: var(--light);
    color: var(--dark);
}

/* ============================================
   Buttons
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover { background: var(--primary-dark); }

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(180deg, var(--light) 0%, var(--white) 100%);
}

.hero h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--dark);
}

.hero-subtitle {
    font-size: 20px;
    color: var(--gray);
    margin-bottom: 40px;
}

/* Search Box */
.hero-search {
    max-width: 600px;
    margin: 0 auto 32px;
    position: relative;
}

.search-box {
    display: flex;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 2px solid var(--light);
}

.search-box:focus-within {
    border-color: var(--primary);
}

.search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
}

.search-box input {
    flex: 1;
    padding: 16px 16px 16px 48px;
    border: none;
    font-size: 16px;
    outline: none;
}

.search-box .btn {
    border-radius: 0;
    padding: 16px 32px;
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
    margin-top: 8px;
    display: none;
    max-height: 300px;
    overflow-y: auto;
}

.search-results.active { display: block; }

.search-result-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid var(--light);
}

.search-result-item:hover { background: var(--light); }

/* Popular Services */
.popular-services {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.popular-label {
    color: var(--gray);
    font-size: 14px;
}

.service-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--white);
    border: 1px solid var(--light);
    border-radius: 100px;
    font-size: 14px;
    color: var(--dark);
    text-decoration: none;
    transition: all 0.2s;
}

.service-chip:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.chip-price {
    color: var(--secondary);
    font-weight: 600;
}

/* ============================================
   Features
   ============================================ */

.features {
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.feature {
    text-align: center;
    padding: 32px;
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.feature h3 {
    margin-bottom: 8px;
    font-size: 18px;
}

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

/* ============================================
   How it Works
   ============================================ */

.how-it-works {
    padding: 80px 0;
    background: var(--light);
}

.how-it-works h2,
.services-section h2,
.pricing-preview h2,
.faq-preview h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 8px;
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    margin-bottom: 48px;
}

.steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 48px;
}

.step {
    text-align: center;
    padding: 32px;
    background: var(--white);
    border-radius: var(--radius);
    flex: 1;
    max-width: 280px;
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    margin: 0 auto 16px;
}

.step-arrow {
    font-size: 24px;
    color: var(--gray);
}

.cta-center {
    text-align: center;
}

/* ============================================
   Services Grid
   ============================================ */

.services-section {
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    margin-bottom: 48px;
}

.service-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: var(--white);
    border: 1px solid var(--light);
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: all 0.2s;
}

.service-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

/* ============================================
   Pricing Preview
   ============================================ */

.pricing-preview {
    padding: 80px 0;
    background: var(--light);
}

.pricing-examples {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 48px;
}

.price-card {
    background: var(--white);
    padding: 32px 48px;
    border-radius: var(--radius);
    text-align: center;
    border: 2px solid var(--light);
}

.price-card.featured {
    border-color: var(--primary);
    transform: scale(1.05);
}

.price-service {
    font-weight: 600;
    margin-bottom: 8px;
}

.price-amount {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
}

.price-note {
    color: var(--gray);
    font-size: 14px;
}

/* ============================================
   FAQ
   ============================================ */

.faq-preview {
    padding: 80px 0;
}

.faq-list {
    max-width: 700px;
    margin: 0 auto 48px;
}

.faq-item {
    border-bottom: 1px solid var(--light);
}

.faq-item summary {
    padding: 20px 0;
    cursor: pointer;
    font-weight: 600;
    list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item p {
    padding: 0 0 20px;
    color: var(--gray);
}

/* ============================================
   Final CTA
   ============================================ */

.final-cta {
    padding: 80px 0;
    background: var(--primary);
    color: var(--white);
    text-align: center;
}

.final-cta h2 {
    margin-bottom: 8px;
}

.final-cta p {
    opacity: 0.9;
    margin-bottom: 24px;
}

.final-cta .btn {
    background: var(--white);
    color: var(--primary);
}

/* ============================================
   Footer
   ============================================ */

.footer {
    padding: 64px 0 32px;
    background: var(--dark);
    color: var(--white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand p {
    color: var(--gray);
    margin-top: 16px;
}

.footer-links h4 {
    margin-bottom: 16px;
}

.footer-links a {
    display: block;
    color: var(--gray);
    text-decoration: none;
    margin-bottom: 8px;
}

.footer-links a:hover { color: var(--white); }

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 24px;
    text-align: center;
    color: var(--gray);
}

/* ============================================
   App Styles (SPA)
   ============================================ */

.app-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.app-header {
    background: var(--white);
    border-bottom: 1px solid var(--light);
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media (min-width: 480px) {
    .app-header { padding: 14px 20px; }
}

.app-main {
    flex: 1;
    padding: 24px;
    background: var(--light);
}

.card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
}

.card-header {
    margin-bottom: 24px;
}

.card-title {
    font-size: 20px;
    font-weight: 700;
}

/* Loading State */
.loading-state {
    text-align: center;
    padding: 48px 20px;
    color: var(--gray);
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--light);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 16px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================
   Service Page - Mobile First
   ============================================ */

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

.svc-info-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 16px;
}

.svc-back-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    color: var(--gray);
    text-decoration: none;
    flex-shrink: 0;
    transition: background .15s;
}
.svc-back-btn:hover { background: var(--light); }

.svc-info-main { flex: 1; min-width: 0; }

.svc-info-top {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 2px;
}

.svc-info-icon {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    object-fit: contain;
    flex-shrink: 0;
}

.svc-info-name {
    font-size: 17px;
    font-weight: 700;
    color: var(--dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.svc-info-badge {
    font-size: 10px;
    font-weight: 600;
    color: var(--primary);
    background: #eef2ff;
    padding: 2px 8px;
    border-radius: 20px;
    white-space: nowrap;
    flex-shrink: 0;
}

.svc-info-desc {
    font-size: 13px;
    color: var(--gray);
    line-height: 1.4;
}
.svc-info-desc strong {
    color: var(--dark);
}
.svc-loading { text-align: center; padding: 48px 12px; color: var(--gray); }
.svc-noresults { text-align: center; padding: 40px 12px; color: var(--gray); }

/* Quick Pick - ALWAYS 3 columns */
.svc-picks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-bottom: 16px;
}

.pick-card {
    padding: 10px 4px;
    border: 1.5px solid var(--light);
    border-radius: 10px;
    cursor: pointer;
    text-align: center;
    transition: all 0.15s;
    position: relative;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
}

.pick-card:active { transform: scale(0.97); }

.pick-card:hover {
    border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.pick-card.processing { pointer-events: none; opacity: 0.6; }

.pick-card.cheapest { border-top: 3px solid var(--secondary); }
.pick-card.fastest { border-top: 3px solid var(--warning); }
.pick-card.local { border-top: 3px solid var(--primary); }

.pick-label {
    font-size: 9px;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0.3px;
    margin-bottom: 6px;
}

.pick-card.cheapest .pick-label { color: var(--secondary); }
.pick-card.fastest .pick-label { color: var(--warning); }
.pick-card.local .pick-label { color: var(--primary); }

.pick-flag { line-height: 1; margin-bottom: 4px; }

.pick-country {
    font-size: 10px;
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 2px;
}

.pick-price { font-size: 16px; font-weight: 800; color: var(--dark); }
.pick-stock { font-size: 9px; color: var(--gray); margin-top: 2px; }
.pick-proven { font-size: 9px; color: #059669; font-weight: 600; margin-top: 2px; }
.c-proven { font-size: 10px; color: #059669; font-weight: 600; margin-left: 6px; background: #ecfdf5; padding: 1px 5px; border-radius: 8px; }

/* Continent Sections */
.continent-section { margin-bottom: 4px; }

.continent-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: var(--light);
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: var(--dark);
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.continent-header .cnt {
    font-size: 11px;
    font-weight: 500;
    color: var(--gray);
    margin-left: auto;
}

.continent-header .arrow {
    transition: transform 0.2s;
    color: var(--gray);
    font-size: 10px;
}

.continent-section.open .continent-header { background: #eef2ff; color: var(--primary); }
.continent-section.open .continent-header .arrow { transform: rotate(180deg); }
.continent-countries { display: none; }
.continent-section.open .continent-countries { display: block; }

.c-item {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    border-bottom: 1px solid #f3f4f6;
    cursor: pointer;
    transition: background 0.1s;
    -webkit-tap-highlight-color: transparent;
}

.c-item:active { background: var(--light); }
.c-item:last-child { border-bottom: none; }
.c-flag { margin-right: 8px; flex-shrink: 0; line-height: 0; }
.c-name { flex: 1; font-size: 13px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.c-info { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.c-price { font-size: 13px; font-weight: 700; color: var(--primary); }
.c-stock { font-size: 10px; color: var(--gray); white-space: nowrap; }

/* Service page responsive */
@media (min-width: 480px) {
    .svc-page { padding: 0 16px 24px; }
    .svc-picks { gap: 10px; }
    .pick-card { padding: 14px 8px; }
    .pick-flag { font-size: 28px; }
    .pick-country { font-size: 12px; }
    .pick-price { font-size: 20px; }
    .pick-label { font-size: 10px; }
    .svc-title { font-size: 18px; }
}

@media (min-width: 768px) {
    .svc-page { padding: 0 20px 32px; }
    .pick-card { padding: 18px 12px; }
    .pick-flag { font-size: 32px; }
    .pick-country { font-size: 13px; }
    .pick-price { font-size: 22px; }
    .pick-label { font-size: 11px; }
}

/* ============================================
   SMS Waiting Animation
   ============================================ */

.sms-animation {
    position: relative;
    width: 200px;
    height: 180px;
    margin: 0 auto 16px;
    overflow: hidden;
}

/* Phone icon */
.sms-phone {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 80px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.3);
    z-index: 2;
}

.sms-phone::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 54px;
    background: #1e1b4b;
    border-radius: 6px;
}

.sms-phone::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 3px;
    background: rgba(255,255,255,0.4);
    border-radius: 2px;
}

/* Screen glow pulse */
.sms-phone-screen {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 22px;
    height: 46px;
    border-radius: 4px;
    background: linear-gradient(180deg, #818cf8 0%, #6366f1 100%);
    animation: screenPulse 2s ease-in-out infinite;
    z-index: 3;
}

@keyframes screenPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

/* Signal rings */
.sms-signal {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 2px solid rgba(99, 102, 241, 0.3);
    animation: signalPulse 3s ease-out infinite;
}

.sms-signal:nth-child(2) { width: 100px; height: 100px; animation-delay: 0s; }
.sms-signal:nth-child(3) { width: 140px; height: 140px; animation-delay: 0.6s; }
.sms-signal:nth-child(4) { width: 180px; height: 180px; animation-delay: 1.2s; }

@keyframes signalPulse {
    0% { opacity: 0.8; transform: translate(-50%, -50%) scale(0.8); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(1.2); }
}

/* Floating message bubbles */
.sms-bubble {
    position: absolute;
    background: white;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px 12px 12px 4px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 500;
    color: #6366f1;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    animation: bubbleFloat 4s ease-in-out infinite;
    z-index: 4;
}

.sms-bubble:nth-child(5) {
    left: 8px;
    top: 20px;
    animation-delay: 0s;
}

.sms-bubble:nth-child(6) {
    right: 4px;
    top: 40px;
    border-radius: 12px 12px 4px 12px;
    animation-delay: 1.5s;
    color: #10b981;
    border-color: #d1fae5;
}

.sms-bubble:nth-child(7) {
    left: 16px;
    bottom: 20px;
    animation-delay: 3s;
    color: #f59e0b;
    border-color: #fef3c7;
}

@keyframes bubbleFloat {
    0%, 100% { opacity: 0; transform: translateY(8px) scale(0.9); }
    15%, 85% { opacity: 1; transform: translateY(0) scale(1); }
}

/* Fun fact ticker */
.sms-funfact {
    text-align: center;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    margin: 0 auto 12px;
    max-width: 340px;
}

.sms-funfact p {
    font-size: 12px;
    color: #6366f1;
    font-weight: 500;
    line-height: 1.4;
    animation: factFade 12s ease-in-out infinite;
    margin: 0;
}

@keyframes factFade {
    0%, 4% { opacity: 0; transform: translateY(6px); }
    8%, 92% { opacity: 1; transform: translateY(0); }
    96%, 100% { opacity: 0; transform: translateY(-6px); }
}

/* Dots loading indicator under status text */
.waiting-dots::after {
    content: '';
    animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
    0% { content: ''; }
    25% { content: '.'; }
    50% { content: '..'; }
    75% { content: '...'; }
}

/* ============================================
   Alternative Options (post-cancel/expire)
   ============================================ */

.alt-options {
    padding: 0 16px 24px;
    max-width: 500px;
    margin: 0 auto;
}

.alt-loading {
    text-align: center;
    padding: 24px 0;
}

.alt-header {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    background: linear-gradient(135deg, #eef2ff, #f5f3ff);
    border: 1.5px solid #e0e7ff;
    border-radius: 12px;
    margin-bottom: 12px;
}

.alt-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(99, 102, 241, 0.1);
}

.alt-title {
    font-size: 14px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 2px;
}

.alt-subtitle {
    font-size: 12px;
    color: #6b7280;
}

.alt-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    margin-bottom: 8px;
}

.alt-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: white;
    border: 1.5px solid #e5e7eb;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.15s;
    -webkit-tap-highlight-color: transparent;
}

.alt-card:hover {
    border-color: #6366f1;
    background: #f5f3ff;
}

.alt-card:active {
    transform: scale(0.98);
}

.alt-card-loading {
    border-color: #6366f1;
    background: #f5f3ff;
    animation: altPulse 1s ease-in-out infinite;
}

@keyframes altPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.alt-card-flag {
    flex-shrink: 0;
    line-height: 0;
}

.alt-card-info {
    flex: 1;
    min-width: 0;
}

.alt-card-name {
    font-size: 13px;
    font-weight: 600;
    color: #1f2937;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.alt-card-stock {
    font-size: 10px;
    color: #9ca3af;
}

.alt-card-price {
    font-size: 15px;
    font-weight: 700;
    color: #6366f1;
    flex-shrink: 0;
}

.alt-show-more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 10px;
    background: #f9fafb;
    border: 1.5px dashed #d1d5db;
    border-radius: 10px;
    color: #6366f1;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
    margin-bottom: 8px;
}

.alt-show-more:hover {
    background: #f5f3ff;
    border-color: #6366f1;
}

.alt-retry-box {
    background: #f9fafb;
    border: 1.5px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
    margin: 12px auto 0;
    max-width: 340px;
}

@media (min-width: 480px) {
    .alt-grid {
        grid-template-columns: 1fr 1fr;
    }
    .alt-options {
        max-width: 560px;
        padding: 0 20px 24px;
    }
}

/* Order Status */
.order-status {
    text-align: center;
    padding: 32px 12px;
}

.phone-number {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    font-family: 'Monaco', 'Consolas', monospace;
    word-break: break-all;
}

.status-waiting {
    color: var(--warning);
}

.status-received {
    color: var(--secondary);
}

.sms-code {
    font-size: 36px;
    font-weight: 800;
    color: var(--secondary);
    padding: 16px 24px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: var(--radius);
    margin: 20px 0;
    font-family: 'Monaco', 'Consolas', monospace;
    display: inline-block;
    word-break: break-all;
}

@media (min-width: 480px) {
    .order-status { padding: 48px 24px; }
    .phone-number { font-size: 28px; }
    .sms-code { font-size: 48px; padding: 24px 48px; }
}

.timer {
    font-size: 14px;
    color: var(--gray);
}

.progress-bar {
    height: 4px;
    background: var(--light);
    border-radius: 2px;
    margin: 24px 0;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--primary);
    transition: width 0.3s;
}

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

@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: repeat(4, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 32px; }
    .nav { display: none; }
    .steps { flex-direction: column; }
    .step-arrow { transform: rotate(90deg); }
    .services-grid { grid-template-columns: repeat(3, 1fr); }
    .pricing-examples { flex-direction: column; align-items: center; }
    .price-card.featured { transform: none; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 480px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .search-box { flex-direction: column; }
    .search-box .btn { width: 100%; }
}
