/*
 * Weeba.me - Public Pages CSS
 * Styles for home, about, contact, and public pages
 */

/* ============================================
   PUBLIC PAGE LAYOUT
   ============================================ */
.public-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.public-main-content {
    flex: 1;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 4rem 0;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 20%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(245, 158, 11, 0.15) 0%, transparent 50%),
        var(--bg-gradient);
    z-index: -1;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: var(--radius-full);
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    color: var(--primary-light);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-title .text-gradient {
    background: linear-gradient(135deg, #fde68a 0%, #f59e0b 50%, #ea580c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    padding: 0.875rem 2rem;
    font-size: 1rem;
    border-radius: var(--radius-lg);
}

.hero-buttons .btn-primary {
    background: var(--primary-gradient);
    border: none;
    box-shadow: var(--shadow-primary);
}

.hero-buttons .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.4);
}

.hero-buttons .btn-outline-light {
    border-color: var(--border-medium);
}

.hero-buttons .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Animated Shapes */
.hero-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: -1;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 15s ease-in-out infinite;
}

.hero-shape-1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: -10%;
    right: -5%;
    animation-delay: 0s;
}

.hero-shape-2 {
    width: 300px;
    height: 300px;
    background: var(--accent-purple);
    bottom: -5%;
    left: -5%;
    animation-delay: 5s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(30px, -30px) rotate(120deg);
    }
    66% {
        transform: translate(-20px, 20px) rotate(240deg);
    }
}

/* ============================================
   STATS SECTION
   ============================================ */
.stats-section {
    padding: 4rem 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
}

.stat-value {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-muted);
}

@media (max-width: 991.98px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575.98px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-value {
        font-size: 2.5rem;
    }
}

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */
.how-it-works-section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header .section-badge {
    display: inline-block;
    background: rgba(245, 158, 11, 0.15);
    color: var(--primary-light);
    padding: 0.375rem 0.875rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.steps-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
}

.steps-tabs .nav-link {
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-lg);
    color: var(--text-muted);
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    transition: all var(--transition-normal);
}

.steps-tabs .nav-link.active,
.steps-tabs .nav-link:hover {
    background: var(--primary);
    color: var(--text-white);
    border-color: var(--primary);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: all var(--transition-normal);
}

.step-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-4px);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background: var(--primary-gradient);
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}

.step-icon {
    width: 60px;
    height: 60px;
    background: rgba(245, 158, 11, 0.15);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.step-icon i {
    font-size: 1.5rem;
    color: var(--primary);
}

.step-card h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.step-card p {
    color: var(--text-muted);
    font-size: 0.9375rem;
    margin-bottom: 0;
}

@media (max-width: 991.98px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575.98px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   CATEGORIES SECTION
   ============================================ */
.categories-section {
    padding: 5rem 0;
    background: var(--bg-card);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.category-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
    color: inherit;
}

.category-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
    border-color: var(--primary);
}

.category-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.category-icon i {
    font-size: 1.75rem;
    color: var(--text-white);
}

.category-card h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.category-card .count {
    color: var(--text-muted);
    font-size: 0.875rem;
}

@media (max-width: 991.98px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575.98px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   FEATURED ARTISTS SECTION
   ============================================ */
.featured-artists-section {
    padding: 5rem 0;
}

.artists-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.artist-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.artist-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-4px);
}

.artist-card-image {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
}

.artist-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.artist-card:hover .artist-card-image img {
    transform: scale(1.05);
}

.artist-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 2rem 1rem 1rem;
}

.artist-card-overlay h5 {
    margin-bottom: 0.25rem;
    color: var(--text-white);
}

.artist-card-overlay span {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.artist-card-body {
    padding: 1rem;
}

.artist-skills {
    display: flex;
    gap: 0.375rem;
    flex-wrap: wrap;
}

.skill-badge {
    background: rgba(245, 158, 11, 0.15);
    color: var(--primary-light);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
}

@media (max-width: 1199.98px) {
    .artists-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767.98px) {
    .artists-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575.98px) {
    .artists-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   FOR PRODUCERS SECTION
   ============================================ */
.for-producers-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(245, 158, 11, 0.1) 100%);
}

.producer-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-purple) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.benefit-icon i {
    font-size: 1.75rem;
    color: var(--text-white);
}

.benefit-card h4 {
    margin-bottom: 0.75rem;
}

.benefit-card p {
    color: var(--text-muted);
    margin-bottom: 0;
}

@media (max-width: 767.98px) {
    .producer-benefits {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: 5rem 0;
    background: var(--primary-gradient);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    padding: 0.875rem 2rem;
    font-size: 1rem;
    border-radius: var(--radius-lg);
}

.cta-buttons .btn-light {
    background: white;
    color: var(--primary-dark);
}

.cta-buttons .btn-light:hover {
    background: rgba(255, 255, 255, 0.9);
}

.cta-buttons .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.5);
}

.cta-buttons .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* ============================================
   CONTACT FORM SECTION
   ============================================ */
.contact-section {
    padding: 5rem 0;
}

.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
}

.contact-form .form-control,
.contact-form .form-select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    color: var(--text-light);
    padding: 0.875rem 1rem;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

.contact-form .form-control::placeholder {
    color: var(--text-subtle);
}

.contact-form .form-label {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.contact-form textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.contact-info-card {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(245, 158, 11, 0.2) 100%);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    height: 100%;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-info-item:last-child {
    margin-bottom: 0;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-icon i {
    font-size: 1.25rem;
    color: var(--text-white);
}

.contact-info-text h5 {
    margin-bottom: 0.25rem;
}

.contact-info-text p {
    color: var(--text-muted);
    margin-bottom: 0;
}

.contact-info-text a {
    color: var(--primary-light);
}

/* ============================================
   PAGE HEADER
   ============================================ */
.page-header {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-dark-secondary) 100%);
    padding: 4rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-header .breadcrumb {
    justify-content: center;
    margin-bottom: 0;
    background: transparent;
}

.page-header .breadcrumb-item {
    color: var(--text-muted);
}

.page-header .breadcrumb-item a {
    color: var(--text-muted);
}

.page-header .breadcrumb-item a:hover {
    color: var(--primary-light);
}

.page-header .breadcrumb-item.active {
    color: var(--primary-light);
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
    color: var(--text-subtle);
}

/* ============================================
   CONTENT CARD (Terms, Privacy)
   ============================================ */
.content-section {
    padding: 4rem 0;
}

.content-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: 3rem;
}

.content-card h2 {
    color: var(--text-white);
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.content-card h2:first-of-type {
    margin-top: 0;
}

.content-card p {
    color: var(--text-muted);
    line-height: 1.8;
}

.content-card ul {
    color: var(--text-muted);
    padding-left: 1.5rem;
    line-height: 2;
}

.content-card ul li strong {
    color: var(--text-light);
}

/* ============================================
   SUCCESS STATE (Contact Form)
   ============================================ */
.success-state {
    text-align: center;
    padding: 3rem;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-emerald) 0%, var(--accent-teal) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.success-icon i {
    font-size: 2.5rem;
    color: var(--text-white);
}

.success-state h3 {
    margin-bottom: 0.75rem;
}

.success-state p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 991.98px) {
    .hero-section {
        min-height: 70vh;
        padding: 3rem 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        min-height: auto;
        padding: 4rem 0;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .content-card {
        padding: 1.5rem;
    }

    .contact-card {
        padding: 1.5rem;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

.fade-in-down {
    animation: fadeInDown 0.6s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Staggered animation delays */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }
.stagger-6 { animation-delay: 0.6s; }
