/* Root Variables */
:root {
    --primary-blue: #1877f2;
    --primary-dark: #166fe5;
    --bg-gray: #f0f2f5;
    --card-white: #ffffff;
    --text-primary: #050505;
    --text-secondary: #65676b;
    --border-color: #e4e6eb;
    --hover-gray: #f2f3f5;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-gray);
    color: var(--text-primary);
    padding-top: 70px;
}

/* Navigation */
.social-nav {
    background: var(--card-white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
}

.navbar-brand {
    color: var(--primary-blue) !important;
    font-weight: 700;
    font-size: 1.5rem;
}

.navbar-brand i {
    margin-right: 8px;
}

.nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.nav-link:hover {
    background: var(--hover-gray);
    color: var(--primary-blue) !important;
}

.nav-link i {
    margin-right: 5px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.hero-section .container {
    position: relative;
    z-index: 10;
}

.hero-title {
    color: white;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image img {
    border: 5px solid white;
}

/* Profile Section */
.profile-section {
    padding: 50px 0;
}

.profile-card {
    background: var(--card-white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

.profile-header {
    text-align: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid var(--primary-blue);
    margin-bottom: 1rem;
}

.profile-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.profile-tagline {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.profile-stats {
    display: flex;
    justify-content: space-around;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.stat-label {
    display: block;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.profile-info {
    padding-top: 1.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 0;
    color: var(--text-secondary);
}

.info-item i {
    width: 24px;
    margin-right: 12px;
    color: var(--primary-blue);
}

.info-item a {
    color: var(--primary-blue);
    text-decoration: none;
}

.info-item a:hover {
    text-decoration: underline;
}

/* Suggestions Card */
.suggestions-card {
    background: var(--card-white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.suggestions-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.suggestion-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 0;
    gap: 12px;
}

.suggestion-item img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.suggestion-info {
    flex: 1;
}

.suggestion-info h5 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.suggestion-info p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Feed Section */
.feed-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.post-card {
    background: var(--card-white);
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.post-header {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    gap: 12px;
}

.post-header img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.post-user-info h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.post-user-info p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
}

.post-content {
    padding: 0 1.5rem 1rem;
}

.post-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.post-image {
    margin: 1rem 0 0;
}

.demo-post-img {
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.demo-post-img i {
    font-size: 5rem;
    color: white;
    opacity: 0.8;
}

.gradient-1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.gradient-2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.post-stats {
    display: flex;
    justify-content: space-around;
    padding: 0.75rem 1.5rem;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.post-stats i {
    margin-right: 5px;
    color: var(--primary-blue);
}

.post-actions {
    display: flex;
    justify-content: space-around;
    padding: 0.5rem 1.5rem 1rem;
}

.action-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.action-btn:hover {
    background: var(--hover-gray);
    color: var(--primary-blue);
}

.action-btn i {
    font-size: 1.2rem;
}

/* Network Section */
.network-section {
    padding: 50px 0;
    background: var(--card-white);
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
}

.network-card {
    background: var(--bg-gray);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.network-card:hover {
    border-color: var(--primary-blue);
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(24, 119, 242, 0.2);
}

.network-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 1rem;
    border: 3px solid var(--primary-blue);
}

.network-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.network-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

/* Footer */
.footer {
    background: var(--card-white);
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
    margin-top: 50px;
}

.footer p {
    margin: 0;
    color: var(--text-secondary);
}

.footer a {
    color: var(--primary-blue);
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

/* Buttons */
.btn-primary {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    font-weight: 600;
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

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

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .hero-buttons {
        flex-direction: column;
    }

    .profile-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .post-actions {
        flex-direction: column;
        gap: 0.5rem;
    }

    .action-btn {
        justify-content: center;
    }
}
