/* ===================================
   LinkedIn Post Scheduler Landing Page
   Modern, fluid gradient design
   =================================== */

/* CSS Variables */
:root {
    /* LinkedIn Colors */
    --linkedin-blue: #0A66C2;
    --linkedin-dark: #004182;
    --linkedin-light: #378FE9;
    --linkedin-lighter: #70B5F9;

    /* Gradient Colors */
    --gradient-1: #0A66C2;
    --gradient-2: #378FE9;
    --gradient-3: #70B5F9;
    --gradient-4: #A8D5FF;

    /* Neutral Colors */
    --white: #FFFFFF;
    --off-white: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--gray-800);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===================================
   Navigation
   =================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition-normal);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-img {
    width: 48px;
    height: 48px;
    border-radius: 10px;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--linkedin-blue);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray-700);
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition-fast);
}

.nav-links a:hover {
    color: var(--linkedin-blue);
}

.btn-nav {
    background: var(--linkedin-blue);
    color: white !important;
    padding: 10px 20px;
    border-radius: 8px;
    transition: var(--transition-fast);
}

.btn-nav:hover {
    background: var(--linkedin-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* ===================================
   Hero Section with Fluid Gradient
   =================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.gradient-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(-45deg,
        rgba(10, 102, 194, 0.8),
        rgba(55, 143, 233, 0.7),
        rgba(112, 181, 249, 0.6),
        rgba(168, 213, 255, 0.5),
        rgba(55, 143, 233, 0.7)
    );
    background-size: 400% 400%;
    animation: gradientFlow 15s ease infinite;
    filter: blur(120px);
    opacity: 1;
}

/* Additional blur layers for depth */
.gradient-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    right: -50%;
    bottom: -50%;
    background: radial-gradient(circle at 30% 40%, rgba(10, 102, 194, 0.8) 0%, transparent 40%),
                radial-gradient(circle at 70% 60%, rgba(112, 181, 249, 0.6) 0%, transparent 40%),
                radial-gradient(circle at 50% 50%, rgba(55, 143, 233, 0.5) 0%, transparent 50%);
    animation: blobMove 20s ease infinite;
    filter: blur(80px);
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
        filter: blur(120px);
    }
    50% {
        background-position: 100% 50%;
        filter: blur(140px);
    }
    100% {
        background-position: 0% 50%;
        filter: blur(120px);
    }
}

@keyframes blobMove {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

/* Floating gradient blobs for extra fluid motion */
.gradient-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.9;
}

.gradient-blob-1 {
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(10, 102, 194, 0.9) 0%, rgba(55, 143, 233, 0.5) 30%, transparent 60%);
    top: -20%;
    left: -15%;
    animation: blob1Float 25s ease-in-out infinite;
}

.gradient-blob-2 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(168, 213, 255, 0.8) 0%, rgba(112, 181, 249, 0.6) 30%, transparent 60%);
    top: 10%;
    right: -10%;
    animation: blob2Float 20s ease-in-out infinite reverse;
}

.gradient-blob-3 {
    width: 900px;
    height: 900px;
    background: radial-gradient(circle, rgba(55, 143, 233, 0.7) 0%, rgba(112, 181, 249, 0.4) 30%, transparent 60%);
    bottom: -30%;
    left: 20%;
    animation: blob3Float 30s ease-in-out infinite;
}

@keyframes blob1Float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(100px, 150px) scale(1.1);
    }
    66% {
        transform: translate(-50px, 80px) scale(0.95);
    }
}

@keyframes blob2Float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(-120px, 100px) scale(1.3);
    }
}

@keyframes blob3Float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(-100px, -60px) scale(1.15);
    }
    66% {
        transform: translate(80px, 50px) scale(0.9);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
    padding: 60px 0;
}

.badge {
    display: inline-block;
    background: rgba(10, 102, 194, 0.1);
    color: var(--linkedin-blue);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 72px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--gray-900);
}

.gradient-text {
    background: linear-gradient(135deg, #004182 0%, #0A66C2 50%, #004182 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    background-size: 200% auto;
    animation: gradientTextShift 3s ease infinite;
}

@keyframes gradientTextShift {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

.hero-subtitle {
    font-size: 22px;
    color: var(--gray-600);
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 24px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-normal);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--linkedin-blue);
    color: white;
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    background: var(--linkedin-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-secondary {
    background: transparent;
    color: var(--linkedin-blue);
    border: 2px solid var(--linkedin-blue);
}

.btn-secondary:hover {
    background: var(--linkedin-blue);
    color: white;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--linkedin-blue);
    border: 2px solid var(--linkedin-blue);
    padding: 12px 28px;
}

.btn-outline:hover {
    background: var(--linkedin-blue);
    color: white;
}

.btn-large {
    padding: 20px 40px;
    font-size: 18px;
}

.hero-note {
    font-size: 14px;
    color: var(--gray-500);
}

/* ===================================
   Features Section
   =================================== */

.features {
    padding: 120px 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 20px;
    color: var(--gray-600);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.feature-card {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 16px;
    padding: 32px;
    transition: all var(--transition-normal);
}

.feature-card:hover {
    border-color: var(--linkedin-blue);
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon svg {
    color: white;
}

.feature-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.feature-desc {
    font-size: 16px;
    color: var(--gray-600);
    line-height: 1.6;
}

/* ===================================
   Screenshot Showcase
   =================================== */

.showcase {
    padding: 120px 0;
    background: var(--off-white);
}

.screenshots {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.screenshot-item {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
}

.screenshot-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
}

.screenshot-caption {
    padding: 20px;
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-700);
    text-align: center;
}

/* ===================================
   Pricing Section
   =================================== */

.pricing {
    padding: 120px 0;
    background: var(--white);
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    transition: all var(--transition-normal);
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.pricing-card-featured {
    border-color: var(--linkedin-blue);
    border-width: 3px;
    background: linear-gradient(135deg, rgba(10, 102, 194, 0.02), rgba(112, 181, 249, 0.02));
}

.popular-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    box-shadow: var(--shadow-md);
}

.pricing-header {
    text-align: center;
    margin-bottom: 32px;
}

.pricing-tier {
    font-size: 24px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 16px;
}

.pricing-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 8px;
}

.price-currency {
    font-size: 32px;
    font-weight: 700;
    color: var(--gray-600);
}

.price-value {
    font-size: 64px;
    font-weight: 800;
    color: var(--linkedin-blue);
    line-height: 1;
}

.price-period {
    font-size: 18px;
    color: var(--gray-500);
    margin-left: 8px;
}

.pricing-desc {
    font-size: 16px;
    color: var(--gray-600);
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    font-size: 16px;
    color: var(--gray-700);
}

.pricing-features svg {
    color: var(--linkedin-blue);
    flex-shrink: 0;
}

.money-back {
    text-align: center;
    font-size: 14px;
    color: var(--gray-500);
    margin-top: 16px;
}

/* ===================================
   FAQ Section
   =================================== */

.faq {
    padding: 120px 0;
    background: var(--off-white);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 20px;
    transition: all var(--transition-normal);
}

.faq-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateX(4px);
}

.faq-question {
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.faq-answer {
    font-size: 16px;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ===================================
   CTA Section
   =================================== */

.cta {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--gradient-1), var(--gradient-2));
    color: white;
    text-align: center;
}

.cta-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-subtitle {
    font-size: 22px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 24px;
}

.cta-buttons .btn-primary {
    background: white;
    color: var(--linkedin-blue);
}

.cta-buttons .btn-primary:hover {
    background: var(--gray-100);
}

.cta-buttons .btn-outline {
    border-color: white;
    color: white;
}

.cta-buttons .btn-outline:hover {
    background: white;
    color: var(--linkedin-blue);
}

.cta-note {
    font-size: 14px;
    opacity: 0.9;
}

/* ===================================
   Footer
   =================================== */

.footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 60px 0 32px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 48px;
    margin-bottom: 48px;
}

.footer-section {
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo-img {
    width: 48px;
    height: 48px;
    border-radius: 10px;
}

.footer-logo-text {
    font-size: 18px;
    font-weight: 700;
    color: white;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.6;
    color: var(--gray-500);
}

.footer-title {
    font-size: 16px;
    font-weight: 700;
    color: white;
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--linkedin-light);
}

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding-top: 32px;
    text-align: center;
}

.footer-copyright {
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-disclaimer {
    font-size: 12px;
    color: var(--gray-500);
}

/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 768px) {
    .hero-title {
        font-size: 48px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .section-title {
        font-size: 36px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .screenshots {
        grid-template-columns: 1fr;
    }

    .pricing-cards {
        grid-template-columns: 1fr;
    }

    .nav-links {
        gap: 16px;
    }

    .nav-links a:not(.btn-nav) {
        display: none;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-title {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 36px;
    }

    .container {
        padding: 0 16px;
    }

    .features,
    .showcase,
    .pricing,
    .faq,
    .cta {
        padding: 60px 0;
    }
}

/* ===================================
   Animations
   =================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

/* Smooth scroll offset for fixed navbar */
html {
    scroll-padding-top: 80px;
}
