/*
 * Synapse Landing Page Styles - Workable-Inspired Design
 * Author: Synapse Team
 * Last Updated: October 2025
 * Inspired by modern HR/SaaS platforms like Workable
 */

/* ===========================
   Global Styles
   =========================== */

* {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    overflow-x: hidden;
}

/* ===========================
   Modern Color Scheme - Green Primary
   =========================== */

:root {
    --primary-green: #3daea1;
    --primary-dark-green: #2d8a7f;
    --primary-light-green: #5bc5b7;
    --accent-green-light: #6dd5c3;
    --accent-teal: #00bfa5;
    --accent-coral: #ff8c6b;
    --dark-bg: #0a1929;
    --light-gray: #f8f9fa;
    --medium-gray: #6c757d;
}

/* ===========================
   Gradient Backgrounds
   =========================== */

.gradient-bg {
    background: linear-gradient(135deg, #3daea1 0%, #2d8a7f 100%);
}

.gradient-bg-coral {
    background: linear-gradient(135deg, #ff8c6b 0%, #ff8c42 100%);
}

.gradient-text {
    background: linear-gradient(135deg, #3daea1 0%, #2d8a7f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-coral {
    background: linear-gradient(135deg, #ff8c6b 0%, #ff8c42 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===========================
   Split Screen Layouts
   =========================== */

.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 600px;
}

@media (max-width: 1024px) {
    .split-section {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.split-image {
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(13, 71, 161, 0.2);
    overflow: hidden;
}

/* ===========================
   Modern Card Effects
   =========================== */

.card-workable {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.card-workable:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(13, 71, 161, 0.15);
}

.card-feature {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.card-feature:hover {
    border-color: var(--primary-light-blue);
    box-shadow: 0 8px 30px rgba(13, 71, 161, 0.12);
    transform: translateY(-4px);
}

/* ===========================
   Modern Button Styles
   =========================== */

.btn-primary {
    background: linear-gradient(135deg, #3daea1 0%, #2d8a7f 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 14px rgba(61, 174, 161, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(61, 174, 161, 0.4);
}

.btn-primary-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
    border-radius: 10px;
}

.btn-coral {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8c42 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 14px rgba(255, 107, 107, 0.3);
}

.btn-coral:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--primary-green);
    color: white;
    transform: translateY(-2px);
}

/* ===========================
   Typography
   =========================== */

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #1a1a1a;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: #1a1a1a;
}

.subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    line-height: 1.6;
    color: var(--medium-gray);
    font-weight: 400;
}

.text-large {
    font-size: 1.25rem;
    line-height: 1.7;
}

/* ===========================
   Icon Styles
   =========================== */

.icon-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.icon-circle-blue {
    background: linear-gradient(135deg, rgba(61, 174, 161, 0.1) 0%, rgba(45, 138, 127, 0.1) 100%);
    color: var(--primary-green);
}

.icon-circle-coral {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1) 0%, rgba(255, 140, 66, 0.1) 100%);
    color: var(--accent-coral);
}

.icon-circle-teal {
    background: linear-gradient(135deg, rgba(0, 191, 165, 0.1) 0%, rgba(0, 191, 165, 0.2) 100%);
    color: var(--accent-teal);
}

/* ===========================
   Badge Styles
   =========================== */

.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.badge-blue {
    background: rgba(61, 174, 161, 0.1);
    color: var(--primary-green);
}

.badge-coral {
    background: rgba(255, 107, 107, 0.1);
    color: var(--accent-coral);
}

/* ===========================
   Stat Number Styles
   =========================== */

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--primary-green);
}

.stat-label {
    font-size: 1rem;
    color: var(--medium-gray);
    font-weight: 500;
    margin-top: 0.5rem;
}

/* ===========================
   Image Styles
   =========================== */

.rounded-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.mobile-screenshot {
    max-width: 350px;
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(61, 174, 161, 0.2);
}

.image-overlay {
    position: relative;
}

.image-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    border-radius: 16px;
}

/* ===========================
   Animations
   =========================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Animation delays */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

/* ===========================
   Section Spacing
   =========================== */

.section-padding {
    padding: 6rem 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 3rem 0;
    }
}

/* ===========================
   Background Patterns
   =========================== */

.bg-pattern {
    background-image:
        radial-gradient(circle at 25% 25%, rgba(61, 174, 161, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255, 140, 107, 0.05) 0%, transparent 50%);
}

.bg-dots {
    background-image: radial-gradient(circle, rgba(61, 174, 161, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* ===========================
   Accessibility
   =========================== */

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--primary-green);
    outline-offset: 3px;
    border-radius: 4px;
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
    outline: none;
}

::selection {
    background-color: var(--primary-green);
    color: white;
}

::-moz-selection {
    background-color: var(--primary-green);
    color: white;
}

/* ===========================
   Utility Classes
   =========================== */

.container-custom {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-balance {
    text-wrap: balance;
}

.shadow-soft {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.shadow-strong {
    box-shadow: 0 12px 40px rgba(13, 71, 161, 0.15);
}

/* ===========================
   Responsive Utilities
   =========================== */

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}

/* ===========================
   Performance Optimizations
   =========================== */

.card-workable,
.card-feature,
.btn-primary,
.btn-coral {
    will-change: transform;
}

img {
    max-width: 100%;
    height: auto;
}

/* ===========================
   Logo Styles
   =========================== */

.logo-image {
    width: 48px;
    height: 48px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
}

/* Logo in navigation */
nav img[alt="Synapse Logo"] {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

/* Logo in footer */
footer img[alt="Synapse Logo"] {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

/* Green color filter to match Synapse text gradient */
.logo-green-filter {
    filter: brightness(0) saturate(100%) invert(65%) sepia(35%) saturate(650%) hue-rotate(125deg) brightness(95%) contrast(85%);
}

/* Footer logo with lighter green tint */
footer .logo-green-filter {
    filter: brightness(0) saturate(100%) invert(75%) sepia(25%) saturate(550%) hue-rotate(125deg) brightness(100%) contrast(90%);
}

/* Responsive logo sizing */
@media (max-width: 768px) {
    nav img[alt="Synapse Logo"],
    footer img[alt="Synapse Logo"] {
        width: 56px;
        height: 56px;
    }
}
