/* ==============================================
   Hero Section Styles
   Profilium Blog Theme - Modern Neon Design
   ============================================== */

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 120px 0 80px;
}

/* Background */
.hero__background {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    z-index: -1;
}

.hero__gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(254, 60, 211, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 100% 50%, rgba(254, 60, 114, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse 50% 30% at 0% 80%, rgba(139, 92, 246, 0.2) 0%, transparent 50%);
}

.hero__particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.6;
    animation: pulse 8s ease-in-out infinite;
}

.hero__glow--1 {
    width: 400px;
    height: 400px;
    background: #FE3CD3;
    top: -100px;
    right: 10%;
    animation-delay: 0s;
}

.hero__glow--2 {
    width: 300px;
    height: 300px;
    background: #FE3C72;
    bottom: -50px;
    left: 20%;
    animation-delay: 4s;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.4;
    }
}

/* Grid Layout */
.hero__grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero__grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

/* Content */
.hero__content {
    text-align: center;
}

@media (min-width: 1024px) {
    .hero__content {
        text-align: left;
    }
}

/* Badge */
.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(254, 60, 211, 0.15);
    border: 1px solid rgba(254, 60, 211, 0.3);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #FE3CD3;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.hero__badge-dot {
    width: 8px;
    height: 8px;
    background: #FE3CD3;
    border-radius: 50%;
    animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Title */
.hero__title {
    font-family: var(--font-family-heading);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: white;
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .hero__title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero__title {
        font-size: 3.5rem;
    }
}

@media (min-width: 1280px) {
    .hero__title {
        font-size: 4rem;
    }
}

.hero__title-highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Description */
.hero__description {
    font-size: 1.125rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    max-width: 540px;
}

@media (min-width: 1024px) {
    .hero__description {
        font-size: 1.25rem;
    }
}

@media (max-width: 1023px) {
    .hero__description {
        margin-left: auto;
        margin-right: auto;
    }
}

/* CTA Buttons */
.hero__cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
    justify-content: center;
}

@media (min-width: 1024px) {
    .hero__cta-group {
        justify-content: flex-start;
    }
}

.hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero__cta--primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 20px rgba(254, 60, 211, 0.4);
}

.hero__cta--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(254, 60, 211, 0.5);
    color: white;
}

.hero__cta--secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.hero__cta--secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
}

/* Stats */
.hero__stats {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

@media (min-width: 1024px) {
    .hero__stats {
        justify-content: flex-start;
    }
}

@media (max-width: 639px) {
    .hero__stats {
        flex-wrap: wrap;
        gap: 1.5rem;
    }
}

.hero__stat {
    text-align: center;
}

@media (min-width: 1024px) {
    .hero__stat {
        text-align: left;
    }
}

.hero__stat-number {
    display: block;
    font-family: var(--font-family-heading);
    font-size: 2rem;
    font-weight: 800;
    color: white;
    line-height: 1;
}

@media (min-width: 640px) {
    .hero__stat-number {
        font-size: 2.5rem;
    }
}

.hero__stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Image Section */
.hero__image-wrapper {
    display: none;
    position: relative;
}

@media (min-width: 1024px) {
    .hero__image-wrapper {
        display: block;
    }
}

.hero__image-container {
    position: relative;
    padding: 2rem;
}

.hero__image-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(254, 60, 211, 0.3) 0%, transparent 70%);
    filter: blur(60px);
}

.hero__image {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

/* Floating Cards */
.hero__floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.25rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: float 6s ease-in-out infinite;
    z-index: 10;
}

.hero__floating-card--1 {
    top: 15%;
    left: -10%;
    animation-delay: 0s;
}

.hero__floating-card--2 {
    top: 50%;
    right: -5%;
    animation-delay: 2s;
}

.hero__floating-card--3 {
    bottom: 10%;
    left: 5%;
    animation-delay: 4s;
    flex-direction: column;
    text-align: center;
    padding: 1rem 1.5rem;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.hero__floating-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 10px;
    color: white;
    flex-shrink: 0;
}

.hero__floating-icon--success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.hero__floating-text {
    display: flex;
    flex-direction: column;
}

.hero__floating-title {
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--color-dark);
}

.hero__floating-subtitle {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.hero__floating-rating {
    display: flex;
    gap: 2px;
    color: #fbbf24;
    margin-bottom: 0.25rem;
}

.hero__floating-review {
    font-size: 0.75rem;
    color: var(--color-text-secondary);
    font-style: italic;
}

/* Scroll Indicator */
.hero__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hero__scroll-indicator {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    position: relative;
}

.hero__scroll-dot {
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: #FE3CD3;
    border-radius: 2px;
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0%, 100% {
        top: 6px;
        opacity: 1;
    }
    50% {
        top: 20px;
        opacity: 0.3;
    }
}

/* ==============================================
   Additional Modern Styles
   ============================================== */

/* Modern Card Hover Effects */
.blog-card {
    background: var(--color-background);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-card:hover {
    border-color: rgba(254, 60, 211, 0.3);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(254, 60, 211, 0.1);
    transform: translateY(-8px);
}

.blog-card__category {
    background: var(--gradient-primary);
    color: white;
}

.blog-card__category:hover {
    opacity: 0.9;
}

/* Modern Buttons */
.blog-cta {
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.blog-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 50% 80% at 20% 0%, rgba(254, 60, 211, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse 50% 50% at 80% 100%, rgba(254, 60, 114, 0.3) 0%, transparent 50%);
}

.blog-cta__button {
    background: white;
    color: var(--color-dark);
    position: relative;
    z-index: 1;
}

.blog-cta__button:hover {
    box-shadow: 0 10px 30px rgba(254, 60, 211, 0.3);
    color: var(--color-dark);
}

/* Modern Newsletter Section */
.blog-newsletter {
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.blog-newsletter::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 60% 50% at 50% 0%, rgba(254, 60, 211, 0.2) 0%, transparent 50%);
}

.blog-newsletter__inner {
    position: relative;
    z-index: 1;
}

.blog-newsletter__title {
    color: white;
}

.blog-newsletter__text {
    color: rgba(255, 255, 255, 0.7);
}

.blog-newsletter__button {
    background: var(--gradient-primary);
    border: none;
}

.blog-newsletter__button:hover {
    box-shadow: 0 8px 25px rgba(254, 60, 211, 0.4);
}

.blog-newsletter__disclaimer {
    color: rgba(255, 255, 255, 0.5);
}

/* Modern Footer */
.site-footer {
    background: var(--color-dark);
}

.site-footer__social-link:hover {
    background: var(--gradient-primary);
}

/* Modern Widget CTA */
.widget_cta {
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.widget_cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top right, rgba(254, 60, 211, 0.3) 0%, transparent 50%);
}

.widget__cta-inner {
    position: relative;
    z-index: 1;
}

.widget__cta-button:hover {
    box-shadow: 0 8px 25px rgba(254, 60, 211, 0.3);
}

/* Progress Bar Gradient */
.blog-progress__bar {
    background: var(--gradient-primary);
}

/* Share Button Colors */
.blog-share__button--twitter { background: #170017; }
.blog-share__button--linkedin { background: #0077b5; }
.blog-share__button--facebook { background: #170017; }
.blog-share__button--email { background: var(--color-secondary); }
.blog-share__button--copy { background: var(--gradient-primary); }

/* Back to Top */
.back-to-top {
    background: var(--gradient-primary);
    box-shadow: 0 4px 20px rgba(254, 60, 211, 0.4);
}

.back-to-top:hover {
    box-shadow: 0 8px 30px rgba(254, 60, 211, 0.5);
}

/* Modern Tags */
.blog-post__tag:hover,
.tagcloud a:hover {
    background: rgba(254, 60, 211, 0.1);
    border-color: #FE3CD3;
    color: #FE3CD3;
}

/* Pagination */
.pagination__item a:hover,
.pagination__item .current {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
}

/* Modern Selection */
::selection {
    background: rgba(254, 60, 211, 0.3);
    color: var(--color-dark);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-background-light);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #FE3C72;
}

/* Links Hover Effect */
.blog-post__content a {
    color: #FE3CD3;
    text-decoration: none;
    background: linear-gradient(to right, #FE3CD3, #FE3C72);
    background-size: 0% 2px;
    background-repeat: no-repeat;
    background-position: left bottom;
    transition: background-size 0.3s ease;
}

.blog-post__content a:hover {
    background-size: 100% 2px;
    color: #FE3C72;
}

/* Blockquote Modern Style */
.blog-post__content blockquote {
    border-left-color: #FE3CD3;
    background: linear-gradient(135deg, rgba(254, 60, 211, 0.05) 0%, rgba(254, 60, 114, 0.05) 100%);
}

/* Code Blocks */
.blog-post__content pre {
    background: var(--color-dark);
    border: 1px solid rgba(254, 60, 211, 0.2);
}

/* Focus States */
input:focus,
textarea:focus,
button:focus {
    outline: 2px solid rgba(254, 60, 211, 0.5);
    outline-offset: 2px;
}

/* Loading Animation */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.is-loading {
    background: linear-gradient(90deg, 
        var(--color-background-light) 0%, 
        rgba(254, 60, 211, 0.1) 50%, 
        var(--color-background-light) 100%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}
