/* LinkzHub Premium Frontend Styling - Influencer Centric Edition */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

:root {
    --primary: #6366f1; /* Indigo */
    --primary-hover: #4f46e5;
    --primary-light: #eef2ff;
    --secondary: #06b6d4; /* Teal */
    --secondary-hover: #0891b2;
    --dark: #0f172a; /* Slate 900 */
    --dark-slate: #1e293b; /* Slate 800 */
    --light: #f8fafc; /* Slate 50 */
    --border: #e2e8f0; /* Slate 200 */
    --text: #334155; /* Slate 700 */
    --text-muted: #64748b; /* Slate 500 */
    --white: #ffffff;
    --success: #10b981;
    --warning: #f59e0b;
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --font-heading: 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background-color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--dark);
    font-weight: 700;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

a:hover {
    color: var(--primary-hover);
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- HEADER / NAVBAR --- */
.site-header {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    position: relative;
}

.logo a {
    display: flex;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: var(--dark);
    gap: 8px;
}

.logo span {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo img {
    max-height: 44px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 28px;
    align-items: center;
}

.nav-link {
    color: var(--text);
    font-weight: 500;
    font-size: 15px;
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.2s ease;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    box-shadow: var(--shadow-sm);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    color: var(--white);
}

.btn-primary:hover {
    box-shadow: 0 10px 20px -10px rgba(99, 102, 241, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--dark);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background-color: var(--primary-light);
    color: var(--primary);
    border-color: rgba(99, 102, 241, 0.2);
    transform: translateY(-1px);
}

.btn-lg {
    padding: 14px 28px;
    font-size: 16px;
    border-radius: var(--radius-md);
}

/* --- HERO SECTION --- */
.hero {
    background: radial-gradient(circle at 85% 15%, rgba(99, 102, 241, 0.08) 0%, transparent 40%),
                radial-gradient(circle at 15% 85%, rgba(6, 182, 212, 0.06) 0%, transparent 40%),
                var(--white);
    padding: 100px 0 90px 0;
    border-bottom: 1px solid var(--border);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: center;
}

.hero-content h1 {
    font-size: 52px;
    line-height: 1.12;
    letter-spacing: -1.2px;
    margin-bottom: 20px;
    color: var(--dark);
}

.hero-content h1 span {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 36px;
    max-width: 600px;
    line-height: 1.65;
}

.hero-buttons {
    display: flex;
    gap: 14px;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border);
    padding: 28px;
    width: 100%;
    max-width: 440px;
}

/* --- STATS STRIP --- */
.stats-strip {
    background-color: var(--dark);
    padding: 48px 0;
    color: var(--white);
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.stat-item h3 {
    font-size: 40px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 4px;
    background: linear-gradient(135deg, #a5b4fc, #22d3ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-item p {
    font-size: 14px;
    color: #94a3b8;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
}

/* --- COMMON SECTIONS --- */
.section {
    padding: 90px 0;
}

.section-bg {
    background-color: var(--white);
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 56px auto;
}

.section-header h2 {
    font-size: 38px;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.8px;
}

.section-header p {
    font-size: 16px;
    color: var(--text-muted);
}

/* --- GRIDS --- */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* --- CREATOR STEP TIMELINE --- */
.steps-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    position: relative;
}

.step-card {
    background: var(--white);
    padding: 32px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(99, 102, 241, 0.3);
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    border: 2px solid rgba(99, 102, 241, 0.1);
}

.step-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.step-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* --- CARDS & PANELS --- */
.feature-card {
    background: var(--white);
    padding: 36px 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(99, 102, 241, 0.2);
}

.feature-icon {
    font-size: 32px;
    margin-bottom: 20px;
    width: 60px;
    height: 60px;
    background: var(--primary-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* --- TESTIMONIALS --- */
.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    position: relative;
}

.testimonial-rating {
    color: var(--warning);
    font-size: 16px;
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 15px;
    color: var(--text);
    margin-bottom: 24px;
    font-style: italic;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-info h4 {
    font-size: 15px;
    font-weight: 700;
}

.author-info p {
    font-size: 12px;
    color: var(--text-muted);
}

/* --- ACCORDION FAQ --- */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--white);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    margin-bottom: 14px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.faq-question {
    padding: 20px 24px;
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.faq-question::after {
    content: '+';
    font-size: 20px;
    font-weight: 400;
    color: var(--text-muted);
    transition: transform 0.2s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 24px;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.65;
    transition: all 0.2s ease-out;
}

.faq-item.active {
    border-color: rgba(99, 102, 241, 0.3);
    box-shadow: var(--shadow-sm);
}

.faq-item.active .faq-question::after {
    content: '−';
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 24px 20px 24px;
}

/* --- CONTACT FORM --- */
.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 48px;
    align-items: start;
}

.contact-info-card {
    background-color: var(--dark);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    height: 100%;
}

.contact-info-card h3 {
    color: var(--white);
    font-size: 28px;
    margin-bottom: 16px;
}

.contact-info-card p {
    color: #94a3b8;
    font-size: 15px;
    margin-bottom: 36px;
}

.info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.info-icon {
    font-size: 20px;
    color: var(--secondary);
}

.info-text h4 {
    color: var(--white);
    font-size: 15px;
    font-weight: 700;
}

.info-text p {
    color: #94a3b8;
    font-size: 13px;
    margin-bottom: 0;
}

.contact-form-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--dark-slate);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--dark);
    transition: all 0.2s ease;
    background-color: var(--light);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

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

.form-message {
    padding: 14px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.form-message.success {
    background-color: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.form-message.error {
    background-color: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* --- FOOTER --- */
.site-footer {
    background-color: var(--dark);
    color: #94a3b8;
    padding: 80px 0 40px 0;
    border-top: 1px solid #1e293b;
    font-size: 14px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-about p {
    margin-top: 16px;
    line-height: 1.6;
    max-width: 300px;
}

.footer-logo a {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: var(--white);
}

.footer-col h4 {
    color: var(--white);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: #94a3b8;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #1e293b;
    padding-top: 40px;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: #64748b;
}

.footer-bottom-links a:hover {
    color: #94a3b8;
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 36px;
    }
    
    .hero-content p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        height: auto;
        padding: 16px 0;
        gap: 16px;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 18px;
    }
    
    .hero-content h1 {
        font-size: 38px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .section-header h2 {
        font-size: 30px;
    }
    
    .grid-2, .grid-3, .grid-4, .steps-container {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* --- LEGAL / PRIVACY CARD --- */
.legal-card {
    background-color: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    padding: 48px;
    margin: 0 auto;
    max-width: 900px;
}

.legal-card h1 {
    font-size: 36px;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.legal-meta {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 32px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 16px;
}

.legal-content h3 {
    font-size: 18px;
    margin-top: 28px;
    margin-bottom: 12px;
}

.legal-content p {
    font-size: 15px;
    color: var(--text);
    margin-bottom: 18px;
    line-height: 1.65;
}

/* --- ALTERNATING SECTION GRID & PREMIUM FRAMES --- */
.section-alternating {
    padding: 100px 0;
    border-bottom: 1px solid var(--border);
}

.alternating-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.alternating-grid.reverse {
    direction: rtl;
}

.alternating-grid.reverse .col-copy,
.alternating-grid.reverse .col-visual {
    direction: ltr;
}

.col-copy h2 {
    font-size: 36px;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.8px;
}

.col-copy h2 span {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.col-copy p {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.7;
}

.col-copy ul {
    list-style: none;
    margin-bottom: 30px;
}

.col-copy ul li {
    font-size: 15px;
    color: var(--text);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.col-copy ul li::before {
    content: "✓";
    color: var(--success);
    font-weight: 700;
    background-color: #ecfdf5;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.col-visual {
    position: relative;
}

.mockup-frame {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border);
    padding: 12px;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.mockup-frame:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 30px 60px -15px rgba(15, 23, 42, 0.12);
}

.mockup-frame img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    display: block;
}

/* Glass Floating Badge */
.floating-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: var(--radius-md);
    padding: 14px 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    bottom: -20px;
    right: -20px;
    z-index: 10;
    animation: float 4s ease-in-out infinite;
}

.floating-badge.left {
    bottom: -20px;
    left: -20px;
    right: auto;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    margin-left: 40px;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--dark);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-toggle.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.menu-toggle.open span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 992px) {
    .menu-toggle {
        display: flex;
    }
    
    .navbar {
        height: 70px;
    }
    
    .nav-wrapper {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-xl);
        flex-direction: column;
        align-items: flex-start;
        padding: 24px;
        gap: 24px;
        margin-left: 0;
        display: none;
        max-height: 80vh;
        overflow-y: auto;
    }
    
    .nav-wrapper.active {
        display: flex;
    }
    
    .nav-wrapper nav {
        width: 100%;
    }
    
    .nav-menu {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 16px;
    }
    
    .nav-link {
        display: block;
        width: 100%;
        font-size: 16px;
        padding: 6px 0;
    }
    
    .nav-cta {
        width: 100%;
        flex-direction: column;
        gap: 10px;
        margin-top: 8px;
    }
    
    .nav-cta .btn {
        width: 100%;
        text-align: center;
    }
    
    .alternating-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .alternating-grid.reverse {
        direction: ltr;
    }
    
    .floating-badge, .floating-badge.left {
        position: static !important;
        margin: 20px auto 0 auto !important;
        animation: none !important;
        justify-content: center !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
    }
}


