/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Prevent any element from causing horizontal scroll */
body * {
    max-width: 100%;
}

/* Ensure main sections are properly contained */
.hero,
.about,
.roadmap,
.strategy,
.tokenomics,
.faq,
.footer {
    max-width: 100%;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scroll-padding-top: 80px;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Plus Jakarta Sans', Arial, Helvetica, sans-serif;
    line-height: 1.6875em;
    color: #333;
    background-color: #fff;
    overflow-x: hidden !important;
    font-size: 16px;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    width: 100%;
    max-width: 100vw;
    margin: 0;
    padding: 0;
    position: relative;
}

/* Standardize all text elements */
p, span, div, a, li, label, input, textarea, select, button {
    font-family: 'Plus Jakarta Sans', Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.6875em;
    font-weight: 400;
}

/* ===== CSS VARIABLES ===== */
:root {
    --primary-color: #959581;
    --secondary-color: #000000;
    --text-dark: #333333;
    --text-light: #666;
    --text-white: #ffffff;
    --bg-light: #ffffff;
    --bg-dark: #000000;
    --border-color: #e0e0e0;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --container-max-width: 1200px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: "Plus Jakarta Sans", Arial, Helvetica, sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
h2 { font-size: 80px; font-weight: 400; }
h3 { font-size: 32px; font-weight: 500; }
h4 { font-size: clamp(1.2rem, 2.5vw, 2rem); }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
    font-family: "Plus Jakarta Sans", Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.6875em;
    font-weight: 400;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-family: "Plus Jakarta Sans", Arial, Helvetica, sans-serif;
    font-weight: 400;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 16px;
    min-height: 44px;
    min-width: 44px;
}

.btn-primary {
    background: #959581;
    color: #ffffff;
    border: 1px solid #959581;
    padding: 1rem 2.5rem;
    font-size: 16px;
    font-weight: 400;
    border-radius: 4px;
    min-width: 140px;
}

.btn-primary:hover {
    background: #7a7a6a;
    border-color: #7a7a6a;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

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

.btn-secondary:hover {
    background: #333;
    border-color: #333;
}

.btn-outline {
    background: transparent;
    color: var(--text-dark);
    border: 1px solid var(--border-color);
    padding: 1rem 2.5rem;
    font-size: 16px;
    font-weight: 400;
    border-radius: 4px;
    min-width: 140px;
}

.btn-outline:hover {
    background: var(--text-dark);
    color: var(--text-white);
    border-color: var(--text-dark);
}

/* ===== TOP BAR ===== */
.top-bar {
    background: var(--text-white);
    color: var(--text-dark);
    padding: 0.3rem 0;
    font-size: 14px;
    border-bottom: 1px solid var(--border-color);
    width: 100%;
    position: relative;
    z-index: 1001;
    display: block;
}

.top-bar-container {
    width: 100%;
    padding: 0 2rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    box-sizing: border-box;
}

.top-bar-socials {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.social-link {
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), #7a7a6a);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(0.8);
}

.social-link:hover::before {
    opacity: 1;
    transform: scale(1);
}

.social-link:hover {
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(149, 149, 129, 0.25);
}

.social-link i {
    position: relative;
    z-index: 2;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-link:hover i {
    transform: scale(1.1);
}

.social-icon {
    width: 1rem;
    height: 1rem;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
    opacity: 1;
    display: block;
    fill: #ffffff;
}

.social-link:hover .social-icon {
    transform: scale(1.1);
}

/* Enhanced Social Media Icons */
.social-link.telegram:hover::before,
.social-link.twitter:hover::before,
.social-link.instagram:hover::before {
    background: rgba(149, 149, 129, 0.2) !important;
}

.social-link.telegram:hover,
.social-link.twitter:hover,
.social-link.instagram:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(149, 149, 129, 0.3);
}

/* ===== HEADER ===== */
.header {
    background: var(--text-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    /* Optimize for performance */
    will-change: box-shadow;
    transform: translateZ(0);
}

.header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 0.95);
}

.header-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    box-sizing: border-box;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
    margin-right: 2rem;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo:hover {
    transform: scale(1.02);
}

.logo img {
    height: 76px;
    width: auto;
    transition: filter 0.3s ease;
}

.nav-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    margin: 0;
    padding: 0;
    justify-content: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-family: "Plus Jakarta Sans", Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.6875em;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 0.6rem 0;
    text-transform: none;
    letter-spacing: 0.01em;
    word-spacing: 0px;
    font-style: normal;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), #7a7a6a);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
    transform: translateY(-1px);
}

.nav-menu a:hover::before,
.nav-menu a.active::before {
    width: 100%;
}

.nav-menu a.active::after {
    display: none;
}

.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-shrink: 0;
    margin-left: 2rem;
}

.header-actions .btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 500;
    border-radius: 8px;
}

.header-actions .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

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

.header-actions .btn-primary:hover {
    background: #7a7a6a;
    border-color: #7a7a6a;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 3px;
    z-index: 1001;
    width: 36px;
    height: 36px;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 6px;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(149, 149, 129, 0.05);
    border: none;
    outline: none;
}

.mobile-menu-toggle:hover {
    background: rgba(149, 149, 129, 0.12);
    transform: scale(1.05);
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2.5px;
    background: var(--text-dark);
    transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
    border-radius: 2px;
    transform-origin: center;
    position: relative;
    display: block;
    flex-shrink: 0;
}

.mobile-menu-toggle span:nth-child(1) {
    transform: translateY(0);
}

.mobile-menu-toggle span:nth-child(2) {
    opacity: 1;
    transform: scaleX(1);
}

.mobile-menu-toggle span:nth-child(3) {
    transform: translateY(0);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
    background: var(--primary-color);
}

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

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
    background: var(--primary-color);
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.tokenomics-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #7a7a6a 100%);
    color: var(--text-white);
    text-align: center;
    height: 35vh; /* 30% reduction from 50vh */
}

.roadmap-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #7a7a6a 100%);
    color: var(--text-white);
    text-align: center;
    height: 35vh; /* 30% reduction from 50vh */
}

.vision-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #7a7a6a 100%);
    color: var(--text-white);
    text-align: center;
    height: 35vh; /* 30% reduction from 50vh */
}

.faq-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #7a7a6a 100%);
    color: var(--text-white);
    text-align: center;
    height: 35vh; /* 30% reduction from 50vh */
}

.contact-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #7a7a6a 100%);
    color: var(--text-white);
    text-align: center;
    height: 35vh; /* 30% reduction from 50vh */
}

.contact-hero .hero-content h1 {
    white-space: nowrap;
    font-size: 3.5rem;
}

.giveaway-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #7a7a6a 100%);
    color: var(--text-white);
    text-align: center;
    height: 35vh; /* 30% reduction from 50vh */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 0;
    color: var(--text-white);
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    pointer-events: none;
}

/* ===== WELCOME SECTION ===== */
.welcome {
    padding: 6rem 0;
    background: var(--bg-light);
}

.welcome-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.welcome-content h2 {
    font-size: 4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2rem;
    line-height: 1.2;
}

.avalon-logo {
    height: 90px;
    width: auto;
    margin: 1rem 0;
}

.welcome-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.countdown-container {
    background: linear-gradient(135deg, var(--primary-color) 0%, #7a7a6a 100%);
    border-radius: 20px;
    padding: 2rem 2rem;
    text-align: center;
    color: var(--text-white);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.countdown-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    z-index: 1;
}

.countdown-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    animation: shimmer 3s ease-in-out infinite;
    z-index: 1;
}

.countdown-title {
    position: relative;
    z-index: 2;
    margin-bottom: 2rem;
}

.raised-label {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

/* ===== TOKEN PRICE CONTAINER ===== */
.token-price-container {
    margin-bottom: 1rem;
}

/* ===== METRICS ROW ===== */
.metrics-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.metric-item {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.metric-label {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-bottom: 0.5rem;
    color: var(--text-white);
}

.metric-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-white);
}



/* ===== BONUS PERIOD ===== */
.bonus-text-simple {
    margin-bottom: 1rem;
    text-align: center;
}

.bonus-label {
    font-size: 1rem;
    font-weight: 700;
    color: #50C878;
    text-align: center;
}

.bonus-end {
    font-size: 0.8rem;
    opacity: 0.8;
    color: var(--text-white);
    text-align: left;
}

/* ===== LEGACY STYLES (for backward compatibility) ===== */
.raised-amount {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.tokens-sold-label {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.tokens-sold-amount {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.countdown-container h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1.25rem 1rem;
    width: 100px;
    min-width: 100px;
    max-width: 100px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    animation: float 3s ease-in-out infinite;
    text-align: center;
}

.countdown-item:nth-child(1) { animation-delay: 0s; }
.countdown-item:nth-child(2) { animation-delay: 2s; }
.countdown-item:nth-child(3) { animation-delay: 4s; }
.countdown-item:nth-child(4) { animation-delay: 6s; }

.countdown-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    border-radius: 10px;
    opacity: 0;
    transition: var(--transition);
}

.countdown-item:hover::before {
    opacity: 1;
}

.countdown-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.countdown-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .countdown-number {
        font-size: 1.5rem;
    }
    
    .tokens-sold-amount {
        font-size: 1.5rem;
    }
    
    /* Mobile ICO Widget Adjustments */
    .ico-status-row {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
    
    .token-price {
        align-items: center;
    }
    
    .metrics-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .metric-item {
        padding: 0.75rem;
    }
    
    .metric-value {
        font-size: 1.1rem;
    }
    

    
    .bonus-period {
        /* Keep horizontal layout like desktop */
        flex-direction: row;
        text-align: left;
        gap: 0.75rem;
        justify-content: flex-start;
        align-items: center;
    }
    
    .bonus-text {
        align-items: flex-start;
        text-align: left;
    }
    
    .bonus-label {
        text-align: left;
    }
    
    .bonus-end {
        text-align: left;
    }
    
    .progress-info {
        flex-direction: column;
        gap: 0.25rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .countdown-number {
        font-size: 1.2rem;
    }
    
    .tokens-sold-amount {
        font-size: 1.2rem;
    }
    
    /* Extra Small Mobile ICO Widget */
    .metric-value {
        font-size: 1rem;
    }
    
    .price-value {
        font-size: 1rem;
    }
    
    .bonus-text-simple {
        margin-bottom: 0.75rem;
    }
    
    .bonus-text-simple {
        margin-bottom: 0.5rem;
    }
    
    .bonus-label {
        font-size: 0.85rem;
    }
}

.countdown-label {
    display: block;
    font-size: 0.775rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .countdown-label {
        font-size: 0.675rem;
    }
}

@media (max-width: 480px) {
    .countdown-label {
        font-size: 0.575rem;
    }
}

/* ===== ENHANCED PROGRESS SECTION ===== */
.progress-section {
    margin-bottom: 1rem;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.progress-label {
    font-size: 0.9rem;
    opacity: 0.8;
    color: var(--text-white);
}

.progress-numbers {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-white);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.text-center {
    margin-bottom: 1.5rem;
}

/* ===== MINIMUM BUY INFO ===== */
.minimum-buy-info {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    text-align: center;
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .minimum-buy-info {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .minimum-buy-info {
        font-size: 0.75rem;
    }
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50, #45a049);
    border-radius: 4px;
    transition: width 0.3s ease;
    position: relative;
    overflow: hidden;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: progressShimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

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

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

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

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

@keyframes glow {
    0%, 100% { box-shadow: 0 0 5px rgba(149, 149, 129, 0.5); }
    50% { box-shadow: 0 0 20px rgba(149, 149, 129, 0.8); }
}

.payment-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.payment-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    color: var(--text-white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    backdrop-filter: blur(10px);
    min-height: 44px;
    min-width: 44px;
}

.payment-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.payment-btn svg {
    width: 20px;
    height: 20px;
}

.payment-btn .dark-icon {
    filter: brightness(0) invert(1);
}

/* ===== TIER BREAKDOWN ===== */
.tier-breakdown {
    padding: 6rem 0;
    background: var(--primary-color);
    width: 100%;
    margin: 0;
}

.tier-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.tier-container h2 {
    text-align: center;
    margin-bottom: 4rem;
    color: var(--text-white);
}

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

.tier-card {
    background: var(--text-white);
    border-radius: 20px;
    padding: 3rem 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    min-height: 200px;
}

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

.tier-name {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
}

.tier-price {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2rem;
    text-align: center;
}

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

.tier-benefits li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.tier-benefits li:last-child {
    border-bottom: none;
}

.tier-benefits li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* ===== TOKEN USE CASES ===== */
.use-case-title {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    margin: 0;
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.4;
}

/* ===== VISION SECTION ===== */
.vision {
    padding: 6rem 0;
    background: var(--bg-light);
}

.vision-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8rem;
    align-items: center;
}

.vision-image {
    text-align: center;
}

.vision-image img {
    max-width: 140%;
    width: 140%;
    height: auto;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-left: -20%;
}

.vision-content h2 {
    font-size: 80px;
    font-weight: 400;
    margin-bottom: 2rem;
}

.vision-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* ===== HOW TO BUY ===== */
.how-to-buy {
    padding: 6rem 0;
    background: var(--primary-color);
}

.how-to-buy-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.how-to-buy h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-white);
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step-card {
    background: var(--bg-light);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

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

.step-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

/* ===== TOKENOMICS ===== */
.tokenomics {
    padding: 6rem 0;
    background: var(--bg-dark) url('https://avalonx.io/assets/images/Avalon-X-Footer.png') center center/cover no-repeat;
    overflow-x: hidden;
    position: relative;
}

.tokenomics::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.5);
    pointer-events: none;
}

.tokenomics-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
    overflow: hidden;
    position: relative;
    z-index: 3;
}

.tokenomics-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
    overflow: hidden;
}

.tokenomics h2 {
    margin-bottom: 1rem;
    font-size: 80px;
    font-weight: 400;
    color: var(--text-dark);
    text-align: center;
}

.tokenomics p {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: var(--text-light);
}

.globe-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.globe-content {
    position: relative;
    z-index: 3;
}

.token-info {
    text-align: center;
}

/* Improved Globe Container with Fluid Sizing */
.globe-container-wrapper {
    position: relative;
    width: 100%;
    height: clamp(44vh, 55vh, 66vh);
    min-height: clamp(330px, 440px, 550px);
    padding: clamp(3rem, 5rem, 7rem) 0;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Background SVG - Fluid Sizing */
.globe-container-wrapper::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: clamp(446px, 66.982vw, 894px);
    height: clamp(334px, 50.237vw, 671px);
    background-image: url('assets/images/tokenomics-background.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 1;
    will-change: transform;
}

/* Rotating SVG - Perfect Fluid Sizing */
.globe-container-wrapper::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: clamp(214px, 29.766vw, 356px);
    height: clamp(214px, 29.766vw, 356px);
    background-image: url('assets/images/tokenomics-rotating.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    animation: globe-rotate 10s linear infinite;
    z-index: 2;
    will-change: transform;
}

@keyframes globe-rotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Safari-specific optimizations */
@supports (-webkit-appearance: none) {
    .globe-container-wrapper::after {
        -webkit-transform: translate(-50%, -50%);
        -webkit-animation: globe-rotate 10s linear infinite;
        -webkit-backface-visibility: hidden;
        -webkit-perspective: 1000px;
        will-change: transform;
    }
    
    .globe-container-wrapper::before {
        -webkit-backface-visibility: hidden;
        -webkit-transform: translate(-50%, -50%);
    }
    
    .globe-container-wrapper {
        -webkit-transform: translateZ(0);
        -webkit-backface-visibility: hidden;
        -webkit-perspective: 1000px;
    }
}

/* Responsive adjustments for extreme screen sizes */
@media (min-width: 2000px) {
    .globe-container-wrapper::before {
        width: clamp(894px, 55.819vw, 1340px);
        height: clamp(671px, 41.864vw, 1003px);
    }
    
    .globe-container-wrapper::after {
        width: clamp(356px, 23.813vw, 476px);
        height: clamp(356px, 23.813vw, 476px);
    }
}

@media (max-width: 480px) {
    .globe-container-wrapper {
        height: clamp(30vh, 35vh, 40vh);
        min-height: clamp(200px, 250px, 300px);
        padding: clamp(1.5rem, 2.5rem, 3rem) 0;
    }
    
    .globe-container-wrapper::before {
        width: clamp(301px, 90.427vw, 401px);
        height: clamp(226px, 67.820vw, 301px);
    }
    
    .globe-container-wrapper::after {
        width: clamp(136px, 33.933vw, 203px);
        height: clamp(136px, 33.933vw, 203px);
    }
}

/* ===== ROADMAP ===== */
.roadmap {
    padding: 6rem 0;
    background: var(--bg-light);
}

.roadmap-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.roadmap h2 {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 80px;
    font-weight: 400;
    color: var(--text-dark);
}

/* Desktop Roadmap Timeline */
@media (min-width: 769px) {
    .roadmap-timeline {
        position: relative;
        max-width: 800px;
        margin: 0 auto;
    }

    .roadmap-timeline::before {
        content: '';
        position: absolute;
        left: 50%;
        top: 0;
        bottom: 0;
        width: 20px;
        background: linear-gradient(180deg, var(--primary-color) 0%, #3a3a2a 100%);
        transform: translateX(-50%);
        border-radius: 10px;
    }
    
    .roadmap-timeline::after {
        display: none;
    }

    .roadmap-phase {
        position: relative;
        margin-bottom: 3rem;
        padding: 2rem;
        background: linear-gradient(135deg, var(--primary-color), #7a7a6a);
        border-radius: 15px;
        box-shadow: var(--shadow);
        border: 2px solid rgba(255, 255, 255, 0.2);
        transition: var(--transition);
        color: var(--text-white);
    }

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

    .roadmap-phase.current {
        background: linear-gradient(135deg, var(--primary-color), #7a7a6a);
        color: var(--text-white);
        border: 2px solid rgba(255, 255, 255, 0.2);
        position: relative;
    }

    .roadmap-phase:nth-child(odd) {
        margin-left: 0;
        margin-right: 56%;
        text-align: right;
    }

    .roadmap-phase:nth-child(even) {
        margin-left: 56%;
        margin-right: 0;
        text-align: left;
    }

    .roadmap-phase::before {
        content: '';
        position: absolute;
        top: 50%;
        width: 29px;
        height: 29px;
        background: var(--primary-color);
        border-radius: 50%;
        transform: translateY(-50%);
        border: 3px solid var(--bg-light);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .roadmap-phase:nth-child(odd)::before {
        right: -62px;
        left: auto;
        margin-left: 0;
    }

    .roadmap-phase:nth-child(even)::before {
        left: -62px;
        margin-left: 0;
    }
}




/* ===== STRATEGY ===== */
.strategy {
    padding: 1rem 0;
    background: var(--bg-light);
}

.strategy-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8rem;
    align-items: center;
}

.strategy-image {
    text-align: center;
}

.strategy-image img {
    max-width: 120%;
    width: 120%;
    height: auto;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.strategy-image:hover img {
    transform: scale(1.05);
}

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

.strategy-content h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.strategy-content .btn {
    margin-top: 2rem;
}

/* ===== FAQ ===== */
.faq {
    padding: 6rem 0;
    background: var(--bg-light);
}

.faq-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.faq h2 {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.faq h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), #7a7a6a);
    border-radius: 3px;
    opacity: 0.9;
}

.faq-item {
    background: white;
    border-radius: 14px;
    margin-bottom: 1.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(149, 149, 129, 0.12);
    border-left: 3px solid transparent;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover {
    border-left-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(149, 149, 129, 0.12);
    border-color: rgba(149, 149, 129, 0.2);
}

.faq-question {
    padding: 1.75rem 2rem 1.75rem 2.25rem;
    background: transparent;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--primary-color);
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    letter-spacing: 0.01em;
    line-height: 1.5;
}

.faq-question:hover {
    background: rgba(149, 149, 129, 0.04);
    color: var(--primary-color);
    padding-left: 2.5rem;
}

.faq-question.active {
    background: rgba(149, 149, 129, 0.06);
    color: var(--primary-color);
    padding-left: 2.5rem;
}

.faq-question::after {
    content: '+';
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(149, 149, 129, 0.08);
    flex-shrink: 0;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    color: var(--primary-color);
    font-family: system-ui, -apple-system, sans-serif;
    transform-origin: center center;
}

.faq-question:hover::after {
    background: rgba(149, 149, 129, 0.15);
    transform: scale(1.05);
}

.faq-question.active::after {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 2px 8px rgba(149, 149, 129, 0.25);
    transform: rotate(45deg) scale(1.05);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(149, 149, 129, 0.02);
    border-top: 1px solid rgba(149, 149, 129, 0.08);
    opacity: 0;
}

.faq-answer.active {
    max-height: 200px;
    padding: 1.5rem 2.25rem 2rem 2.25rem;
    opacity: 1;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.65;
    margin: 0;
    font-size: 0.95rem;
    font-weight: 400;
}

/* Focus states for accessibility */
.faq-question:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: -2px;
}

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--text-white);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #7a7a6a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.back-to-top:active {
    transform: translateY(0);
}

/* ===== CONTACT SOCIAL SECTION ===== */
.contact-social {
    padding: 6rem 0;
    background: var(--bg-light);
    text-align: center;
}

.contact-social-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.massive-social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.massive-social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-dark);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.massive-social-link:hover {
    transform: translateY(-10px);
    color: var(--primary-color);
}

.massive-icon {
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid transparent;
}

.massive-icon i {
    font-size: 5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.massive-icon .social-icon {
    width: 80px;
    height: 80px;
    filter: brightness(0) saturate(100%) invert(0%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(0%) contrast(100%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.massive-social-link h3 {
    font-size: 2rem;
    font-weight: 600;
    margin: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Platform-specific colors */
.massive-social-link.telegram:hover .massive-icon {
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
}

.massive-social-link.telegram:hover .massive-icon i {
    color: white;
}

.massive-social-link.telegram:hover .massive-icon .social-icon {
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%);
}

.massive-social-link.twitter:hover .massive-icon {
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
}

.massive-social-link.twitter:hover .massive-icon i {
    color: white;
}

.massive-social-link.twitter:hover .massive-icon .social-icon {
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%);
}

.massive-social-link.instagram:hover .massive-icon {
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
}

.massive-social-link.instagram:hover .massive-icon i {
    color: white;
}

.massive-social-link.instagram:hover .massive-icon .social-icon {
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .massive-social-icons {
        gap: 3rem;
    }
    
    .massive-icon {
        width: 150px;
        height: 150px;
    }
    
    .massive-icon i {
        font-size: 3.5rem;
    }
    
    .massive-icon .social-icon {
        width: 60px;
        height: 60px;
    }
    
    .massive-social-link h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .massive-social-icons {
        gap: 2rem;
        flex-direction: column;
    }
    
    .massive-icon {
        width: 120px;
        height: 120px;
    }
    
    .massive-icon i {
        font-size: 3rem;
    }
    
    .massive-icon .social-icon {
        width: 50px;
        height: 50px;
    }
    
    .massive-social-link h3 {
        font-size: 1.3rem;
    }
}

/* ===== MASSIVE TITLE SECTION ===== */
.massive-title-section {
    padding: 3rem 0 0.5rem 0;
    background: var(--bg-white);
    text-align: center;
}



.massive-title-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.massive-title-section h1 {
    font-size: 6rem;
    font-weight: 400;
    color: #000000;
    margin: 0;
    letter-spacing: -2px;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@media (max-width: 1024px) {
    .massive-title-section h1 {
        font-size: 5rem;
        letter-spacing: -1.5px;
    }
}

@media (max-width: 768px) {
    .massive-title-section {
        padding: 2rem 0 0.5rem 0;
    }
    
    .massive-title-section h1 {
        font-size: 4rem;
        letter-spacing: -1px;
    }
}

@media (max-width: 480px) {
    .massive-title-section {
        padding: 1.5rem 0 0.25rem 0;
    }
    
    .massive-title-section h1 {
        font-size: 3rem;
        letter-spacing: -0.5px;
    }
}

/* ===== GIVEAWAY CONTENT SECTION ===== */
.giveaway-content {
    padding: 6rem 0;
    background: var(--bg-light);
}

.giveaway-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

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

.giveaway-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    max-width: none;
}

.giveaway-text p strong {
    color: var(--primary-color);
    font-weight: 700;
}

@media (max-width: 768px) {
    .giveaway-content {
        padding: 4rem 0;
    }
    
    .giveaway-text p {
        font-size: 1.1rem;
        margin-bottom: 1.2rem;
    }
}

@media (max-width: 480px) {
    .giveaway-content {
        padding: 3rem 0;
    }
    
    .giveaway-container {
        padding: 0 1.5rem;
    }
    
    .giveaway-text p {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
}

/* ===== TOWNHOUSE GIVEAWAY SECTION ===== */
.townhouse-giveaway-section {
    width: 100vw;
    padding: 8rem 0;
    background: var(--primary-color);
    background: #959581; /* Fallback for Safari */
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.townhouse-giveaway-container {
    text-align: center;
    padding: 0 2rem;
}

.townhouse-giveaway-section h1 {
    font-size: 6rem;
    font-weight: 400;
    color: #ffffff;
    margin: 0;
    letter-spacing: -2px;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    white-space: nowrap;
}

.townhouse-giveaway-section h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: white;
    color: #ffffff; /* Explicit white for Safari */
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    -webkit-text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.5px;
    line-height: 1.2;
    opacity: 0.95;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.giveaway-video {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.giveaway-video video,
.giveaway-video iframe {
    max-width: 100%;
    width: 900px;
    height: 506px;
    border-radius: 1rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.2);
    -webkit-border-radius: 1rem;
    -moz-border-radius: 1rem;
}

.townhouse-text {
    margin-top: 3rem;
    text-align: center;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
}

.townhouse-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: white;
    color: #ffffff; /* Explicit white for Safari */
    margin-bottom: 1.5rem;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.townhouse-text p strong {
    color: white;
    color: #ffffff; /* Explicit white for Safari */
    font-weight: 700;
}

@media (max-width: 1024px) {
    .townhouse-giveaway-section h1 {
        font-size: 5rem;
        letter-spacing: -1.5px;
    }
    
    .townhouse-giveaway-section h2 {
        font-size: 2rem;
    }
    
    .giveaway-video video,
    .giveaway-video iframe {
        width: 800px;
        height: 450px;
    }
    
    .townhouse-text {
        margin-top: 2.5rem;
    }
    
    .townhouse-text p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .townhouse-giveaway-section {
        padding: 6rem 0;
    }
    
    .townhouse-giveaway-section h1 {
        font-size: 4rem;
        letter-spacing: -1px;
    }
    
    .townhouse-giveaway-section h2 {
        font-size: 1.8rem;
        letter-spacing: 0;
    }
    
    .giveaway-video {
        margin-top: 2rem;
    }
    
    .giveaway-video video,
    .giveaway-video iframe {
        width: 100%;
        max-width: 600px;
        height: 338px;
    }
    
    .townhouse-text {
        margin-top: 2rem;
        padding: 0 1.5rem;
    }
    
    .townhouse-text p {
        font-size: 1rem;
        margin-bottom: 1.2rem;
    }
}

@media (max-width: 480px) {
    .townhouse-giveaway-section {
        padding: 4rem 0;
    }
    
    .townhouse-giveaway-section h1 {
        font-size: 3rem;
        letter-spacing: -0.5px;
    }
    
    .townhouse-giveaway-section h2 {
        font-size: 1.5rem;
        letter-spacing: 0;
    }
    
    .giveaway-video {
        margin-top: 1.5rem;
    }
    
    .giveaway-video video,
    .giveaway-video iframe {
        width: 100%;
        max-width: 400px;
        height: 225px;
        border-radius: 0.5rem;
        -webkit-border-radius: 0.5rem;
        -moz-border-radius: 0.5rem;
    }
    
    .townhouse-text {
        margin-top: 1.5rem;
        padding: 0 1rem;
    }
    
    .townhouse-text p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
}

/* ===== CONTACT FORM SECTION ===== */
.contact-form-section {
    padding: 6rem 0;
    background: var(--bg-white);
}

/* ===== CUSTOM CONTACT FORM SECTION ===== */
.custom-contact-form-section {
    padding: 6rem 0;
    background: var(--primary-color);
    color: var(--text-white);
}

.custom-contact-form-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.custom-contact-form-container h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-white);
}

.custom-contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 2rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-white);
    font-size: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e1e5e9;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
    background: var(--bg-white);
    color: var(--text-dark);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

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

.custom-contact-form .btn, .custom-submit-btn {
    width: 100% !important;
    padding: 1rem 2rem !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    margin-top: 1rem !important;
    background: #ffffff !important;
    color: #959581 !important;
    border: 2px solid var(--primary-color) !important;
    cursor: pointer !important;
    display: block !important;
    text-decoration: none !important;
    border-radius: 0.5rem !important;
    transition: all 0.3s ease !important;
}

.custom-contact-form .btn:hover,
.custom-submit-btn:hover {
    background: #000000 !important;
    color: #ffffff !important;
    border-color: #000000 !important;
}

/* Form Response Messages */
.form-response {
    margin-top: 2rem;
    padding: 1rem;
    border-radius: 0.5rem;
    text-align: center;
    font-weight: 500;
}

.form-response.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #10b981;
}

.form-response.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #ef4444;
}

.custom-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .custom-contact-form-container h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .custom-contact-form {
        padding: 2rem;
        margin: 0 1rem;
    }
}

@media (max-width: 480px) {
    .custom-contact-form-section {
        padding: 4rem 0;
    }
    
    .custom-contact-form-container h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .custom-contact-form {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }
    
    .form-group {
        margin-bottom: 1.5rem;
    }
}

.contact-form-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.contact-form-container h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.contact-form-embed {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .contact-form-container h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .contact-form-embed {
        margin: 0 1rem;
    }
}

@media (max-width: 480px) {
    .contact-form-section {
        padding: 4rem 0;
    }
    
    .contact-form-container h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .contact-form-embed {
        margin: 0 0.5rem;
    }
}

/* ===== VISION BACKGROUND SECTION ===== */
.vision-background-section {
    width: 100vw;
    height: 100vh;
    background-image: url('https://avalonx.io/assets/images/image-6-1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    display: block;
    min-height: 100vh;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-dark) url('https://avalonx.io/assets/images/Avalon-X-Footer.png') center center/cover no-repeat;
    color: var(--text-dark);
    padding: 4rem 0 2rem;
    position: relative;
}

.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.75);
    pointer-events: none;
}

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

.footer-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.footer-nav {
    margin-top: 2rem;
}

.footer-menu {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem 3rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-menu li {
    margin: 0;
}

.footer-menu a {
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1rem;
    font-weight: 500;
    padding: 0.5rem 0;
    display: block;
}

.footer-menu a:hover {
    color: var(--primary-color);
    transform: translateY(-1px);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    list-style: none;
    margin: 2rem 0 0;
    padding: 0;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.social-links .social-icon {
    width: 24px;
    height: 24px;
    filter: brightness(0) saturate(100%) invert(0%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(0%) contrast(100%);
    transition: var(--transition);
}

/* Enhanced Footer Social Icons */
.social-links a.telegram:hover {
    background: var(--primary-color);
    transform: translateY(-3px) rotate(-2deg);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.social-links a.telegram:hover .social-icon {
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%);
}

.social-links a.twitter:hover {
    background: var(--primary-color);
    transform: translateY(-3px) rotate(2deg);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.social-links a.twitter:hover .social-icon {
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%);
}

.social-links a.instagram:hover {
    background: var(--primary-color);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.social-links a.instagram:hover .social-icon {
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    color: var(--text-dark);
    position: relative;
    z-index: 1;
}

.footer-logo {
    height: 100px;
    width: auto;
    margin: 0 auto 2rem;
    display: block;
}

/* ===== RESPONSIVE DESIGN ===== */
/* Desktop and Tablet Layout */
@media (min-width: 769px) {
    .header-container {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        position: relative !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
    }
    
    .nav-wrapper {
        flex: 1;
        display: flex !important;
        justify-content: center;
        align-items: center;
        position: static !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        width: auto !important;
        height: auto !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        background: transparent !important;
        box-shadow: none !important;
        padding: 0 !important;
        border: none !important;
        max-height: none !important;
        overflow: visible !important;
        z-index: auto !important;
        transition: none !important;
    }
    
    .nav-menu {
        display: flex !important;
        list-style: none !important;
        gap: 2rem !important;
        margin: 0 !important;
        padding: 0 !important;
        flex-shrink: 0 !important;
        z-index: 1001 !important;
        justify-content: center !important;
        flex-direction: row !important;
    }
    
    .nav-menu li {
        border-bottom: none !important;
    }
    
    .nav-menu a {
        border-left: none !important;
        padding: 0.5rem 0 !important;
    }
    
    .header-actions {
        margin-left: auto !important;
        flex-shrink: 0 !important;
        display: flex !important;
        gap: 1rem !important;
    }
    
    .mobile-menu-toggle {
        display: none !important;
    }
    
    .mobile-menu-overlay {
        display: none !important;
    }
    
    .logo {
        margin-right: 2rem !important;
        flex-shrink: 0 !important;
    }
}

@media (max-width: 768px) {
    /* Mobile Overflow Fix - Target specific containers only */
    .container,
    .hero-container,
    .about-container,
    .roadmap-container,
    .strategy-container,
    .tokenomics-container,
    .faq-container,
    .footer-container {
        max-width: 100% !important;
    }
    
    .roadmap h2 {
        font-size: 2rem;
        margin-bottom: 3rem;
    }
    
    .tokenomics h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }
    
    /* Mobile Top Bar */
    .top-bar {
        padding: 0.35rem 0;
        width: 100%;
    }
    
    .top-bar-container {
        padding: 0 1rem;
        max-width: none;
        margin: 0;
        justify-content: flex-end;
    }
    
    .top-bar-socials {
        gap: 0.6rem;
    }
    
    .social-link {
        width: 30px;
        height: 30px;
        font-size: 13px;
    }

    /* Mobile Header */
    .header {
        width: 100%;
        position: sticky !important;
        top: 0 !important;
        z-index: 1000 !important;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    }
    
    .header-container {
        padding: 0.8rem 1rem;
        max-width: none;
        margin: 0;
        display: grid;
        grid-template-columns: 1fr auto 52px;
        gap: 0.75rem;
        align-items: center;
    }
    
    /* Mobile Logo */
    .logo {
        margin-right: 0;
        grid-column: 1;
    }
    
    .logo img {
        height: 58px;
    }
    
    /* Mobile Header Actions */
    .header-actions {
        grid-column: 2;
        display: flex;
        gap: 0.5rem;
        margin-left: 0;
        align-items: center;
        justify-content: center;
    }
    
    .header-actions .btn {
        padding: 0.5rem 0.7rem;
        font-size: 0.75rem;
        min-width: 60px;
        font-weight: 600;
        border-radius: 10px;
        transition: all 0.2s ease;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
        letter-spacing: 0.02em;
        height: 36px;
    }
    
    .header-actions .btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    }
    
    /* REVAMPED MOBILE MENU TOGGLE */
    .mobile-menu-toggle {
        grid-column: 3;
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 48px !important;
        height: 48px !important;
        cursor: pointer;
        border-radius: 12px;
        transition: all 0.2s ease;
        z-index: 1001;
        position: relative;
        background: linear-gradient(135deg, var(--primary-color), #7a7a6a);
        border: none;
        outline: none;
        visibility: visible !important;
        opacity: 1 !important;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
        user-select: none;
        padding: 0;
        box-shadow: 0 4px 12px rgba(149, 149, 129, 0.3);
        gap: 3px;
    }
    
    .mobile-menu-toggle:hover {
        transform: scale(1.05);
        box-shadow: 0 6px 16px rgba(149, 149, 129, 0.4);
    }
    
    .mobile-menu-toggle.active {
        background: linear-gradient(135deg, #7a7a6a, #5c5c4f);
        transform: rotate(90deg);
    }
    
    .mobile-menu-toggle:active {
        transform: scale(0.95);
    }
    
    .mobile-menu-toggle span {
        width: 20px !important;
        height: 2px !important;
        background: white !important;
        border-radius: 1px;
        transition: all 0.2s ease;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative;
        flex-shrink: 0;
        margin: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    /* REVAMPED MOBILE NAVIGATION */
    .nav-wrapper {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100vh !important;
        background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%) !important;
        transform: translateY(-100%) !important;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        z-index: 1000 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        padding: 2rem !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
    }

    .nav-wrapper.active {
        transform: translateY(0) !important;
    }
    
    /* REVAMPED MOBILE MENU OVERLAY */
    .mobile-menu-overlay {
        display: none !important;
    }

    /* REVAMPED MOBILE MENU ITEMS */
    .nav-menu {
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 400px !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 0.8rem !important;
    }
    
    .nav-menu li {
        width: 100% !important;
        margin: 0 !important;
        border: none !important;
    }
    
    .nav-menu a {
        display: block !important;
        padding: 1.5rem 2rem !important;
        font-size: 1.2rem !important;
        font-weight: 600 !important;
        color: var(--text-dark) !important;
        text-decoration: none !important;
        text-align: center !important;
        background: white !important;
        border-radius: 16px !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
        transition: all 0.2s ease !important;
        position: relative !important;
        z-index: 1001 !important;
        border: 2px solid transparent !important;
        touch-action: manipulation !important;
        -webkit-tap-highlight-color: transparent !important;
        cursor: pointer !important;
        pointer-events: auto !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100% !important;
    }
    
    /* Remove underline from mobile menu items */
    .nav-menu a::before {
        display: none !important;
    }
    
    .nav-menu a:hover,
    .nav-menu a:focus {
        transform: translateY(-3px) !important;
        box-shadow: 0 8px 24px rgba(149, 149, 129, 0.2) !important;
        background: linear-gradient(135deg, var(--primary-color), #7a7a6a) !important;
        color: white !important;
        border-color: var(--primary-color) !important;
    }
    
    .nav-menu a.active {
        background: linear-gradient(135deg, var(--primary-color), #7a7a6a) !important;
        color: white !important;
        border-color: var(--primary-color) !important;
        box-shadow: 0 6px 18px rgba(149, 149, 129, 0.25) !important;
        transform: translateY(-2px) !important;
    }
    
    .nav-menu a:active {
        transform: translateY(0) !important;
        transition: all 0.1s ease !important;
    }

    /* Mobile Typography */
    h1, h4, h5, h6 {
        font-size: clamp(1.8rem, 4vw, 2.5rem) !important;
    }
    
    h2 {
        font-size: clamp(2.5rem, 8vw, 4rem) !important;
        font-weight: 400 !important;
    }
    
    h3 {
        font-size: clamp(1.5rem, 4vw, 2rem) !important;
        font-weight: 500 !important;
    }

    /* Mobile Layouts */
    .welcome-container,
    .vision-container,
    .strategy-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 0 1.5rem;
    }
    
    .strategy-content h2 {
        font-size: 1.8rem;
    }

    /* Mobile Countdown Widget */
    .countdown-container {
        padding: 2rem 1.5rem;
        margin: 0;
        border-radius: 20px;
    }

    .countdown {
        flex-wrap: nowrap;
        gap: 0.75rem;
        justify-content: center;
        width: 100%;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .countdown-item {
        width: 85px;
        min-width: 85px;
        max-width: 85px;
        padding: 1.25rem 0.5rem;
        flex: 1;
        height: 121px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .countdown-number {
        font-size: 2.1rem;
        font-weight: 400;
    }

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

    .countdown-title {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .countdown-container h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .payment-buttons {
        flex-direction: row;
        align-items: center;
        gap: 0.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .payment-btn {
        padding: 0.75rem 1rem;
        font-size: 0.8rem;
        width: auto;
        min-width: 80px;
        justify-content: center;
        flex: 1;
    }

    /* Mobile Roadmap - Animated Progress Bar Style */
    .roadmap-timeline {
        max-width: 100%;
        padding: 0 0 0 5rem;
        position: relative;
    }
    
    /* Animated Progress Bar */
    .roadmap-timeline::before {
        content: '';
        position: absolute;
        left: 1rem;
        top: 0;
        bottom: 0;
        width: 40px;
        background: linear-gradient(180deg, var(--primary-color) 0%, #3a3a2a  100%);
        border-radius: 20px;
        z-index: 1;
    }
    
    /* Animated Circle Indicator */
    .roadmap-timeline::after {
        content: '';
        position: absolute;
        left: 0.65rem;
        top: var(--circle-position, 2rem);
        width: 46px;
        height: 46px;
        background: var(--primary-color);
        border: 4px solid white;
        border-radius: 50%;
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.25);
        z-index: 2;
        transition: top 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .roadmap-phase {
        width: 100% !important;
        margin: 0 0 2rem 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding: 1.5rem 1.5rem 1.5rem 2rem !important;
        text-align: left !important;
        border-radius: 12px;
        position: relative;
        background: linear-gradient(135deg, var(--primary-color), #7a7a6a);
        border: 2px solid rgba(255, 255, 255, 0.2);
        box-shadow: var(--shadow);
        transition: var(--transition);
        opacity: 1;
        color: var(--text-white);
    }

    .roadmap-phase::before {
        display: none !important;
    }
    
    .roadmap-phase.active {
        opacity: 1;
        transform: translateX(8px);
        border-color: var(--primary-color);
        box-shadow: var(--shadow-lg);
    }
    
    .roadmap-phase.current {
        opacity: 1;
        border-color: var(--primary-color);
        box-shadow: var(--shadow-lg);
        background: linear-gradient(135deg, var(--primary-color), #7a7a6a);
        color: var(--text-white);
    }
    
    .roadmap-phase h3 {
        font-size: 1.3rem;
        margin-bottom: 0.75rem;
        color: var(--text-white);
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
    
    .roadmap-phase ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }
    
    .roadmap-phase h3::before {
        content: '';
        width: 8px;
        height: 8px;
        background: var(--text-white);
        border-radius: 50%;
        flex-shrink: 0;
    }
    
    .roadmap-phase.current h3 {
        color: var(--text-white);
    }
    
    .roadmap-phase.current h3::before {
        background: var(--text-white);
    }
    
    .roadmap-phase li {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 0.5rem;
        padding-left: 1rem !important;
        padding-right: 0 !important;
        position: relative;
        color: rgba(255, 255, 255, 0.9);
        list-style: none;
    }
    
    .roadmap-phase li::before {
        content: '✓' !important;
        position: absolute !important;
        left: 0 !important;
        right: auto !important;
        top: 0;
        color: var(--text-white);
        font-size: 1rem;
        font-weight: 600;
        line-height: 1.5;
    }
    
    .roadmap-phase.current li {
        color: rgba(255, 255, 255, 0.9);
    }
    
    .roadmap-phase.current li::before {
        color: var(--text-white) !important;
    }

    /* Mobile Footer */
    .footer-container {
        text-align: center;
    }

    .footer-menu {
        gap: 1rem 2rem;
        font-size: 0.9rem;
    }

    .social-links {
        justify-content: center;
    }
    
    /* Mobile Footer Logo */
    .footer-logo {
        height: 70px;
        margin-bottom: 1.5rem;
    }
    
    /* Mobile Back to Top */
    .back-to-top {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    /* Mobile Sections */
    .welcome,
    .tier-breakdown,
    .vision,
    .how-to-buy,
    .tokenomics,
    .roadmap,
    .strategy,
    .faq {
        padding: 3rem 0;
    }

    /* Mobile Hero */
    .hero {
        min-height: 20vh;
    }

    /* Mobile Containers */
    .tier-container,
    .vision-container,
    .how-to-buy-container,
    .tokenomics-container,
    .roadmap-container,
    .strategy-container,
    .faq-container {
        padding: 0 1rem;
    }
    
    /* Mobile FAQ */
    .faq-item {
        margin-bottom: 1rem;
        border-radius: 12px;
    }
    
    .faq-question {
        padding: 1.5rem 1.5rem 1.5rem 1.75rem;
        font-size: 1rem;
    }
    
    .faq-question:hover,
    .faq-question.active {
        padding-left: 2rem;
    }
    
    .faq-question::after {
        width: 24px;
        height: 24px;
        font-size: 1.2rem;
    }
    
    .faq-answer.active {
        padding: 1.25rem 1.75rem 1.75rem 1.75rem;
    }
    
    .faq-answer p {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    /* Mobile Cards */
    .tier-card,
    .step-card {
        padding: 1.5rem;
    }

    /* Mobile Images */
    .vision-image img,
    .strategy-image img {
        border-radius: 8px;
    }

    /* Mobile Header */
    .logo img {
        height: 63px;
    }
    
    /* Mobile Welcome Section */
    .welcome-content h2 {
        font-size: 2.5rem;
        letter-spacing: 1px;
    }

    .avalon-logo {
        height: 110px;
    }

    .welcome-content p {
        font-size: 1rem;
    }

    /* Mobile Tier Grid */
    .tier-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Mobile Steps Grid */
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Mobile FAQ */
    .faq-question {
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
    }

    .faq-answer {
        padding: 0 1.5rem;
    }

    .faq-answer.active {
        padding: 0 1.5rem 1rem;
    }
}

@media (max-width: 480px) {
    /* Extra Small Mobile Typography */
    h1, h4, h5, h6 {
        font-size: clamp(1.5rem, 3.5vw, 2rem) !important;
    }
    
    h2 {
        font-size: clamp(2rem, 6vw, 3rem) !important;
        font-weight: 400 !important;
    }
    
    h3 {
        font-size: clamp(1.2rem, 3vw, 1.5rem) !important;
        font-weight: 500 !important;
    }

    /* Extra Small Mobile Layouts */
    .header-container {
        padding: 0.5rem 0.75rem;
        gap: 0.5rem;
        grid-template-columns: 1fr auto 52px;
    }
    
    .top-bar {
        padding: 0.3rem 0;
    }
    
    .top-bar-container {
        padding: 0 0.75rem;
        justify-content: flex-end;
    }
    
    .social-link {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    
    .top-bar-socials {
        gap: 0.5rem;
    }
    
    /* Extra Small Mobile Header Actions */
    .header-actions .btn {
        padding: 0.4rem 0.6rem;
        font-size: 0.7rem;
        min-width: 55px;
        font-weight: 600;
        border-radius: 8px;
        letter-spacing: 0.01em;
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
        height: 32px;
    }
    
    /* Extra Small Mobile Menu Toggle */
    .mobile-menu-toggle {
        width: 44px !important;
        height: 44px !important;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        padding: 10px !important;
        touch-action: manipulation;
        -webkit-tap-highlight-color: rgba(149, 149, 129, 0.3);
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }
    
    .mobile-menu-toggle span {
        width: 22px !important;
        height: 2.5px !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        background: var(--text-dark) !important;
    }

    .hero {
        min-height: 20vh;
    }

    .hero-content,
    .welcome-container,
    .vision-container,
    .tokenomics-container,
    .roadmap-container,
    .faq-container,
    .footer-container {
        padding: 0 0.75rem;
    }
    
    .roadmap h2 {
        font-size: 1.75rem;
        margin-bottom: 2.5rem;
    }
    
    .tokenomics h2 {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }

    /* Extra Small Mobile Countdown */
    .countdown-container {
        padding: 1.5rem 1rem;
        margin: 0;
        border-radius: 15px;
    }

    .countdown {
        gap: 0.75rem;
        width: 100%;
        max-width: 380px;
        margin-left: auto;
        margin-right: auto;
        padding: 0 0.5rem;
    }

    .countdown-item {
        width: 70px;
        min-width: 70px;
        max-width: 70px;
        padding: 1rem 0.25rem;
        flex: 1;
        height: 92px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .countdown-number {
        font-size: 1.9rem;
    }

    .countdown-label {
        font-size: 0.65rem;
    }

    .countdown-title {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .countdown-container h3 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    /* Extra Small Mobile Cards */
    .tier-card,
    .step-card {
        padding: 1rem;
    }

    /* Extra Small Mobile Sections */
    .welcome,
    .tier-breakdown,
    .vision,
    .how-to-buy,
    .tokenomics,
    .roadmap,
    .strategy,
    .faq {
        padding: 2rem 0;
    }
    
    /* Extra Small Mobile Tokenomics Optimization */
    .tokenomics {
        padding: 1.5rem 0;
    }

    /* Extra Small Mobile Buttons */
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
        min-width: 100px;
    }

    .payment-btn {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }

    /* Extra Small Mobile Containers */
    .tier-container,
    .vision-container,
    .how-to-buy-container,
    .tokenomics-container,
    .roadmap-container,
    .strategy-container,
    .faq-container {
        padding: 0 0.75rem;
    }

    /* Extra Small Mobile Header */
    .logo img {
        height: 52px;
    }

    /* Extra Small Mobile Welcome */
    .welcome-content h2 {
        font-size: 2rem;
        letter-spacing: 0.5px;
    }

    .avalon-logo {
        height: 95px;
    }

    /* Extra Small Mobile Navigation */
    .nav-wrapper {
        padding: 1.5rem;
    }

    .nav-menu a {
        padding: 0.75rem 0;
        font-size: 1rem;
    }

    /* Extra Small Mobile FAQ */
    .faq-question {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    .faq-answer {
        padding: 0 1rem;
    }

    .faq-answer.active {
        padding: 0 1rem 0.75rem;
    }

    /* Extra Small Mobile Footer */
    .footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-menu {
        gap: 0.75rem 1.5rem;
        font-size: 0.85rem;
    }
    
    /* Extra Small Mobile Footer Logo */
    .footer-logo {
        height: 60px;
        margin-bottom: 1.25rem;
    }
    
    /* Extra Small Mobile Back to Top */
    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    /* Extra Small Mobile Roadmap */
    .roadmap-phase {
        padding: 0.75rem 0.75rem 0.75rem 40px;
    }

    .roadmap-phase::before {
        left: 8px !important;
        width: 15px;
        height: 15px;
    }

    /* Extra Small Mobile Payment Buttons */
    .payment-buttons {
        gap: 0.25rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .payment-btn {
        max-width: none;
        padding: 0.5rem 0.5rem;
        min-width: 60px;
        font-size: 0.7rem;
    }

    /* Extra Small Mobile Progress Bar */
    .progress-bar {
        height: 6px;
    }

    /* Extra Small Mobile Step Numbers */
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    /* Extra Small Mobile Tier Cards */
    .tier-name {
        font-size: 1.5rem;
    }

    .tier-price {
        font-size: 1.25rem;
    }

    /* Extra Small Mobile Social Links */
    .social-links a {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* ===== UTILITY CLASSES ===== */
.text-center { 
    text-align: center; 
}

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

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

@media (max-width: 768px) {
    .d-md-none { display: none; }
    .d-md-block { display: block; }
}

@media (max-width: 480px) {
    .d-sm-none { display: none; }
    .d-sm-block { display: block; }
} 

/* ===== MOBILE MENU OVERLAY ===== */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.roadmap-phase:nth-child(even)::before {
    left: -62px;
}

.roadmap-phase h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: inherit;
}

.roadmap-phase.current h3 {
    color: var(--text-white);
}

.roadmap-phase ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.roadmap-phase li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
    padding-left: 1.25rem;
    position: relative;
}

.roadmap-phase li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--text-white);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.6;
}

/* Odd phases (left side) - bullet points on right */
.roadmap-phase:nth-child(odd) li {
    padding-left: 0;
    padding-right: 1.25rem;
}

.roadmap-phase:nth-child(odd) li::before {
    left: auto;
    right: 0;
}

.roadmap-phase.current li {
    color: rgba(255, 255, 255, 0.9);
}

.roadmap-phase.current li::before {
    color: var(--text-white);
}

.roadmap-phase.current::before {
    background: var(--text-white);
    border: 3px solid var(--primary-color);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.7), 0 0 25px rgba(149, 149, 129, 0.4);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { 
        transform: translateY(-50%) scale(1);
        box-shadow: 0 0 15px rgba(255, 255, 255, 0.7);
    }
    50% { 
        transform: translateY(-50%) scale(1.1);
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.9);
    }
}

/* ===== BUY NOW BUTTON ===== */
.buy-now-section {
    margin: 1.5rem 0 0 0;
    position: relative;
    z-index: 2;
    width: 100%;
}

.btn-buy-now {
    background: #ffffff;
    color: var(--primary-color);
    padding: 1.25rem 2rem;
    border-radius: 15px;
    text-decoration: none;
    font-family: "Plus Jakarta Sans", Arial, Helvetica, sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    width: 100%;
}

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

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

.btn-buy-now:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.6);
    background: #f8f8f8;
}

.btn-buy-now:active {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.5);
}

.buy-text {
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.btn-buy-now i {
    font-size: 1.3rem;
    animation: rocket-pulse 2s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

@keyframes rocket-pulse {
    0%, 100% { 
        transform: scale(1) rotate(0deg);
    }
    50% { 
        transform: scale(1.2) rotate(-5deg);
    }
}

/* Mobile BUY NOW Button */
@media (max-width: 768px) {
    .buy-now-section {
        margin: 1.25rem 0 0 0;
    }
    
    .btn-buy-now {
        padding: 1.1rem 1.5rem;
        font-size: 1.2rem;
        gap: 0.5rem;
        width: 100%;
    }
    
    .btn-buy-now i {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .buy-now-section {
        margin: 1rem 0 0 0;
    }
    
    .btn-buy-now {
        padding: 1rem 1rem;
        font-size: 1.1rem;
        letter-spacing: 0.8px;
        width: 100%;
    }
    
    .btn-buy-now i {
        font-size: 1.1rem;
    }
}

/* ===== TAWK.TO WIDGET OVERRIDE ===== */
/* Ensure Tawk.to widget appears above all other elements */
#tawkto-container,
.tawk-min-container,
.tawk-min-container iframe,
.tawk-min-container .tawk-min-chat,
.tawk-min-container .tawk-min-chat iframe {
    z-index: 999999 !important;
    position: fixed !important;
}

/* Ensure Tawk.to widget is not hidden by other elements */
.tawk-min-container,
.tawk-min-container * {
    z-index: 999999 !important;
}

/* Override any potential conflicts with existing z-index values */
[data-tawk-to] {
    z-index: 999999 !important;
}

/* ===== MODAL STYLES ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: linear-gradient(135deg, var(--primary-color) 0%, #7a7a6a 100%);
    border-radius: 20px;
    max-width: 1320px;
    width: 95%;
    max-height: 88vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.active .modal-container {
    transform: scale(1) translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header h3 {
    color: var(--text-white);
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}

.modal-close {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-white);
    font-size: 0.9rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    opacity: 0.9;
    backdrop-filter: blur(10px);
    font-weight: 500;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    opacity: 1;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.modal-content {
    padding: 1.5rem 2rem;
    text-align: center;
}

.modal-intro {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.intro-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-white);
    flex-shrink: 0;
}

.modal-intro-content {
    flex: 1;
}

.modal-intro h4 {
    color: var(--text-white);
    font-size: 1rem;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.modal-intro p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
    margin: 0;
    font-size: 0.9rem;
}

.modal-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
}

.step-item {
    max-width: 600px;
    margin: 0 auto;
}

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

.step-content h5 {
    color: var(--text-white);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.step-content p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    margin-bottom: 0.75rem;
}

.service-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.service-list li:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.service-list li i {
    color: #4CAF50;
    font-size: 0.9rem;
    background: white;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.5rem;
}

.pro-tip, .reminder {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 10px;
    margin-top: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.pro-tip i {
    color: #FFD700;
    font-size: 1.1rem;
    margin-top: 0.1rem;
}

.reminder i {
    color: #FF9800;
    font-size: 1.1rem;
    margin-top: 0.1rem;
}

.pro-tip span, .reminder span {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
    font-size: 0.85rem;
}

.modal-footer {
    padding: 0.75rem 2rem 1rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-footer .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.modal-footer .btn-buy-now {
    width: 286px;
    justify-content: center;
    margin: 0 auto;
    display: flex;
}

.modal-footer .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Mobile Responsive Modal */
@media (max-width: 768px) {
    .modal-container {
        width: 95%;
        max-height: 90vh;
        margin: 1rem;
    }
    
    .service-list {
        gap: 1rem;
    }
    
    .service-list li {
        padding: 0.4rem 0.75rem;
        font-size: 0.9rem;
    }
    
    .modal-header {
        padding: 1rem 1.5rem 0.75rem;
    }
    
    .modal-header h3 {
        font-size: 1.1rem;
    }
    
    .modal-content {
        padding: 1rem 1.5rem;
        text-align: center;
    }
    
    .modal-intro {
        padding: 0.5rem;
        margin-bottom: 1rem;
        gap: 0.5rem;
        justify-content: center;
        text-align: center;
    }
    
    .intro-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .modal-intro h4 {
        font-size: 0.95rem;
        text-align: center;
    }
    
    .modal-intro p {
        font-size: 0.85rem;
        text-align: center;
    }
    
    .modal-steps {
        text-align: center;
    }
    
    .step-item {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .step-content {
        text-align: center;
        width: 100%;
    }
    
    .step-content h5 {
        font-size: 0.95rem;
        text-align: center;
    }
    
    .step-content p {
        text-align: center;
    }
    
    .pro-tip, .reminder {
        justify-content: center;
        text-align: center;
        max-width: 600px;
    }
    
    .pro-tip span, .reminder span {
        text-align: center;
    }
    
    .modal-footer {
        padding: 0.5rem 1.5rem 0.75rem;
        text-align: center;
    }
    
    .modal-footer .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .modal-container {
        width: 98%;
        margin: 0.5rem;
        max-height: 85vh;
    }
    
    .service-list {
        gap: 0.5rem;
        flex-direction: column;
        align-items: center;
    }
    
    .service-list li {
        padding: 0.3rem 0.5rem;
        font-size: 0.85rem;
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }
    
    .modal-header {
        padding: 0.75rem 1rem 0.5rem;
    }
    
    .modal-header h3 {
        font-size: 0.9rem;
    }
    
    .modal-content {
        padding: 0.75rem 1rem;
        text-align: center;
    }
    
    .modal-intro {
        padding: 0.4rem;
        margin-bottom: 0.75rem;
        gap: 0.4rem;
        justify-content: center;
        text-align: center;
    }
    
    .intro-icon {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    
    .modal-intro h4 {
        font-size: 0.9rem;
        text-align: center;
    }
    
    .modal-intro p {
        font-size: 0.8rem;
        text-align: center;
    }
    
    .modal-steps {
        text-align: center;
    }
    
    .step-item {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .step-content {
        text-align: center;
        width: 100%;
    }
    
    .step-content h5 {
        font-size: 0.9rem;
        text-align: center;
    }
    
    .step-content p {
        text-align: center;
    }
    
    .pro-tip, .reminder {
        padding: 0.75rem;
        margin-top: 0.75rem;
        justify-content: center;
        text-align: center;
        max-width: 500px;
    }
    
    .pro-tip span, .reminder span {
        font-size: 0.8rem;
        text-align: center;
    }
    
    .modal-footer {
        padding: 0.5rem 1rem 0.75rem;
        text-align: center;
    }
    
    .modal-footer .btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}

