/**
 * Social Module Stylesheet
 * Standardized for mdv3 design system
 */

:root {
    --ig-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f77737 100%);
    --ig-purple: #764ba2;
    --soft-bg: #f8f7ff;
    --radius-lg: 20px;
    --radius-md: 14px;
    --border: #f0eeff;
    --transition: all 0.3s ease;
    --primary: #667eea;
    --secondary: #764ba2;
    --shadow-hover: 0 20px 40px rgba(118, 75, 162, 0.12);
}

body {
    background: #fff;
    color: #1a1a2e;
    font-family: 'Inter', -apple-system, sans-serif;
}

/* Hero Section */
.hero-section {
    background: #fff;
    background-image:
        linear-gradient(rgba(118, 75, 162, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(118, 75, 162, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    padding: 80px 0 60px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1px solid #e8ecf1;
    border-radius: 50px;
    padding: 6px 18px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    background: #2ed573;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.hero-title {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1.5px;
}

.hero-title .gradient-text {
    background: var(--ig-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: #6c7a89;
    max-width: 560px;
    line-height: 1.7;
}

.btn-hero-primary {
    background: var(--ig-gradient);
    color: #fff;
    border: none;
    padding: 14px 36px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(118, 75, 162, 0.35);
    color: #fff;
}

.btn-hero-secondary {
    background: #fff;
    color: #1a1a2e;
    border: 2px solid #e8ecf1;
    padding: 14px 36px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-hero-secondary:hover {
    border-color: var(--ig-purple);
    color: var(--ig-purple);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.section {
    padding: 100px 0;
}

.section-alt {
    background: var(--bg-alt, #f8fafc);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--text-main, #1e293b) 0%, #475569 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header p {
    font-size: 1.125rem;
}

/* Platform Cards */
.platform-card {
    border-radius: 24px;
    padding: 36px;
    border: 1px solid #f0eeff;
    background: #fff;
    transition: all 0.3s;
    cursor: pointer;
    text-decoration: none;
    display: block;
    color: inherit;
    position: relative;
    overflow: hidden;
}

.platform-card::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.3s;
}

.platform-card.ig::before { background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(247, 119, 55, 0.05) 100%); }
.platform-card.linkedin::before { background: rgba(10, 102, 194, 0.04); }
.platform-card.facebook::before { background: rgba(24, 119, 242, 0.04); }
.platform-card:hover::before { opacity: 1; }

.platform-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

.platform-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #fff;
    margin-bottom: 20px;
}

.platform-icon.ig { background: var(--ig-gradient); }
.platform-icon.linkedin { background: linear-gradient(135deg, #0a66c2, #00a0dc); }
.platform-icon.facebook { background: linear-gradient(135deg, #1877f2, #0a5dc2); }

.platform-card h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 8px;
}

.platform-card p {
    color: #6c7a89;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.platform-features {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}

.platform-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #6c7a89;
    padding: 4px 0;
}

.platform-features li i {
    color: var(--ig-purple);
    font-size: 14px;
}

.platform-badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-live { background: rgba(46, 213, 115, 0.12); color: #2ed573; }
.badge-soon { background: rgba(108, 122, 137, 0.1); color: #6c7a89; }

/* Features Section */
.features-section {
    background: var(--soft-bg);
    padding: 80px 0;
}

.feature-item {
    background: #fff;
    border-radius: 20px;
    padding: 32px;
    border: 1px solid #f0eeff;
    height: 100%;
    transition: all 0.3s;
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.12), rgba(118, 75, 162, 0.12));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--ig-purple);
    margin-bottom: 16px;
}

.feature-item h5 {
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-item p {
    color: #6c7a89;
    font-size: 14px;
    margin: 0;
}

/* Stats */
.stats-section {
    padding: 60px 0;
}

.stat-number {
    font-size: 48px;
    font-weight: 900;
    background: var(--ig-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: #6c7a89;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 24px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

.feature-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

/* Showcase Section */
.showcase-wrapper {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-hover);
    border: 1px solid var(--border);
    overflow: hidden;
}

.showcase-header {
    background: #f1f5f9;
    padding: 16px 24px;
    display: flex;
    gap: 8px;
    border-bottom: 1px solid var(--border);
}

.showcase-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #eab308; }
.dot-green { background: #22c55e; }

.showcase-body {
    padding: 0;
    background: var(--bg-alt, #f8fafc);
}

.showcase-body img {
    width: 100%;
    display: block;
    border-bottom-left-radius: var(--radius-lg);
    border-bottom-right-radius: var(--radius-lg);
}

/* Steps Grid */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
    position: relative;
}

.step-card {
    text-align: center;
    position: relative;
    background: white;
    padding: 40px 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 24px;
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.3);
}

.step-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

/* FAQ */
.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.faq-item {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 30px;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border-color: var(--primary);
    transform: translateX(5px);
}

.faq-question {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1e293b;
}

.faq-answer {
    margin: 0;
    color: #64748b;
}

/* CTA Section */
.cta-section {
    background: #1a1a2e;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(118, 75, 162, 0.3) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.cta-section h2 {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 900;
    color: #fff;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 18px;
}

.btn-white {
    background: white;
    color: var(--primary);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-white:hover {
    background: var(--bg-alt, #f8fafc);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.3);
}

section {
    scroll-margin-top: 80px;
}

/* Mockup Component Helper Classes */
.social-mockup-outer {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 24px;
    padding: 3px;
}

.social-mockup-inner {
    background: #1a1a2e;
    border-radius: 22px;
    padding: 24px;
}

.social-mockup-dot-red {
    width: 10px;
    height: 10px;
    background: #ff5f57;
    border-radius: 50%;
}

.social-mockup-dot-yellow {
    width: 10px;
    height: 10px;
    background: #febc2e;
    border-radius: 50%;
}

.social-mockup-dot-green {
    width: 10px;
    height: 10px;
    background: #28c840;
    border-radius: 50%;
}

.social-mockup-dot-title {
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
    margin-left: 8px;
}

.social-stat-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 12px;
}

.social-stat-icon {
    font-size: 18px;
}

.social-stat-val {
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    margin-top: 4px;
}

.social-stat-lbl {
    color: rgba(255, 255, 255, 0.4);
    font-size: 11px;
}

.social-post-item {
    background: rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    padding: 10px 12px;
}

.social-post-icon-box {
    width: 36px;
    height: 36px;
    background: var(--ig-gradient);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-post-type {
    color: #fff;
    font-size: 12px;
    font-weight: 600;
}

.social-post-time {
    color: rgba(255, 255, 255, 0.4);
    font-size: 11px;
}

.social-post-status {
    background: rgba(46, 213, 115, 0.15);
    color: #2ed573;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
}

.supported-platforms-title {
    font-size: clamp(26px, 4vw, 42px);
    font-weight: 800;
}

.supported-platforms-sub {
    max-width: 500px;
    margin: auto;
    font-size: 16px;
}

.platform-card-disabled {
    opacity: 0.7;
    cursor: default;
}

.platform-open-link {
    color: var(--ig-purple);
    font-weight: 700;
}

.features-header-title {
    font-size: clamp(24px, 4vw, 38px);
}

.features-header-sub {
    max-width: 480px;
    margin: auto;
}

.feature-card-grid-custom {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.icon-purple { background: #ede9fe; color: #7c3aed; }
.icon-blue { background: #dbeafe; color: #2563eb; }
.icon-green { background: #d1fae5; color: #059669; }
.icon-amber { background: #fef3c7; color: #d97706; }
.icon-pink { background: #fce7f3; color: #db2777; }
.icon-indigo { background: #e0e7ff; color: #4f46e5; }
.icon-red { background: #fee2e2; color: #dc2626; }

.feature-card-desc {
    margin-bottom: 16px;
}

.feature-card-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feature-card-list-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #475569;
}

.feature-card-check {
    color: #16a34a;
    font-weight: 700;
}

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

.btn-cta-lg {
    font-size: 18px;
    padding: 16px 48px;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-badge { margin: 0 auto 24px; }
    .hero-title { font-size: 3rem; }
    .hero-subtitle { margin: 0 auto 40px; }
    .hero-actions { justify-content: center; }
    .hero-mockup-wrapper { transform: none; max-width: 600px; margin: 0 auto; }
    .hero-mockup-wrapper:hover { transform: none; }
}

@media (max-width: 768px) {
    .hero { padding: 80px 0 60px; }
    .hero-title { font-size: 2.5rem; }
    .section { padding: 60px 0; }
    .section-header h2 { font-size: 2rem; }
    .cta-content h2 { font-size: 2.5rem; }
    .feature-card { padding: 30px 20px; text-align: center; }
    .feature-icon-wrapper { margin: 0 auto 20px; }
}
