/**
 * Social-X Landing Page Styles
 * Modern, responsive landing page with mobile-first approach
 */

/* ============================================
   LANDING PAGE VARIABLES
   ============================================ */
:root {
    --landing-primary: #2563eb;
    --landing-primary-dark: #1e40af;
    --landing-secondary: #475569;
    --landing-dark: #1e293b;
    --landing-dark-light: #334155;
    --landing-bg-light: #f8fafc;
    --landing-white: #ffffff;
    --landing-accent: #dbeafe;
    --landing-border: #bfdbfe;
    --landing-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --landing-shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --landing-transition: all 0.3s ease;
    --landing-container: 1200px;
}

/* ============================================
   NAVBAR STYLES
   ============================================ */
.landing-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0;
    height: 70px;
    background: #ffffff;
    border-bottom: 1px solid var(--landing-border);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    transition: var(--landing-transition);
}

.landing-navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.landing-logo {
    font-size: 26px;
    font-weight: 800;
    color: var(--landing-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.landing-logo span {
    color: var(--landing-primary);
}

/* Logo inline override for index */
.landing-logo-index {
    font-size: 2rem;
    margin-bottom: 15px;
    display: inline-block;
}

.landing-logo-index span {
    color: var(--landing-primary);
}

.landing-nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    margin: 0;
    padding: 0;
}

.landing-nav-links a {
    color: #475569;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: var(--landing-transition);
}

.landing-nav-links a:hover {
    color: var(--landing-primary);
}

.landing-nav-buttons {
    display: none;
}

/* ============================================
   HERO SECTION
   ============================================ */
.landing-hero {
    padding: 120px 0 60px;
    background: radial-gradient(circle at top right, #e0e7ff, transparent),
        radial-gradient(circle at bottom left, #f1f5f9, transparent);
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.landing-hero-content {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.landing-hero-content h1 {
    font-size: 54px;
    font-weight: 800;
    color: #1e3a8a;
    margin-bottom: 24px;
    line-height: 1.2;
}

.landing-hero-content p {
    font-size: 18px;
    color: var(--landing-secondary);
    margin-bottom: 32px;
    line-height: 1.8;
}

.landing-hero-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.landing-hero-actions .btn {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Hero Stats */
.landing-hero-stats {
    display: none;
}

.landing-stat-item {
    text-align: center;
}

.landing-stat-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--landing-primary);
    margin-bottom: 5px;
}

.landing-stat-label {
    color: var(--landing-secondary);
    font-size: 14px;
}

/* Hero Wrapper for PC layout */
.landing-hero-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.landing-hero-container {
    max-width: 1200px;
}

/* ============================================
   AUTH SECTION - Rewritten from scratch
   ============================================ */

/* Auth Container */
.landing-auth-section {
    flex: 0 0 360px;
    max-width: 360px;
}

.landing-auth-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.12);
    border: 1px solid var(--landing-border);
    max-height: 520px;
    overflow: hidden;
}

/* Auth Tabs */
.landing-auth-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.landing-auth-tab {
    flex: 1;
    padding: 10px 12px;
    background: #f1f5f9;
    border: 2px solid transparent;
    color: #64748b;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 10px;
    font-family: inherit;
}

.landing-auth-tab:hover {
    background: #e2e8f0;
    color: #475569;
}

.landing-auth-tab.active {
    background: var(--landing-primary);
    color: white;
    border-color: var(--landing-primary);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

/* Auth Forms Visibility */
.landing-auth-form {
    display: none;
}

.landing-auth-form.active {
    display: block;
}

/* Form Group */
.landing-auth-form .form-group {
    margin-bottom: 8px;
}

/* Labels */
.landing-auth-form label {
    display: block;
    margin-bottom: 3px;
    color: #1e293b;
    font-weight: 500;
    font-size: 12px;
}

.landing-auth-form label i {
    color: var(--landing-primary);
    margin-left: 6px;
    width: 14px;
    font-size: 11px;
}

/* Form Controls (Inputs) */
.landing-auth-form .form-control {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 13px;
    transition: all 0.3s ease;
    font-family: inherit;
    background: #f8fafc;
    height: 36px;
}

.landing-auth-form .form-control:focus {
    outline: none;
    border-color: var(--landing-primary);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
}

.landing-auth-form .form-control::placeholder {
    color: #94a3b8;
}

/* ============================================
   SIGNUP ROW LAYOUT
   ============================================ */

.signup-row {
    display: flex;
    gap: 10px;
}

.signup-row .form-group {
    flex: 1;
    min-width: 0;
}

/* Submit Button */
.landing-auth-form .btn-block {
    width: 100%;
    margin-top: 8px;
    padding: 10px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
    height: 40px;
}

/* Scrollbar for forms */
.landing-auth-form::-webkit-scrollbar {
    width: 4px;
}

.landing-auth-form::-webkit-scrollbar-track {
    background: transparent;
}

.landing-auth-form::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

/* Hide auth buttons in hero on PC */
.landing-hero-actions-pc {
    display: none;
}

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */

@media (max-width: 992px) {
    .landing-hero-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .landing-hero-content {
        max-width: 100%;
        padding: 10px;
        order: 1;
    }

    .landing-hero-content h1 {
        font-size: 36px;
    }

    .landing-auth-section {
        flex: none;
        max-width: 100%;
        width: 100%;
        order: 2;
    }

    .landing-auth-card {
        padding: 16px;
        max-height: none;
    }

    .landing-hero-actions-pc {
        display: flex;
    }
}

@media (max-width: 480px) {
    .landing-auth-tabs {
        flex-direction: row;
        gap: 6px;
    }

    .landing-auth-tab {
        padding: 8px 10px;
        font-size: 12px;
    }

    .landing-auth-card {
        padding: 12px;
        border-radius: 14px;
        max-height: none;
        overflow: visible;
    }

    .landing-auth-form {
        max-height: none;
        overflow: visible;
    }

    .signup-row {
        flex-direction: row;
        gap: 8px;
    }

    .signup-row .form-group {
        flex: 1;
    }

    .landing-auth-form .form-control {
        padding: 6px 8px;
        height: 32px;
        font-size: 11px;
    }

    .landing-auth-form label {
        font-size: 10px;
        margin-bottom: 2px;
    }

    .landing-auth-form label i {
        font-size: 9px;
        margin-left: 4px;
    }

    .landing-auth-form .form-group {
        margin-bottom: 6px;
    }

    .landing-auth-form .btn-block {
        padding: 8px;
        height: 36px;
        font-size: 13px;
        margin-top: 6px;
    }

    .remember-me-wrapper {
        margin-bottom: 8px;
    }

    .remember-me-label {
        font-size: 11px;
    }

    .checkmark {
        width: 14px;
        height: 14px;
    }
}

/* ============================================
   BADGE COMPONENT
   ============================================ */
.landing-badge {
    background: var(--landing-accent);
    color: var(--landing-primary-dark);
    border: 1px solid var(--landing-border);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
}

.landing-badge-dark {
    background: rgba(37, 99, 235, 0.2);
    color: #60a5fa;
    border: 1px solid rgba(37, 99, 235, 0.3);
}

.landing-badge-success {
    background: #dcfce7;
    color: #166534;
    border-color: #bbf7d0;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.landing-features {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
}

.landing-features .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.landing-features .section-header h2 {
    color: white;
    font-size: 2.5rem;
    margin-top: 15px;
}

.landing-features .section-header p {
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 15px auto 0;
}

.landing-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.landing-feature-card {
    background: rgba(37, 99, 235, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid rgba(37, 99, 235, 0.2);
    transition: transform 0.3s;
}

.landing-feature-card:hover {
    transform: translateY(-5px);
}

.landing-feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2.5rem;
    color: white;
}

.landing-feature-card h3 {
    color: white;
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.landing-feature-card p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

/* Mobile override for features */
.landing-features-mobile {
    grid-template-columns: 1fr;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.landing-services {
    padding: 80px 0;
    background: white;
}

.landing-services-pinned {
    background: var(--landing-bg-light);
}

.landing-services .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.landing-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.landing-service-card {
    background: white;
    border-radius: 20px;
    padding: 30px 25px;
    text-align: center;
    border: 2px solid var(--landing-border);
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.1);
}

.landing-service-card:hover {
    transform: translateY(-5px);
    border-color: var(--landing-primary);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.15);
}

.landing-service-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    color: white;
}

.landing-service-icon.instagram {
    background: linear-gradient(to bottom, #833ab4, #fd1d1d, #fcb045);
}

.landing-service-icon.tiktok {
    background: #010101;
}

.landing-service-icon.facebook {
    background: #1877f2;
}

.landing-service-icon.whatsapp {
    background: #25D366;
}

.landing-service-icon.telegram {
    background: #0088cc;
}

.landing-service-icon.youtube {
    background: #ff0000;
}

.landing-service-icon.default {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.landing-service-card h3 {
    color: #1e293b;
    font-size: 1.2rem;
    margin-bottom: 20px;
    min-height: 48px;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.landing-service-card .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
}

/* ============================================
   PRICING PREVIEW SECTION
   ============================================ */
.landing-pricing {
    padding: 80px 0;
    background: var(--landing-bg-light);
}

.landing-pricing .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.landing-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.landing-pricing-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    border: 2px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.landing-pricing-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: white;
}

.landing-pricing-card h3 {
    color: #1e293b;
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.landing-pricing-card p {
    color: #64748b;
    line-height: 1.7;
}

/* ============================================
   CTA SECTION
   ============================================ */
.landing-cta {
    padding: 100px 0;
    background: #1e293b;
    text-align: center;
    border-top: 1px solid #334155;
}

.landing-cta-badge {
    background: rgba(37, 99, 235, 0.2);
    color: #60a5fa;
    border: 1px solid rgba(37, 99, 235, 0.3);
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    margin-bottom: 20px;
    display: inline-block;
}

.landing-cta h2 {
    color: white;
    font-size: 2.8rem;
    margin: 15px 0 25px;
    line-height: 1.3;
    font-weight: 800;
}

.landing-cta p {
    color: #94a3b8;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.landing-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.landing-cta-buttons .btn-primary {
    padding: 18px 45px;
    font-size: 1.1rem;
    background: #2563eb;
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.landing-cta-buttons .btn-secondary {
    padding: 18px 45px;
    font-size: 1.1rem;
    background: transparent;
    border: 2px solid #334155;
    color: white;
}

/* ============================================
   FOOTER
   ============================================ */
.landing-footer {
    background: #1e293b;
    padding: 60px 0 30px;
    color: white;
}

.landing-footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.landing-footer-brand .logo {
    font-size: 2rem;
    margin-bottom: 15px;
    display: inline-block;
}

.landing-footer-brand p {
    color: #94a3b8;
    line-height: 1.8;
    margin: 15px 0;
}

.landing-footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.landing-footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--landing-primary);
    text-decoration: none;
    transition: all 0.3s;
}

.landing-footer-social a:hover {
    background: var(--landing-primary);
    color: white;
    transform: translateY(-3px);
}

.landing-footer h4 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.landing-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.landing-footer-links li {
    margin-bottom: 12px;
}

.landing-footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s;
}

.landing-footer-links a:hover {
    color: var(--landing-primary);
}

.landing-footer-contact li {
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.landing-footer-contact i {
    color: var(--landing-primary);
}

.landing-footer-bottom {
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    padding-top: 30px;
    text-align: center;
}

.landing-footer-bottom p {
    color: #94a3b8;
    margin: 0;
}

/* Contact info items */
.landing-footer-contact li {
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.landing-footer-contact i {
    color: var(--landing-primary);
}

/* ============================================
   MOBILE RESPONSIVE (< 992px)
   ============================================ */
@media (max-width: 992px) {

    /* Show Navbar on Mobile and center logo */
    .landing-navbar {
        display: flex;
    }

    .landing-navbar .container {
        justify-content: center;
    }

    .landing-logo {
        font-size: 22px;
    }

    .landing-logo-index {
        font-size: 1.5rem;
        margin-bottom: 0;
        text-align: center;
    }

    .landing-nav-links {
        display: none;
    }

    .landing-nav-buttons {
        display: none;
    }

    /* Hero */
    .landing-hero {
        padding: 100px 0 40px;
        min-height: auto;
    }

    .landing-hero-content h1 {
        font-size: 32px;
    }

    .landing-hero-content p {
        font-size: 16px;
    }

    .landing-hero-actions {
        flex-direction: row;
        justify-content: center;
        flex-wrap: nowrap;
    }

    .landing-hero-actions .btn {
        padding: 12px 20px;
        font-size: 14px;
        white-space: nowrap;
    }

    .landing-stat-num {
        font-size: 1.8rem;
    }

    /* Features */
    .landing-features {
        padding: 60px 0;
    }

    .landing-features .section-header h2 {
        font-size: 1.8rem;
    }

    .landing-features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 20px;
    }

    .landing-feature-card {
        padding: 30px 20px;
    }

    .landing-feature-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    .landing-feature-card h3 {
        font-size: 1.2rem;
    }

    /* Services */
    .landing-services {
        padding: 60px 0;
    }

    .landing-services-grid {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }

    /* Pricing */
    .landing-pricing {
        padding: 60px 0;
    }

    .landing-pricing-grid {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }

    /* CTA */
    .landing-cta {
        padding: 60px 20px;
    }

    .landing-cta h2 {
        font-size: 1.8rem;
    }

    .landing-cta p {
        font-size: 1rem;
    }

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

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

    /* Footer */
    .landing-footer {
        padding: 40px 20px 30px;
    }

    .landing-footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .landing-footer-brand .logo {
        font-size: 1.5rem;
    }
}

/* ============================================
   SMALL MOBILE (480px and below)
   ============================================ */
@media (max-width: 480px) {
    .landing-hero-content h1 {
        font-size: 26px;
    }

    .landing-stat-num {
        font-size: 1.5rem;
    }

    .landing-features .section-header h2,
    .landing-services .section-header h2,
    .landing-pricing .section-header h2 {
        font-size: 1.5rem;
    }

    .landing-cta h2 {
        font-size: 1.5rem;
    }

    .landing-service-card,
    .landing-pricing-card,
    .landing-feature-card {
        padding: 20px;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center {
    text-align: center;
}

.text-white {
    color: white;
}

.text-primary {
    color: var(--landing-primary);
}

.bg-dark {
    background: var(--landing-dark);
}

.bg-light {
    background: var(--landing-bg-light);
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 8px;
}

.mb-2 {
    margin-bottom: 16px;
}

.mb-3 {
    margin-bottom: 24px;
}

.mb-4 {
    margin-bottom: 32px;
}

.mt-0 {
    margin-top: 0;
}

.mt-1 {
    margin-top: 8px;
}

.mt-2 {
    margin-top: 16px;
}

.mt-3 {
    margin-top: 24px;
}

.mt-4 {
    margin-top: 32px;
}