/* Reset và Base Styles */
@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Be Vietnam Pro', sans-serif;
}

html {
    scroll-behavior: smooth;
    /* Custom properties for mobile viewport */
    --vh: 1vh;
}

/* Dark Mode & Compact Style Overrides */

body {
    background: #0f1016;
    color: #e0e0e0;
    font-family: 'Be Vietnam Pro', sans-serif;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

/* Performance optimizations for animations */
.modal-content,
.pricing-card,
.feature-card,
.floating-card {
    will-change: transform;
    transform: translateZ(0); /* Force GPU acceleration */
    backface-visibility: hidden;
}

/* Reduce animations on low-end devices */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Header Dark Mode */
.header {
    background: rgba(15, 16, 22, 0.85);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    background: transparent;
    border: none;
    box-shadow: none;
    color: white;
}

.logo i {
    background: none;
    -webkit-text-fill-color: #00ffa3;
    color: #00ffa3;
    filter: drop-shadow(0 0 5px rgba(0, 255, 163, 0.5));
}

.nav a {
    background: transparent;
    color: #a0a0a0;
    border: 1px solid transparent;
    box-shadow: none;
}

.nav a:hover,
.nav a.active {
    color: white;
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 255, 163, 0.3);
}

.nav a::after {
    display: none;
    /* Remove gradient overlay */
}

/* Hero Section Dark Mode */
.hero {
    background: #0f1016;
    /* Remove purple gradients */
}

.hero::before {
    display: none;
    /* Remove particles or subtle it down */
}

.highlight {
    background: none;
    -webkit-text-fill-color: #00ffa3;
    color: #00ffa3;
    filter: drop-shadow(0 0 10px rgba(0, 255, 163, 0.4));
}

/* Pricing Section Dark Mode */
.pricing-card {
    background: #13131f;
    border: 1px solid #2a2b36;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 420px;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 255, 163, 0.1);
    border-color: #00ffa3;
}

/* Sold Out State */
.pricing-card.sold-out {
    opacity: 0.6;
    filter: grayscale(50%);
}

.pricing-card.sold-out:hover {
    transform: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border-color: #2a2b36;
}

.pricing-card.sold-out .card-icon img {
    opacity: 0.5;
}

.soldout-badge {
    background: transparent;
    color: #ff4757;
    border: 1px solid #ff4757;
    padding: 2px 8px;
    font-size: 0.7rem;
    border-radius: 4px;
    position: absolute;
    top: 10px;
    right: 10px;
    transform: none;
    box-shadow: none;
}

.pricing-card.sold-out .btn-purchase.disabled {
    background: #333;
    color: #888;
    cursor: not-allowed;
    border-color: #444;
}

.pricing-card.sold-out .btn-purchase.disabled:hover {
    background: #333;
    transform: none;
}

.card-header {
    text-align: center;
    margin-bottom: 15px;
    border-bottom: none;
    padding-bottom: 0;
}

.card-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    /* Circular */
    padding: 15px;
}

.card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.card-header h3 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.price {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.price .amount {
    color: #00ffa3;
    font-size: 1.4rem;
    font-weight: 700;
}

.price .currency {
    color: #00ffa3;
    font-size: 1.4rem;
}

.price .period {
    color: #888;
    font-size: 0.8rem;
    font-weight: normal;
}

/* Table Style for Pricing Options */
.pricing-options-table {
    width: 100%;
    min-width: 200px;
    margin: 0;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.pricing-options-table th {
    text-align: left;
    color: #00ffa3;
    padding: 5px;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-options-table td {
    padding: 8px 5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #ccc;
}

.pricing-options-table td:last-child {
    text-align: right;
    color: #00ffa3;
    font-weight: 600;
}

/* Table responsive wrapper */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 15px 0;
}

.table-responsive::-webkit-scrollbar {
    height: 6px;
}

.table-responsive::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.table-responsive::-webkit-scrollbar-thumb {
    background: rgba(0, 255, 163, 0.3);
    border-radius: 3px;
}

.table-responsive::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 255, 163, 0.5);
}

/* Feature List Compact */
.features {
    padding: 0;
    margin: 10px 0 20px;
    list-style: none;
}

.features li {
    font-size: 0.85rem;
    color: #b0b0b0;
    margin-bottom: 6px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.features li i {
    color: #00ffa3;
    margin-top: 3px;
    font-size: 0.8rem;
}

/* Button Compact */
.btn-purchase {
    width: 100%;
    background: #00ffa3;
    color: #000;
    font-weight: 700;
    padding: 10px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-purchase:hover {
    background: #00e692;
    transform: scale(1.02);
    box-shadow: 0 0 15px rgba(0, 255, 163, 0.4);
}

.guarantee {
    display: none;
    /* Hide guarantee text to save space or make very small */
}

/* Badges */
.popular-badge,
.discount-badge {
    background: transparent;
    color: #00ffa3;
    border: 1px solid #00ffa3;
    padding: 2px 8px;
    font-size: 0.7rem;
    border-radius: 4px;
    position: absolute;
    top: 10px;
    right: 10px;
    transform: none;
    box-shadow: none;
}

/* Category Tabs Dark */
.category-tab {
    background: #1a1b26;
    color: #a0a0a0;
    border: 1px solid #2a2b36;
}

.category-tab.active {
    background: rgba(0, 255, 163, 0.15);
    color: #00ffa3;
    border-color: #00ffa3;
}

.category-tab i {
    color: inherit;
}

/* Search Box Dark */
.search-box {
    background: #1a1b26;
    border: 1px solid #2a2b36;
}

.search-box input {
    color: white;
}

.search-box i {
    color: #888;
}

.sort-select {
    background: #1a1b26;
    border: 1px solid #2a2b36;
    color: white;
}

/* Footer Dark */
.footer {
    background: #0a0b10;
    color: #888;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer h4 {
    color: white;
}

.footer a {
    color: #888;
}

.footer a:hover {
    color: #00ffa3;
}

/* Modal Dark */
.modal-content {
    background: #1f2029;
    color: white;
    border: 1px solid #333;
}

.close-modal {
    color: #fff;
}

.bank-info {
    background: #13131f;
}

.bank-value {
    color: #00ffa3 !important;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Utilities */
.hidden {
    display: none !important;
}

/* Header - Dark Theme */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(5, 8, 15, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    padding: 10px 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 800;
    color: #eaf2ff;
    background: linear-gradient(90deg, rgba(25, 211, 255, .15), rgba(0, 245, 160, .15));
    padding: 10px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    cursor: pointer;
    letter-spacing: -0.3px;
}

.logo:hover {
    transform: translateY(-2px);
    background: linear-gradient(90deg, rgba(25, 211, 255, .25), rgba(0, 245, 160, .25));
    border-color: rgba(25, 211, 255, 0.3);
    box-shadow: 0 8px 25px rgba(25, 211, 255, 0.15);
}

.logo i {
    font-size: 22px;
    background: linear-gradient(90deg, #19d3ff, #00f5a0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav a {
    text-decoration: none;
    color: rgba(234, 242, 255, 0.85);
    font-weight: 600;
    font-size: 13px;
    padding: 10px 16px;
    border-radius: 10px;
    position: relative;
    transition: all 0.25s ease;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.nav a:hover {
    color: #eaf2ff;
    background: rgba(25, 211, 255, 0.12);
    border-color: rgba(25, 211, 255, 0.25);
    transform: translateY(-1px);
}

.nav a:active {
    transform: translateY(0px);
}

/* Header Responsive Styles */
@media (max-width: 1024px) {
    .header .container {
        max-width: 100%;
        padding: 0 16px;
    }

    .nav {
        gap: 6px;
    }

    .nav a {
        font-size: 13px;
        padding: 8px 14px;
    }

    .logo {
        font-size: 20px;
        padding: 8px 16px;
    }

    .logo i {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .nav {
        gap: 4px;
        flex-wrap: wrap;
    }

    .nav a {
        font-size: 14px;
        padding: 8px 14px;
        border-radius: 20px;
    }

    .logo {
        font-size: 18px;
        padding: 6px 14px;
        gap: 8px;
    }

    .logo i {
        font-size: 22px;
    }

    .header {
        padding: 8px 0;
    }
}

@media (max-width: 480px) {
    .header .container {
        flex-direction: column;
        gap: 12px;
        padding: 0 12px;
    }

    .nav {
        justify-content: center;
        gap: 6px;
    }

    .nav a {
        font-size: 13px;
        padding: 8px 12px;
    }

    .header {
        padding: 10px 0;
    }

    /* Ensure all text >= 14px */
    body {
        font-size: 14px;
    }

    .features-list li,
    .features li {
        font-size: 14px;
    }

    .description,
    .card-body p {
        font-size: 14px;
    }
}

/* Very small screens optimization (360px and below) */
@media (max-width: 360px) {
    .hero-title {
        font-size: clamp(28px, 8vw, 34px) !important;
        line-height: 1.2;
        word-break: break-word;
    }

    .hero-subtitle {
        font-size: 14px;
        line-height: 1.5;
    }

    .hero-badge {
        font-size: 12px;
        padding: 6px 12px;
    }
}

/* Categories & Controls */
.product-categories {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
}

.category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.category-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    cursor: pointer;
    font-weight: 600;
    color: #1f2937;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    transition: all 0.25s ease;
}

.category-tab i {
    color: #667eea;
}

.category-tab:hover {
    transform: translateY(-1px);
}

.category-tab.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: transparent;
}

.product-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.search-box input {
    border: none;
    outline: none;
    background: transparent;
    font-size: 14px;
    min-width: 240px;
}

.sort-select {
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    color: #1f2937;
}

/* Hero Section - ChatGPT Design with Cyan/Mint */
.hero {
    padding: 120px 0 60px;
    background:
        radial-gradient(900px 520px at 18% 22%, rgba(0, 245, 160, .16), transparent 60%),
        radial-gradient(760px 520px at 82% 30%, rgba(25, 211, 255, .18), transparent 55%),
        radial-gradient(820px 620px at 50% 100%, rgba(0, 245, 160, .10), transparent 65%),
        linear-gradient(180deg, #05080f, #0b1220);
    color: #eaf2ff;
    position: relative;
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(1200px 700px at 50% 50%, transparent 45%, rgba(0, 0, 0, .55) 100%);
    pointer-events: none;
    z-index: 0;
}

.hero .container {
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.hero-content-centered {
    text-align: center;
    max-width: 980px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, .09);
    background: rgba(255, 255, 255, .03);
    border-radius: 999px;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 12px;
    color: rgba(25, 211, 255, .95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
    margin-bottom: 22px;
}

.hero-title {
    font-size: clamp(34px, 5vw, 56px);
    font-weight: 900;
    line-height: 1.08;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
    color: #eaf2ff;
}

.gradient-text {
    background: linear-gradient(90deg, #19d3ff, #00f5a0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(25, 211, 255, .12);
}

.hero-subtitle {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(234, 242, 255, .72);
    font-weight: 600;
    margin-bottom: 10px;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* Hero Text Animations */
.hero-badge {
    animation: pulseGlow 2s ease-in-out infinite, fadeInDown 0.8s ease-out both;
}

.hero-title {
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-tagline {
    animation: shimmerText 3s ease-in-out infinite, fadeInUp 1s ease-out 0.9s both;
    background: linear-gradient(90deg, #00ffa3, #19d3ff, #00ffa3);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 18px;
    margin-top: 15px;
}

/* Product name highlights */
.product-cursor,
.product-windsurf,
.product-augment,
.product-kiro,
.product-antigravity {
    font-weight: 700;
    transition: all 0.3s ease;
}

.product-cursor {
    color: #00d4ff;
}

.product-windsurf {
    color: #00ffa3;
}

.product-augment {
    color: #ff6b6b;
}

.product-kiro {
    color: #ffd93d;
}

.product-antigravity {
    color: #a855f7;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseGlow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(0, 255, 163, 0.3);
    }

    50% {
        box-shadow: 0 0 40px rgba(0, 255, 163, 0.6), 0 0 60px rgba(25, 211, 255, 0.4);
    }
}

@keyframes shimmerText {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 200% center;
    }
}

.hero-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    margin-bottom: 34px;
    flex-wrap: wrap;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    background: linear-gradient(90deg, rgba(25, 211, 255, .92), rgba(0, 245, 160, .92));
    border: 1px solid transparent;
    color: #041018;
    border-radius: 12px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 18px 60px rgba(0, 0, 0, .55);
    transition: transform .15s ease, filter .15s ease;
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    background: linear-gradient(90deg, rgba(255, 168, 38, .95), rgba(255, 86, 86, .92));
    border: 1px solid transparent;
    color: #170a03;
    border-radius: 12px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 18px 60px rgba(0, 0, 0, .55);
    transition: transform .15s ease, filter .15s ease;
}

.btn-hero-secondary:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    max-width: 720px;
    margin: 0 auto;
    padding: 18px 18px 10px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, .08);
    background: rgba(255, 255, 255, .03);
    backdrop-filter: blur(10px);
    box-shadow: 0 18px 60px rgba(0, 0, 0, .35);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 28px;
    font-weight: 1000;
    line-height: 1;
    margin-bottom: 6px;
    background: linear-gradient(90deg, #19d3ff, #00f5a0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 13px;
    color: rgba(234, 242, 255, .68);
    font-weight: 700;
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #00ffa3;
}

.stat-label {
    font-size: 0.85rem;
    color: #888;
}

.stat:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.2);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #ffd700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    animation: pulse-glow 2s ease-in-out infinite;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 5px;
}

@keyframes pulse-glow {

    0%,
    100% {
        transform: scale(1);
        text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    }

    50% {
        transform: scale(1.05);
        text-shadow: 0 0 30px rgba(255, 215, 0, 0.8);
    }
}

.hero-visual {
    position: relative;
    height: 320px;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: float3D 8s ease-in-out infinite;
    box-shadow:
        0 6px 24px rgba(31, 38, 135, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    cursor: pointer;
    transform-style: preserve-3d;
}

.floating-card:hover {
    transform: translateY(-10px) rotateX(10deg) rotateY(10deg) scale(1.1);
    box-shadow:
        0 25px 50px rgba(31, 38, 135, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.25);
}

.floating-card:nth-child(1) {
    top: 10px;
    right: 60px;
    animation-delay: 0s;
}

.floating-card:nth-child(2) {
    top: 100px;
    right: 180px;
    animation-delay: 2s;
}

.floating-card:nth-child(3) {
    top: 200px;
    right: 40px;
    animation-delay: 4s;
}

.floating-card:nth-child(4) {
    top: 70px;
    right: 140px;
    animation-delay: 6s;
}

.floating-card i {
    font-size: 28px;
    color: #ffd700;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
    animation: icon-pulse 3s ease-in-out infinite;
}

.floating-card img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    border-radius: 8px;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.3));
    animation: icon-pulse 3s ease-in-out infinite;
}

.floating-card span {
    font-size: 12px;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

@keyframes float3D {

    0%,
    100% {
        transform: translateY(0px) rotateX(0deg) rotateY(0deg);
    }

    33% {
        transform: translateY(-20px) rotateX(5deg) rotateY(5deg);
    }

    66% {
        transform: translateY(-10px) rotateX(-3deg) rotateY(-3deg);
    }
}

@keyframes icon-pulse {

    0%,
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
    }

    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.8));
    }
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1f2937;
}

.section-header p {
    font-size: 1.1rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

/* Free Trial Section - ChatGPT Dark Theme */
.free-trial {
    padding: 80px 0;
    background:
        radial-gradient(900px 520px at 18% 22%, rgba(0, 245, 160, .10), transparent 60%),
        radial-gradient(760px 520px at 82% 30%, rgba(25, 211, 255, .12), transparent 55%),
        linear-gradient(180deg, #0b1220, #05080f);
    position: relative;
}

.free-trial .section-header h2 {
    color: #eaf2ff;
}

.free-trial .section-header p {
    color: rgba(234, 242, 255, .72);
}

.free-trial-card {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, .03);
    border-radius: 18px;
    padding: 40px;
    box-shadow: 0 18px 60px rgba(0, 0, 0, .35);
    border: 1px solid rgba(255, 255, 255, .08);
    backdrop-filter: blur(10px);
}

.trial-content {
    text-align: center;
}

.trial-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(90deg, rgba(25, 211, 255, .92), rgba(0, 245, 160, .92));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 30px rgba(25, 211, 255, .25);
}

.trial-icon i {
    font-size: 32px;
    color: #05080f;
}

.free-trial-card h3 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: #eaf2ff;
}

.free-trial-card p {
    color: rgba(234, 242, 255, .68);
    margin-bottom: 25px;
}

.trial-form {
    margin-bottom: 25px;
}

.form-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.form-group input {
    flex: 1;
    min-width: 250px;
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 12px;
    font-size: 15px;
    background: rgba(255, 255, 255, .05);
    color: #eaf2ff;
    transition: all 0.3s ease;
}

.form-group input::placeholder {
    color: rgba(234, 242, 255, .5);
}

.form-group input:focus {
    outline: none;
    border-color: rgba(25, 211, 255, .5);
    box-shadow: 0 0 0 3px rgba(25, 211, 255, .15);
}

.btn-primary {
    background: linear-gradient(90deg, rgba(25, 211, 255, .92), rgba(0, 245, 160, .92));
    color: #041018;
    border: none;
    padding: 14px 24px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform .15s ease, filter .15s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
}

.trial-counter {
    background: #f3f4f6;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 20px;
}

.counter-text {
    color: #6b7280;
    font-size: 14px;
}

.counter-number {
    color: #dc2626;
    font-weight: 700;
    font-size: 18px;
    margin: 0 5px;
}

.message {
    padding: 15px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.message.success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #d1fae5;
}

.message.warning {
    background: #fffbeb;
    color: #92400e;
    border: 1px solid #fed7aa;
}

/* Pricing Section */
.pricing {
    padding: 80px 0;
    background: transparent;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Responsive: 3 columns on smaller screens */
@media (max-width: 1200px) {
    .pricing-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .pricing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 576px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

.pricing-card {
    background: #13131f;
    border-radius: 24px;
    padding: 12px 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 420px;
    contain: layout style paint;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured {
    border-color: #6366f1;
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.card-header {
    text-align: center;
    margin-bottom: 8px;
    position: relative;
}

.card-icon {
    width: 80px;
    height: 80px;
    background: #1c1c2e;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.card-icon i {
    font-size: 24px;
    color: #667eea;
}

.card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.card-icon:hover img {
    transform: scale(1.1);
}

/* Fallback cho khi hình không load được */
.card-icon img[alt]:after {
    content: attr(alt);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 12px;
    color: #6b7280;
    background: #f3f4f6;
    border-radius: inherit;
}

/* Loading state - sử dụng JavaScript để handle */
.card-icon img {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.card-header h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #ffffff;
}

.price {
    margin-bottom: 5px;
}

.currency {
    font-size: 1.2rem;
    color: #6b7280;
    vertical-align: top;
}

.amount {
    font-size: 1.2rem;
    font-weight: 700;
    color: #00ffa3;
}

.period {
    font-size: 1rem;
    color: #6b7280;
}

.original-price {
    font-size: 1.2rem;
    color: #dc2626;
    text-decoration: line-through;
    margin-right: 10px;
    opacity: 0.7;
}

.popular-badge,
.discount-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.discount-badge {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

/* Badge đặc biệt cho giá rẻ nhất */
.cheapest-badge {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    animation: pulse-green 2s ease-in-out infinite;
}

/* Badge đặc biệt cho AI thông minh nhất */
.smart-ai-badge {
    background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
    animation: pulse-purple 2s ease-in-out infinite;
}

@keyframes pulse-purple {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.7);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(139, 92, 246, 0);
    }
}

@keyframes pulse-green {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
    }
}

.features {
    list-style: none;
    margin-bottom: 8px;
}

.features li {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 2px 0;
    font-size: 11px;
}

.features i {
    color: #10b981;
    font-size: 14px;
}

.btn-purchase {
    width: 100%;
    background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
    color: white;
    border: none;
    padding: 8px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.3s ease;
    margin-bottom: 0;
}

.btn-purchase:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.guarantee {
    text-align: center;

}

.card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-footer {
    margin-top: auto;
    font-size: 13px;
    color: #6b7280;
}

.card-footer .btn-purchase {
    width: 100%;
}

/* ============================================================
   COMPACT PRODUCT CARD — SaaS Pricing Style
   ============================================================ */

.pricing-card-compact {
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 520px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    will-change: transform;
}

.pricing-card-compact:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(0, 255, 163, 0.25);
}

.pricing-card-compact.sold-out {
    opacity: 0.55;
    filter: grayscale(40%);
}

.pricing-card-compact.sold-out:hover {
    transform: none;
    box-shadow: none;
    border-color: rgba(255, 255, 255, 0.06);
}

/* Thumbnail */
.card-thumbnail {
    width: 100%;
    height: 160px;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    flex-shrink: 0;
}

.card-thumbnail img {
    width: 140px;
    height: 140px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .card-thumbnail {
        height: 140px;
    }
    .card-thumbnail img {
        width: 100px;
        height: 100px;
    }
}

/* Card body — grows to push CTA down */
.card-body-compact {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0;
}

/* Title */
.product-name {
    font-size: 15px;
    font-weight: 600;
    color: #f1f5f9;
    margin: 0 0 4px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 40px;
    text-align: center;
}

/* Badge row */
.badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 8px;
    justify-content: center;
}

.badge-compact {
    font-size: 0.62rem;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 4px;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.badge-coding   { background: rgba(0, 255, 163, 0.12); color: #00ffa3; border: 1px solid rgba(0, 255, 163, 0.25); }
.badge-content  { background: rgba(99, 102, 241, 0.15); color: #818cf8; border: 1px solid rgba(99, 102, 241, 0.3); }
.badge-assistant{ background: rgba(251, 191, 36, 0.12); color: #fbbf24; border: 1px solid rgba(251, 191, 36, 0.25); }
.badge-combo    { background: rgba(236, 72, 153, 0.12); color: #f472b6; border: 1px solid rgba(236, 72, 153, 0.25); }
.badge-soldout  { background: transparent; color: #ff4757; border: 1px solid rgba(255, 71, 87, 0.4); }
.badge-cheap    { background: rgba(255, 165, 0, 0.12); color: #ffa500; border: 1px solid rgba(255, 165, 0, 0.3); }
.badge-hot      { background: rgba(249, 115, 22, 0.12); color: #fb923c; border: 1px solid rgba(249, 115, 22, 0.3); }
.badge-new      { background: rgba(34, 197, 94, 0.12); color: #4ade80; border: 1px solid rgba(34, 197, 94, 0.3); }
.badge-type     { background: rgba(148, 163, 184, 0.08); color: #94a3b8; border: 1px solid rgba(148, 163, 184, 0.2); }

/* Price */
.price-section-compact {
    margin: 8px 0;
}

.price-main {
    font-size: 20px;
    font-weight: 700;
    color: #00e676;
    line-height: 1;
    letter-spacing: -0.02em;
}

.price-suffix {
    font-size: 14px;
    font-weight: 500;
    color: #4ade80;
    opacity: 0.8;
}

/* Description */
.card-description {
    font-size: 13px;
    color: #9aa4b2;
    line-height: 1.45;
    min-height: 36px;
    margin-bottom: 8px;
}

/* Pricing Table inside card */
.pricing-table-wrap {
    margin: 8px 0 10px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(255, 255, 255, 0.03);
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.pt-head {
    padding: 6px 8px;
    text-align: left;
    color: #64748b;
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.pt-head-price {
    text-align: right;
}

.pt-row {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: background 0.15s;
}

.pt-row:last-child {
    border-bottom: none;
}

.pt-row:hover {
    background: rgba(255, 255, 255, 0.04);
}

.pt-row-hidden {
    display: none;
}

.pt-cell {
    padding: 6px 8px;
    color: #94a3b8;
    vertical-align: middle;
    line-height: 1.3;
}

.pt-duration {
    color: #cbd5e1;
    font-weight: 500;
    white-space: nowrap;
}

.pt-request {
    color: #64748b;
    font-size: 11px;
}

.pt-price {
    text-align: right;
    color: #00e676;
    font-weight: 600;
    white-space: nowrap;
}

.pt-toggle-row td {
    padding: 4px 8px 6px;
    text-align: center;
}

.pt-toggle-btn {
    background: none;
    border: none;
    color: #4ade80;
    font-size: 11.5px;
    font-weight: 500;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 2px 6px;
    border-radius: 4px;
    transition: background 0.15s, color 0.15s;
}

.pt-toggle-btn:hover {
    background: rgba(0, 255, 163, 0.08);
    color: #00ffa3;
}

.pt-toggle-btn i {
    font-size: 10px;
    transition: transform 0.2s;
}

/* Meta row: Package type + Duration */
.meta-row-compact {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.meta-item {
    font-size: 12px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 4px;
}

.meta-item i {
    color: #475569;
    font-size: 11px;
}

/* Features — grows to fill remaining space */
.features-compact {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex-grow: 1;
    margin-top: 8px;
}

.feature-item {
    font-size: 12.5px;
    color: #94a3b8;
    display: flex;
    align-items: flex-start;
    gap: 7px;
    line-height: 1.4;
}

.feature-item i {
    color: #00e676;
    font-size: 10px;
    flex-shrink: 0;
    margin-top: 3px;
}

/* Social proof */
.social-proof-compact {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 10px;
}

.social-fire {
    font-size: 11.5px;
    color: #fb923c;
    display: flex;
    align-items: center;
    gap: 4px;
}

.social-fire i { color: #f97316; }

.social-eye {
    font-size: 11.5px;
    color: #60a5fa;
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

.social-eye i { color: #3b82f6; }

/* CTA — always at bottom */
.card-cta-compact {
    margin-top: 16px;
    flex-shrink: 0;
}

.btn-purchase-compact {
    width: 100%;
    height: 44px;
    background: linear-gradient(135deg, #00ffa3, #00cc82);
    color: #0a0a0f;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    transition: opacity 0.2s ease, transform 0.15s ease;
    letter-spacing: 0.01em;
}

.btn-purchase-compact:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.btn-purchase-compact.disabled {
    background: #1e293b;
    color: #475569;
    cursor: not-allowed;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.btn-purchase-compact.disabled:hover {
    opacity: 1;
    transform: none;
}

/* Sold-out icon dim */
.pricing-card-compact.sold-out .card-thumbnail img {
    opacity: 0.4;
}

/* Canva product — larger image display */
.canva-product .card-thumbnail {
    height: 96px;
    background: transparent;
    padding: 12px;
    border-radius: 12px;
}

.canva-product .card-thumbnail img {
    width: auto;
    height: 100%;
    max-height: 72px;
    max-width: 100%;
    object-fit: contain;
}

/* Legacy — hide old overlay */
.badges-overlay { display: none; }
.card-header-compact { display: none; }
.card-title-compact { display: none; }

/* ============================================================ */

/* Features Section */
.features {
    padding: 80px 0;
    background: transparent;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    background: #13131f;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    contain: layout style paint;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon i {
    font-size: 28px;
    color: white;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #ffffff;
}

.feature-card p {
    color: #6b7280;
    line-height: 1.6;
}


.info-section .section-header h2,
.info-section .section-header p,
.contact .section-header h2,
.contact .section-header p,
.faq-section .section-header h2,
.faq-section .section-header p {
    color: #eaf2ff;
}

.info-section .section-header p,
.contact .section-header p,
.faq-section .section-header p {
    color: rgba(234, 242, 255, 0.72);
}

.info-section {
    padding: 72px 0;
    background: transparent;
}

.info-section-alt {
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.info-card {
    background: #13131f;
    border-radius: 18px;
    padding: 28px 24px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}

.info-card-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    background: linear-gradient(135deg, rgba(25, 211, 255, 0.9), rgba(0, 245, 160, 0.9));
    color: #041018;
    font-size: 20px;
}

.info-card h3,
.policy-item h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffffff;
}

.info-card p,
.policy-item p {
    color: #9ca3af;
    line-height: 1.7;
    margin: 0;
}

.policy-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.policy-item {
    background: #13131f;
    border-radius: 18px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.testimonials-section .section-header p {
    max-width: 680px;
}

.testimonial-card strong {
    display: inline-block;
    margin-top: 18px;
    color: #eaf2ff;
    font-size: 0.92rem;
}

.contact-icon-support {
    background: linear-gradient(135deg, #f6d365 0%, #fda085 100%) !important;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: transparent;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 800px;
    /* Increased from 600px */
    margin: 0 auto;
}

.contact-card {
    background: #13131f;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    contain: layout style paint;
}

.contact-card:hover {
    transform: translateY(-5px);
    background: #1c1c2e;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.contact-icon i {
    font-size: 24px;
    color: white;
}

.contact-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #ffffff;
}

.contact-card p {
    color: #6b7280;
    margin-bottom: 20px;
}

.btn-contact {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 60px 0 20px;
}

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

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #6366f1;
}

.footer-section p {
    color: #9ca3af;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #374151;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #6366f1;
    transform: translateY(-2px);
}

.social-links i {
    font-size: 18px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #374151;
}

.footer-bottom p {
    color: #9ca3af;
    font-size: 14px;
}

/* Responsive Design */
/* Mobile-first approach với nhiều breakpoints */

/* Tablet và small desktop */
@media (max-width: 1024px) {
    .container {
        padding: 0 16px;
    }

    .hero .container {
        gap: 50px;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .pricing-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 35px;
    }
}

/* Tablet */
@media (max-width: 768px) {
    .header {
        padding: 12px 0;
    }

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

    .logo {
        font-size: 20px;
        padding: 6px 12px;
    }

    .logo i {
        font-size: 24px;
    }

    /* Mobile Navigation - Tạo hamburger menu thay vì ẩn hoàn toàn */
    .nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: left 0.3s ease;
        z-index: 10000;
        border-right: 1px solid rgba(255, 255, 255, 0.3);
        box-shadow: 0 0 50px rgba(0, 0, 0, 0.1);
    }

    .nav.active {
        left: 0;
    }

    .nav a {
        font-size: 18px;
        padding: 15px 25px;
        width: 200px;
        text-align: center;
    }

    /* Hamburger menu button */
    .mobile-menu-btn {
        display: block;
        background: rgba(255, 255, 255, 0.8);
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 8px;
        padding: 8px;
        cursor: pointer;
        transition: all 0.3s ease;
        backdrop-filter: blur(10px);
    }

    .mobile-menu-btn:hover {
        background: rgba(255, 215, 0, 0.9);
        transform: scale(1.05);
    }

    .mobile-menu-btn span {
        display: block;
        width: 25px;
        height: 3px;
        background: #1f2937;
        margin: 5px 0;
        transition: 0.3s;
        border-radius: 2px;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    /* Hero section mobile */
    .hero {
        padding: 100px 0 50px;
        min-height: 60vh;
    }

    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.2rem;
        line-height: 1.1;
    }

    .hero-stats {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .stat {
        flex: 1;
        min-width: 120px;
        padding: 15px 10px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .hero-visual {
        height: 160px;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 12px;
    }

    .floating-card {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        left: auto !important;
        display: inline-flex;
        margin: 4px;
        padding: 12px;
        transform: none !important;
        animation: none;
    }

    .floating-card:hover {
        transform: scale(1.05) !important;
    }

    /* Form improvements */
    .form-group {
        flex-direction: column;
        gap: 12px;
    }

    .form-group input,
    .btn-primary {
        width: 100%;
        min-width: auto;
        padding: 16px 20px;
        font-size: 16px;
        /* Prevent zoom on iOS */
    }

    /* Section spacing */
    .free-trial,
    .pricing,
    .features,
    .contact {
        padding: 60px 0;
    }

    /* Pricing cards */
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .pricing-card {
        padding: 30px 25px;
    }

    .pricing-card.featured {
        transform: none;
        order: -1;
        /* Move featured card to top */
    }

    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    /* Features grid */
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }

    .feature-card {
        padding: 25px 20px;
    }

    /* Contact grid */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}



/* Mobile styles - Small screens */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    .hero {
        padding: 90px 0 40px;
        min-height: 55vh;
    }

    .hero-content h1 {
        font-size: 1.75rem;
        margin-bottom: 12px;
    }

    .hero-content p {
        font-size: 0.95rem;
        margin-bottom: 24px;
    }

    .hero-stats {
        gap: 10px;
    }

    .stat {
        min-width: 100px;
        padding: 12px 8px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .section-header h2 {
        font-size: 1.6rem;
        margin-bottom: 12px;
    }

    .section-header p {
        font-size: 0.95rem;
    }

    .pricing-card,
    .free-trial-card {
        padding: 25px 15px;
        border-radius: 20px;
    }

    .free-trial-card h3 {
        font-size: 1.5rem;
    }

    .trial-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 15px;
    }

    .trial-icon i {
        font-size: 30px;
    }

    .form-group input,
    .btn-primary {
        padding: 14px 16px;
        font-size: 15px;
    }

    .features-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-card {
        padding: 20px 15px;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }

    .feature-icon i {
        font-size: 24px;
    }

    .feature-card h3 {
        font-size: 1.1rem;
    }

    .contact-card {
        padding: 25px 20px;
    }

    .contact-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 12px;
    }

    .contact-icon i {
        font-size: 20px;
    }

    .floating-card {
        padding: 12px;
        margin: 3px;
    }

    .floating-card i {
        font-size: 20px;
    }

    .floating-card img {
        width: 28px;
        height: 28px;
    }

    .floating-card span {
        font-size: 12px;
    }

    .footer {
        padding: 40px 0 15px;
    }

    .footer-section h4 {
        font-size: 1rem;
        margin-bottom: 15px;
    }

    .social-links a {
        width: 35px;
        height: 35px;
    }

    .social-links i {
        font-size: 16px;
    }
}

/* Payment Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: #13131f;
    margin: 20px;
    padding: 0;
    border-radius: 20px;
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
    position: relative;
    contain: layout style;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95) translateZ(0);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1) translateZ(0);
    }
}

.modal-header {
    padding: 25px 30px 20px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 20px 20px 0 0;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.close-modal {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    font-size: 18px;
}

.close-modal:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.modal-body {
    padding: 30px;
}

.product-summary {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: linear-gradient(135deg, #1c1c2e 0%, #0f1016 100%);
    border-radius: 15px;
    margin-bottom: 25px;
    border: 1px solid #2d2d44;
}

.product-icon img {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.product-details h3 {
    margin: 0 0 5px 0;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
}

.product-price {
    color: #667eea;
    font-weight: 700;
    font-size: 1.1rem;
}

.price-amount {
    font-size: 1.3rem;
}

.payment-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    background: #f1f5f9;
    padding: 5px;
    border-radius: 12px;
}

.payment-tab {
    flex: 1;
    padding: 12px 20px;
    border: none;
    background: transparent;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    color: #64748b;
}

.payment-tab.active {
    background: #00ffa3;
    color: #0f1016;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    font-weight: 600;
}

.payment-tab:hover:not(.active) {
    color: #475569;
    background: rgba(255, 255, 255, 0.5);
}

.payment-tab-content {
    display: none;
}

.payment-tab-content.active {
    display: block;
}

/* QR Payment Styles */
.qr-payment-section {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.qr-code-container {
    text-align: center;
    flex-shrink: 0;
}

.qr-code {
    width: 200px;
    height: 200px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border: 3px solid #fff;
    background: white;
    padding: 10px;
}

.qr-logos {
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
}

.qr-brand {
    color: #667eea;
    font-weight: 600;
}

.qr-divider {
    color: #cbd5e1;
}

.qr-instructions {
    flex: 1;
}

.qr-instructions h4 {
    margin: 0 0 15px 0;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
}

.qr-instructions ol {
    margin: 0 0 20px 0;
    padding-left: 20px;
}

.qr-instructions li {
    margin-bottom: 8px;
    color: #cbd5e1;
    line-height: 1.5;
}

.qr-instructions strong {
    color: #667eea;
    font-weight: 600;
}

/* Bank Transfer Styles */
.bank-details {
    margin-bottom: 20px;
}

.bank-details h4 {
    margin: 0 0 20px 0;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
}

.bank-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #1c1c2e;
    border-radius: 10px;
    margin-bottom: 10px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.bank-item:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.bank-label {
    font-weight: 500;
    color: #64748b;
    min-width: 100px;
}

.bank-value {
    font-weight: 600;
    color: #ffffff;
    flex: 1;
    text-align: right;
    margin-right: 10px;
    font-family: 'Courier New', monospace;
}

.copy-btn {
    background: #667eea;
    border: none;
    border-radius: 6px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    font-size: 14px;
}

.copy-btn:hover {
    background: #5a67d8;
    transform: scale(1.1);
}

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

.payment-note {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: linear-gradient(135deg, #e0f2fe 0%, #b3e5fc 50%, #81d4fa 100%);
    border-radius: 15px;
    border: 2px solid #0084ff;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
    animation: glow-border 3s ease-in-out infinite;
}

.payment-note::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s linear infinite;
}

.payment-note i {
    color: #0084ff;
    font-size: 20px;
    flex-shrink: 0;
    margin-top: 2px;
    animation: bounce 2s ease-in-out infinite;
}

.payment-note span {
    color: #01579b;
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 500;
}

.payment-note strong {
    color: #40c4ff;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: underline;
    text-decoration-color: #0084ff;
}

@keyframes glow-border {

    0%,
    100% {
        border-color: #0084ff;
        box-shadow: 0 0 10px rgba(0, 132, 255, 0.3);
    }

    50% {
        border-color: #40c4ff;
        box-shadow: 0 0 20px rgba(0, 132, 255, 0.6), 0 0 40px rgba(0, 132, 255, 0.3);
    }
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }
}

.modal-footer {
    padding: 20px 30px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #2d2d44;
    background: #13131f;
    border-radius: 0 0 20px 20px;
}

.btn-contact {
    background: linear-gradient(135deg, #0084ff 0%, #0066cc 50%, #004499 100%);
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 132, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: pulse-zalo 2s ease-in-out infinite;
}

.btn-contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.btn-contact:hover::before {
    left: 100%;
}

.btn-contact:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 132, 255, 0.6);
    background: linear-gradient(135deg, #0099ff 0%, #0077dd 50%, #0055aa 100%);
}

.btn-contact:active {
    transform: translateY(-1px) scale(1.02);
}

@keyframes pulse-zalo {

    0%,
    100% {
        box-shadow: 0 8px 25px rgba(0, 132, 255, 0.4);
    }

    50% {
        box-shadow: 0 12px 35px rgba(0, 132, 255, 0.6), 0 0 20px rgba(0, 132, 255, 0.3);
    }
}

.btn-secondary {
    background: #e5e7eb;
    color: #6b7280;
    border: none;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #d1d5db;
    color: #4b5563;
}

/* Toast Notification */
.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 10px;
    transform: translateX(400px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 10001;
    font-weight: 500;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast i {
    font-size: 18px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .modal-content {
        margin: 10px;
        max-height: 95vh;
    }

    .modal-header {
        padding: 20px;
    }

    .modal-body {
        padding: 20px;
    }

    .qr-payment-section {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .qr-code {
        width: 180px;
        height: 180px;
    }

    .bank-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        align-items: stretch;
    }

    .bank-label {
        min-width: auto;
        font-size: 0.9rem;
    }

    .bank-value {
        text-align: center;
        margin-right: 0;
        word-break: break-all;
    }

    .copy-btn {
        align-self: center;
        width: 40px;
        height: 40px;
    }

    .modal-footer {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }

    .btn-contact,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .btn-contact {
        font-size: 1.2rem;
        padding: 18px 30px;
        animation: pulse-zalo-mobile 1.5s ease-in-out infinite;
    }

    @keyframes pulse-zalo-mobile {

        0%,
        100% {
            box-shadow: 0 8px 25px rgba(0, 132, 255, 0.5);
            transform: scale(1);
        }

        50% {
            box-shadow: 0 15px 40px rgba(0, 132, 255, 0.8), 0 0 30px rgba(0, 132, 255, 0.4);
            transform: scale(1.02);
        }
    }

    .toast {
        right: 10px;
        left: 10px;
        transform: translateY(-100px);
    }

    .toast.show {
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    .product-summary {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .qr-code {
        width: 160px;
        height: 160px;
    }

    .payment-tabs {
        flex-direction: column;
        gap: 5px;
    }

    .qr-instructions ol {
        text-align: left;
        padding-left: 15px;
    }

    /* Hiệu ứng rung cho nút liên hệ khi modal mở */
    .modal.show .btn-contact {
        animation: pulse-zalo 2s ease-in-out infinite, shake-attention 0.8s ease-in-out 1s 1;
    }

    @keyframes shake-attention {

        0%,
        100% {
            transform: translateX(0) translateY(-3px) scale(1.05);
        }

        10%,
        30%,
        50%,
        70%,
        90% {
            transform: translateX(-2px) translateY(-3px) scale(1.05);
        }

        20%,
        40%,
        60%,
        80% {
            transform: translateX(2px) translateY(-3px) scale(1.05);
        }
    }
}

/* Mobile menu styles - Ẩn theo mặc định */
.mobile-menu-btn {
    display: none;
}

/* Touch optimizations for mobile */
@media (hover: none) and (pointer: coarse) {

    /* Remove hover effects on touch devices */
    .btn-primary:hover,
    .btn-purchase:hover,
    .btn-contact:hover {
        transform: none;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    }

    .pricing-card:hover,
    .feature-card:hover,
    .contact-card:hover {
        transform: none;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    }

    .floating-card:hover {
        transform: none !important;
    }

    .nav a:hover {
        transform: none;
    }

    /* Increase tap targets for better UX - All buttons must be >= 44px */
    .btn-primary,
    .btn-purchase,
    .btn-contact,
    .btn-secondary,
    .btn-hero-primary,
    .btn-hero-secondary {
        min-height: 44px;
        min-width: 44px;
        padding: 12px 20px;
    }

    .nav a {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 10px 16px;
    }

    /* Copy buttons and icon buttons */
    .copy-btn,
    .icon-btn,
    button[class*="icon"] {
        min-height: 44px;
        min-width: 44px;
        padding: 10px;
    }

    /* Close buttons in modals */
    .close-btn,
    .modal-close,
    .close {
        min-height: 44px;
        min-width: 44px;
    }

    /* Mobile menu button */
    .mobile-menu-btn {
        min-height: 44px;
        min-width: 44px;
        padding: 10px;
    }
}

/* Package Selection Modal Styles */
.package-modal {
    max-width: 500px;
}

.package-product-info {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: linear-gradient(135deg, #1c1c2e 0%, #0f1016 100%);
    border-radius: 15px;
    margin-bottom: 25px;
    border: 1px solid #2d2d44;
}

.package-icon img {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.package-product-info h3 {
    margin: 0;
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 600;
}

.package-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.package-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: #1c1c2e;
    border: 2px solid #2d2d44;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.package-option:hover {
    border-color: #00ffa3;
    background: linear-gradient(135deg, rgba(0, 255, 163, 0.1) 0%, rgba(0, 255, 163, 0.05) 100%);
    transform: translateX(5px);
}

.package-option:active {
    transform: scale(0.98);
}

.package-option-left {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.package-duration {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
}

.package-detail {
    font-size: 0.85rem;
    color: #888;
}

.package-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #00ffa3;
    text-align: right;
}

.package-option.popular {
    border-color: #667eea;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.15) 0%, rgba(102, 126, 234, 0.05) 100%);
    position: relative;
}

.package-option.popular::before {
    content: '⭐ Phổ biến';
    position: absolute;
    top: -10px;
    right: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
}

.package-option.best-value {
    border-color: #ff6b6b;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.15) 0%, rgba(255, 107, 107, 0.05) 100%);
    position: relative;
}

.package-option.best-value::before {
    content: '🔥 Tiết kiệm nhất';
    position: absolute;
    top: -10px;
    right: 15px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
}

@media (max-width: 480px) {
    .package-option {
        padding: 15px;
    }

    .package-duration {
        font-size: 1rem;
    }

    .package-price {
        font-size: 1.1rem;
    }

    .package-product-info {
        flex-direction: column;
        text-align: center;
    }

    .package-option.popular::before,
    .package-option.best-value::before {
        font-size: 0.65rem;
        padding: 3px 8px;
    }
}

/* Payment Confirmation Section */
.payment-confirmation-section {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-radius: 15px;
    padding: 25px;
    margin-top: 20px;
    border: 2px solid #4caf50;
    display: none;
}

.payment-confirmation-section.show {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.payment-confirmation-section h4 {
    color: #2e7d32;
    font-size: 1.2rem;
    margin: 0 0 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.confirmation-desc {
    color: #555;
    margin: 0 0 20px;
    font-size: 0.95rem;
}

.payment-confirmation-section .form-group {
    margin-bottom: 15px;
}

.payment-confirmation-section .form-group label {
    display: block;
    color: #333;
    font-weight: 500;
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.payment-confirmation-section .form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.payment-confirmation-section .form-group input:focus {
    outline: none;
    border-color: #4caf50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2);
}

.btn-confirm-payment {
    width: 100%;
    background: linear-gradient(135deg, #0088cc 0%, #0099e6 100%) !important;
    padding: 14px 20px !important;
    font-size: 1rem !important;
    margin-top: 10px;
}

.btn-confirm-payment:hover {
    background: linear-gradient(135deg, #0077b3 0%, #0088cc 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 136, 204, 0.4) !important;
}

.confirmation-note {
    margin-top: 15px;
    padding: 12px 15px;
    background: rgba(76, 175, 80, 0.15);
    border-radius: 10px;
    color: #2e7d32;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.confirmation-note i {
    color: #4caf50;
}

/* Paid Button */
.btn-paid {
    background: linear-gradient(135deg, #4caf50 0%, #66bb6a 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-paid:hover {
    background: linear-gradient(135deg, #43a047 0%, #4caf50 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(76, 175, 80, 0.4);
}

.btn-paid:disabled,
.btn-paid.is-submitting {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    background: linear-gradient(135deg, #9e9e9e 0%, #bdbdbd 100%);
}

.btn-paid i {
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 480px) {
    .payment-confirmation-section {
        padding: 20px;
    }
    
    .btn-paid {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
}

/* New Payment Modal - 3 Steps */
.payment-modal-new {
    max-width: 500px !important;
}

.payment-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    padding: 0 10px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.step.active .step-number {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.step.completed .step-number {
    background: #00ffa3;
    color: #1a1d29;
}

.step-label {
    font-size: 0.75rem;
    color: #999;
    font-weight: 500;
    text-align: center;
}

.step.active .step-label {
    color: #667eea;
    font-weight: 600;
}

.step.completed .step-label {
    color: #00ffa3;
}

.step-line {
    width: 60px;
    height: 3px;
    background: #e0e0e0;
    margin: 0 10px;
    margin-bottom: 25px;
    border-radius: 2px;
}

.step-line.active {
    background: linear-gradient(90deg, #667eea 0%, #00ffa3 100%);
}

.payment-product-summary {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 15px 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.payment-product-summary .product-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background: #fff;
    padding: 8px;
}

.payment-product-summary .product-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.payment-product-summary .product-details h3 {
    margin: 0 0 5px;
    font-size: 1rem;
    color: #1a1d29;
}

.payment-product-summary .product-details .tier-badge {
    margin: 0 0 4px;
    font-size: 0.75rem;
    color: #666;
    background: rgba(0, 0, 0, 0.04);
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.payment-product-summary .product-details .tier-badge .tier-label {
    font-size: 0.8rem;
}

.payment-product-summary .product-price .price-amount {
    font-size: 1.1rem;
    font-weight: 700;
    color: #667eea;
}

.payment-order-summary {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    display: grid;
    gap: 8px;
}

.payment-order-summary .summary-title {
    font-size: 0.8rem;
    font-weight: 700;
    color: #4b5563;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.payment-order-summary .summary-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.9rem;
}

.payment-order-summary .summary-row .label {
    color: #6b7280;
    flex: 0 0 78px;
}

.payment-order-summary .summary-row .value {
    color: #111827;
    font-weight: 600;
    text-align: right;
    flex: 1;
    word-break: break-word;
}

.payment-order-summary .summary-row.total {
    margin-top: 4px;
    padding-top: 10px;
    border-top: 1px dashed rgba(102, 126, 234, 0.25);
}

.payment-order-summary .summary-row.total .label,
.payment-order-summary .summary-row.total .value {
    color: #4338ca;
    font-weight: 700;
}

.payment-step-content {
    display: none;
}

.payment-step-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.step-title {
    font-size: 1.3rem;
    color: #ffffff;
    margin: 0 0 8px;
    text-align: center;
    font-weight: 600;
}

.step-desc {
    color: #e0e0e0;
    font-size: 0.95rem;
    text-align: center;
    margin: 0 0 25px;
    opacity: 0.9;
}

.payment-step-content .form-group {
    margin-bottom: 18px;
}

.payment-step-content .form-group label {
    display: block;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.payment-step-content .form-group input,
.payment-step-content .form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.payment-step-content .form-group input::placeholder,
.payment-step-content .form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.payment-step-content .form-group input:focus,
.payment-step-content .form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
    background: rgba(255, 255, 255, 0.15);
}

.btn-next-step {
    width: 100%;
    padding: 14px 20px !important;
    margin-top: 10px;
}

.btn-next-step:disabled,
.btn-next-step.is-submitting {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    filter: saturate(0.7);
}

/* QR Section */
.qr-section {
    text-align: center;
}

.qr-code-display {
    background: #fff;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
    display: inline-block;
}

.qr-code-display .qr-code {
    width: 210px;
    height: 210px;
    display: block;
    margin: 0 auto 10px;
}

.qr-brand-logos {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.brand-tag {
    font-size: 0.75rem;
    font-weight: 600;
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
    padding: 4px 12px;
    border-radius: 20px;
}

.payment-details-box {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    text-align: left;
    margin-bottom: 20px;
}

.payment-details-box h4 {
    margin: 0 0 15px;
    font-size: 1rem;
    color: #1a1d29;
    text-align: center;
}

.payment-detail-row {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #e9ecef;
}

.payment-detail-row:last-child {
    border-bottom: none;
}

.payment-detail-row .label {
    width: 100px;
    color: #666;
    font-size: 0.9rem;
}

.payment-detail-row .value {
    flex: 1;
    font-weight: 600;
    color: #1a1d29;
    font-size: 0.95rem;
}

.payment-detail-row .value.price-highlight {
    color: #667eea;
    font-size: 1.1rem;
}

.copy-btn-mini {
    background: none;
    border: none;
    color: #667eea;
    cursor: pointer;
    padding: 5px;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.copy-btn-mini:hover {
    color: #764ba2;
}

.payment-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.payment-actions .btn-secondary,
.payment-actions .btn-paid {
    flex: 1;
    justify-content: center;
    padding: 12px 20px;
}

.payment-reminder {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border-radius: 10px;
    padding: 12px 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.payment-reminder i {
    color: #ff9800;
    font-size: 1rem;
    margin-top: 2px;
}

.payment-reminder span {
    color: #e65100;
    font-size: 0.85rem;
    line-height: 1.5;
}

/* Confirmation Section */
.confirmation-section {
    text-align: center;
}

.confirmation-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 255, 163, 0.15) 0%, rgba(0, 255, 163, 0.05) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.confirmation-icon i {
    font-size: 2.5rem;
    color: #00ffa3;
}

.confirmation-section > h4 {
    font-size: 1.2rem;
    color: #1a1d29;
    margin: 0 0 10px;
}

.confirmation-section .confirmation-desc {
    color: #666;
    font-size: 0.9rem;
    margin: 0 0 20px;
}

.confirmation-section .form-group {
    text-align: left;
}

.btn-confirm-payment {
    width: 100%;
    background: linear-gradient(135deg, #0088cc 0%, #0099e6 100%) !important;
    padding: 14px 20px !important;
    font-size: 1rem !important;
    margin-top: 10px;
}

.confirmation-note {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-radius: 10px;
    padding: 12px 15px;
    margin-top: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #2e7d32;
    font-size: 0.9rem;
}

.confirmation-note i {
    color: #4caf50;
}

.btn-back-step {
    margin-top: 15px;
}

/* Success Message */
.payment-success {
    display: none;
    text-align: center;
    padding: 30px 20px;
}

.payment-success.show {
    display: block;
    animation: fadeIn 0.5s ease;
}

.payment-success .success-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00ffa3 0%, #00cc82 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.payment-success .success-icon i {
    font-size: 3rem;
    color: #fff;
}

.payment-success h3 {
    font-size: 1.4rem;
    color: #1a1d29;
    margin: 0 0 15px;
}

.payment-success p {
    color: #666;
    font-size: 0.95rem;
    margin: 0 0 10px;
    line-height: 1.6;
}

.payment-success .order-info {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    margin: 20px 0 !important;
}

.payment-success .order-info strong {
    color: #667eea;
    font-size: 1.1rem;
}

.payment-success .btn-primary {
    margin-top: 20px;
    padding: 14px 40px !important;
}

/* Responsive */
@media (max-width: 480px) {
    .payment-steps {
        padding: 0 5px;
    }
    
    .step-number {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    .step-label {
        font-size: 0.65rem;
    }
    
    .step-line {
        width: 40px;
    }
    
    .payment-detail-row {
        flex-wrap: wrap;
    }
    
    .payment-detail-row .label {
        width: 100%;
        margin-bottom: 5px;
    }
    
    .payment-actions {
        flex-direction: column;
    }
}

/* Floating Zalo Group Button */
.floating-zalo-group {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #0068ff 0%, #0084ff 100%);
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    box-shadow: 0 8px 30px rgba(0, 132, 255, 0.4);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 9999;
    transition: all 0.3s ease;
    animation: float-bounce 3s ease-in-out infinite, pulse-glow-zalo 2s ease-in-out infinite;
    font-weight: 600;
    font-size: 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.floating-zalo-group:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 132, 255, 0.6);
    background: linear-gradient(135deg, #0084ff 0%, #00a0ff 100%);
}

.floating-zalo-group .zalo-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-zalo-group .zalo-icon-wrapper i {
    font-size: 24px;
    animation: rotate-icon 4s linear infinite;
}

.floating-zalo-group .zalo-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ff4757;
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 700;
    animation: badge-pulse 1.5s ease-in-out infinite;
}

.floating-zalo-group .zalo-text {
    font-weight: 700;
    letter-spacing: 0.3px;
}

@keyframes float-bounce {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse-glow-zalo {
    0%, 100% {
        box-shadow: 0 8px 30px rgba(0, 132, 255, 0.4);
    }
    50% {
        box-shadow: 0 8px 40px rgba(0, 132, 255, 0.7), 0 0 30px rgba(0, 132, 255, 0.5);
    }
}

@keyframes rotate-icon {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-10deg);
    }
    75% {
        transform: rotate(10deg);
    }
}

@keyframes badge-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

/* Responsive cho mobile */
@media (max-width: 768px) {
    .floating-zalo-group {
        bottom: 20px;
        right: 20px;
        padding: 12px 20px;
        font-size: 14px;
    }

    .floating-zalo-group .zalo-icon-wrapper i {
        font-size: 20px;
    }

    .floating-zalo-group .zalo-text {
        display: none;
    }

    .floating-zalo-group {
        border-radius: 50%;
        width: 60px;
        height: 60px;
        padding: 0;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .floating-zalo-group {
        bottom: 15px;
        right: 15px;
        width: 55px;
        height: 55px;
    }
}

/* ========================================
   MOBILE OPTIMIZATION ENHANCEMENTS
   ======================================== */

/* Improve touch targets - minimum 44x44px for better usability */
@media (max-width: 768px) {
    /* Larger touch targets for buttons */
    .btn-primary,
    .btn-secondary,
    .btn-hero-primary,
    .btn-hero-secondary {
        min-height: 48px;
        padding: 14px 24px;
        font-size: 16px;
    }

    /* Improve form inputs for mobile */
    .form-group input,
    .form-group textarea,
    .form-group select {
        min-height: 48px;
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 12px 16px;
    }

    /* Better spacing for mobile cards */
    .pricing-card {
        margin-bottom: 20px;
    }

    /* Improve modal for mobile */
    .modal-content {
        border-radius: 16px 16px 0 0;
        max-height: 90vh;
    }

    /* Better QR code size on mobile */
    .qr-code {
        max-width: 220px;
        height: auto;
    }

    /* Improve hero section spacing */
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .hero-buttons a {
        width: 100%;
        justify-content: center;
    }

    /* Better pricing grid on mobile */
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 10px;
    }

}

/* Extra small devices optimization */
@media (max-width: 480px) {
    /* Reduce padding on small screens */
    .container {
        padding: 0 16px;
    }

    /* Smaller hero title for very small screens */
    .hero-title {
        font-size: 1.5rem !important;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    /* Compact stats on mobile */
    .hero-stats {
        flex-wrap: wrap;
        justify-content: center;
    }

    .stat {
        flex: 1 1 calc(50% - 10px);
        min-width: 120px;
    }

    /* Better modal on small screens */
    .modal-content {
        margin: 0;
        border-radius: 16px 16px 0 0;
        max-height: 95vh;
    }

    .modal-header h2 {
        font-size: 1.3rem;
    }

    /* Improve form layout */
    .form-row {
        flex-direction: column;
        gap: 0;
    }

    /* Better pricing card on mobile */
    .pricing-card {
        padding: 20px 16px;
    }

    .pricing-card h3 {
        font-size: 1.3rem;
    }

    .price {
        font-size: 1.8rem;
    }

    /* Compact features list */
    .features-list li {
        font-size: 0.9rem;
        padding: 8px 0;
    }
}

/* Landscape mode optimization for mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 60px 0 40px;
    }

    .modal-content {
        max-height: 80vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .modal-header {
        padding: 15px 20px;
    }

    .modal-body {
        padding: 15px 20px;
    }

    .hero-stats {
        margin-top: 20px;
    }
}

/* Very short screens optimization */
@media (max-height: 500px) {
    .modal-content {
        max-height: 90vh;
        margin: 10px;
    }

    .modal-header h2 {
        font-size: 1.1rem;
    }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    /* Remove hover effects on touch devices */
    .pricing-card:hover {
        transform: none;
    }

    /* Larger tap targets */
    .close {
        min-width: 44px;
        min-height: 44px;
        padding: 12px;
    }

    /* Better button feedback on touch */
    .btn-primary:active,
    .btn-secondary:active {
        transform: scale(0.98);
        opacity: 0.9;
    }

    /* Improve copy button on mobile */
    .copy-btn {
        min-height: 44px;
        padding: 12px 16px;
    }
}

/* Prevent text selection on buttons (better UX on mobile) */
@media (max-width: 768px) {
    button,
    .btn-primary,
    .btn-secondary,
    .btn-hero-primary,
    .btn-hero-secondary {
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        -webkit-tap-highlight-color: transparent;
    }

    /* Smooth scrolling on mobile */
    html {
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }

    /* Better image loading on mobile */
    img {
        max-width: 100%;
        height: auto;
    }

    /* Improve table responsiveness */
    table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* iOS specific fixes */
@supports (-webkit-touch-callout: none) {
    /* Fix iOS input zoom */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    textarea,
    select {
        font-size: 16px !important;
    }

    /* Fix iOS button appearance */
    button,
    input[type="submit"] {
        -webkit-appearance: none;
        appearance: none;
    }
}

/* Android specific fixes */
@media (max-width: 768px) {
    /* Better font rendering on Android */
    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* Accessibility: Focus indicators */
*:focus-visible {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* Remove outline for mouse users */
*:focus:not(:focus-visible) {
    outline: none;
}

/* Order ID and Email display - word-break for long strings */
.order-info-value,
.order-id,
.email-display {
    word-break: break-all;
    overflow-wrap: break-word;
}

@media (max-width: 480px) {
    .order-info-value {
        font-size: 14px;
        max-width: 100%;
    }
}

/* Urgency & Scarcity Elements */
.urgency-badge {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    animation: pulse 2s infinite;
}

.urgency-badge i {
    font-size: 0.85rem;
}

.social-proof-badge {
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.3);
    color: #667eea;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
}

.sold-today-badge {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.02);
    }
}

.card-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
    justify-content: center;
}

/* Free Trial Stats */
.trial-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin: 20px 0;
}

.trial-stat {
    background: rgba(102, 126, 234, 0.1);
    border: 1px solid rgba(102, 126, 234, 0.3);
    padding: 12px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.trial-stat.urgency {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.trial-stat.urgency strong {
    color: #dc2626;
    font-size: 1.1rem;
}

.trial-stat.social {
    color: #667eea;
}

.trial-stat.social strong {
    color: #5568d3;
}

.trial-stat i {
    font-size: 1.2rem;
}

.trial-note {
    text-align: center;
    font-size: 0.85rem;
    color: #9ca3af;
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.trial-note i {
    color: #10b981;
}

@media (max-width: 768px) {
    .trial-stats {
        flex-direction: column;
        gap: 12px;
    }

    .trial-stat {
        width: 100%;
        justify-content: center;
    }
}

/* Recent Activity Popup */
.recent-activity-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9999;
    animation: slideInLeft 0.5s ease-out;
}

.recent-activity-popup.hidden {
    display: none;
}

.popup-content {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    max-width: 350px;
    position: relative;
}

.popup-icon {
    background: rgba(255, 255, 255, 0.2);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.popup-icon i {
    font-size: 1.5rem;
}

.popup-text {
    flex: 1;
}

.popup-name {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.popup-action {
    font-size: 0.85rem;
    opacity: 0.95;
    margin-bottom: 4px;
}

.popup-action strong {
    font-weight: 600;
}

.popup-time {
    font-size: 0.75rem;
    opacity: 0.8;
}

.popup-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.popup-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.popup-close i {
    font-size: 0.75rem;
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutLeft {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(-100%);
        opacity: 0;
    }
}

/* Mobile responsive for popup */
@media (max-width: 768px) {
    .recent-activity-popup {
        left: 10px;
        right: 10px;
        bottom: 10px;
    }

    .popup-content {
        min-width: auto;
        max-width: 100%;
    }
}

/* ==================== UPSELL MODAL STYLES ==================== */
.upsell-modal-content {
    max-width: 900px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    background: linear-gradient(135deg, #1a1d2e 0%, #16213e 100%);
    border: 2px solid rgba(102, 126, 234, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.upsell-header {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px 20px 0 0;
    position: relative;
}

.upsell-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    animation: pulse 2s infinite;
}

.upsell-icon i {
    font-size: 40px;
    color: #fff;
}

.upsell-header h2 {
    font-size: 28px;
    color: #fff;
    margin-bottom: 10px;
    font-weight: 700;
}

.upsell-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.upsell-subtitle strong {
    color: #ffd93d;
    font-size: 24px;
}

.upsell-body {
    padding: 30px;
}

/* Countdown Timer */
.upsell-countdown {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    padding: 15px 25px;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 30px;
    color: #fff;
    font-size: 16px;
    animation: pulse 1.5s infinite;
}

.upsell-countdown i {
    margin-right: 10px;
    font-size: 20px;
}

.upsell-countdown strong {
    font-size: 24px;
    font-weight: 700;
    margin-left: 5px;
}

/* Comparison Table */
.comparison-table {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.comparison-column {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 25px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.free-column {
    opacity: 0.7;
}

.premium-column {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
    border: 2px solid #667eea;
    position: relative;
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #ffd93d 0%, #f9ca24 100%);
    color: #1a1d2e;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

.column-header {
    text-align: center;
    margin-bottom: 20px;
}

.column-header i {
    font-size: 40px;
    margin-bottom: 15px;
    display: block;
}

.free-column .column-header i {
    color: #95a5a6;
}

.premium-column .column-header i {
    color: #ffd93d;
}

.column-header h3 {
    font-size: 20px;
    color: #fff;
    margin-bottom: 15px;
}

.price-wrapper {
    position: relative;
}

.old-price {
    font-size: 18px;
    color: #95a5a6;
    text-decoration: line-through;
    margin-bottom: 5px;
}

.price {
    font-size: 32px;
    font-weight: 700;
    color: #ffd93d;
    margin-bottom: 10px;
}

.discount-badge {
    display: inline-block;
    background: #ff6b6b;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    padding: 12px 0;
    color: #e0e0e0;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-list i {
    font-size: 16px;
}

.feature-list .fa-check {
    color: #4caf50;
}

.feature-list .fa-times {
    color: #ff6b6b;
}

.btn-upgrade {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-upgrade:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.6);
}

.btn-upgrade i {
    margin-right: 8px;
}

/* Social Proof */
.upsell-social-proof {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
    padding: 15px 20px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 25px;
    color: #4caf50;
}

.upsell-social-proof i {
    margin-right: 10px;
    font-size: 18px;
}

.upsell-social-proof strong {
    color: #fff;
}

/* Testimonial */
.upsell-testimonial {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    border-left: 4px solid #667eea;
}

.testimonial-content {
    position: relative;
}

.testimonial-content .fa-quote-left {
    font-size: 24px;
    color: #667eea;
    opacity: 0.3;
    position: absolute;
    top: -10px;
    left: -5px;
}

.testimonial-content p {
    font-style: italic;
    color: #e0e0e0;
    margin-bottom: 15px;
    padding-left: 30px;
}

.testimonial-author {
    text-align: right;
    color: #95a5a6;
    font-size: 14px;
}

.testimonial-author strong {
    color: #fff;
}

/* Zalo CTA */
.zalo-cta {
    background: linear-gradient(135deg, #0068ff 0%, #0052cc 100%);
    padding: 20px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.zalo-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.zalo-icon i {
    font-size: 30px;
    color: #fff;
}

.zalo-text {
    flex: 1;
}

.zalo-text h4 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 5px;
}

.zalo-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin: 0;
}

.btn-zalo {
    background: #fff;
    color: #0068ff;
    padding: 12px 25px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-zalo:hover {
    background: #f0f0f0;
    transform: scale(1.05);
}

.btn-zalo i {
    margin-right: 8px;
}

/* Skip Option */
.skip-option {
    text-align: center;
}

.btn-skip {
    background: transparent;
    color: #95a5a6;
    border: none;
    padding: 12px 20px;
    font-size: 14px;
    cursor: pointer;
    text-decoration: underline;
    transition: all 0.3s ease;
}

.btn-skip:hover {
    color: #fff;
}

/* Animations */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .upsell-modal-content {
        width: 98%;
        max-height: 95vh;
    }

    .upsell-header h2 {
        font-size: 22px;
    }

    .upsell-subtitle {
        font-size: 16px;
    }

    .comparison-table {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .premium-column {
        transform: scale(1);
    }

    .popular-badge {
        font-size: 11px;
        padding: 6px 15px;
    }

    .column-header h3 {
        font-size: 18px;
    }

    .price {
        font-size: 28px;
    }

    .zalo-cta {
        flex-direction: column;
        text-align: center;
    }

    .btn-zalo {
        width: 100%;
    }

    .upsell-countdown {
        font-size: 14px;
    }

    .upsell-countdown strong {
        font-size: 20px;
    }
}

/* Customer Account Menu Styles */
.customer-menu {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.customer-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.customer-menu span {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 14px;
}

.btn-account {
    padding: 8px 16px !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.btn-account:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4) !important;
}

.btn-login {
    padding: 10px 20px !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    border: none !important;
}

.btn-login:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4) !important;
}

@media (max-width: 768px) {
    .customer-menu {
        padding: 6px 12px;
        gap: 8px;
    }

    .customer-avatar {
        width: 28px;
        height: 28px;
    }

    .customer-menu span {
        font-size: 12px;
        max-width: 80px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .btn-account {
        padding: 6px 12px !important;
        font-size: 12px !important;
    }

    .btn-login {
        padding: 6px 12px !important;
        font-size: 12px !important;
        white-space: nowrap !important;
    }
}

/* Extra small devices (Pixel 5, small Android phones) */
@media (max-width: 400px) {
    .btn-login {
        padding: 6px 10px !important;
        font-size: 11px !important;
    }

    .btn-login i {
        font-size: 10px !important;
        margin-right: 4px !important;
    }
}

/* ============================================
   NEW SECTIONS - HOW IT WORKS, TRUST BAR, FAQ
   ============================================ */

/* How It Works */
.how-it-works {
    padding: 32px 0;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.process-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px 28px;
    position: relative;
}

.process-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    position: relative;
}

.process-icon i {
    font-size: 20px;
    color: white;
}

.process-number {
    position: absolute;
    top: 12px;
    right: 20px;
    width: 18px;
    height: 18px;
    background: #4CAF50;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-step h3 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

.process-step p {
    font-size: 0.78rem;
    color: #888;
}

.process-arrow {
    color: #444;
    font-size: 1.2rem;
    padding: 0 4px;
    flex-shrink: 0;
}

/* Trust Bar */
.trust-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: rgba(102, 126, 234, 0.08);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: 12px;
    padding: 12px 20px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    font-size: 0.82rem;
    color: #ccc;
    white-space: nowrap;
}

.trust-item i {
    color: #667eea;
    font-size: 0.85rem;
}

.trust-divider {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

/* Contact Grid 4 columns */
.contact-grid-4 {
    grid-template-columns: repeat(4, 1fr);
    max-width: 1100px;
}

.contact-note {
    font-size: 0.78rem !important;
    color: #555 !important;
    margin-bottom: 16px !important;
    line-height: 1.4;
}

.contact-icon-group {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%) !important;
}

.contact-icon-phone {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%) !important;
}

.btn-contact-outline {
    background: transparent !important;
    border: 1px solid rgba(102, 126, 234, 0.5) !important;
    color: #667eea !important;
}

.btn-contact-outline:hover {
    background: rgba(102, 126, 234, 0.1) !important;
}

/* FAQ Section */
.faq-section {
    padding: 60px 0;
    background: transparent;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: #13131f;
    border-radius: 14px;
    padding: 22px 24px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: border-color 0.2s;
}

.faq-item:hover {
    border-color: rgba(102, 126, 234, 0.3);
}

.faq-question {
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.faq-question i {
    color: #667eea;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.faq-answer {
    font-size: 0.82rem;
    color: #888;
    line-height: 1.6;
}

.faq-answer a {
    color: #667eea;
    text-decoration: none;
}

.faq-answer a:hover {
    text-decoration: underline;
}

/* Footer Trust & Policy */
.footer-trust {
    display: flex;
    gap: 16px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.footer-trust span {
    font-size: 0.75rem;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 5px;
}

.footer-trust span i {
    color: #4CAF50;
    font-size: 0.7rem;
}

.footer-policy {
    list-style: none !important;
}

.footer-policy li {
    font-size: 0.82rem;
    color: #9ca3af;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-policy li i {
    color: #4CAF50;
    font-size: 0.75rem;
    flex-shrink: 0;
}

/* Responsive for new sections */
@media (max-width: 900px) {
    .info-grid,
    .policy-list {
        grid-template-columns: 1fr;
    }

    .contact-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .info-section {
        padding: 56px 0;
    }

    .process-arrow {
        display: none;
    }

    .process-steps {
        gap: 8px;
    }

    .trust-bar {
        gap: 4px;
    }

    .trust-divider {
        display: none;
    }

    .trust-item {
        padding: 4px 10px;
        font-size: 0.75rem;
    }

    .contact-grid-4 {
        grid-template-columns: 1fr;
    }
}
