/* RoastMe - Premium Apple-Quality Styles */

:root {
    --bg-color: #F5F5F7;
    --card-bg: rgba(255, 255, 255, 0.9);
    --primary-blue: #007AFF;
    --fire-red: #FF3B30;
    --text-grey: #8E8E93;
    --shadow-soft: 0 8px 20px rgba(0, 0, 0, 0.08);
    --shadow-card: 0 12px 24px rgba(0, 0, 0, 0.12);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-color);
    color: #1d1d1f;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Result page specific background */
#result-page {
    background: #1d1d1f;
}

/* Page Container */
.page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.page.active {
    opacity: 1 !important;
    transform: translateY(0) !important;
    display: flex !important;
}

.page.hidden {
    display: none !important;
}

/* Container */
.container {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
}

/* Landing Page Styles */
.landing-hero {
    text-align: center;
    margin-bottom: 3rem;
}

.landing-hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    line-height: 1.1;
    color: #1d1d1f;
    background: linear-gradient(135deg, #FF3B30 0%, #FF9500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ai-highlight {
    background: linear-gradient(135deg, #007AFF 0%, #5856D6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    text-shadow: 0 0 30px rgba(0, 122, 255, 0.3);
    animation: ai-glow 2s ease-in-out infinite;
}

@keyframes ai-glow {
    0%, 100% {
        opacity: 1;
        filter: brightness(1);
    }
    50% {
        opacity: 0.9;
        filter: brightness(1.2);
    }
}

.landing-hero p {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--text-grey);
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

/* Samples Section */
.samples-section {
    margin: 4rem 0 3rem;
    width: 100%;
    background: white;
    border: 1px solid #e5e5e7;
    border-radius: 20px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    padding: 1.5rem 1.25rem 2rem;
}

.samples-title {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    color: #1d1d1f;
    letter-spacing: -0.01em;
    animation: subtle-bounce 3s ease-in-out infinite;
}

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

/* Share Modal Styles */
.share-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.share-modal.hidden {
    display: none;
}

.share-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.share-modal-content {
    position: relative;
    background: white;
    border-radius: 24px;
    padding: 2rem;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 1;
    animation: modalSlideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.share-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #f0f0f0;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    transition: all 0.2s ease;
}

.share-modal-close:hover {
    background: #e0e0e0;
    transform: rotate(90deg);
}

.share-modal-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 0.5rem;
    text-align: center;
}

.share-modal-subtitle {
    font-size: 1rem;
    color: var(--text-grey);
    text-align: center;
    margin-bottom: 2rem;
}

.share-link-container {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 2rem;
    background: #f5f5f7;
    padding: 0.75rem;
    border-radius: 12px;
}

.share-link-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e5e7;
    border-radius: 10px;
    font-size: 0.9rem;
    background: white;
    color: #1d1d1f;
    font-family: inherit;
}

.copy-link-btn {
    padding: 0.75rem 1.5rem;
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.copy-link-btn:hover {
    background: #0056cc;
    transform: translateY(-1px);
}

.share-platforms {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.share-platform-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: #f5f5f7;
    border: 2px solid #e5e5e7;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1d1d1f;
}

.share-platform-btn i {
    font-size: 1.5rem;
}

.share-platform-btn:hover {
    background: #e8e8e8;
    transform: translateY(-2px);
    border-color: var(--primary-blue);
}

.share-platform-btn[data-platform="whatsapp"]:hover {
    border-color: #25D366;
    color: #25D366;
}

.share-platform-btn[data-platform="twitter"]:hover {
    border-color: #1DA1F2;
    color: #1DA1F2;
}

.share-platform-btn[data-platform="facebook"]:hover {
    border-color: #1877F2;
    color: #1877F2;
}

.share-platform-btn[data-platform="messenger"]:hover {
    border-color: #0084FF;
    color: #0084FF;
}

.share-platform-btn[data-platform="telegram"]:hover {
    border-color: #0088cc;
    color: #0088cc;
}

.share-platform-btn[data-platform="instagram"]:hover {
    border-color: #E4405F;
    color: #E4405F;
}

.copy-success-message {
    text-align: center;
    color: #34C759;
    font-weight: 600;
    padding: 0.75rem;
    background: #E8F5E9;
    border-radius: 8px;
    margin-top: 1rem;
}

.copy-success-message.hidden {
    display: none;
}

/* Cross promo */
.cross-promo {
    margin-top: 2.5rem;
}

.cross-promo h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 1rem;
    text-align: center;
}

.cross-promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
}

.cross-promo-card {
    display: block;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e5e5e7;
    box-shadow: 0 8px 18px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background: white;
}

.cross-promo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cross-promo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

@media (max-width: 480px) {
    .share-platforms {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .share-modal-content {
        padding: 1.5rem;
    }
    
    .share-link-container {
        flex-direction: column;
    }
    
    .copy-link-btn {
        width: 100%;
    }
}

/* CTA Button */
.cta-button {
    background: linear-gradient(135deg, #FF3B30 0%, #FF9500 100%);
    color: white;
    border: none;
    padding: 1.375rem 2.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(255, 59, 48, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    letter-spacing: -0.01em;
}

.cta-button:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 8px 28px rgba(255, 59, 48, 0.5);
}

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

.cta-button.wobble {
    animation: wobble 3s ease-in-out infinite;
}

@keyframes wobble {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    2% {
        transform: rotate(-2deg) scale(1.02);
    }
    4% {
        transform: rotate(2deg) scale(1.02);
    }
    6% {
        transform: rotate(-2deg) scale(1.02);
    }
    8% {
        transform: rotate(2deg) scale(1.02);
    }
    10% {
        transform: rotate(0deg) scale(1);
    }
}

/* Sample Roast Carousel */
.carousel-container {
    margin: 2rem 0;
    overflow: hidden;
    padding: 0 1rem;
    width: 100%;
}

.carousel-track {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: grab;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scroll-snap-align: center;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

.carousel-track::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.carousel-track:active {
    cursor: grabbing;
}

.sample-roast-card {
    min-width: 85%;
    max-width: 85%;
    width: 85%;
    background: white;
    border-radius: 20px;
    /* box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12); */
    border: 1px solid #e5e5e7;
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
    scroll-snap-align: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
}

.sample-card-header {
    background: linear-gradient(135deg, #ff6b9d 0%, #ff8e53 100%);
    color: white;
    padding: 0.75rem 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-align: center;
}

.sample-card-body {
    padding: 1.25rem 1rem 1.5rem;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #1d1d1f;
    font-weight: 600;
    background: white;
}

.sample-roast-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

@media (hover: none) {
    .sample-roast-card:hover {
        transform: none;
    }
}

.sample-roast-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #1d1d1f;
}

/* Footer Note */
.footer-note {
    text-align: center;
    margin-top: 3rem;
    font-size: 0.875rem;
    color: var(--text-grey);
    padding: 0 1rem;
}

/* Generate Page Styles */
.generate-container {
    max-width: 500px;
    width: 100%;
}

.generate-card {
    background: white;
    border-radius: 28px;
    padding: 3rem 2rem;
    box-shadow: var(--shadow-card);
    text-align: center;
}

.generate-card h2 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    margin-bottom: 2rem;
    color: #1d1d1f;
}

/* Input Field */
.name-input {
    width: 100%;
    padding: 1.25rem 1.5rem;
    font-size: 1.125rem;
    border: 2px solid #e5e5e7;
    border-radius: 16px;
    background: white;
    margin-bottom: 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: inherit;
    color: #1d1d1f;
}

.name-input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px rgba(0, 122, 255, 0.1);
}

.name-input::placeholder {
    color: var(--text-grey);
}

.input-error-text {
    margin-top: 0.35rem;
    font-size: 0.85rem;
    color: #FF3B30;
    min-height: 1.1rem;
}

/* Roast Button */
.roast-button {
    width: 100%;
    background: var(--fire-red);
    color: white;
    border: none;
    padding: 1.5rem 2rem;
    font-size: 1.25rem;
    font-weight: 600;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 14px rgba(255, 59, 48, 0.3);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.roast-button:hover:not(:disabled) {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(255, 59, 48, 0.4);
}

.roast-button:active:not(:disabled) {
    transform: scale(0.98);
}

.roast-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Disclaimer */
.disclaimer {
    font-size: 0.75rem;
    color: var(--text-grey);
    margin-top: 1rem;
}

/* Loading State */
.loading-card {
    background: white;
    border-radius: 28px;
    padding: 3rem 2rem;
    box-shadow: var(--shadow-card);
    text-align: center;
    max-width: 500px;
    width: 100%;
}

.loading-message {
    font-size: 1.125rem;
    color: #1d1d1f;
    margin-bottom: 2rem;
    min-height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease-in-out;
    font-weight: 600;
    font-family: 'Courier New', monospace;
    letter-spacing: 0.02em;
}

.analysis-progress-container {
    width: 100%;
    height: 4px;
    background: #e5e5e7;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.analysis-progress {
    height: 100%;
    background: linear-gradient(90deg, #FF3B30 0%, #FF9500 100%);
    width: 0%;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

.loading-dots {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary-blue);
    animation: bounce 1.4s infinite ease-in-out;
}

.dot:nth-child(1) {
    animation-delay: -0.32s;
}

.dot:nth-child(2) {
    animation-delay: -0.16s;
}

.dot:nth-child(3) {
    animation-delay: 0;
}

@keyframes bounce {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1.2);
        opacity: 1;
    }
}

/* Result Card */
.result-container {
    max-width: 600px;
    width: 100%;
}

.roast-headline {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 1.5rem;
    color: #FF3B30;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    animation: headlinePulse 0.6s ease-out;
}

@keyframes headlinePulse {
    0% {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.roast-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    margin-bottom: 2rem;
    position: relative;
}

.roast-reveal-shake {
    animation: roastShake 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes roastShake {
    0%, 100% {
        transform: translateX(0) translateY(0) scale(1);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-2px) translateY(0) scale(1);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(2px) translateY(0) scale(1);
    }
}

.roast-header-gradient {
    background: linear-gradient(135deg, #ff6b9d 0%, #ff8e53 100%);
    padding: 1.5rem 2rem;
    text-align: center;
}

.roast-title-text {
    color: white;
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.roast-card.legendary .roast-header-gradient {
    background: linear-gradient(135deg, #ffd700 0%, #ff9500 100%);
}

.roast-body {
    padding: 3rem 2.5rem;
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 700;
    line-height: 1.4;
    color: #1d1d1f;
    text-align: center;
    min-height: 4rem;
    word-wrap: break-word;
}

.roast-severity {
    text-align: center;
    font-size: 0.9rem;
    font-weight: 700;
    color: #FF3B30;
    padding: 1rem 2rem;
    background: #fff5f5;
    border-top: 1px solid #ffe0e0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.roast-footer {
    text-align: center;
    padding: 1.5rem 2rem;
    background: #f8f9fa;
    border-top: 1px solid #e5e5e7;
}

.roast-footer-text {
    font-size: 0.75rem;
    color: var(--text-grey);
    margin-bottom: 0.5rem;
}

.roast-footer-url {
    font-size: 0.85rem;
    color: var(--primary-blue);
    font-weight: 600;
    font-family: 'Courier New', monospace;
}

/* Share Pressure */
.share-pressure {
    text-align: center;
    margin: 2rem 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, #fff5f5 0%, #ffe8e8 100%);
    border-radius: 16px;
    border: 2px solid #ffcccc;
}

.share-pressure-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 0.5rem;
}

.share-pressure-subtext {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
}

/* Share Captions */
.share-captions-section {
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 16px;
}

.share-captions-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #666;
    margin-bottom: 1rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.share-captions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.caption-btn {
    padding: 0.875rem 1rem;
    background: white;
    border: 2px solid #e5e5e7;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1d1d1f;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    font-family: inherit;
}

.caption-btn:hover {
    background: #f0f7ff;
    border-color: var(--primary-blue);
    transform: translateY(-1px);
}

.caption-btn:active {
    transform: translateY(0);
}

/* Action Buttons */
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.action-button {
    width: 100%;
    padding: 1.25rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    font-family: inherit;
}

.action-button.primary {
    background: var(--primary-blue);
    color: white;
    box-shadow: 0 4px 14px rgba(0, 122, 255, 0.3);
}

.action-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 122, 255, 0.4);
}

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

.action-button.secondary:hover {
    background: #f0f7ff;
    transform: translateY(-2px);
}

.action-button:active {
    transform: translateY(0) scale(0.98);
}

/* Legendary Badge */
.legendary-badge {
    display: block;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #1d1d1f;
    padding: 0.75rem 1.5rem;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
    animation: legendaryGlow 2s ease-in-out infinite;
}

@keyframes legendaryGlow {
    0%, 100% {
        box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
    }
    50% {
        box-shadow: 0 4px 16px rgba(255, 215, 0, 0.6);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .page {
        padding: 1.5rem 1rem;
    }
    
    .sample-roast-card {
        min-width: 90%;
        max-width: 90%;
        width: 90%;
    }
    
    .sample-card-header {
        padding: 0.7rem 0.9rem;
        font-size: 0.75rem;
    }
    
    .sample-card-body {
        padding: 1.1rem 0.9rem 1.3rem;
        font-size: 0.9rem;
    }
    
    .generate-card,
    .loading-card {
        padding: 2rem 1.5rem;
        border-radius: 24px;
    }
    
    .roast-card {
        border-radius: 20px;
    }
    
    .roast-header-gradient {
        padding: 1.25rem 1.5rem;
    }
    
    .roast-body {
        padding: 2.5rem 1.5rem;
        font-size: clamp(1.25rem, 5vw, 1.75rem);
    }
    
    .roast-footer {
        padding: 1.25rem 1.5rem;
    }
    
    .action-buttons {
        gap: 0.75rem;
    }
    
    .action-button {
        padding: 1.125rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .carousel-track {
        gap: 0.75rem;
    }
    
    .sample-roast-card {
        min-width: 92%;
        max-width: 92%;
        width: 92%;
    }
    
    .sample-card-header {
        padding: 0.65rem 0.85rem;
        font-size: 0.7rem;
    }
    
    .sample-card-body {
        padding: 1rem 0.85rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .share-captions-grid {
        grid-template-columns: 1fr;
    }
    
    .share-pressure-text {
        font-size: 1.125rem;
    }
    
    .share-pressure-subtext {
        font-size: 0.9rem;
    }
}

/* Smooth Animations */
@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-slide-up {
    animation: fadeSlideUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Stagger animation delays for carousel cards */
.sample-roast-card:nth-child(1) {
    animation-delay: 0.1s;
}

.sample-roast-card:nth-child(2) {
    animation-delay: 0.2s;
}

.sample-roast-card:nth-child(3) {
    animation-delay: 0.3s;
}

.sample-roast-card:nth-child(4) {
    animation-delay: 0.4s;
}

.sample-roast-card:nth-child(5) {
    animation-delay: 0.5s;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

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

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

