/* ===========================================
   Leeroopedia Landing Page Styles
   A minimal, modern landing page design
   =========================================== */

/* CSS Variables for theming */
:root {
    /* Background and foreground colors - Light theme */
    --background: #ffffff;
    --foreground: #1a1a1a;
    
    /* Primary color (accent) - Orange/Amber */
    --primary: #FFB000;
    --primary-rgb: 255, 176, 0;
    
    /* Muted text color */
    --muted-foreground: #6b7280;
    
    /* Border radius */
    --radius: 0.5rem;
}

/* Reset and base styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    min-height: 100vh;
}

/* ===========================================
   Main Container - Full screen centered
   =========================================== */
.container {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

/* Content wrapper - max width and centered text */
.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 28rem; /* ~448px */
}

/* ===========================================
   Logo Styles
   =========================================== */
.logo {
    width: 16rem; /* 256px */
    height: auto;
    margin-bottom: 2rem;
    border-radius: var(--radius);
}

/* ===========================================
   Badge - "Under Development" indicator
   =========================================== */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 9999px; /* Fully rounded */
    border: 1px solid rgba(var(--primary-rgb), 0.3);
    background-color: rgba(var(--primary-rgb), 0.1);
    padding: 0.375rem 1rem;
    margin-bottom: 1.5rem;
}

.badge-text {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
}

/* Ping animation container */
.ping-container {
    position: relative;
    display: flex;
    height: 0.5rem;
    width: 0.5rem;
}

/* Animated ping effect (expanding circle) */
.ping-animation {
    position: absolute;
    display: inline-flex;
    height: 100%;
    width: 100%;
    border-radius: 9999px;
    background-color: var(--primary);
    opacity: 0.75;
    animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

/* Static dot in center */
.ping-dot {
    position: relative;
    display: inline-flex;
    height: 0.5rem;
    width: 0.5rem;
    border-radius: 9999px;
    background-color: var(--primary);
}

/* Ping keyframe animation */
@keyframes ping {
    75%, 100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* ===========================================
   Typography
   =========================================== */
.heading {
    font-size: 1.5rem; /* 24px */
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.description {
    color: var(--muted-foreground);
    margin-bottom: 2rem;
    font-size: 1rem;
    line-height: 1.7;
}

/* ===========================================
   CTA Buttons
   =========================================== */

/* Button group container */
.button-group {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    
    /* Sizing */
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    
    /* Colors */
    background-color: var(--primary);
    color: white;
    
    /* Shape */
    border-radius: var(--radius);
    border: none;
    
    /* Remove link underline */
    text-decoration: none;
    
    /* Smooth transition for hover effects */
    transition: background-color 0.2s ease, transform 0.2s ease;
    
    /* Cursor */
    cursor: pointer;
}

/* Button hover state */
.button:hover {
    background-color: #e69e00; /* Slightly darker orange */
    transform: translateY(-1px);
}

/* Button active state */
.button:active {
    transform: translateY(0);
}

/* Button focus state for accessibility */
.button:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* External link icon inside button */
.button .icon {
    width: 1rem;
    height: 1rem;
}

/* Secondary button style (outline) */
.button-secondary {
    background-color: transparent;
    color: var(--foreground);
    border: 2px solid var(--foreground);
}

.button-secondary:hover {
    background-color: var(--foreground);
    color: var(--background);
}

/* ===========================================
   Responsive adjustments
   =========================================== */
@media (max-width: 480px) {
    .logo {
        width: 12rem;
    }
    
    .heading {
        font-size: 1.25rem;
    }
    
    .description {
        font-size: 0.9375rem;
    }
    
    .button {
        padding: 0.625rem 1.25rem;
        font-size: 0.9375rem;
    }
    
    .button-group {
        flex-direction: column;
        width: 100%;
    }
}
