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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #1a1a1a;
    color: #fff;
    min-height: 100vh;
    padding-bottom: 100px;
}

.navbar {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.navbar .logo {
    color: #ffeb3b;
    font-size: 20px;
    font-weight: bold;
}

.navbar ul {
    list-style: none;
    display: flex;
}

.navbar ul li {
    margin: 0 10px;
}

.navbar ul li a {
    color: #ffeb3b;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s, transform 0.2s;
}

.navbar ul li a:hover {
    color: white;
    transform: scale(1.1);
}

.main-content {
    max-width: 480px;
    margin: 0 auto;
    padding: 1.5em 1em;
    width: 100%;
}

.hero-section {
    text-align: center;
    margin-bottom: 1.5em;
}

.hero-section h1 {
    color: #ffeb3b;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 0.3em;
}

.subtitle {
    color: #ccc;
    font-size: 0.9rem;
    font-weight: 300;
}

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1em;
    margin-top: 1em;
    width: 100%;
}

.pricing-card {
    background: #2a2a2a;
    border: 2px solid #333;
    border-radius: 12px;
    padding: 0.8em 0.8em;
    text-align: left;
    transition: all 0.3s ease;
    position: relative;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.card-content {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 1.5em;
    margin-top: 0.5em;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: #ffeb3b;
    box-shadow: 0 10px 30px rgba(255, 235, 59, 0.2);
}

.pricing-card.featured {
    border-color: #ffeb3b;
    background: linear-gradient(135deg, #2a2a2a 0%, #1f1f1f 100%);
    box-shadow: 0 8px 25px rgba(255, 235, 59, 0.15);
}

.badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffeb3b;
    color: #000;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
}

.pricing-card h3 {
    color: #ffeb3b;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.3em;
    margin-top: 0.5em;
    padding-top: 0.3em;
    text-align: center;
}

.price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-shrink: 0;
    flex-grow: 0;
    min-width: 70px;
    max-width: 70px;
    padding-right: 0.5em;
    margin-right: 0.25em;
    border-right: 1px solid #444;
}

.price-row {
    display: flex;
    align-items: baseline;
    gap: 2px;
    white-space: nowrap;
}

.currency {
    color: #ffeb3b;
    font-size: 0.9rem;
    font-weight: 600;
}

.amount {
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.period {
    color: #999;
    font-size: 0.7rem;
    margin-left: 2px;
}

.features {
    list-style: none;
    text-align: left;
    padding: 0;
    margin: 0;
    flex: 1 1 0;
    min-width: 0;
    max-width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.25em 1em;
    align-content: start;
    align-self: stretch;
}

.features li {
    color: #ccc;
    padding: 0.25em 0;
    font-size: 0.75rem;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

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

.cta-button {
    margin-top: 15px;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    color: #ffeb3b;
    border: 2px solid #ffeb3b;
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 235, 59, 0.2);
    letter-spacing: 0.5px;
}

.cta-button:hover {
    background: #ffeb3b;
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 235, 59, 0.4);
}

.cta-button:active {
    transform: translateY(0);
}

#open-drawer-btn {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    margin: 0;
    width: auto;
    min-width: 200px;
    padding: 14px 32px;
    font-size: 1rem;
}

/* Drawer Styles */
.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

.checkout-drawer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    z-index: 999;
    max-height: 90vh;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.checkout-drawer.active {
    transform: translateY(0);
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s;
    z-index: 1000;
}

.close-btn:hover {
    background-color: #f0f0f0;
}

.drawer-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    padding-top: 10px;
    padding-bottom: 0px;
}

.ape-container {
    background-color: #FFFFFF;
    padding: 20px;
    border-radius: 12px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-content {
        padding: 1em 0.8em;
    }
    
    .hero-section {
        margin-bottom: 1em;
    }
    
    .hero-section h1 {
        font-size: 1.5rem;
        margin-bottom: 0.2em;
    }
    
    .subtitle {
        font-size: 0.8rem;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 0.8em;
        margin-top: 0.5em;
    }
    
    .pricing-card {
        padding: 0.6em 0.5em;
    }
    
    .pricing-card h3 {
        font-size: 0.9rem;
        margin-bottom: 0.2em;
    }
    
    .card-content {
        gap: 1.2em;
        margin-top: 0.3em;
    }
    
    .price {
        min-width: 55px;
        max-width: 55px;
        padding-right: 0.4em;
        margin-right: 0.2em;
    }
    
    .amount {
        font-size: 1.6rem;
    }
    
    .currency {
        font-size: 0.8rem;
    }
    
    .period {
        font-size: 0.65rem;
    }
    
    .features li {
        font-size: 0.7rem;
        padding: 0.2em 0;
    }
    
    #open-drawer-btn {
        min-width: 180px;
        padding: 12px 28px;
        font-size: 0.95rem;
        bottom: 15px;
    }
    
    .navbar {
        padding: 10px 12px;
    }
    
    .navbar .logo {
        font-size: 18px;
    }
    
    .navbar ul li a {
        font-size: 13px;
    }
}
