/* ===================================
   CSS Variables & Base Styles
   =================================== */
:root {
    --primary: #10b981;
    --primary-dark: #059669;
    --primary-light: #34d399;
    --secondary: #0d9488;
    --accent: #06b6d4;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    
    --gray-50: #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;
    
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background: #ffffff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Prevent horizontal scroll on mobile */
html, body {
    max-width: 100%;
}

/* Improve touch targets for mobile */
@media (max-width: 768px) {
    a, button {
        min-height: 44px;
        min-width: 44px;
    }
}

/* Better word breaking for long text */
h1, h2, h3, h4, h5, h6, p {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Ensure images don't overflow */
img, svg {
    max-width: 100%;
    height: auto;
}

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

/* ===================================
   Typography
   =================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-900);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline;
}

.strikethrough {
    text-decoration: line-through;
    color: var(--danger);
}

/* ===================================
   Buttons
   =================================== */
.btn-primary, .btn-secondary, .btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(16, 185, 129, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(16, 185, 129, 0.5);
}

.btn-secondary {
    background: white;
    color: var(--gray-700);
    border: 2px solid var(--gray-200);
}

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

.btn-ghost {
    background: transparent;
    color: var(--gray-600);
}

.btn-ghost:hover {
    color: var(--primary);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-block {
    width: 100%;
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.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: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--gray-900);
}

.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 8px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--gray-600);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-buttons {
    display: flex;
    gap: 12px;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Prevent body scroll when mobile menu is open */
body.menu-open {
    overflow: hidden;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: white;
    padding: 24px;
    flex-direction: column;
    gap: 16px;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 500;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    align-items: center;
    min-height: 44px;
}

.mobile-menu .btn-primary {
    margin-top: 8px;
    text-align: center;
    justify-content: center;
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    padding: 140px 0 80px;
    overflow: hidden;
}

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

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.4), rgba(13, 148, 136, 0.3));
    top: -200px;
    right: -100px;
    animation: float 20s ease-in-out infinite;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.3), rgba(16, 185, 129, 0.2));
    bottom: 0;
    left: -100px;
    animation: float 25s ease-in-out infinite reverse;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.3), rgba(20, 184, 166, 0.2));
    top: 40%;
    left: 30%;
    animation: float 30s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(20px, 30px) scale(1.02); }
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

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

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 24px;
}

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

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero h1 {
    margin-bottom: 24px;
}

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

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

.hero-cta .btn-lg {
    white-space: nowrap;
}

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

.stat {
    text-align: left;
}

.stat-value {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--gray-900);
}

.stat-label {
    font-size: 14px;
    color: var(--gray-500);
}

.stat-divider {
    width: 1px;
    background: var(--gray-200);
}

/* Dashboard Preview */
.hero-image {
    position: relative;
}

.dashboard-preview {
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-2xl);
    overflow: hidden;
    border: 1px solid var(--gray-200);
}

.dashboard-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
}

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

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

.dashboard-dots span:first-child { background: #ef4444; }
.dashboard-dots span:nth-child(2) { background: #f59e0b; }
.dashboard-dots span:nth-child(3) { background: #10b981; }

.dashboard-title {
    font-size: 13px;
    color: var(--gray-500);
}

.dashboard-content {
    padding: 20px;
}

.metric-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.metric-card {
    background: var(--gray-50);
    padding: 16px;
    border-radius: 12px;
}

.metric-label {
    display: block;
    font-size: 12px;
    color: var(--gray-500);
    margin-bottom: 4px;
}

.metric-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
}

.metric-value.profit {
    color: var(--success);
}

.metric-change {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: 600;
    margin-top: 4px;
}

.metric-change.positive {
    color: var(--success);
}

.metric-change.positive::before {
    content: '↑ ';
}

.metric-change.negative {
    color: var(--danger);
}

.metric-change.negative::before {
    content: '↑ ';
}

.chart-placeholder {
    background: var(--gray-50);
    border-radius: 12px;
    padding: 20px;
    height: 120px;
}

.chart-svg {
    width: 100%;
    height: 100%;
}

.chart-line {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawLine 2s ease forwards;
}

.chart-area {
    fill: url(#chartGradient);
}

@keyframes drawLine {
    to { stroke-dashoffset: 0; }
}

/* ===================================
   Logos Section
   =================================== */
.logos-section {
    padding: 60px 0;
    background: var(--gray-50);
}

.logos-title {
    text-align: center;
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 32px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logos-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}

.logo-item {
    opacity: 0.5;
    transition: var(--transition);
}

.logo-item:hover {
    opacity: 1;
}

.brand-logo {
    width: 120px;
    height: 40px;
    color: var(--gray-400);
}

/* ===================================
   Problem Section
   =================================== */
.problem-section {
    padding: 100px 0;
}

.problem-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.problem-content h2 {
    margin-bottom: 20px;
}

.problem-content p {
    font-size: 1.125rem;
    color: var(--gray-600);
}

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

.problem-card {
    text-align: center;
    padding: 40px 32px;
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    transition: var(--transition);
}

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

.problem-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.problem-card h3 {
    margin-bottom: 12px;
    color: var(--gray-900);
}

.problem-card p {
    color: var(--gray-500);
    font-size: 15px;
}

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

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 16px;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--gray-600);
}

/* ===================================
   Features Section
   =================================== */
.features-section {
    padding: 100px 0;
    background: var(--gray-50);
}

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

.feature-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

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

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

.feature-icon-wrapper {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: 12px;
    margin-bottom: 20px;
}

.feature-icon {
    width: 28px;
    height: 28px;
    color: var(--primary);
}

.feature-card h3 {
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--gray-600);
    font-size: 15px;
    line-height: 1.6;
}

.feature-list {
    list-style: none;
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.feature-list li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--gray-600);
    background: var(--gray-50);
    padding: 6px 12px;
    border-radius: 6px;
}

.feature-list li::before {
    content: '✓';
    color: var(--success);
    font-weight: 700;
}

/* ===================================
   How It Works Section
   =================================== */
.how-it-works {
    padding: 100px 0;
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.step {
    display: grid;
    grid-template-columns: auto 1fr 300px;
    gap: 40px;
    align-items: center;
}

.step:nth-child(even) {
    direction: rtl;
}

.step:nth-child(even) > * {
    direction: ltr;
}

.step-number {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
    border-radius: 16px;
}

.step-content h3 {
    margin-bottom: 12px;
}

.step-content p {
    color: var(--gray-600);
    font-size: 1rem;
}

.step-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 150px;
}

/* Connect Animation */
.connect-animation {
    display: flex;
    align-items: center;
    gap: 20px;
}

.connect-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.connect-icon svg {
    width: 32px;
    height: 32px;
}

.connect-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--gray-300), var(--primary));
    position: relative;
}

.connect-line::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 1.5s ease infinite;
}

/* Platforms Animation */
.platforms-animation {
    display: flex;
    gap: 16px;
}

.platform {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    animation: bounce 2s ease infinite;
}

.platform:nth-child(2) { animation-delay: 0.2s; }
.platform:nth-child(3) { animation-delay: 0.4s; }

.platform svg {
    width: 24px;
    height: 24px;
}

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

/* Profit Reveal */
.profit-reveal {
    text-align: center;
    padding: 24px 40px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(99, 102, 241, 0.1));
    border-radius: 16px;
    border: 2px solid var(--success);
}

.profit-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--success);
    animation: countUp 2s ease forwards;
}

.profit-label {
    font-size: 14px;
    color: var(--gray-600);
    margin-top: 4px;
}

/* ===================================
   Integrations Section
   =================================== */
.integrations-section {
    padding: 100px 0;
    background: var(--gray-50);
}

.integrations-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.integration-card {
    background: white;
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

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

.integration-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
}

.integration-icon svg {
    width: 100%;
    height: 100%;
}

.integration-name {
    display: block;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.integration-status {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 100px;
    background: var(--gray-100);
    color: var(--gray-500);
}

.integration-status.connected {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.integrations-note {
    text-align: center;
    margin-top: 40px;
    color: var(--gray-500);
    font-size: 15px;
}

/* ===================================
   Testimonials Section
   =================================== */
.testimonials-section {
    padding: 100px 0;
}

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

.testimonial-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

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

.testimonial-card.featured {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border: none;
}

.testimonial-card.featured .testimonial-stars,
.testimonial-card.featured .author-name {
    color: white;
}

.testimonial-card.featured .author-title {
    color: rgba(255, 255, 255, 0.8);
}

.testimonial-stars {
    color: #fbbf24;
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.testimonial-card p {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 24px;
}

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

.author-avatar {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    border-radius: 50%;
    font-weight: 700;
    color: var(--gray-600);
}

.testimonial-card.featured .author-avatar {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.author-name {
    display: block;
    font-weight: 600;
    color: var(--gray-900);
}

.author-title {
    font-size: 13px;
    color: var(--gray-500);
}

/* ===================================
   Pricing Section
   =================================== */
.pricing-section {
    padding: 100px 0;
    background: var(--gray-50);
}

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

.pricing-card {
    background: white;
    padding: 40px 32px;
    border-radius: 20px;
    border: 1px solid var(--gray-200);
    position: relative;
    transition: var(--transition);
}

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

.pricing-card.popular {
    border: 2px solid var(--primary);
    transform: scale(1.05);
}

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

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 6px 20px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
}

.pricing-header {
    margin-bottom: 24px;
}

.pricing-header h3 {
    margin-bottom: 4px;
}

.pricing-header p {
    color: var(--gray-500);
    font-size: 14px;
}

.pricing-price {
    margin-bottom: 32px;
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--gray-900);
}

.price-period {
    color: var(--gray-500);
}

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

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: 15px;
    color: var(--gray-600);
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features li::before {
    content: '✓';
    color: var(--success);
    font-weight: 700;
}

/* ===================================
   CTA Section
   =================================== */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--gray-900), var(--gray-800));
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.3), transparent 70%);
    border-radius: 50%;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    color: white;
    margin-bottom: 16px;
}

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

.cta-buttons {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.cta-note {
    color: var(--gray-500);
    font-size: 14px;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 48px;
    margin-bottom: 60px;
}

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

.footer-brand .logo {
    color: white;
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--gray-400);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 24px;
}

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

.social-links a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-800);
    border-radius: 8px;
    color: var(--gray-400);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    color: white;
}

.social-links svg {
    width: 18px;
    height: 18px;
}

.footer-links h4 {
    color: white;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.footer-links ul {
    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);
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid var(--gray-800);
}

.footer-bottom p {
    color: var(--gray-500);
    font-size: 14px;
}

.footer-badges {
    display: flex;
    gap: 20px;
}

.badge-item {
    color: var(--gray-400);
    font-size: 13px;
}

/* ===================================
   Animations
   =================================== */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].animated {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }
    
    .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-image {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .feature-card.large {
        grid-column: span 1;
    }
    
    .integrations-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .step {
        grid-template-columns: auto 1fr;
    }
    
    .step-visual {
        display: none;
    }
    
    .step:nth-child(even) {
        direction: ltr;
    }
    
    .pricing-card.popular {
        transform: scale(1.02);
    }
    
    .pricing-card.popular:hover {
        transform: scale(1.02) translateY(-4px);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .nav-container {
        padding: 12px 16px;
    }
    
    .nav-links,
    .nav-buttons {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-menu {
        top: 60px;
        padding: 20px 16px;
    }
    
    .mobile-menu a {
        font-size: 16px;
    }
    
    .logo span {
        font-size: 1.1rem;
    }
    
    .logo-icon {
        width: 36px;
        height: 36px;
    }
    
    /* Hero Section Mobile */
    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }
    
    .hero h1 {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
    
    .hero-cta .btn-primary,
    .hero-cta .btn-ghost {
        width: 100%;
        max-width: 280px;
    }
    
    .badge {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    /* Dashboard Preview Mobile */
    .dashboard-preview {
        margin: 0 -8px;
    }
    
    .dashboard-content {
        padding: 12px;
    }
    
    .metric-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .metric-card {
        padding: 12px;
    }
    
    .metric-value {
        font-size: 1.1rem;
    }
    
    .metric-label {
        font-size: 10px;
    }
    
    .metric-change {
        font-size: 10px;
    }
    
    .chart-placeholder {
        height: 80px;
        padding: 12px;
    }
    
    /* Logos Section Mobile */
    .logos-section {
        padding: 40px 0;
    }
    
    .logos-grid {
        gap: 24px;
    }
    
    .brand-logo {
        width: 100px;
        height: 32px;
    }
    
    /* Problem Section Mobile */
    .problem-section {
        padding: 60px 0;
    }
    
    .problem-content h2 {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }
    
    .problem-content p {
        font-size: 1rem;
    }
    
    .problem-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .problem-card {
        padding: 24px 20px;
    }
    
    .problem-icon {
        font-size: 2rem;
        margin-bottom: 12px;
    }
    
    /* Section Headers Mobile */
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-header h2 {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    /* Features Section Mobile */
    .features-section {
        padding: 60px 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .feature-card {
        padding: 24px 20px;
    }
    
    .feature-icon-wrapper {
        width: 48px;
        height: 48px;
        margin-bottom: 16px;
    }
    
    .feature-icon {
        width: 24px;
        height: 24px;
    }
    
    .feature-list {
        flex-direction: column;
        gap: 8px;
    }
    
    .feature-list li {
        width: 100%;
    }
    
    /* How It Works Mobile */
    .how-it-works {
        padding: 60px 0;
    }
    
    .steps-container {
        gap: 40px;
    }
    
    .step {
        grid-template-columns: 1fr;
        gap: 16px;
        text-align: center;
    }
    
    .step-number {
        width: 56px;
        height: 56px;
        font-size: 1.25rem;
        margin: 0 auto;
    }
    
    /* Integrations Section Mobile */
    .integrations-section {
        padding: 60px 0;
    }
    
    .integrations-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .integration-card {
        padding: 16px 12px;
    }
    
    .integration-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 8px;
    }
    
    .integration-name {
        font-size: 13px;
    }
    
    .integration-status {
        font-size: 10px;
        padding: 3px 8px;
    }
    
    /* Testimonials Section Mobile */
    .testimonials-section {
        padding: 60px 0;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .testimonial-card {
        padding: 24px 20px;
    }
    
    .testimonial-card p {
        font-size: 14px;
    }
    
    .author-avatar {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    /* Pricing Section Mobile */
    .pricing-section {
        padding: 60px 0;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .pricing-card {
        padding: 32px 24px;
    }
    
    .pricing-card.popular {
        transform: none;
        order: -1;
    }
    
    .pricing-card.popular:hover {
        transform: translateY(-4px);
    }
    
    .price-amount {
        font-size: 2.5rem;
    }
    
    .pricing-features li {
        font-size: 14px;
        padding: 8px 0;
    }
    
    /* CTA Section Mobile */
    .cta-section {
        padding: 60px 0;
    }
    
    .cta-content h2 {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }
    
    .cta-content p {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn-primary {
        width: 100%;
        max-width: 280px;
    }
    
    .cta-note {
        font-size: 12px;
        line-height: 1.5;
    }
    
    /* Footer Mobile */
    .footer {
        padding: 60px 0 30px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    
    .footer-brand {
        grid-column: span 2;
        max-width: 100%;
        text-align: center;
    }
    
    .footer-brand .logo {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-links {
        text-align: center;
    }
    
    .footer-links h4 {
        font-size: 12px;
    }
    
    .footer-links a {
        font-size: 13px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .footer-badges {
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    
    .hero {
        padding: 90px 0 50px;
    }
    
    .hero h1 {
        font-size: 1.6rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .hero-stats {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    
    .stat-divider {
        display: none;
    }
    
    .stat-value {
        font-size: 1.4rem;
    }
    
    .stat-label {
        font-size: 12px;
    }
    
    .metric-cards {
        grid-template-columns: 1fr 1fr;
    }
    
    .integrations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .footer-brand {
        grid-column: span 1;
    }
    
    .footer-links {
        text-align: left;
    }
    
    /* Make buttons full width on small screens */
    .btn-primary.btn-lg,
    .btn-ghost.btn-lg {
        padding: 14px 24px;
        font-size: 15px;
    }
    
    /* Fix gradient orbs on mobile */
    .orb-1 {
        width: 300px;
        height: 300px;
        top: -100px;
        right: -50px;
    }
    
    .orb-2 {
        width: 200px;
        height: 200px;
    }
    
    .orb-3 {
        width: 150px;
        height: 150px;
    }
    
    /* Problem cards styling */
    .problem-card h3 {
        font-size: 1.1rem;
    }
    
    .problem-card p {
        font-size: 14px;
    }
    
    /* Feature cards styling */
    .feature-card h3 {
        font-size: 1.1rem;
    }
    
    .feature-card p {
        font-size: 14px;
    }
    
    /* Testimonial adjustments */
    .testimonial-stars {
        font-size: 1rem;
    }
    
    .author-name {
        font-size: 14px;
    }
    
    .author-title {
        font-size: 12px;
    }
    
    /* Pricing adjustments */
    .popular-badge {
        font-size: 11px;
        padding: 5px 14px;
    }
    
    .pricing-header h3 {
        font-size: 1.25rem;
    }
}

/* Extra small devices */
@media (max-width: 360px) {
    .hero h1 {
        font-size: 1.4rem;
    }
    
    .metric-cards {
        grid-template-columns: 1fr;
    }
    
    .integrations-grid {
        grid-template-columns: 1fr;
    }
    
    .logos-grid {
        flex-direction: column;
        gap: 16px;
    }
    
    .footer-badges {
        flex-direction: column;
        gap: 8px;
    }
}

/* ===================================
   Coming Soon Toast
   =================================== */
.coming-soon-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(120%);
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 10000;
    max-width: 400px;
    width: calc(100% - 32px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.coming-soon-toast.show {
    transform: translateX(-50%) translateY(0);
}

.toast-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.toast-content {
    flex: 1;
}

.toast-content strong {
    display: block;
    font-size: 1rem;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.toast-content p {
    font-size: 14px;
    color: var(--gray-600);
    margin: 0;
    line-height: 1.4;
}

.toast-close {
    position: absolute;
    top: 8px;
    right: 12px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--gray-400);
    cursor: pointer;
    line-height: 1;
    padding: 4px;
    transition: color 0.2s ease;
}

.toast-close:hover {
    color: var(--gray-700);
}

@media (max-width: 480px) {
    .coming-soon-toast {
        bottom: 16px;
        padding: 16px 20px;
        gap: 12px;
    }
    
    .toast-icon {
        font-size: 1.5rem;
    }
    
    .toast-content strong {
        font-size: 0.9rem;
    }
    
    .toast-content p {
        font-size: 13px;
    }
}
