/* ==========================================================================
   NOGUERAS ALIMENTOS Y SUMINISTROS GANADEROS DE COLIMA
   Styles for Social Hub / Landing Page
   ========================================================================== */

:root {
    --primary-blue: #0b3b80;
    --primary-blue-dark: #072654;
    --accent-red: #d9232a;
    --accent-red-hover: #b81b21;
    --accent-cyan: #00c6ff;
    
    --bg-dark: #0a111e;
    --card-bg: rgba(255, 255, 255, 0.88);
    --card-border: rgba(255, 255, 255, 0.6);
    --text-main: #0f172a;
    --text-muted: #475569;
    
    /* Social Colors */
    --fb-color: #1877F2;
    --ig-color: #E1306C;
    --tt-color: #111111;
    --wa-color: #25D366;
    --phone-color: #0b3b80;
    --maps-color: #EA4335;
    
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 12px;
    
    --shadow-soft: 0 10px 30px -5px rgba(11, 59, 128, 0.15);
    --shadow-card: 0 8px 25px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 15px 35px rgba(11, 59, 128, 0.22);
}

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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(at 0% 0%, rgba(11, 59, 128, 0.4) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(217, 35, 42, 0.3) 0px, transparent 50%),
        radial-gradient(at 50% 50%, rgba(0, 198, 255, 0.15) 0px, transparent 50%);
    background-attachment: fixed;
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 16px;
    overflow-x: hidden;
    position: relative;
}

/* Ambient Background Lights */
.bg-blur {
    position: fixed;
    border-radius: 50%;
    filter: blur(90px);
    z-index: 0;
    pointer-events: none;
    opacity: 0.6;
}

.bg-blur-1 {
    width: 350px;
    height: 350px;
    background: #0b3b80;
    top: -80px;
    left: -80px;
    animation: floatAnim 10s ease-in-out infinite alternate;
}

.bg-blur-2 {
    width: 300px;
    height: 300px;
    background: #d9232a;
    bottom: -60px;
    right: -60px;
    animation: floatAnim 12s ease-in-out infinite alternate-reverse;
}

.bg-blur-3 {
    width: 250px;
    height: 250px;
    background: #00c6ff;
    top: 40%;
    right: 20%;
    animation: pulseAnim 8s ease-in-out infinite;
}

@keyframes floatAnim {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, 40px) scale(1.1); }
}

@keyframes pulseAnim {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.2); }
}

/* Layout Container */
.container {
    width: 100%;
    max-width: 480px;
    z-index: 1;
    margin: 0 auto;
}

/* Top Navigation Bar */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding: 0 6px;
}

.badge-status {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #10B981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10B981;
    animation: blink 1.8s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

.icon-btn {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
}

.icon-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.08);
}

/* Main Profile Card */
.profile-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 32px 24px 28px 24px;
    box-shadow: var(--shadow-soft);
    text-align: center;
}

/* Logo Wrapper & Badge */
.logo-wrapper {
    position: relative;
    width: 124px;
    height: 124px;
    margin: 0 auto 18px auto;
}

.logo-ring {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-red));
    z-index: 0;
    opacity: 0.85;
    animation: rotateGradient 6s linear infinite;
}

@keyframes rotateGradient {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.profile-logo {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #ffffff;
    background-color: #ffffff;
    z-index: 1;
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.verified-badge {
    position: absolute;
    bottom: 4px;
    right: 4px;
    background: var(--primary-blue);
    color: #ffffff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* Typography */
.brand-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--primary-blue);
    letter-spacing: -0.5px;
    margin-bottom: 2px;
}

.brand-subtitle {
    font-family: 'Outfit', sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--accent-red);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.brand-bio {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.45;
    margin-bottom: 18px;
    padding: 0 8px;
}

.bio-icon {
    color: #10B981;
    margin-right: 4px;
}

/* Feature Pills */
.features-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 24px;
}

.pill {
    background: rgba(11, 59, 128, 0.06);
    border: 1px solid rgba(11, 59, 128, 0.12);
    color: var(--primary-blue);
    font-size: 0.76rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.pill i {
    color: var(--accent-red);
}

/* Social Links List */
.social-links-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
}

/* Standard Link Card */
.link-card {
    display: flex;
    align-items: center;
    padding: 14px 18px;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: var(--radius-md);
    text-decoration: none;
    color: var(--text-main);
    box-shadow: var(--shadow-card);
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-blue);
    transition: width 0.25s ease;
}

.link-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(11, 59, 128, 0.3);
}

.link-card:hover::before {
    width: 6px;
}

.card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-right: 14px;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.link-card:hover .card-icon {
    transform: scale(1.1);
}

.card-content {
    display: flex;
    flex-direction: column;
    text-align: left;
    flex-grow: 1;
}

.card-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: #1e293b;
    line-height: 1.25;
}

.card-subtitle {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.card-arrow {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-left: 10px;
    transition: transform 0.25s ease, color 0.25s ease;
}

.link-card:hover .card-arrow {
    transform: translateX(4px);
    color: var(--primary-blue);
}

.card-badge {
    background: #DCFCE7;
    color: #15803D;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 10px;
    margin-left: 8px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.card-badge-store {
    background: #E0F2FE;
    color: #0369A1;
}

/* Custom Link Card Variants */
.link-website .card-icon {
    background: #0b3b80;
    color: #ffffff;
}
.link-website::before { 
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-red)); 
}

.link-facebook .card-icon {
    background: #E8F2FF;
    color: var(--fb-color);
}
.link-facebook::before { background: var(--fb-color); }

.link-instagram .card-icon {
    background: #FDF2F8;
    color: var(--ig-color);
}
.link-instagram::before { 
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.link-tiktok .card-icon {
    background: #F1F5F9;
    color: var(--tt-color);
}
.link-tiktok::before { background: var(--tt-color); }

.link-whatsapp .card-icon {
    background: #E8F5E9;
    color: var(--wa-color);
}
.link-whatsapp::before { background: var(--wa-color); }

.link-phone .card-icon {
    background: #E0F2FE;
    color: var(--phone-color);
}
.link-phone::before { background: var(--phone-color); }

.link-maps .card-icon {
    background: #FEE2E2;
    color: var(--maps-color);
}
.link-maps::before { background: var(--maps-color); }

/* Footer Styling */
.footer-info {
    border-top: 1px solid rgba(0,0,0,0.06);
    padding-top: 18px;
}

.copyright {
    font-size: 0.78rem;
    font-weight: 600;
    color: #475569;
}

.sub-copyright {
    font-size: 0.72rem;
    color: #94a3b8;
    margin-top: 4px;
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #0f172a;
    color: #ffffff;
    padding: 12px 22px;
    border-radius: 30px;
    font-size: 0.88rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 100;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    visibility: visible;
}

.toast i {
    color: #10B981;
    font-size: 1.1rem;
}

/* Responsive adjustments */
@media (max-width: 400px) {
    .profile-card {
        padding: 24px 16px;
    }
    .brand-title {
        font-size: 1.6rem;
    }
    .brand-subtitle {
        font-size: 0.82rem;
    }
    .card-title {
        font-size: 0.94rem;
    }
}
