/* 
   Pipedream Studio Outreach Styling
   Premium, design-forward aesthetic with deep dark mode, neon purple/indigo gradients, 
   glassmorphism, and responsive typography.
*/

:root {
    --bg-dark: #090B11;
    --card-bg: rgba(17, 24, 39, 0.7);
    --border-color: rgba(255, 255, 255, 0.08);
    --text-main: #F3F4F6;
    --text-muted: #9CA3AF;
    --primary-glow: linear-gradient(135deg, #A855F7 0%, #6366F1 100%);
    --primary-color: #8B5CF6;
    --primary-hover: #7C3AED;
    --success-green: #10B981;
    --warn-red: #EF4444;
    --font-outfit: 'Outfit', sans-serif;
    --font-space: 'Space Grotesk', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-outfit);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Background Glowing Orbs */
.glow-orb {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.15;
    pointer-events: none;
    animation: orb-float 20s infinite alternate ease-in-out;
}

.orb-1 {
    background: #8B5CF6;
    top: -100px;
    left: -100px;
}

.orb-2 {
    background: #6366F1;
    bottom: -150px;
    right: -100px;
    animation-delay: 5s;
}

@keyframes orb-float {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(50px, 50px) scale(1.1);
    }
}

/* Header */
.header {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.logo {
    display: flex;
    align-items: center;
}

.pipedream-logo {
    height: 44px;
    width: auto;
    object-fit: contain;
}

.badge {
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: #C084FC;
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Main Container */
.container {
    flex: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 16px;
}

/* Hero Section */
.hero-section {
    text-align: center;
    margin-bottom: 64px;
}

.hero-title {
    font-family: var(--font-space);
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.gradient-text {
    background: var(--primary-glow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: var(--text-muted);
    font-weight: 300;
    max-width: 700px;
    margin: 0 auto;
}

/* Audit Section */
.audit-section {
    margin-bottom: 80px;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-family: var(--font-space);
    font-size: 2rem;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.audit-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 992px) {
    .audit-grid {
        grid-template-columns: 1fr 1.2fr;
    }
}

/* Glass Panels */
.panel {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.panel:hover {
    border-color: rgba(139, 92, 246, 0.25);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.05);
}

.panel-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 12px;
}

.panel-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.status-dot.red {
    background-color: var(--warn-red);
    box-shadow: 0 0 10px var(--warn-red);
}

.status-dot.green {
    background-color: var(--success-green);
    box-shadow: 0 0 10px var(--success-green);
}

.panel-body {
    padding: 32px 24px;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 380px;
}

.panel-footer {
    padding: 20px 24px;
    background: rgba(0, 0, 0, 0.15);
    border-top: 1px solid var(--border-color);
    font-size: 0.95rem;
}

.critique {
    color: #FCA5A5;
}

.benefit {
    color: #A7F3D0;
}

/* LinkedIn Mockup Details */
.linkedin-post-mock {
    background: #111827;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 20px;
    width: 100%;
    max-width: 450px;
    font-size: 0.9rem;
    color: #E5E7EB;
}

.post-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.avatar-placeholder {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #374151;
}

.user-name {
    font-weight: 600;
    color: #FFFFFF;
}

.user-title {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.post-content {
    line-height: 1.5;
    margin-bottom: 16px;
}

.post-content p {
    margin-bottom: 10px;
}

.post-engagement {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 12px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Carousel Container (Premium slide) */
.carousel-container {
    width: 100%;
    max-width: 450px;
    aspect-ratio: 1 / 1;
    position: relative;
    display: flex;
    flex-direction: column;
}

.carousel-slides {
    flex: 1;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.5s;
    z-index: 1;
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.slide-logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.prospect-logo {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    object-fit: cover;
    background-color: rgba(255, 255, 255, 0.1);
}

.slide-company-name {
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
}

.slide-main-content {
    margin-top: -20px;
}

.slide-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    background: rgba(168, 85, 247, 0.2);
    border: 1px solid rgba(168, 85, 247, 0.4);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #E9D5FF;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.slide-badge.glow {
    background: rgba(236, 72, 153, 0.2);
    border: 1px solid rgba(236, 72, 153, 0.4);
    color: #FBCFE8;
}

.slide-title {
    font-family: var(--font-space);
    font-size: 1.8rem;
    line-height: 1.25;
    font-weight: 800;
    margin-bottom: 12px;
    color: #FFFFFF;
}

.slide-subheading {
    font-family: var(--font-space);
    font-size: 1.4rem;
    font-weight: 700;
    color: #F5F3FF;
    margin-bottom: 12px;
}

.slide-text {
    font-size: 1rem;
    color: #D1D5DB;
    font-weight: 300;
}

.slide-text-large {
    font-size: 1.05rem;
    color: #E5E7EB;
    font-weight: 400;
    line-height: 1.5;
}

.slide-number-accent {
    font-family: var(--font-space);
    font-size: 3rem;
    font-weight: 800;
    color: rgba(139, 92, 246, 0.3);
    margin-bottom: 8px;
}

.slide-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 16px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.carousel-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.btn-ctrl {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s;
}

.btn-ctrl:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.4);
}

.carousel-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.6) 0%, rgba(9, 11, 17, 0.9) 100%);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 60px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.05) 0%, transparent 60%);
    z-index: 0;
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-family: var(--font-space);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.cta-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.highlight-text {
    color: #FBCFE8;
    font-weight: 600;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
}

@media (min-width: 576px) {
    .cta-actions {
        flex-direction: row;
    }
}

/* Buttons */
.btn {
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: var(--primary-glow);
    color: #FFFFFF;
    border: none;
    box-shadow: 0 4px 14px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

/* Modal Booking Widget */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #0F172A;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    width: 100%;
    max-width: 450px;
    position: relative;
    box-shadow: 0 20px 50px rgba(139, 92, 246, 0.1);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal.active .modal-content {
    transform: scale(1);
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
}

.close-btn:hover {
    color: #FFFFFF;
}

.modal-content h3 {
    font-family: var(--font-space);
    font-size: 1.5rem;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.modal-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
}

.form-group input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 12px;
    border-radius: 8px;
    color: #FFFFFF;
    font-size: 0.95rem;
    font-family: var(--font-outfit);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.2);
}

.success-message {
    display: none;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--success-green);
    color: #34D399;
    padding: 16px;
    border-radius: 8px;
    text-align: center;
    margin-top: 20px;
}

/* Footer */
.footer {
    text-align: center;
    padding: 40px 16px;
    color: var(--text-muted);
    font-size: 0.85rem;
    border-top: 1px solid var(--border-color);
    margin-top: 60px;
}
