/* FlowSync Landing Page Styles */
/* Copper & Slate Palette: #B87333, #D4A574, #2F3640, #F5F0EB */

:root {
    --copper: #B87333;
    --copper-light: #D4A574;
    --copper-dark: #8B5A2B;
    --slate: #2F3640;
    --slate-light: #4A6670;
    --cream: #F5F0EB;
    --cream-dark: #E8E0D5;
    --white: #FFFFFF;
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Manrope', -apple-system, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(245, 240, 235, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(184, 115, 51, 0.1);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--slate);
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
}

.logo-icon {
    color: var(--copper);
    font-size: 1.75rem;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--slate);
    transition: all 0.3s ease;
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--slate);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.nav-menu a:hover {
    color: var(--copper);
}

.nav-cta {
    background: var(--copper);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.2s ease !important;
}

.nav-cta:hover {
    background: var(--copper-dark);
    color: var(--white) !important;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 20%, rgba(184, 115, 51, 0.08) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 80%, rgba(47, 54, 64, 0.05) 0%, transparent 50%);
}

.hero-noise {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    max-width: 560px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(184, 115, 51, 0.1);
    color: var(--copper);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--copper);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--slate);
}

.hero-title .accent {
    color: var(--copper);
    font-style: italic;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--slate-light);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--copper);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--copper-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(184, 115, 51, 0.3);
}

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

.btn-secondary:hover {
    background: var(--cream);
    border-color: var(--copper-light);
}

.btn-outline {
    background: transparent;
    color: var(--slate);
    border: 2px solid var(--cream-dark);
}

.btn-outline:hover {
    border-color: var(--copper);
    color: var(--copper);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.1rem;
}

.play-icon {
    width: 20px;
    height: 20px;
    background: var(--copper);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    color: var(--slate);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--slate-light);
}

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

.dashboard-mockup {
    width: 100%;
    max-width: 520px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 40px 80px rgba(47, 54, 64, 0.15), 0 20px 40px rgba(47, 54, 64, 0.1);
    overflow: hidden;
    border: 1px solid var(--cream-dark);
}

.mockup-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: linear-gradient(to right, #f8f9fa, #fff);
    border-bottom: 1px solid var(--cream-dark);
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.mockup-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--cream-dark);
}

.mockup-dots span:first-child { background: #ff5f57; }
.mockup-dots span:nth-child(2) { background: #ffbd2e; }
.mockup-dots span:nth-child(3) { background: #28c840; }

.mockup-nav {
    font-size: 0.8rem;
    color: var(--slate-light);
    margin-left: auto;
}

.mockup-content {
    display: grid;
    grid-template-columns: 60px 1fr;
    min-height: 320px;
}

.mockup-sidebar {
    background: #f8f9fa;
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    border-right: 1px solid var(--cream-dark);
}

.sidebar-item {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: var(--cream-dark);
}

.sidebar-item.active {
    background: var(--copper);
}

.mockup-main {
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-content: start;
}

.mockup-card {
    background: var(--white);
    border: 1px solid var(--cream-dark);
    border-radius: 10px;
    padding: 16px;
}

.card-header {
    height: 8px;
    width: 60%;
    background: var(--copper-light);
    border-radius: 4px;
    margin-bottom: 12px;
}

.card-line {
    height: 6px;
    background: var(--cream-dark);
    border-radius: 3px;
    margin-bottom: 8px;
}

.card-line.short {
    width: 70%;
}

.card-3 {
    display: flex;
    align-items: center;
    justify-content: center;
}

.progress-ring {
    width: 60px;
    height: 60px;
}

.progress-ring svg {
    transform: rotate(-90deg);
}

.floating-card {
    position: absolute;
    background: var(--white);
    padding: 12px 16px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(47, 54, 64, 0.15);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    font-weight: 500;
    animation: float 3s ease-in-out infinite;
}

.card-float-1 {
    top: 20%;
    right: -20px;
    animation-delay: 0s;
}

.card-float-2 {
    bottom: 25%;
    left: -30px;
    animation-delay: 1.5s;
}

.float-icon {
    width: 24px;
    height: 24px;
    background: var(--copper);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

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

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-indicator {
    width: 24px;
    height: 40px;
    border: 2px solid var(--copper-light);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-indicator span {
    width: 4px;
    height: 8px;
    background: var(--copper);
    border-radius: 2px;
    animation: scroll 1.5s ease-in-out infinite;
}

@keyframes scroll {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(8px); opacity: 0.5; }
}

/* Section Styles */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-label {
    display: inline-block;
    color: var(--copper);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--slate);
}

.section-title .accent {
    color: var(--copper);
    font-style: italic;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--slate-light);
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--white);
}

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

.feature-card {
    background: var(--cream);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(47, 54, 64, 0.08);
    border-color: var(--copper-light);
}

.feature-card.feature-large {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
}

.feature-card.feature-large .feature-content {
    display: flex;
    flex-direction: column;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--copper);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin-bottom: 20px;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--slate);
}

.feature-card p {
    color: var(--slate-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.feature-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.workflow-viz {
    background: var(--white);
    border-radius: 12px;
    padding: 24px;
}

.workflow-step {
    display: flex;
    align-items: center;
    gap: 8px;
}

.step-node {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--cream-dark);
    border: 3px solid var(--cream-dark);
}

.step-node.active {
    background: var(--copper);
    border-color: var(--copper);
}

.step-line {
    width: 40px;
    height: 3px;
    background: var(--copper);
    border-radius: 2px;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: var(--slate);
    position: relative;
    overflow: hidden;
}

.testimonials-bg {
    position: absolute;
    inset: 0;
    opacity: 0.1;
}

.testimonials-pattern {
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 2px 2px, var(--copper) 1px, transparent 0);
    background-size: 40px 40px;
}

.testimonials .section-title {
    color: var(--white);
}

.testimonials-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-card {
    min-width: 100%;
    padding: 0 20px;
}

.testimonial-stars {
    color: var(--copper);
    font-size: 1.25rem;
    margin-bottom: 20px;
    letter-spacing: 4px;
}

.testimonial-text {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    line-height: 1.5;
    color: var(--white);
    margin-bottom: 32px;
    font-style: italic;
}

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

.author-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
    font-size: 1.1rem;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
}

.author-title {
    color: var(--copper-light);
    font-size: 0.875rem;
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 40px;
}

.carousel-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(184, 115, 51, 0.3);
    background: transparent;
    color: var(--copper);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.carousel-btn:hover {
    background: var(--copper);
    color: var(--white);
    border-color: var(--copper);
}

.carousel-btn svg {
    width: 20px;
    height: 20px;
}

.carousel-dots {
    display: flex;
    gap: 12px;
}

.carousel-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(184, 115, 51, 0.3);
    cursor: pointer;
    transition: all 0.2s ease;
}

.carousel-dots .dot.active {
    background: var(--copper);
    transform: scale(1.2);
}

/* Pricing Section */
.pricing {
    padding: 100px 0;
    background: var(--cream);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 32px;
    border: 1px solid var(--cream-dark);
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(47, 54, 64, 0.1);
}

.pricing-card.featured {
    border-color: var(--copper);
    box-shadow: 0 20px 50px rgba(184, 115, 51, 0.15);
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--copper);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-header {
    text-align: center;
    margin-bottom: 32px;
}

.pricing-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--slate);
}

.pricing-desc {
    color: var(--slate-light);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.pricing-price .price {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 600;
    color: var(--slate);
}

.pricing-price .period {
    color: var(--slate-light);
    font-size: 0.9rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: var(--slate-light);
    font-size: 0.95rem;
}

.pricing-features .check {
    color: var(--copper);
    font-weight: 700;
}

.pricing-card .btn {
    width: 100%;
    justify-content: center;
}

.pricing-guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 48px;
    padding: 20px;
    background: var(--white);
    border-radius: 12px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.guarantee-icon {
    font-size: 1.5rem;
}

.pricing-guarantee p {
    color: var(--slate-light);
    font-size: 0.95rem;
}

/* CTA Section */
.cta {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.cta-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--slate) 0%, #1a1f26 100%);
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--white);
    margin-bottom: 16px;
}

.cta-content p {
    color: var(--copper-light);
    font-size: 1.125rem;
    margin-bottom: 32px;
}

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

.cta-note {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

/* Footer */
.footer {
    background: var(--slate);
    padding: 80px 0 40px;
    color: var(--white);
}

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

.footer-brand {
    max-width: 300px;
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.2s ease;
}

.footer-social a:hover {
    background: var(--copper);
    transform: translateY(-2px);
}

.footer-social svg {
    width: 20px;
    height: 20px;
}

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

.footer-column h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-column ul {
    list-style: none;
}

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

.footer-column a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: var(--copper-light);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

.footer-status {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #28c840;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

/* Reveal Animations */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    transition-delay: var(--delay, 0s);
}

.reveal-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.8s ease, transform 0.8s ease;
    transition-delay: var(--delay, 0s);
}

.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-card.feature-large {
        grid-column: span 2;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-8px);
    }

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

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--cream);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        border-bottom: 1px solid var(--cream-dark);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .feature-card.feature-large {
        grid-template-columns: 1fr;
        grid-column: span 1;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .floating-card {
        display: none;
    }
}

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

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-cta {
        flex-direction: column;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .dashboard-mockup {
        transform: scale(0.9);
    }
}