/* ============================================
   FlowSync Landing Page - Copper & Slate Theme
   ============================================ */

/* CSS Variables - Copper & Slate Palette */
:root {
    /* Primary Colors */
    --copper: #B87333;
    --copper-light: #D4A574;
    --copper-dark: #8B5A2B;
    
    /* Slate Colors */
    --slate-900: #2F3640;
    --slate-800: #3D4654;
    --slate-700: #4A5568;
    --slate-600: #5A6578;
    --slate-500: #718096;
    --slate-400: #A0AEC0;
    --slate-300: #CBD5E0;
    --slate-200: #E2E8F0;
    --slate-100: #F5F0EB;
    --slate-50: #FAF8F5;
    
    /* Accent */
    --cream: #F5F0EB;
    --white: #FFFFFF;
    
    /* Typography */
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(47, 54, 64, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(47, 54, 64, 0.1), 0 2px 4px -1px rgba(47, 54, 64, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(47, 54, 64, 0.1), 0 4px 6px -2px rgba(47, 54, 64, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(47, 54, 64, 0.1), 0 10px 10px -5px rgba(47, 54, 64, 0.04);
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    color: var(--slate-800);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    color: var(--slate-900);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

h4 {
    font-size: 1.125rem;
}

p {
    color: var(--slate-600);
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* ============================================
   Navigation
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--slate-200);
    transition: all var(--transition-base);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--slate-900);
}

.logo svg {
    color: var(--copper);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-menu a {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--slate-700);
    transition: color var(--transition-fast);
}

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

.nav-cta {
    background: var(--copper);
    color: var(--white) !important;
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.nav-cta:hover {
    background: var(--copper-dark);
    transform: translateY(-1px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
}

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

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(72px + var(--space-4xl)) 0 var(--space-4xl);
    overflow: hidden;
}

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

.hero-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--cream) 0%, var(--white) 50%, var(--slate-50) 100%);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: radial-gradient(var(--copper) 1px, transparent 1px);
    background-size: 30px 30px;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: rgba(184, 115, 51, 0.1);
    color: var(--copper);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: var(--space-lg);
}

.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 {
    margin-bottom: var(--space-lg);
}

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

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--slate-600);
    margin-bottom: var(--space-xl);
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-3xl);
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}

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

.btn-primary:hover {
    background: var(--copper-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--slate-700);
    border: 1.5px solid var(--slate-300);
}

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

.btn-outline {
    background: transparent;
    color: var(--slate-700);
    border: 1.5px solid var(--slate-300);
    width: 100%;
}

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

.btn-large {
    padding: var(--space-md) var(--space-2xl);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: var(--space-3xl);
}

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

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

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

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

.dashboard-mockup {
    width: 100%;
    max-width: 500px;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    border: 1px solid var(--slate-200);
}

.mockup-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: var(--slate-50);
    border-bottom: 1px solid var(--slate-200);
}

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

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

.mockup-dots span:first-child { background: #FF5F56; }
.mockup-dots span:nth-child(2) { background: #FFBD2E; }
.mockup-dots span:last-child { background: #27C93F; }

.mockup-title {
    font-size: 0.75rem;
    color: var(--slate-500);
    font-weight: 500;
}

.mockup-content {
    display: flex;
    min-height: 300px;
}

.mockup-sidebar {
    width: 60px;
    background: var(--slate-50);
    border-right: 1px solid var(--slate-200);
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.mockup-nav-item {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-md);
    background: var(--slate-200);
}

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

.mockup-main {
    flex: 1;
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.mockup-card {
    background: var(--slate-50);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    border: 1px solid var(--slate-200);
}

.mockup-card-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
}

.mockup-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--copper-light), var(--copper));
}

.mockup-text-line {
    height: 10px;
    width: 80px;
    background: var(--slate-300);
    border-radius: var(--radius-sm);
}

.mockup-progress {
    height: 6px;
    background: var(--slate-200);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.mockup-progress-bar {
    height: 100%;
    width: 85%;
    background: linear-gradient(90deg, var(--copper), var(--copper-light));
    border-radius: var(--radius-full);
    animation: progress 2s ease-out;
}

@keyframes progress {
    from { width: 0; }
}

/* Floating Cards */
.floating-card {
    position: absolute;
    background: var(--white);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--slate-700);
    animation: float 3s ease-in-out infinite;
}

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

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

.floating-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(184, 115, 51, 0.1);
    border-radius: var(--radius-md);
    font-size: 1rem;
}

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

/* ============================================
   Features Section
   ============================================ */
.features {
    padding: var(--space-4xl) 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--space-3xl);
}

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

.section-title {
    margin-bottom: var(--space-md);
}

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.feature-card {
    padding: var(--space-2xl);
    background: var(--slate-50);
    border-radius: var(--radius-xl);
    border: 1px solid var(--slate-200);
    transition: all var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--copper-light);
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(184, 115, 51, 0.1);
    border-radius: var(--radius-lg);
    color: var(--copper);
    margin-bottom: var(--space-lg);
}

.feature-title {
    margin-bottom: var(--space-sm);
    font-size: 1.25rem;
}

.feature-desc {
    font-size: 0.9375rem;
    color: var(--slate-600);
    margin-bottom: var(--space-md);
}

.feature-link {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--copper);
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    transition: gap var(--transition-fast);
}

.feature-link:hover {
    gap: var(--space-sm);
}

/* ============================================
   Testimonials Section
   ============================================ */
.testimonials {
    padding: var(--space-4xl) 0;
    background: var(--slate-900);
    color: var(--white);
}

.testimonials .section-label {
    color: var(--copper-light);
}

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

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

.carousel-container {
    display: flex;
    transition: transform var(--transition-slow);
    overflow: hidden;
}

.testimonial-card {
    flex: 0 0 100%;
    padding: var(--space-2xl);
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-stars {
    color: var(--copper-light);
    font-size: 1.25rem;
    margin-bottom: var(--space-lg);
    letter-spacing: 0.1em;
}

.testimonial-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-style: italic;
    line-height: 1.5;
    color: var(--slate-100);
    margin-bottom: var(--space-xl);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--copper), var(--copper-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--white);
    font-size: 0.875rem;
}

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

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

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

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
}

.carousel-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    transition: all var(--transition-fast);
}

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

.carousel-dots {
    display: flex;
    gap: var(--space-sm);
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all var(--transition-fast);
}

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

/* ============================================
   Pricing Section
   ============================================ */
.pricing {
    padding: var(--space-4xl) 0;
    background: var(--slate-50);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    align-items: start;
}

.pricing-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    border: 1px solid var(--slate-200);
    transition: all var(--transition-base);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
    border-color: var(--copper);
    box-shadow: 0 0 0 1px var(--copper), var(--shadow-xl);
    transform: scale(1.02);
}

.pricing-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--copper);
    color: var(--white);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-header {
    margin-bottom: var(--space-lg);
}

.pricing-name {
    margin-bottom: var(--space-xs);
}

.pricing-desc {
    font-size: 0.9375rem;
    color: var(--slate-500);
}

.pricing-price {
    margin-bottom: var(--space-xl);
}

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

.period {
    font-size: 1rem;
    color: var(--slate-500);
}

.pricing-features {
    margin-bottom: var(--space-xl);
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) 0;
    font-size: 0.9375rem;
    color: var(--slate-600);
}

.pricing-features li svg {
    flex-shrink: 0;
    color: var(--copper);
}

/* ============================================
   CTA Section
   ============================================ */
.cta {
    padding: var(--space-4xl) 0;
    background: linear-gradient(135deg, var(--slate-900) 0%, var(--slate-800) 100%);
    text-align: center;
}

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

.cta-title {
    color: var(--white);
    margin-bottom: var(--space-md);
}

.cta-subtitle {
    font-size: 1.125rem;
    color: var(--slate-300);
    margin-bottom: var(--space-2xl);
}

.cta-form {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
    flex-wrap: wrap;
    justify-content: center;
}

.cta-input {
    flex: 1;
    min-width: 280px;
    padding: var(--space-md) var(--space-lg);
    font-family: var(--font-body);
    font-size: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    outline: none;
    transition: all var(--transition-fast);
}

.cta-input::placeholder {
    color: var(--slate-400);
}

.cta-input:focus {
    border-color: var(--copper);
    background: rgba(255, 255, 255, 0.15);
}

.cta-note {
    font-size: 0.875rem;
    color: var(--slate-400);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    padding: var(--space-4xl) 0 var(--space-xl);
    background: var(--slate-900);
    color: var(--slate-300);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-3xl);
}

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

.footer-tagline {
    color: var(--slate-400);
    margin-bottom: var(--space-lg);
    max-width: 300px;
}

.footer-social {
    display: flex;
    gap: var(--space-md);
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--slate-300);
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--copper);
    color: var(--white);
}

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

.footer-column h4 {
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-lg);
}

.footer-column li {
    margin-bottom: var(--space-sm);
}

.footer-column a {
    color: var(--slate-400);
    font-size: 0.9375rem;
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--slate-500);
}

/* ============================================
   Animations
   ============================================ */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    animation: revealUp 0.6s ease forwards;
}

@keyframes revealUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   Responsive Design - Mobile First
   ============================================ */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-3xl);
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .dashboard-mockup {
        max-width: 400px;
    }
    
    .floating-card {
        display: none;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .pricing-card.featured {
        transform: none;
        order: -1;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: var(--space-xl);
        gap: var(--space-md);
        border-bottom: 1px solid var(--slate-200);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-base);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu a {
        font-size: 1.125rem;
        padding: var(--space-sm) 0;
    }
    
    .nav-cta {
        margin-top: var(--space-md);
        text-align: center;
    }
    
    .hero {
        padding: calc(72px + var(--space-3xl)) 0 var(--space-3xl);
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--space-lg);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-text {
        font-size: 1.25rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-form {
        flex-direction: column;
    }
    
    .cta-input {
        min-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .dashboard-mockup {
        max-width: 100%;
    }
    
    .mockup-sidebar {
        display: none;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
}