/**
 * Jovie by Lushai Dev - Apple Light Theme Stylesheet
 * Minimalist typography, frosted glass blur, and vibrant hot pink action styling.
 */

/* Root Variables */
:root {
    --apple-bg: #fbfbfd;
    --apple-surface: #ffffff;
    --apple-subtle: #f5f5f7;
    --apple-border: #e5e5ea;
    --apple-border-dark: #d2d2d7;
    --apple-text: #1d1d1f;
    --apple-secondary: #6e6e73;
    --apple-tertiary: #86868b;
    --pink-primary: #ff2d55;
    --pink-hover: #eb264c;
    --pink-soft: #fdf2f8;
    --pink-glow: rgba(255, 45, 85, 0.25);
}

/* Strict Zero Focus Rings Across All Interactive Elements */
*,
*:focus,
*:focus-visible,
input:focus,
textarea:focus,
select:focus,
button:focus {
    outline: none !important;
    box-shadow: none;
    -webkit-tap-highlight-color: transparent;
}

/* Base Body Styles */
body {
    background-color: var(--apple-bg);
    color: var(--apple-text);
    letter-spacing: -0.015em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Hot Pink Primary Button - Apple Style */
.btn-pink {
    background: linear-gradient(180deg, #ff3b65 0%, #ff2d55 100%);
    color: #ffffff;
    font-weight: 600;
    border-radius: 980px;
    padding: 0.625rem 1.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 14px 0 var(--pink-glow);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-pink:hover {
    background: linear-gradient(180deg, #ff2d55 0%, #eb264c 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px 0 rgba(255, 45, 85, 0.38);
}

.btn-pink:active {
    transform: translateY(1px);
    box-shadow: 0 2px 8px 0 var(--pink-glow);
}

/* Apple Secondary Pill Button */
.btn-secondary-pill {
    background-color: #f5f5f7;
    color: #1d1d1f;
    font-weight: 500;
    border-radius: 980px;
    padding: 0.625rem 1.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid #e5e5ea;
}

.btn-secondary-pill:hover {
    background-color: #e8e8ed;
    border-color: #d2d2d7;
}

/* Frosted Glass Floating Cards */
.apple-card {
    background: #ffffff;
    border: 1px solid #e5e5ea;
    border-radius: 1.5rem;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.apple-card:hover {
    box-shadow: 0 12px 30px -4px rgba(0, 0, 0, 0.08);
}

/* Subtle Apple Input Fields */
.apple-input {
    background-color: #f5f5f7;
    border: 1px solid #e5e5ea;
    border-radius: 0.875rem;
    padding: 0.75rem 1rem;
    color: #1d1d1f;
    font-size: 0.9375rem;
    transition: all 0.2s ease;
}

.apple-input:focus {
    background-color: #ffffff;
    border-color: #ff2d55;
    box-shadow: 0 0 0 3px rgba(255, 45, 85, 0.12) !important;
}

/* Hero Typography */
.hero-headline {
    font-size: clamp(2.5rem, 5vw, 4.25rem);
    line-height: 1.05;
    letter-spacing: -0.035em;
    font-weight: 800;
}

/* Pink Shimmer Text Gradient */
.text-gradient-pink {
    background: linear-gradient(135deg, #1d1d1f 30%, #ff2d55 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-pure-pink {
    background: linear-gradient(135deg, #ff2d55 0%, #ec4899 50%, #d946ef 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Custom Smooth Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #f5f5f7;
}
::-webkit-scrollbar-thumb {
    background: #d2d2d7;
    border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
    background: #86868b;
}

/* Generation Loader Animation */
@keyframes jovie-pulse-pink {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.05);
    }
}

.animate-jovie-pulse {
    animation: jovie-pulse-pink 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}