/* ========================================
   Business Automations Showcase - Styles
   Professional & Modern UI
   ======================================== */

/* CSS Variables - Light Mode */
:root {
    --primary-color: #6366f1;
    --primary-hover: #4f46e5;
    --primary-light: #eef2ff;

    --success-color: #22c55e;
    --success-hover: #16a34a;
    --success-light: #dcfce7;

    --warning-color: #f59e0b;
    --warning-hover: #d97706;
    --warning-light: #fef3c7;

    --danger-color: #ef4444;
    --danger-hover: #dc2626;
    --danger-light: #fee2e2;

    --info-color: #3b82f6;
    --info-hover: #2563eb;
    --info-light: #dbeafe;

    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --text-white: #ffffff;

    --bg-primary: #f1f5f9;
    --bg-secondary: #e2e8f0;
    --bg-card: #ffffff;
    --bg-hover: #f8fafc;

    --border-color: #e2e8f0;
    --border-radius: 20px;
    --border-radius-sm: 12px;
    --border-radius-lg: 28px;
    --border-radius-full: 9999px;

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 12px 24px -4px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px -8px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.2);

    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);

    /* Gradient Colors */
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
    --gradient-success: linear-gradient(135deg, #22c55e 0%, #10b981 100%);
    --gradient-info: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
    --gradient-warning: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
    --gradient-danger: linear-gradient(135deg, #ef4444 0%, #ec4899 100%);
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    height: 100%;
}

body {
    font-family: "Rubik", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    /* background: var(--bg-primary); */
    color: var(--text-primary);
    line-height: 1.6;
    direction: rtl;
    height: 100%;
    margin: 0;
    -webkit-font-smoothing: antialiased;
    overflow: hidden;
}

/* Background Pattern */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.06) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(168, 85, 247, 0.04) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
}

/* Layout */
.app-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

/* ========================================
   Main Content
   ======================================== */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    gap: 20px;
    width: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    min-height: 0;
}

/* ========================================
   Automation Showcase
   ======================================== */
.automation-showcase {
    width: 100%;
    max-width: 900px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Carousel Arrows */
.carousel-arrow {
    width: 48px;
    height: 48px;
    border: 2px solid var(--border-color);
    background: var(--bg-card);
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    box-shadow: var(--shadow);
    flex-shrink: 0;
    z-index: 10;
}

.carousel-arrow:hover {
    border-color: var(--primary-color);
    background: var(--primary-light);
    color: var(--primary-color);
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.carousel-arrow:active {
    transform: scale(0.95);
}

.automation-card {
    background: var(--bg-card);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    padding: 32px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-fast);
    width: 700px;
    flex-shrink: 0;
}

.automation-card.fade-in {
    animation: cardFadeIn 0.4s ease-out;
}

@keyframes cardFadeIn {
    from {
        opacity: 0.5;
    }
    to {
        opacity: 1;
    }
}

.automation-card:hover {
    box-shadow: var(--shadow-xl);
}

.automation-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.automation-number {
    width: 52px;
    height: 52px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    box-shadow: var(--shadow);
    flex-shrink: 0;
}

.automation-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    flex: 1;
}

/* Animation Container */
.animation-container {
    height: 200px;
    background: var(--bg-primary);
    border-radius: var(--border-radius);
    padding: 24px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Flow Animation Base Styles */
.flow-animation {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 100%;
}

.flow-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 1;
}

.flow-node.animate {
    opacity: 0;
    transform: translateX(-20px);
    animation: nodeAppearRTL 0.4s ease-out forwards;
}

.flow-node.animate:nth-child(1) {
    animation-delay: 0.05s;
}
.flow-node.animate:nth-child(3) {
    animation-delay: 0.15s;
}
.flow-node.animate:nth-child(5) {
    animation-delay: 0.25s;
}
.flow-node.animate:nth-child(7) {
    animation-delay: 0.35s;
}

@keyframes nodeAppearRTL {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.node-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    position: relative;
    transition: var(--transition);
}

.node-icon.source {
    background: var(--gradient-info);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
}

.node-icon.process {
    background: var(--gradient-warning);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.4);
}

.node-icon.action {
    background: var(--gradient-primary);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
}

.node-icon.result {
    background: var(--gradient-success);
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.4);
}

.node-icon.alert {
    background: var(--gradient-danger);
    box-shadow: 0 8px 24px rgba(239, 68, 68, 0.4);
}

.node-icon::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: inherit;
    background: inherit;
    filter: blur(15px);
    opacity: 0.4;
    z-index: -1;
}

.node-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    text-align: center;
    max-width: 80px;
}

/* Arrow between nodes - RTL direction */
.flow-arrow {
    display: flex;
    align-items: center;
    opacity: 1;
}

.flow-arrow.animate {
    opacity: 0;
    animation: arrowAppear 0.3s ease-out forwards;
}

.flow-arrow.animate:nth-of-type(2) {
    animation-delay: 0.1s;
}
.flow-arrow.animate:nth-of-type(4) {
    animation-delay: 0.2s;
}
.flow-arrow.animate:nth-of-type(6) {
    animation-delay: 0.3s;
}

@keyframes arrowAppear {
    to {
        opacity: 1;
    }
}

.flow-arrow span {
    font-size: 24px;
    color: var(--primary-color);
    animation: arrowPulseRTL 1.5s infinite;
}

@keyframes arrowPulseRTL {
    0%,
    100% {
        transform: translateX(0);
        opacity: 0.5;
    }
    50% {
        transform: translateX(5px);
        opacity: 1;
    }
}

/* Data packet animation - RTL flow from right to left */
.data-packet {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--primary-color);
    animation: dataFlowRTL 2s infinite;
}

@keyframes dataFlowRTL {
    0% {
        right: 10%;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        right: 90%;
        opacity: 0;
    }
}

/* Description Box */
.automation-description {
    margin-bottom: 24px;
}

.description-box {
    background: var(--primary-light);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--border-radius-sm);
    padding: 16px 20px;
    position: relative;
    overflow: hidden;
}

.description-box::before {
    content: "💡";
    position: absolute;
    top: 14px;
    right: 16px;
    font-size: 18px;
}

.description-box p {
    font-size: 16px;
    color: var(--text-primary);
    padding-right: 36px;
    line-height: 1.6;
}

/* How It Works Section */
.how-it-works {
    background: var(--bg-primary);
    border-radius: var(--border-radius-sm);
    padding: 16px;
}

.how-it-works h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    background: var(--bg-card);
    border-radius: var(--border-radius-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition-fast);
}

.step-item:hover {
    border-color: var(--primary-color);
    background: var(--primary-light);
}

.step-number {
    width: 28px;
    height: 28px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-white);
    flex-shrink: 0;
}

.step-content {
    flex: 1;
    min-width: 0;
}

.step-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.step-desc {
    font-size: 12px;
    color: var(--text-secondary);
}

/* ========================================
   Category Filters
   ======================================== */
.category-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 24px 16px;
    max-width: 1400px;
    margin: 0 auto;
}

.category-btn {
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    border-radius: var(--border-radius-full);
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: var(--shadow-sm);
}

.category-btn:hover {
    border-color: var(--primary-color);
    color: var(--text-primary);
}

.category-btn.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: var(--text-white);
    box-shadow: var(--shadow);
}

/* ========================================
   Thumbnails Section
   ======================================== */
.thumbnails-section {
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    flex-shrink: 0;
}

.thumbnails-section.collapsed .thumbnails-grid {
    max-height: 0;
    overflow: hidden;
    padding: 0;
    margin: 0;
}

.thumbnails-section.collapsed .category-filters {
    display: none;
}

.thumbnails-section.collapsed .toggle-icon {
    transform: rotate(180deg);
}

.thumbnails-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 16px 24px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.thumbnails-header:hover {
    background: var(--bg-hover);
}

.thumbnails-header h2 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    justify-content: space-between;
}

.toggle-icon {
    font-size: 14px;
    color: var(--text-secondary);
    transition: var(--transition-fast);
    margin-right: auto;
    margin-left: 8px;
}

.thumbnails-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 12px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px 16px;
    transition: var(--transition-fast);
    max-height: 200px;
    overflow-y: auto;
}

/* Thumbnail Card */
.thumbnail-card {
    background: var(--bg-primary);
    border-radius: var(--border-radius-sm);
    padding: 12px;
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.thumbnail-card:hover {
    border-color: var(--primary-color);
    background: var(--primary-light);
}

.thumbnail-card.active {
    border-color: var(--primary-color);
    background: var(--primary-light);
    box-shadow: var(--shadow);
}

.thumbnail-card.viewed {
    border-color: var(--success-light);
}

.thumbnail-card.viewed::before {
    content: "✓";
    position: absolute;
    top: 6px;
    left: 6px;
    width: 18px;
    height: 18px;
    background: var(--success-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: white;
}

.thumbnail-number {
    width: 36px;
    height: 36px;
    background: var(--gradient-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-white);
    flex-shrink: 0;
}

.thumbnail-info {
    flex: 1;
    min-width: 0;
}

.thumbnail-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.thumbnail-category {
    font-size: 11px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ========================================
   Toast Notifications
   ======================================== */
.toast-container {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast {
    background: var(--bg-card);
    color: var(--text-primary);
    padding: 14px 20px;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideIn 0.3s ease-out;
    border: 1px solid var(--border-color);
}

.toast.success {
    border-color: var(--success-color);
    background: var(--success-light);
}

.toast.info {
    border-color: var(--info-color);
    background: var(--info-light);
}

.toast-icon {
    font-size: 18px;
}

.toast-message {
    font-size: 14px;
    font-weight: 500;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ========================================
   Scrollbar
   ======================================== */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
    .automation-card {
        width: 100%;
        max-width: 750px;
    }

    .automation-showcase {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    body {
        overflow-y: auto;
    }

    .app-container {
        height: auto;
        min-height: 100vh;
    }

    .main-content {
        flex: none;
        padding: 12px;
        gap: 12px;
        min-height: auto;
        overflow: visible;
    }

    .automation-showcase {
        flex-direction: column;
        gap: 12px;
        max-width: 100%;
    }

    .automation-card {
        width: 100%;
        max-width: 100%;
        padding: 16px;
        border-radius: 16px;
    }

    .automation-header {
        flex-direction: row;
        gap: 12px;
        margin-bottom: 16px;
    }

    .automation-number {
        width: 44px;
        height: 44px;
        font-size: 16px;
        min-flex-shrink: 0;
    }

    .automation-title {
        font-size: 18px;
        line-height: 1.3;
    }

    .animation-container {
        height: 140px;
        padding: 12px;
        margin-bottom: 16px;
        border-radius: 12px;
    }

    .flow-animation {
        gap: 6px;
        flex-wrap: wrap;
    }

    .node-icon {
        width: 42px;
        height: 42px;
        font-size: 20px;
    }

    .node-label {
        font-size: 9px;
        max-width: 55px;
    }

    .flow-arrow {
        display: none;
    }

    .flow-arrow span {
        font-size: 16px;
    }

    .description-box {
        padding: 12px 16px;
        border-radius: 8px;
    }

    .description-box p {
        font-size: 15px;
        padding-right: 28px;
        line-height: 1.5;
    }

    .description-box::before {
        font-size: 16px;
        top: 12px;
        right: 12px;
    }

    .how-it-works {
        padding: 12px;
        border-radius: 8px;
    }

    .how-it-works h3 {
        font-size: 13px;
        margin-bottom: 10px;
    }

    .steps-container {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .step-item {
        padding: 10px;
        border-radius: 8px;
        gap: 10px;
    }

    .step-number {
        width: 24px;
        height: 24px;
        font-size: 11px;
        min-flex-shrink: 0;
    }

    .step-title {
        font-size: 12px;
    }

    .step-desc {
        font-size: 11px;
    }

    /* Carousel arrows for mobile */
    .carousel-arrow {
        width: 36px;
        height: 36px;
        font-size: 16px;
        border: 1.5px solid var(--border-color);
        position: fixed;
        top: 50%;
        transform: translateY(-50%);
        z-index: 100;
    }

    .carousel-arrow-right {
        left: auto;
        right: 8px;
    }

    .carousel-arrow-left {
        right: auto;
        left: 8px;
    }

    /* Category Filters */
    .category-filters {
        gap: 6px;
        padding: 0 12px 12px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
    }

    .category-filters::-webkit-scrollbar {
        display: none;
    }

    .category-btn {
        padding: 6px 12px;
        font-size: 11px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    /* Thumbnails Section */
    .thumbnails-section {
        border-top: 1px solid var(--border-color);
    }

    .thumbnails-section.collapsed .category-filters {
        max-height: 0;
        overflow: hidden;
        padding: 0;
        display: flex;
    }

    .thumbnails-header {
        padding: 12px;
    }

    .thumbnails-header h2 {
        font-size: 14px;
    }

    .toggle-icon {
        font-size: 12px;
    }

    .thumbnails-grid {
        grid-template-columns: 1fr;
        max-height: 120px;
        padding: 0 12px 12px;
        gap: 8px;
    }

    .thumbnail-card {
        padding: 10px;
        border-radius: 8px;
        gap: 10px;
    }

    .thumbnail-number {
        width: 32px;
        height: 32px;
        font-size: 12px;
        border-radius: 6px;
    }

    .thumbnail-title {
        font-size: 12px;
    }

    .thumbnail-category {
        font-size: 10px;
    }

    /* Toast */
    .toast-container {
        bottom: 16px;
        left: 12px;
        right: 12px;
    }

    .toast {
        padding: 12px 16px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 13px;
    }

    .main-content {
        padding: 8px;
    }

    .automation-card {
        padding: 12px;
        border-radius: 12px;
    }

    .automation-number {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .automation-title {
        font-size: 14px;
    }

    .animation-container {
        height: 120px;
        padding: 8px;
        margin-bottom: 12px;
    }

    .node-icon {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }

    .node-label {
        font-size: 10px;
        max-width: 50px;
    }

    .description-box {
        padding: 10px 12px;
    }

    .description-box p {
        font-size: 12px;
        padding-right: 26px;
    }

    .how-it-works {
        padding: 10px;
    }

    .how-it-works h3 {
        font-size: 12px;
    }

    .step-item {
        padding: 8px;
    }

    .thumbnails-grid {
        max-height: 100px;
    }

    .category-filters {
        padding: 0 8px 10px;
        gap: 4px;
    }

    .category-btn {
        padding: 5px 10px;
        font-size: 10px;
    }

    .carousel-arrow {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
}

/* ========================================
   Specific Animation Styles
   ======================================== */

/* WhatsApp animation */
.whatsapp-bubble {
    background: #25d366;
    padding: 12px 20px;
    border-radius: 18px 18px 4px 18px;
    color: white;
    font-size: 14px;
    animation: bubbleAppear 0.5s ease-out;
    position: relative;
}

@keyframes bubbleAppear {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Document flow */
.document-icon {
    position: relative;
}

.document-icon::after {
    content: "✓";
    position: absolute;
    bottom: -5px;
    right: -5px;
    width: 24px;
    height: 24px;
    background: var(--success-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: white;
    animation: checkAppear 0.3s ease-out forwards;
    animation-delay: 1s;
    opacity: 0;
}

@keyframes checkAppear {
    to {
        opacity: 1;
        transform: scale(1);
    }
    from {
        opacity: 0;
        transform: scale(0);
    }
}

/* Notification bell */
.notification-ring {
    animation: ring 0.5s ease-out;
    transform-origin: top center;
}

@keyframes ring {
    0%,
    100% {
        transform: rotate(0);
    }
    20% {
        transform: rotate(15deg);
    }
    40% {
        transform: rotate(-15deg);
    }
    60% {
        transform: rotate(10deg);
    }
    80% {
        transform: rotate(-10deg);
    }
}

/* Loading dots */
.loading-dots {
    display: flex;
    gap: 6px;
}

.loading-dots span {
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: loadingDot 1.4s infinite ease-in-out both;
}

.loading-dots span:nth-child(1) {
    animation-delay: -0.32s;
}
.loading-dots span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes loadingDot {
    0%,
    80%,
    100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
}

/* Spinning gear */
.spinning-gear {
    animation: spin 3s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Floating effect */
.floating {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Success checkmark animation */
.success-check {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: drawCheck 0.5s ease-out forwards;
}

@keyframes drawCheck {
    to {
        stroke-dashoffset: 0;
    }
}
