/* ============================================
   APP STORE BUTTON MOLECULE
   ============================================ */

.app-store-button {
    /* Inherits from .btn base styles */
}

/* Platform-specific styles */
.app-store-button--app-store {
    /* App Store specific styling if needed */
}

.app-store-button--google-play {
    /* Google Play specific styling if needed */
}

/* ============================================
   BUTTON VARIANTS
   ============================================ */

/* Simple variant (single line text) */
.app-store-button--simple {
    /* Default single-line layout */
}

/* Detailed variant (two-line text) */
.app-store-button--detailed {
    /* Two-line layout with subtext and main text */
}

.app-store-button__text-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    line-height: 1.2;
}

.app-store-button__subtext {
    font-size: 12px;
    opacity: 0.8;
    margin-bottom: 2px;
    font-weight: 500;
}

.app-store-button__text {
    font-size: 20px;
    font-weight: 700;
}

/* Size adjustments for detailed variant */
.app-store-button--small .app-store-button__subtext {
    font-size: 10px;
}

.app-store-button--small .app-store-button__text {
    font-size: 16px;
}

.app-store-button--medium .app-store-button__subtext {
    font-size: 11px;
}

.app-store-button--medium .app-store-button__text {
    font-size: 18px;
}

.app-store-button--large .app-store-button__subtext {
    font-size: 12px;
}

.app-store-button--large .app-store-button__text {
    font-size: 20px;
}

/* Hero Section App Store Buttons (Legacy Support) */
.hero-buttons .app-store-button {
    /* Maintain existing hero button styles */
}

/* Download CTA Section Buttons */
.download-buttons .app-store-button {
    /* Maintain existing download button styles */
    padding: 20px 40px;
    border-radius: 18px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.download-buttons .app-store-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}

/* Text color changes on hover for detailed variant */
.btn--primary:hover:not(.btn--disabled) .app-store-button__text-wrapper,
.app-store-button--primary:hover:not(.btn--disabled) .app-store-button__text-wrapper {
    color: white;
}

.btn--primary:hover:not(.btn--disabled) .app-store-button__subtext,
.app-store-button--primary:hover:not(.btn--disabled) .app-store-button__subtext {
    color: white;
    opacity: 0.95;
}

.btn--primary:hover:not(.btn--disabled) .app-store-button__text,
.app-store-button--primary:hover:not(.btn--disabled) .app-store-button__text {
    color: white;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .app-store-button--detailed .app-store-button__subtext {
        font-size: 11px;
    }
    
    .app-store-button--detailed .app-store-button__text {
        font-size: 18px;
    }
    
    .download-buttons .app-store-button {
        padding: 16px 32px;
    }
}

