/* Axle Full Page Homepage Styles */

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

.axle-fullpage-body {
    margin: 0;
    padding: 0;
    background: #000;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

.axle-fullpage {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    max-height: 100vh;
    background: linear-gradient(180deg, #0a0a0a 0%, #000 100%);
    color: #fafafa;
}

/* Header */
.axle-fullpage-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
}

.axle-fullpage-logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.axle-fullpage-logo img {
    max-height: 40px;
    width: auto;
}

.axle-site-name {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.5px;
}

.axle-fullpage-nav {
    display: flex;
    gap: 16px;
}

.axle-nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    color: #a1a1aa;
    text-decoration: none;
    font-size: 14px;
    border-radius: 8px;
    transition: all 0.2s;
}

.axle-nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

/* Main Content */
.axle-fullpage-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding: 0 24px;
}

/* Welcome State */
.axle-welcome {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.axle-welcome-avatar {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--axle-primary), #a07830);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.axle-welcome-avatar svg {
    width: 40px;
    height: 40px;
    color: #000;
}

.axle-welcome-sparkle {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 24px;
    height: 24px;
    background: #22c55e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.axle-welcome-sparkle svg {
    color: #000;
}

.axle-welcome-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
    font-family: Georgia, 'Times New Roman', serif;
}

.axle-welcome-subtitle {
    font-size: 16px;
    color: #a1a1aa;
    line-height: 1.6;
    margin-bottom: 40px;
}

/* Suggestions */
.axle-suggestions {
    width: 100%;
    max-width: 500px;
}

.axle-suggestions-label {
    font-size: 14px;
    color: #71717a;
    margin-bottom: 16px;
}

.axle-suggestions-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.axle-suggestion {
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    color: #fafafa;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.axle-suggestion:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--axle-primary);
    color: #fff;
}

/* Welcome Badge */
.axle-welcome-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 48px;
    font-size: 13px;
    color: #71717a;
}

.axle-badge-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
}

/* Messages in Fullpage Mode */
.axle-fullpage-messages {
    flex: 1;
    padding: 24px 0;
    max-width: 768px;
    margin: 0 auto;
    width: 100%;
}

.axle-fullpage-messages .axle-message {
    max-width: 80%;
}

/* Products in Fullpage Mode */
.axle-fullpage-products {
    max-width: 768px;
    margin: 0 auto;
    width: 100%;
    padding: 16px 0;
    border-top: none;
    background: transparent;
}

.axle-fullpage-products .axle-products-grid {
    justify-content: flex-start;
}

.axle-fullpage-products .axle-product-card {
    flex: 0 0 180px;
}

/* Footer / Input Area */
.axle-fullpage-footer {
    padding: 16px 24px 24px;
    background: linear-gradient(to top, #000 0%, transparent 100%);
    position: sticky;
    bottom: 0;
}

.axle-fullpage-input-wrapper {
    max-width: 768px;
    margin: 0 auto;
}

.axle-fullpage-input-container {
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 8px;
}

.axle-fullpage-input-container .axle-chat-input {
    background: transparent;
    border: none;
    padding: 12px 16px;
    font-size: 16px;
}

.axle-fullpage-input-container .axle-chat-input:focus {
    border: none;
    outline: none;
}

.axle-fullpage-input-container .axle-chat-send {
    width: 48px;
    height: 48px;
    border-radius: 12px;
}

.axle-input-hint {
    text-align: center;
    font-size: 12px;
    color: #52525b;
    margin-top: 8px;
}

/* Responsive */
@media (max-width: 640px) {
    .axle-fullpage-header {
        padding: 12px 16px;
    }

    .axle-nav-link span {
        display: none;
    }

    .axle-welcome-title {
        font-size: 28px;
    }

    .axle-welcome-subtitle {
        font-size: 15px;
    }

    .axle-suggestions-grid {
        flex-direction: column;
    }

    .axle-suggestion {
        width: 100%;
    }

    .axle-fullpage-footer {
        padding: 12px 16px 20px;
    }

    .axle-fullpage-main {
        padding: 0 16px;
    }
}

/* Animation for new messages */
@keyframes axle-fade-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.axle-fullpage-messages .axle-message {
    animation: axle-fade-in 0.3s ease;
}
