/* iCallme Payment Gateway - Design System */

/* ==========================================================================
   Design Tokens
   ========================================================================== */
:root {
    /* Primary Colors - Green theme from design */
    --color-primary: #01CB63;
    --color-primary-dark: #00a850;
    --color-primary-light: #BFF6C3;
    --color-primary-50: #E6FAF0;
    --color-primary-100: #dcfce7;

    /* Secondary Colors - Orange accent */
    --color-accent: #f97316;
    --color-accent-dark: #ea580c;
    --color-accent-light: #fdba74;

    /* Neutral Colors */
    --color-white: #ffffff;
    --color-gray-50: #f9fafb;
    --color-gray-100: #f3f4f6;
    --color-gray-200: #e5e7eb;
    --color-gray-300: #d1d5db;
    --color-gray-400: #9ca3af;
    --color-gray-500: #6b7280;
    --color-gray-600: #4b5563;
    --color-gray-700: #374151;
    --color-gray-800: #1f2937;
    --color-gray-900: #111827;

    /* Status Colors */
    --color-success: #22c55e;
    --color-warning: #f59e0b;
    --color-error: #ef4444;
    --color-info: #3b82f6;

    /* Typography */
    --font-family-primary: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-family-mono: 'Space Mono', monospace;

    /* Font Sizes */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;

    /* Font Weights */
    --font-normal: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
    --font-extrabold: 800;

    /* Plus Jakarta Sans for pricing */
    --font-family-pricing: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Line Heights */
    --leading-tight: 1.25;
    --leading-normal: 1.5;
    --leading-relaxed: 1.625;

    /* Spacing Scale */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 300ms ease;
    --transition-slow: 500ms ease;
}

/* ==========================================================================
   Base Styles
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-primary);
    font-size: var(--text-base);
    line-height: var(--leading-normal);
    color: var(--color-gray-800);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-bold);
    line-height: var(--leading-tight);
    color: var(--color-gray-900);
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

.font-mono, code, pre, .monospace {
    font-family: var(--font-family-mono);
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
    padding: var(--space-4) 0;
    background: var(--color-white);
    position: relative;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-weight: var(--font-bold);
    font-size: var(--text-xl);
    color: var(--color-gray-900);
    text-decoration: none;
}

.navbar-brand:hover {
    color: var(--color-gray-900);
}

.navbar-brand .logo-icon {
    width: auto;
    height: 40px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-8);
    list-style: none;
    margin: 0;
    margin-left: auto;
    padding: 0;
}

.nav-link {
    font-family: var(--font-family-pricing);
    color: var(--color-gray-800);
    text-decoration: none;
    font-weight: var(--font-bold);
    font-size: 14px;
    transition: color var(--transition-fast);
    line-height: 30px;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--color-primary);
}

.btn-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 24px;
    font-family: var(--font-family-pricing);
    font-size: 14px;
    font-weight: var(--font-bold);
    color: var(--color-white);
    background: var(--color-primary);
    border: none;
    border-radius: var(--radius-full);
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: 0px 0px 10px 0px rgba(1, 203, 99, 0.5);
    line-height: 30px;
}

.btn-nav:hover {
    background: var(--color-primary-dark);
    color: var(--color-white);
    transform: translateY(-1px);
}

/* Mobile Navigation */
.navbar-toggler {
    display: none;
    padding: var(--space-2);
    background: transparent;
    border: none;
    color: var(--color-gray-700);
    cursor: pointer;
}

.navbar-toggler-icon {
    display: block;
    width: 24px;
    height: 2px;
    background: currentColor;
    position: relative;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: currentColor;
}

.navbar-toggler-icon::before { top: -8px; }
.navbar-toggler-icon::after { bottom: -8px; }

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    overflow: hidden;
    padding: 90px 0 60px;
    /* Base gradient background */
    background: linear-gradient(159.84deg, rgb(0, 156, 103) 0%, rgb(129, 255, 63) 102.73%);
}

/* Background pattern layer */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: var(--hero-bg-overlay);
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
}

/* Dark gradient overlay from left */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, rgba(15, 13, 78, 0.5) 1.27%, rgba(0, 129, 250, 0) 98.96%);
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: left;
    margin-bottom: 60px;
    max-width: 100%;
}

.hero-content .hero-title,
.hero-content .hero-subtitle {
    max-width: 100%;
}

.hero-title {
    font-family: var(--font-family-pricing);
    color: var(--color-white);
    font-size: 50px;
    font-weight: var(--font-extrabold);
    margin-bottom: var(--space-3);
    line-height: 1.2;
}

.hero-subtitle {
    font-family: var(--font-family-pricing);
    color: #ecf1f4;
    font-size: 20px;
    font-weight: var(--font-medium);
    max-width: 600px;
    margin: 0;
    line-height: 1.5;
}

/* ==========================================================================
   Pricing Section
   ========================================================================== */
.pricing-section {
    padding: var(--space-16) 0;
    background: var(--color-white);
    position: relative;
    z-index: 10;
}

/* Pricing section inside hero */
.pricing-section-hero {
    position: relative;
    z-index: 1;
}

.pricing-category {
    margin-bottom: var(--space-10);
}

.pricing-category:last-child {
    margin-bottom: 0;
}

.pricing-category-title {
    text-align: center;
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    color: var(--color-white);
    margin-bottom: var(--space-6);
    position: relative;
}

/* White title styling for hero section */
.pricing-section-hero .pricing-category-title {
    color: var(--color-white);
}

.pricing-section-hero .pricing-category-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: rgba(255, 255, 255, 0.5);
    margin: var(--space-3) auto 0;
    border-radius: var(--radius-full);
}

/* Standard section title styling */
.pricing-section .pricing-category-title {
    color: var(--color-gray-700);
}

.pricing-section .pricing-category-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--color-primary);
    margin: var(--space-3) auto 0;
    border-radius: var(--radius-full);
}

/* Old pricing-cards grid (kept for backwards compatibility) */
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-6);
    max-width: 900px;
    margin: 0 auto;
}

/* New 4-column pricing cards row - all 4 cards in one row */
.pricing-cards-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-3);
    max-width: 100%;
    margin: 0 auto;
    width: 100%;
}

/* Pricing group type label */
.pricing-type-label {
    font-family: var(--font-family-pricing);
    font-size: 36px;
    font-weight: var(--font-extrabold);
    text-align: left;
    padding: 0;
    margin: 0 0 var(--space-5);
    color: var(--color-white);
    letter-spacing: 0.72px;
}

.pricing-card {
    background: var(--color-white);
    border: 1px solid var(--color-gray-200);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: left;
    transition: all var(--transition-normal);
    position: relative;
    cursor: pointer;
    overflow: hidden; /* Clip ribbon corners */
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.pricing-card-personal {
    border: 2px solid var(--color-primary);
    box-shadow: 0px 0px 40px 0px rgba(1, 203, 99, 0.25);
}

.pricing-card-personal:hover {
    border-color: var(--color-primary);
}

.pricing-card-family {
    border: 2px solid #f2960d;
}

.pricing-card-family:hover {
    border-color: #f2960d;
}

.pricing-card.selected {
    border: 2px solid var(--color-primary);
    box-shadow: 0 0 0 4px var(--color-primary-50);
}

/* Badge styles for package type */
.pricing-badge {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: var(--font-semibold);
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-2);
}

.pricing-badge-personal {
    background: rgba(34, 197, 94, 0.15);
    color: var(--color-primary);
}

.pricing-badge-family {
    background: rgba(249, 115, 22, 0.15);
    color: var(--color-accent);
}

/* Featured card styling for lifetime packages */
.pricing-card-featured {
    border: 2px solid transparent;
    border-top-width: 5px;
    box-shadow: var(--shadow-lg);
    transform: scale(1.02);
    background: var(--color-white);
}

.pricing-card-featured.pricing-card-personal {
    border-color: var(--color-primary);
    box-shadow: 0px 0px 40px 0px rgba(1, 203, 99, 0.25);
}

.pricing-card-featured.pricing-card-family {
    border-color: #f2960d;
    box-shadow: 0px 0px 40px 0px rgba(242, 150, 13, 0.25);
}

/* Ribbon badge at top-right corner - gift wrap style */
.pricing-highlight {
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    overflow: hidden;
    z-index: 2;
    pointer-events: none;
}

.pricing-highlight::before {
    content: attr(data-text);
    position: absolute;
    top: 22px;
    right: -35px;
    width: 150px;
    padding: 8px 0;
    font-size: 10px;
    font-weight: var(--font-bold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    transform: rotate(45deg);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.pricing-highlight-popular::before {
    content: 'Phổ biến nhất';
    background: linear-gradient(135deg, var(--color-primary) 0%, #16a34a 100%);
    color: var(--color-white);
}

.pricing-highlight-savings::before {
    content: 'Tiết kiệm nhất';
    background: linear-gradient(135deg, var(--color-accent) 0%, #ea580c 100%);
    color: var(--color-white);
}

/* Ribbon fold effect */
.pricing-highlight::after {
    content: '';
    position: absolute;
    top: 0;
    right: 120px;
    width: 0;
    height: 0;
    border-style: solid;
}

.pricing-highlight-popular::after {
    border-width: 0 8px 8px 0;
    border-color: transparent #15803d transparent transparent;
}

.pricing-highlight-savings::after {
    border-width: 0 8px 8px 0;
    border-color: transparent #c2410c transparent transparent;
}

.pricing-label {
    font-family: var(--font-family-pricing);
    font-size: 20px;
    font-weight: var(--font-bold);
    color: #1f2532;
    margin: 0;
    letter-spacing: 0.4px;
}

/* Price row layout - horizontal with number and currency unit */
.pricing-price-row {
    display: flex;
    align-items: baseline;
    gap: var(--space-2);
    margin: 0;
}

/* Price section container */
.pricing-price-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Features section container */
.pricing-features-section {
    flex: 1;
}

.pricing-price {
    font-family: var(--font-family-pricing);
    font-size: 36px;
    font-weight: var(--font-extrabold);
    color: var(--color-gray-900);
    line-height: 1;
    letter-spacing: 0.72px;
}

/* Price color matches button color for each card type */
.pricing-card-personal .pricing-price {
    color: var(--color-primary);
}

.pricing-card-family .pricing-price {
    color: #fe6422;
}

.pricing-currency {
    font-family: var(--font-family-pricing);
    font-size: 14px;
    font-weight: var(--font-medium);
    color: inherit;
    letter-spacing: 0.28px;
}

.pricing-card-personal .pricing-currency {
    color: var(--color-primary);
}

.pricing-card-family .pricing-currency {
    color: #fe6422;
}

.pricing-price sup {
    font-size: var(--text-xs);
    font-weight: var(--font-semibold);
}

.pricing-card-personal .pricing-price sup {
    color: var(--color-primary);
}

.pricing-card-family .pricing-price sup {
    color: var(--color-accent);
}

.pricing-unit {
    font-family: var(--font-family-pricing);
    font-size: 15px;
    font-weight: var(--font-medium);
    color: #2e364a;
    margin: 0;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-family-pricing);
    font-size: 14px;
    font-weight: var(--font-medium);
    color: #1f2532;
    letter-spacing: 0.28px;
    line-height: 30px;
}

.pricing-features li::before {
    content: '';
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='12' cy='12' r='10' fill='%23E6FAF0'/%3E%3Cpath d='M8 12l3 3 5-6' stroke='%2301CB63' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: 24px;
    background-position: center;
    background-repeat: no-repeat;
}

/* Orange checkmark for family packages */
.pricing-card-family .pricing-features li::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='12' cy='12' r='10' fill='%23FEF3E6'/%3E%3Cpath d='M8 12l3 3 5-6' stroke='%23F2960D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-family: var(--font-family-primary);
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    line-height: 1;
    border-radius: var(--radius-lg);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.btn:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0px 0px 10px 0px rgba(1, 203, 99, 0.5);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    color: var(--color-white);
    transform: translateY(-1px);
}

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

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

.btn-accent {
    background: #f2960d;
    color: var(--color-white);
    box-shadow: 0px 0px 10px 0px rgba(242, 150, 13, 0.5);
}

.btn-accent:hover {
    background: #d9850b;
    color: var(--color-white);
}

.btn-outline {
    background: transparent;
    color: var(--color-gray-700);
    border: 1px solid var(--color-gray-300);
}

.btn-outline:hover {
    background: var(--color-gray-50);
    border-color: var(--color-gray-400);
}

.btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-base);
    border-radius: var(--radius-xl);
}

.btn-sm {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-xs);
}

.btn-full {
    width: 100%;
}

/* ==========================================================================
   Features Section
   ========================================================================== */
.features-section {
    padding: 60px 0;
    background: #E6FAF0;
}

.features-title {
    text-align: center;
    margin-bottom: var(--space-12);
}

.features-title h2 {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-2);
}

.features-title span {
    color: var(--color-primary);
}

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

/* 3-Column Features Grid */
.features-grid-3col {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.features-title-column {
    width: 299px;
    flex-shrink: 0;
}

.features-title-column h2 {
    font-family: var(--font-family-pricing);
    font-size: 32px;
    font-weight: var(--font-extrabold);
    color: #1f2532;
    line-height: 1.2;
    margin: 0;
    letter-spacing: 0.64px;
}

.feature-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Platform header with logo */
.feature-platform-header {
    height: 32px;
    display: flex;
    align-items: center;
}

.platform-logo {
    height: 32px;
    width: auto;
}

.platform-icon {
    font-size: 32px;
    color: #1f2532;
}

.platform-icon.fa-apple {
    color: #000000;
}

.platform-icon.fa-android {
    color: #3ddc84;
}

/* SVG Platform logos */
.platform-logo-svg {
    width: 32px;
    height: 32px;
    color: #000000;
}

.platform-logo-svg.platform-logo-android {
    color: #3ddc84;
}

.platform-label {
    font-family: var(--font-family-pricing);
    font-size: 24px;
    font-weight: 700;
    color: #1f2532;
    margin-left: 8px;
}

/* Platform logo images */
.platform-logo-img {
    height: 32px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

/* Android logo specific - override SVG's width/height="100%" behavior */
.platform-logo-android {
    width: 205px;
    height: 32px;
    max-width: calc(100vw - 80px); /* Ensure it fits on small screens with padding */
    object-fit: contain;
}

/* iOS logo specific dimensions (95px x 32px per Figma) */
/* Note: The source image contains two stacked logos (black on white, white on black). */
/* We use object-fit: cover and object-position: top to show only the top portion (black logo). */
.platform-logo-ios {
    width: 95px;
    height: 32px;
    object-fit: cover;
    object-position: center top;
    border: none;
    outline: none;
    box-shadow: none;
}

/* Feature icon images (for custom icons like Siri) */
.feature-icon-img {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* New feature list styling */
.feature-list-new {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
}

.feature-list-new li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    font-family: var(--font-family-pricing);
    font-size: 16px;
    font-weight: 400;
    color: #1f2532;
    line-height: 25px;
    letter-spacing: 0.32px;
}

/* Keep divider on all items including last one per Figma design */

.feature-list-new li .material-symbols-rounded {
    color: var(--color-primary);
    font-size: 24px;
    flex-shrink: 0;
}

/* Legacy feature list styles (keep for backwards compatibility) */
.feature-column-header {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--color-gray-200);
}

.feature-column-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    border-radius: var(--radius-lg);
}

.feature-icon-ios {
    background: var(--color-gray-100);
    color: var(--color-gray-800);
}

.feature-icon-android {
    background: var(--color-primary-100);
    color: #3ddc84;
}

.feature-column-title {
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    color: var(--color-gray-900);
}

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

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    padding: var(--space-3) 0;
    font-size: var(--text-sm);
    color: var(--color-gray-700);
}

.feature-list li::before {
    content: '';
    width: 20px;
    height: 20px;
    background: var(--color-primary-100);
    border-radius: var(--radius-full);
    flex-shrink: 0;
    margin-top: 2px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2322c55e'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
    background-size: 14px;
    background-position: center;
    background-repeat: no-repeat;
}

.feature-list-custom li::before {
    display: none;
}

.feature-list-custom li {
    gap: var(--space-3);
}

.feature-list-custom li i {
    width: 24px;
    height: 24px;
    min-width: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary-100);
    color: var(--color-primary);
    border-radius: var(--radius-md);
    font-size: 0.75rem;
}

/* ==========================================================================
   Stats Section
   ========================================================================== */
.stats-section {
    padding: 65px 0;
    background: var(--color-white);
}

.stats-grid {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 150px;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 192px;
}

.stat-value {
    font-family: var(--font-family-pricing);
    font-size: 60px;
    font-weight: var(--font-extrabold);
    color: #007f3e;
    line-height: 1;
    letter-spacing: -2px;
    margin: 0;
}

.stat-label {
    font-family: var(--font-family-pricing);
    font-size: 16px;
    font-weight: 500;
    color: #5e6b84;
    line-height: 30px;
    margin: 0;
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */
.testimonials-section {
    padding: var(--space-16) 0;
    background: #FEF8EB;
}

.testimonials-header {
    margin-bottom: var(--space-12);
}

.testimonials-title {
    font-family: var(--font-family-pricing);
    text-align: center;
    font-size: 36px;
    font-weight: var(--font-extrabold);
    margin: 0;
    color: var(--color-gray-900);
}

.testimonials-hint {
    display: none;
    font-size: var(--text-sm);
    color: var(--color-gray-500);
    margin: 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-6);
    align-items: stretch;
}

.testimonial-card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

/* Quote icon - hidden on desktop, shown on mobile */
.testimonial-quote-icon {
    display: none;
}

.testimonial-stars {
    display: flex;
    gap: var(--space-1);
    margin-bottom: var(--space-3);
}

/* Font Awesome stars - yellow color */
.testimonial-stars i {
    color: #f59e0b;
    font-size: 20px;
}

.testimonial-quote {
    font-size: var(--text-sm);
    color: var(--color-gray-600);
    font-style: normal;
    margin: 0 0 var(--space-4);
    line-height: var(--leading-relaxed);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: var(--color-primary-100);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-semibold);
    color: var(--color-primary);
    font-size: var(--text-sm);
}

.testimonial-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.testimonial-name {
    font-weight: var(--font-semibold);
    color: var(--color-gray-900);
    font-size: var(--text-sm);
    margin: 0;
    line-height: 1.3;
}

.testimonial-role {
    font-size: var(--text-xs);
    color: var(--color-gray-500);
    margin: 0;
    line-height: 1.3;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-section {
    padding: var(--space-16) 0;
    background: #E6FAF0;
    text-align: center;
}

.cta-card {
    max-width: 1233px;
    margin: 0 auto;
    padding: 85px 40px;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-6);
}

.cta-section h2 {
    font-family: var(--font-family-pricing);
    color: var(--color-primary);
    font-size: 40px;
    font-weight: var(--font-extrabold);
    margin: 0;
    line-height: 1.2;
}

.cta-section p {
    font-family: var(--font-family-pricing);
    color: #2E364A;
    font-size: 20px;
    font-weight: var(--font-medium);
    max-width: 518px;
    margin: 0;
    line-height: 28px;
    letter-spacing: 0.4px;
}

/* CTA Button */
.btn-cta {
    font-family: var(--font-family-pricing);
    font-size: 16px;
    font-weight: var(--font-bold);
    padding: 12px 24px;
    border-radius: 14px;
    line-height: 30px;
    min-width: 206px;
}

/* ==========================================================================
   Footer - Modern Multi-Column Design
   ========================================================================== */
.footer {
    background: linear-gradient(180deg, var(--color-gray-900) 0%, #0a0f1a 100%);
    color: var(--color-gray-400);
    position: relative;
    overflow: hidden;
}

/* Subtle decorative gradient overlay */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    opacity: 0.5;
}

/* Footer Main Section */
.footer-main {
    padding: var(--space-16) 0 var(--space-12);
}

/* Footer Grid Layout - 4 columns */
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: var(--space-10);
}

/* Footer Columns */
.footer-col {
    display: flex;
    flex-direction: column;
}

/* Brand Column - Larger */
.footer-col-brand {
    padding-right: var(--space-8);
}

/* Footer Brand/Logo */
.footer-brand {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.footer-logo-text {
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

/* Tagline */
.footer-tagline {
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    color: var(--color-gray-400);
    margin-bottom: var(--space-6);
    max-width: 280px;
}

/* Social Links */
.footer-social {
    display: flex;
    gap: var(--space-3);
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    color: var(--color-gray-400);
    font-size: var(--text-base);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.footer-social-link:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
}

/* Zalo custom styling */
.footer-social-zalo {
    font-weight: var(--font-bold);
    font-size: var(--text-sm);
}

/* Column Titles */
.footer-col-title {
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    color: var(--color-white);
    margin-bottom: var(--space-5);
    position: relative;
    padding-bottom: var(--space-3);
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 2px;
    background: var(--color-primary);
    border-radius: var(--radius-full);
}

/* Hide accordion icon on desktop */
.footer-accordion-icon {
    display: none;
}

/* Footer Navigation Links */
.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer-nav li a {
    color: var(--color-gray-400);
    text-decoration: none;
    font-size: var(--text-sm);
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
}

.footer-nav li a::before {
    content: '';
    width: 0;
    height: 1px;
    background: var(--color-primary);
    transition: width var(--transition-fast);
}

.footer-nav li a:hover {
    color: var(--color-white);
    transform: translateX(4px);
}

.footer-nav li a:hover::before {
    width: 12px;
}

/* Footer Contact List */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-5);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--text-sm);
    color: var(--color-gray-400);
}

.footer-contact li i {
    width: 16px;
    color: var(--color-primary);
    font-size: var(--text-sm);
    flex-shrink: 0;
}

.footer-contact li a {
    color: var(--color-gray-400);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

/* App Download Badges */
.footer-apps {
    display: flex;
    gap: var(--space-2);
    flex-wrap: wrap;
    margin-top: var(--space-2);
}

.footer-app-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-3);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--color-gray-300);
    font-size: var(--text-xs);
    font-weight: var(--font-medium);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.footer-app-badge i {
    font-size: var(--text-base);
}

.footer-app-badge:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--color-white);
    transform: translateY(-1px);
}

/* Footer Bottom Bar */
.footer-bottom {
    padding: var(--space-5) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.2);
}

.footer-bottom-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-4);
}

.footer-copyright {
    font-size: var(--text-sm);
    color: var(--color-gray-500);
    margin: 0;
}

/* Payment Methods */
.footer-payment-methods {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.footer-payment-label {
    font-size: var(--text-xs);
    color: var(--color-gray-500);
}

.footer-payment-icons {
    display: flex;
    gap: var(--space-2);
}

.footer-payment-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: var(--color-gray-400);
    font-size: var(--text-xs);
}

/* Backward compatibility - keep old classes working */
.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-4);
}

.footer-links {
    display: flex;
    gap: var(--space-6);
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links a {
    color: var(--color-gray-400);
    text-decoration: none;
    font-size: var(--text-sm);
    transition: color var(--transition-fast);
}

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

/* ==========================================================================
   QR Code & Payment Components
   ========================================================================== */
.qr-code-container {
    background: var(--color-white);
    padding: var(--space-6);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.qr-code-image {
    max-width: 250px;
    margin: 0 auto var(--space-4);
}

.countdown-timer {
    font-family: var(--font-family-mono);
    font-size: var(--text-2xl);
    font-weight: var(--font-bold);
    color: var(--color-error);
}

/* Status Badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-1) var(--space-3);
    font-size: var(--text-xs);
    font-weight: var(--font-medium);
    border-radius: var(--radius-full);
}

.status-pending {
    background: #fef3c7;
    color: #92400e;
}

.status-completed {
    background: var(--color-primary-100);
    color: #166534;
}

.status-failed {
    background: #fee2e2;
    color: #991b1b;
}

/* ==========================================================================
   Form Elements
   ========================================================================== */
.form-group {
    margin-bottom: var(--space-4);
}

.form-label {
    display: block;
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    color: var(--color-gray-700);
    margin-bottom: var(--space-2);
}

.form-input {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    font-size: var(--text-base);
    color: var(--color-gray-900);
    background: var(--color-white);
    border: 1px solid var(--color-gray-300);
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
}

.form-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px var(--color-primary-100);
}

.form-input::placeholder {
    color: var(--color-gray-400);
}

.form-input.error {
    border-color: var(--color-error);
}

.form-error {
    font-size: var(--text-sm);
    color: var(--color-error);
    margin-top: var(--space-1);
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-4);
}

/* Hero container - use same max-width as other sections for consistent alignment */
/* The pricing cards and content below should align perfectly */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--color-primary); }
.text-accent { color: var(--color-accent); }
.text-muted { color: var(--color-gray-500); }

.bg-primary { background-color: var(--color-primary); }
.bg-light { background-color: var(--color-gray-50); }
.bg-white { background-color: var(--color-white); }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ==========================================================================
   Desktop/Mobile Pricing Toggle
   ========================================================================== */
/* Desktop: Show groups side by side */
.pricing-desktop {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.pricing-mobile {
    display: none;
}

/* Desktop group structure */
.pricing-group-desktop {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pricing-cards-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    flex: 1;
}

/* ==========================================================================
   Mobile Pricing Slider Styles
   ========================================================================== */
.pricing-group {
    margin-bottom: var(--space-8);
}

.pricing-group:last-child {
    margin-bottom: 0;
}

.pricing-group-title {
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    color: var(--color-white);
    margin-bottom: var(--space-2);
    text-align: center;
}

.pricing-group-hint {
    font-size: var(--text-sm);
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin-bottom: var(--space-4);
}

.pricing-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: var(--space-4);
    padding: var(--space-2) var(--space-1);
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

.pricing-slider::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.pricing-slider .pricing-card {
    scroll-snap-align: center;
    flex: 0 0 85%;
    min-width: 280px;
    max-width: 320px;
}

/* ==========================================================================
   Mobile Badge Styles (hidden on desktop, shown on mobile)
   ========================================================================== */
.pricing-mobile-badge {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: var(--space-2) var(--space-3);
    font-size: var(--text-xs);
    font-weight: var(--font-bold);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    z-index: 5;
}

.pricing-mobile-badge-recommended {
    background: linear-gradient(135deg, var(--color-primary) 0%, #00a850 100%);
    color: var(--color-white);
}

.pricing-mobile-badge-popular {
    background: linear-gradient(135deg, var(--color-primary) 0%, #16a34a 100%);
    color: var(--color-white);
}

.pricing-mobile-badge-savings {
    background: linear-gradient(135deg, var(--color-accent) 0%, #ea580c 100%);
    color: var(--color-white);
}

/* Pricing CTA Button Styles */
.pricing-cta {
    min-height: 44px;
    font-family: var(--font-family-pricing);
    font-size: 16px;
    font-weight: var(--font-bold);
    border-radius: 14px;
    padding: 12px 24px;
    line-height: 30px;
    letter-spacing: 0.32px;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: var(--text-3xl);
    }

    .stats-grid {
        gap: 60px;
    }

    .stat-value {
        font-size: 48px;
    }

    /* Reduce gap on tablets */
    .pricing-desktop {
        gap: var(--space-4);
    }

    .pricing-cards-group {
        gap: var(--space-2);
    }

    /* 3-column to stacked layout on tablets */
    .features-grid-3col {
        flex-wrap: wrap;
        gap: var(--space-6);
    }

    .features-title-column {
        width: 100%;
        padding-top: 0;
        margin-bottom: var(--space-4);
    }

    .features-title-column h2 {
        text-align: left;
        width: 100%;
    }

    /* Features columns side by side on tablet */
    .feature-column {
        flex: 1 1 calc(50% - var(--space-3));
        min-width: 280px;
    }
}

@media (max-width: 768px) {
    /* ==========================================================================
       Mobile Container - Consistent 16px horizontal padding across all sections
       ========================================================================== */
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    /* ==========================================================================
       Mobile Navigation - Height 56px with centered logo (48px)
       Logo should have 4px padding top and bottom: (56 - 48) / 2 = 4px
       ========================================================================== */
    .navbar {
        height: 56px;
        min-height: 56px;
        padding: 0; /* Remove padding - rely on flexbox centering */
        display: flex;
        align-items: center;
    }

    .navbar > .container {
        display: flex;
        align-items: center;
        height: 100%;
    }

    /* Ensure navbar-brand is properly centered */
    .navbar-brand {
        display: flex;
        align-items: center;
        padding: 0;
        margin: 0;
    }

    .navbar-toggler {
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 44px;
        min-height: 44px;
        margin-left: auto;
    }

    .navbar-brand .logo-icon {
        width: auto;
        height: 48px;
        display: block; /* Remove any inline spacing */
        margin: 0;
        padding: 0;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-white);
        flex-direction: column;
        padding: var(--space-4);
        gap: var(--space-4);
        box-shadow: var(--shadow-lg);
        z-index: 100;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links .nav-link {
        color: var(--color-gray-700);
        padding: var(--space-3) var(--space-4);
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .nav-links .btn-nav {
        width: 100%;
        min-height: 48px;
        justify-content: center;
    }

    /* ==========================================================================
       Mobile Hero Section - Padding 32px
       ========================================================================== */
    .hero {
        padding: 32px 0;
    }

    .hero-title {
        font-size: 36px;
        margin-bottom: var(--space-3);
    }

    .hero-subtitle {
        font-size: 18px;
        line-height: 22px;
        max-width: 100%;
        color: #ecf1f4;
    }

    .hero-content {
        margin-bottom: 32px;
        max-width: 100%;
    }

    /* Hide swipe hints on mobile */
    .pricing-group-hint,
    .testimonials-hint {
        display: none !important;
    }

    /* ==========================================================================
       Mobile Pricing Cards - Horizontal Swipeable Slider
       ========================================================================== */
    .pricing-section {
        padding: 32px 0;
    }

    /* Pricing group title - 30px left-aligned, aligned with container edge */
    .pricing-group-title {
        font-size: 30px;
        font-weight: var(--font-extrabold);
        text-align: left;
        margin-bottom: 20px;
        letter-spacing: 0.6px;
        color: white;
        /* Title aligns with container padding - no extra offset needed */
    }

    /* Pricing slider - full bleed with centered snap */
    .pricing-slider {
        gap: 12px;
        /* Break out of container to reach screen edges */
        margin-left: -16px;
        margin-right: -16px;
        /* Padding for first/last card spacing */
        padding-left: 16px;
        padding-right: 16px;
    }

    /* Spacer after last card for proper right padding */
    .pricing-slider::after {
        content: '';
        flex-shrink: 0;
        width: 4px;
        min-width: 4px;
    }

    /* Package name - 18px for compact mobile */
    .pricing-label {
        font-size: 18px;
        letter-spacing: 0.36px;
        margin-bottom: 0;
    }

    /* Price - 32px for compact mobile */
    .pricing-price {
        font-size: 32px;
        letter-spacing: 0.64px;
    }

    /* Price unit - 13px per compact mobile */
    .pricing-unit {
        font-size: 13px;
        letter-spacing: 0.26px;
        line-height: 1.3;
        margin-top: 0;
    }

    /* Price tag/subtitle - 14px */
    .pricing-tag {
        font-size: 14px;
        letter-spacing: 0.28px;
        color: #2e364a;
    }

    .pricing-cards {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    /* Hide desktop grid, show mobile slider */
    .pricing-desktop {
        display: none !important;
    }

    .pricing-mobile {
        display: block !important;
    }

    /* Single column vertical stack on mobile (fallback) */
    .pricing-cards-row {
        display: flex;
        flex-direction: column;
        gap: var(--space-4);
        max-width: 100%;
    }

    /* Base mobile card styling - matches desktop */
    .pricing-card {
        padding: 32px 24px;
        border-radius: 16px;
        border: 1px solid var(--color-gray-200);
        position: relative;
        display: flex;
        flex-direction: column;
        gap: 24px;
        background: var(--color-white);
    }

    /* Cards with mobile badges need extra top padding */
    /* Featured card styling on mobile */
    .pricing-card-featured {
        transform: none;
        border-width: 2px;
    }

    /* Keep ribbon badges on mobile (same as desktop) */
    .pricing-highlight {
        width: 120px;
        height: 120px;
    }

    .pricing-highlight::before {
        top: 22px;
        right: -35px;
        width: 150px;
        padding: 8px 0;
        font-size: 10px;
        letter-spacing: 0.5px;
    }

    /* Hide mobile-only badges */
    .pricing-mobile-badge {
        display: none !important;
    }

    .pricing-card-featured.pricing-card-personal {
        border-color: var(--color-primary);
        box-shadow: 0 4px 20px rgba(1, 203, 99, 0.2);
    }

    .pricing-card-featured.pricing-card-family {
        border-color: var(--color-accent);
        box-shadow: 0 4px 20px rgba(249, 115, 22, 0.2);
    }

    /* Popular card gets special treatment in slider */
    .pricing-slider .pricing-card-popular {
        border-color: var(--color-primary);
    }

    /* Best value card in slider */
    .pricing-slider .pricing-card-best-value {
        border-color: var(--color-accent);
    }

    /* Ensure slider cards have proper flex behavior - matches desktop styling */
    /* Card width calculated to show peek of adjacent cards on mobile (~393px screen):
       Screen: 393px - 32px padding = 361px usable
       Card + gaps should allow ~25-30px peek on each side
       Card width: ~280px leaves room for peek effect */
    .pricing-slider .pricing-card {
        flex-shrink: 0;
        width: 280px;
        min-width: 280px;
        padding: 32px 24px;
        gap: 24px;
        scroll-snap-align: center;
    }

    /* Price styling - matches desktop */
    .pricing-price {
        font-family: var(--font-family-pricing);
        font-size: 36px;
        font-weight: var(--font-extrabold);
        line-height: 1;
        letter-spacing: 0.72px;
        margin-bottom: 0;
    }

    .pricing-price sup {
        font-size: var(--text-xs);
    }

    /* Badge styling - matches desktop */
    .pricing-badge {
        font-size: var(--text-xs);
        font-weight: var(--font-semibold);
        padding: var(--space-1) var(--space-2);
        margin-bottom: var(--space-2);
    }

    .pricing-label {
        font-size: 20px;
        font-weight: var(--font-bold);
        color: #1f2532;
        letter-spacing: 0.4px;
        margin: 0;
    }

    .pricing-unit {
        font-family: var(--font-family-pricing);
        font-size: 15px;
        font-weight: var(--font-medium);
        color: #2e364a;
        margin: 0;
    }

    /* CTA Button - matches desktop styling */
    .pricing-cta {
        width: 100%;
        min-height: 44px;
        font-family: var(--font-family-pricing);
        font-size: 16px;
        font-weight: var(--font-bold);
        padding: 12px 24px;
        border-radius: 14px;
        line-height: 30px;
        letter-spacing: 0.32px;
        margin-top: auto;
    }

    .pricing-card-personal .pricing-cta {
        background: var(--color-primary);
    }

    .pricing-card-personal .pricing-cta:hover,
    .pricing-card-personal .pricing-cta:active {
        background: var(--color-primary-dark);
    }

    .pricing-card-family .pricing-cta {
        background: var(--color-accent);
    }

    .pricing-card-family .pricing-cta:hover,
    .pricing-card-family .pricing-cta:active {
        background: var(--color-accent-dark);
    }

    /* Card hover/active states on mobile */
    .pricing-card:active {
        transform: scale(0.98);
    }

    .pricing-card.selected {
        border-color: var(--color-primary);
        box-shadow: 0 0 0 3px var(--color-primary-50);
    }

    /* Mobile pricing features - matches desktop styling */
    .pricing-features {
        gap: 8px;
        margin-bottom: 0;
    }

    .pricing-features li {
        font-size: 14px;
        font-weight: var(--font-medium);
        letter-spacing: 0.28px;
        line-height: 30px;
        color: #1f2532;
        padding: 0;
    }

    /* Price section - matches desktop */
    .pricing-price-section {
        gap: 8px;
    }

    /* Features section - matches desktop */
    .pricing-features-section {
        flex: 1;
    }

    /* CTA button - matches desktop styling */
    .pricing-slider .pricing-cta {
        padding: 12px 24px;
        font-size: 16px;
        font-weight: var(--font-bold);
        letter-spacing: 0.32px;
        border-radius: 14px;
        min-height: 44px;
        line-height: 30px;
        margin-top: auto;
    }

    .pricing-card-personal .pricing-cta {
        box-shadow: 0px 0px 10px 0px rgba(1, 203, 99, 0.5);
    }

    .pricing-card-family .pricing-cta {
        box-shadow: 0px 0px 10px 0px rgba(242, 150, 13, 0.5);
    }

    /* ==========================================================================
       Mobile Features Section - Per Figma node 5011:2426
       ========================================================================== */
    .features-section {
        padding: 32px 0;
    }

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

    .features-grid-3col {
        flex-direction: column;
        gap: 40px;
        /* Removed extra padding - container already provides 16px */
    }

    .features-title-column {
        width: 100%;
        padding-top: 0;
        margin-bottom: 0;
    }

    .features-title-column h2 {
        font-size: 32px;
        text-align: left;
        letter-spacing: 0.64px;
        color: #1f2532;
        /* Removed padding-left: 0 - container provides consistent padding */
    }

    /* Keep divider lines on mobile per Figma, 16px font */
    .feature-list-new li {
        font-size: 16px;
        padding: 12px 0;
        gap: 12px;
        line-height: 25px;
    }

    .feature-column {
        flex: 1 1 100%;
        padding: 0;
        gap: 16px;
    }

    .feature-platform-header {
        justify-content: flex-start;
    }

    /* Keep platform logos at 32px on mobile per Figma */
    .platform-logo-svg {
        width: 32px;
        height: 32px;
    }

    .platform-logo-img {
        height: 32px;
    }

    .platform-logo-ios {
        width: 95px;
        height: 32px;
        object-fit: cover;
        object-position: center top;
        border: none;
        outline: none;
        box-shadow: none;
    }

    .platform-label {
        font-size: 24px;
        margin-left: 8px;
    }

    .feature-column-header {
        margin-bottom: var(--space-4);
        padding-bottom: var(--space-3);
    }

    /* ==========================================================================
       Mobile Stats Section - Padding 32px
       ========================================================================== */
    .stats-section {
        padding: 32px 0;
    }

    .stats-grid {
        flex-direction: column;
        gap: var(--space-6);
    }

    .stat-item {
        width: 100%;
    }

    .stat-value {
        font-size: 40px;
    }

    .stat-label {
        font-size: 14px;
    }

    /* ==========================================================================
       Mobile Testimonials - Per Figma node 5011:2503
       ========================================================================== */
    .testimonials-section {
        padding: 32px 0;
    }

    /* Container keeps its consistent 16px padding */

    .testimonials-header {
        margin-bottom: 24px;
        padding: 0;
    }

    .testimonials-title {
        font-size: 36px;
        text-align: center;
        letter-spacing: 0.72px;
        color: #1f2532;
    }

    .testimonials-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 12px;
        padding-bottom: var(--space-4);
        scrollbar-width: none;
        -ms-overflow-style: none;
        align-items: stretch;
        /* Full bleed with centered snap */
        margin-left: -16px;
        margin-right: -16px;
        padding-left: 16px;
        padding-right: 16px;
    }

    /* Spacer after last card for proper right padding */
    .testimonials-grid::after {
        content: '';
        flex-shrink: 0;
        width: 4px;
        min-width: 4px;
    }

    .testimonials-grid::-webkit-scrollbar {
        display: none;
    }

    /* Testimonial card width calculated to show peek of adjacent cards on mobile:
       Screen: 393px - 32px padding = 361px usable
       Card width: ~260px leaves room for ~25-30px peek on each side */
    .testimonial-card {
        flex-shrink: 0;
        width: 260px;
        min-width: 260px;
        scroll-snap-align: center;
        padding: 24px 22px;
        border: 1px solid #bff6c3;
        border-radius: 16px;
        position: relative;
    }


    /* Quote icon at top-right - visible on mobile */
    .testimonial-quote-icon {
        display: block;
        position: absolute;
        top: 24px;
        right: 22px;
        width: 17.52px;
        height: 11.8px;
    }

    /* Stars - 20px */
    .testimonial-stars {
        margin-bottom: 12px;
    }

    .testimonial-stars i {
        font-size: 20px;
        color: #f59e0b;
    }

    /* Quote text */
    .testimonial-quote {
        font-family: var(--font-family-pricing);
        font-size: 16px;
        font-weight: 500;
        color: #5e6b84;
        line-height: 24px;
        margin: 0 0 12px;
    }

    /* Author section */
    .testimonial-author {
        gap: 12px;
    }

    .testimonial-avatar {
        width: 60px;
        height: 60px;
        background: #01cb63;
        color: white;
        font-family: var(--font-family-pricing);
        font-size: 20px;
        font-weight: 700;
    }

    .testimonial-info {
        gap: 4px;
    }

    .testimonial-name {
        font-family: var(--font-family-pricing);
        font-size: 16px;
        font-weight: 700;
        color: #1f2532;
    }

    .testimonial-role {
        font-family: var(--font-family-pricing);
        font-size: 12px;
        font-weight: 500;
        color: #5e6b84;
    }

    /* ==========================================================================
       Mobile CTA Section - Per Figma node 5011:2553
       ========================================================================== */
    .cta-section {
        padding: 0;
        background: transparent;
    }

    .cta-section > .container {
        padding: 0;
    }

    .cta-card {
        padding: 32px 16px;
        border-radius: 0;
        gap: 27px;
        background: #E6FAF0;
    }

    .cta-section h2 {
        font-family: var(--font-family-pricing);
        font-size: 32px;
        font-weight: var(--font-extrabold);
        color: #01CB63;
        text-align: center;
        line-height: normal;
    }

    .cta-section p {
        font-family: var(--font-family-pricing);
        font-size: 18px;
        font-weight: var(--font-medium);
        color: #2E364A;
        line-height: 28px;
        letter-spacing: 0.36px;
        text-align: center;
    }

    .cta-section .btn-cta {
        width: auto;
        padding: 12px 24px;
        border-radius: 14px;
        font-family: var(--font-family-pricing);
        font-size: 16px;
        font-weight: var(--font-bold);
        line-height: 30px;
        white-space: nowrap;
        box-shadow: 0px 0px 10px 0px rgba(1, 203, 99, 0.5);
    }

    /* ==========================================================================
       Mobile Footer - Logo 200x48px centered, hide copyright
       ========================================================================== */
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Footer responsive - tablet and mobile */
    .footer-main {
        padding: 32px 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2); /* Reduced from space-6 (24px) to space-2 (8px) for compact mobile footer */
    }

    .footer-col-brand {
        grid-column: 1 / -1;
        padding-right: 0;
        text-align: center;
        align-items: center;
    }

    /* Logo 200x48px centered */
    .footer-brand {
        justify-content: center;
    }

    .footer-brand img {
        width: 200px;
        height: 48px;
        object-fit: contain;
    }

    /* Hide copyright and payment methods on mobile */
    .footer-bottom {
        display: none;
    }

    .footer-tagline {
        display: none;
    }

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

    .footer-social-link {
        min-width: 44px;
        min-height: 44px;
    }

    /* ==========================================================================
       Footer Accordion for Mobile - Clean, Left-Aligned Design
       ========================================================================== */
    .footer-accordion {
        /* No borders between accordion items for cleaner look */
        border: none;
    }

    .footer-col-title {
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        padding: 12px 0; /* Reduced from 16px for more compact accordion */
        margin-bottom: 0;
        user-select: none;
        text-align: left;
        gap: var(--space-4); /* 16px gap between title text and chevron icon */
        min-height: 44px; /* Ensure WCAG-compliant touch target */
    }

    .footer-col-title::after {
        display: none;
    }

    .footer-accordion-icon {
        display: inline-block;
        font-size: 12px;
        color: var(--color-gray-400);
        transition: transform 0.3s ease;
        flex-shrink: 0;
        margin-left: auto;
    }

    .footer-accordion.open .footer-accordion-icon {
        transform: rotate(180deg);
    }

    .footer-accordion-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
        padding: 0;
    }

    .footer-accordion.open .footer-accordion-content {
        max-height: 300px;
        padding-bottom: 16px;
    }

    /* Left-align footer content for accordion columns only */
    .footer-col {
        text-align: left;
        align-items: flex-start;
    }

    /* Brand column stays centered - override left alignment */
    .footer-col.footer-col-brand {
        text-align: center;
        align-items: center;
    }

    .footer-nav,
    .footer-contact {
        margin: 0;
        text-align: left;
        align-items: flex-start;
    }

    .footer-accordion .footer-nav li,
    .footer-accordion .footer-contact li {
        text-align: left;
        justify-content: flex-start;
    }

    .footer-nav li a {
        justify-content: flex-start;
        min-height: 44px;
        padding: var(--space-2) 0;
    }

    .footer-nav li a::before {
        display: none;
    }

    .footer-nav li a:hover {
        transform: none;
    }

    .footer-contact {
        align-items: flex-start;
    }

    .footer-contact li {
        justify-content: flex-start;
    }

    .footer-apps {
        margin-top: 12px;
        justify-content: flex-start;
    }

    .footer-app-badge {
        min-height: 44px;
        padding: var(--space-2) var(--space-4);
    }

    /* Contact column - always visible, no accordion behavior */
    .footer-col-contact .footer-col-title {
        cursor: default;
        padding-bottom: 8px;
    }

    .footer-col-contact .footer-contact,
    .footer-col-contact .footer-apps {
        display: flex;
    }

    /* Footer apps - evenly distributed on mobile */
    .footer-col-contact .footer-apps {
        width: 100%;
        justify-content: space-between;
        gap: 12px;
    }

    .footer-col-contact .footer-app-badge {
        flex: 1;
        justify-content: center;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-payment-methods {
        flex-direction: column;
        gap: var(--space-2);
    }
}

@media (max-width: 480px) {
    :root {
        --space-16: 3rem;
        --space-20: 4rem;
        --space-24: 5rem;
    }

    /* Keep consistent 16px padding on small screens for alignment */
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero-title {
        font-size: var(--text-xl);
    }

    .hero-subtitle {
        font-size: var(--text-sm);
    }

    /* Smaller screen pricing adjustments */
    .pricing-card {
        padding: var(--space-4) var(--space-3);
    }

    /* Ribbon badge for very small screens */
    .pricing-highlight {
        width: 110px;
        height: 110px;
    }

    .pricing-highlight::before {
        top: 20px;
        right: -38px;
        width: 145px;
        padding: 7px 0;
        font-size: 9px;
        letter-spacing: 0.3px;
    }

    .pricing-price {
        font-size: var(--text-xl);
    }

    .pricing-cta {
        min-height: 48px;
        font-size: var(--text-sm);
        padding: var(--space-3) var(--space-4);
    }

    .stat-value {
        font-size: var(--text-3xl);
    }

    .cta-card {
        padding: 32px 12px;
    }

    .cta-section h2 {
        font-size: 28px;
    }

    .cta-section p {
        font-size: 16px;
        line-height: 24px;
    }

    .cta-section .btn-cta {
        width: auto;
        white-space: nowrap;
    }

    /* Footer - mobile single column */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2); /* Reduced from space-6 (24px) to space-2 (8px) for compact mobile footer */
    }

    .footer-main {
        padding: var(--space-8) 0 var(--space-6);
    }

    .footer-col-title {
        font-size: var(--text-sm);
        margin-bottom: var(--space-4);
    }

    .footer-social-link {
        width: 44px;
        height: 44px;
        font-size: var(--text-sm);
    }

    .footer-app-badge {
        padding: var(--space-2) var(--space-3);
        font-size: 11px;
        min-height: 44px;
    }

    .footer-app-badge i {
        font-size: var(--text-sm);
    }

    .footer-bottom {
        padding: var(--space-4) 0;
    }

    .footer-copyright {
        font-size: var(--text-xs);
    }
}

/* ==========================================================================
   Accessibility
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Focus styles for keyboard navigation */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .pricing-card {
        border-width: 2px;
    }

    .btn {
        border: 2px solid currentColor;
    }
}

/* ==========================================================================
   Package Card Selection Animation
   ========================================================================== */
.package-card {
    transition: transform var(--transition-normal),
                box-shadow var(--transition-normal),
                border-color var(--transition-fast);
    cursor: pointer;
}

.package-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.package-card.selected {
    border: 2px solid var(--color-primary);
    background-color: var(--color-primary-50);
}
