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

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary: #10b981;
    --secondary-light: #22d3ee;
    --accent: #fbbf24;
    --text-dark: #2d3748;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-dark: #1e293b;
    --white: #ffffff;
    --border: #e5e7eb;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Performance optimizations */
.animate-in {
    animation: fadeInUp 0.3s ease-out forwards;
}

/* Optimize for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    .animate-in {
        animation: none;
        opacity: 1;
    }

    .coffee-icon {
        animation: none;
    }

    * {
        animation-duration: 0.01ms;
        animation-iteration-count: 1;
        transition-duration: 0.01ms;
    }
}

/* Use GPU acceleration for smooth animations - removed from pricing and founders for performance */
.stat-box,
.tour-item {
    will-change: transform, opacity;
    transform: translateZ(0);
    backface-visibility: hidden;
    opacity: 0;
}

.stat-box.animate-in,
.tour-item.animate-in {
    opacity: 1;
}

/* Pricing and founders cards - no animation for better performance */
.founder-card,
.pricing-card {
    opacity: 1;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Header and Navigation */
header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    padding: 20px 0;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-left: auto;
}

.nav-links a {
    text-decoration: none;
    font-weight: 500;
    transition: all 0.15s ease;
}

/* Nav-specific button styles for better contrast */
.nav-links .btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.2);
}

.nav-links .btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    transform: translateY(-1px);
}

.nav-links .btn-outline {
    border: 2px solid var(--border);
    color: var(--text-dark);
    background: transparent;
}

.nav-links .btn-outline:hover {
    border-color: var(--primary);
    background: var(--primary);
    color: white;
    transform: translateY(-1px);
}

/* Button Styles */
.btn {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.15s ease;
    display: inline-block;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
    transform: translateY(-2px);
}

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

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

.btn-secondary {
    background: var(--secondary);
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-secondary:hover {
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
    transform: translateY(-2px);
}

.btn-outline-white {
    border: 2px solid rgba(255, 255, 255, 0.9);
    color: white;
    background: transparent;
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
    transform: translateY(-2px);
}

/* Clean Hero Section (from Landing A) */
.hero {
    padding: 100px 0 80px;
    background: linear-gradient(180deg, var(--bg-light) 0%, white 100%);
}

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

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

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 24px;
    line-height: 1.1;
    animation: fadeInUp 0.3s ease-out;
}

.hero .subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.8;
    /* Removed animation for better initial load performance */
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
    /* Removed animation for better initial load performance */
}

.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    padding-top: 30px;
    border-top: 1px solid var(--border);
    /* Removed animation for better initial load performance */
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
    font-weight: 500;
}

.trust-item .icon {
    color: var(--success);
    font-size: 1.2rem;
}

/* ROI Calculator Section (from Landing C) */
.calculator-section {
    padding: 100px 0;
    background: white;
}

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.calculator-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-light);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.calculator-inputs {
    display: grid;
    gap: 30px;
    margin-bottom: 40px;
}

.input-group {
    display: grid;
    gap: 15px;
}

.input-label {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.05rem;
}

.input-row {
    display: flex;
    align-items: center;
    gap: 20px;
}

.input-slider {
    flex: 1;
    -webkit-appearance: none;
    height: 8px;
    border-radius: 5px;
    background: var(--border);
    outline: none;
    transition: background 0.15s ease;
}

.input-slider:hover {
    background: #cbd5e1;
}

.input-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
    transition: box-shadow 0.15s ease;
}

.input-slider::-webkit-slider-thumb:hover {
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.input-value {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    min-width: 60px;
    text-align: center;
}

.calculator-results {
    background: white;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.result-title {
    color: var(--text-light);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.result-value {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.result-subtitle {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Problem Section */
.problem {
    padding: 100px 0;
    background: var(--bg-light);
}

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

.problem-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.problem-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.problem-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 40px;
}

.stat-box {
    padding: 20px;
    background: white;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    color: var(--text-light);
    margin-top: 5px;
}

/* Video Placeholder */
.video-placeholder {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    cursor: pointer;
    /* Removed transition for better performance */
}

/* Simplified hover effect for better performance */
.video-container:hover {
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

/* Video element styles to prevent stretching */
.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.video-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        repeating-linear-gradient(0deg,
            rgba(0,0,0,0.03) 0px,
            transparent 1px,
            transparent 2px,
            rgba(0,0,0,0.03) 3px);
    pointer-events: none;
}

.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 20px rgba(0,0,0,0.2));
}

.video-container:hover .video-play-button {
    transform: translate(-50%, -50%) scale(1.1);
}

.video-overlay-text {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-dark);
    font-weight: 600;
    background: rgba(255,255,255,0.9);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.95rem;
}

/* Feature Tour (from Landing C) */
.features-tour {
    padding: 100px 0;
    background: white;
}

.tour-header {
    text-align: center;
    margin-bottom: 80px;
}

.tour-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.tour-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

.tour-items {
    display: grid;
    gap: 80px;
}

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

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

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

.tour-content h3 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.tour-content p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: var(--text-dark);
    font-weight: 500;
}

.feature-check {
    color: var(--success);
    font-size: 1.3rem;
}

.tour-visual {
    background: var(--bg-light);
    border-radius: 20px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}

.tour-visual:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.mock-interface {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

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

.pricing-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.pricing-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.pricing-header p {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 20px;
    line-height: 1.8;
}

/* Simple pricing table */
.pricing-simple-table {
    max-width: 800px;
    margin: 40px auto;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.pricing-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 40px;
    border-bottom: 1px solid var(--border);
    transition: all 0.2s ease;
}

.pricing-row:last-child {
    border-bottom: none;
}

.pricing-row:hover {
    background: var(--bg-light);
}

.pricing-row-featured {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(59, 130, 246, 0.05) 100%);
    border-left: 4px solid var(--primary);
}

.pricing-row-featured:hover {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(59, 130, 246, 0.08) 100%);
}

.pricing-size {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 15px;
}

.price-large {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.price-small {
    font-size: 1rem;
    color: var(--text-light);
}

.pricing-included {
    max-width: 900px;
    margin: 60px auto 0;
    text-align: center;
}

.pricing-included h3 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 30px;
}

.pricing-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: var(--bg-light);
    border-radius: 10px;
    font-size: 1.05rem;
    color: var(--text-dark);
    font-weight: 500;
}

.feature-icon {
    color: var(--success);
    font-size: 1.3rem;
    font-weight: 700;
}

.pricing-cta {
    margin-top: 40px;
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.tier-header {
    margin-bottom: 30px;
}

.tier-header h3 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.tier-subtitle {
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 500;
}

.price-breakdown {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-top: 5px;
}

/* Featured pricing card */
.pricing-card.featured {
    border: 3px solid var(--primary);
    transform: scale(1.05);
    position: relative;
    z-index: 2;
}

.pricing-card.featured:hover {
    transform: scale(1.05);
    box-shadow: 0 30px 80px rgba(37, 99, 235, 0.2);
}

.launch-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 8px 24px;
    border-radius: 30px;
    font-weight: 600;
    margin-bottom: 30px;
    /* Removed pulse animation for better performance */
}

/* Pricing Toggle Styles */
.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border);
}

.toggle-label {
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.discount-badge {
    display: inline-block;
    background: #22c55e;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 5px;
}

/* Toggle Switch */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 28px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #e5e7eb;
    transition: 0.4s;
    border-radius: 28px;
}

.switch .slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.switch input:checked + .slider {
    background-color: var(--primary);
}

.switch input:checked + .slider:before {
    transform: translateX(32px);
}

.pricing-card {
    background: white;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
    border: 1px solid var(--border);
    position: relative;
    /* Removed transition for better performance */
}

.pricing-card:hover {
    /* Removed transform for better performance */
    box-shadow: 0 30px 70px rgba(0,0,0,0.12);
}

.price-display {
    margin-bottom: 30px;
}

.price-amount {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.price-period {
    color: var(--text-light);
    font-size: 1.2rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 40px;
    text-align: left;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    color: var(--text-dark);
    font-size: 1.05rem;
}

.pricing-features .check {
    color: var(--success);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.pricing-note {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 20px;
    margin-top: 30px;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Founders Section */
.founders {
    padding: 100px 0;
    background: white;
}

.founders-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 900px;
    margin: 0 auto 60px;
}

.founder-card {
    text-align: center;
    padding: 40px;
    background: var(--bg-light);
    border-radius: 20px;
    /* Removed transition for better performance */
}

.founder-card:hover {
    /* Removed transform for better performance */
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.founder-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
}

.founder-card h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.founder-role {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 20px;
}

.founder-card p:last-child {
    color: var(--text-light);
    line-height: 1.8;
}

.name-story {
    max-width: 700px;
    margin: 0 auto;
    padding: 30px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(16, 185, 129, 0.05) 100%);
    border-radius: 20px;
    text-align: center;
}

.name-story p {
    font-size: 1.1rem;
    color: var(--text-dark);
}

.name-story .highlight {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.cta-text {
    flex: 1;
    max-width: 800px;
}

.cta-section h2 {
    font-size: 3rem;
    color: white;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
}

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

/* Coffee Visual */
.coffee-visual {
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.coffee-icon {
    width: 120px;
    height: 120px;
    animation: float 6s ease-in-out infinite;
}

/* Float animation for coffee cup */
@keyframes float {
    0%, 100% {
        transform: translateY(-50%) translateX(0) rotate(-5deg);
    }
    25% {
        transform: translateY(-60%) translateX(10px) rotate(0deg);
    }
    50% {
        transform: translateY(-40%) translateX(-5px) rotate(5deg);
    }
    75% {
        transform: translateY(-55%) translateX(5px) rotate(-2deg);
    }
}

.btn-white {
    background: white;
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

/* Footer */
footer {
    background: var(--text-dark);
    color: white;
    padding: 40px 0;
    text-align: center;
}

footer p {
    opacity: 0.8;
}

/* How It Works Timeline */
.how-it-works {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-light) 0%, white 100%);
}

.timeline-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 60px 0;
    padding: 0 20px;
    overflow-x: auto;
}

.timeline-item {
    text-align: center;
    position: relative;
}

.timeline-time {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 10px;
    font-weight: 600;
}

.timeline-icon {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin: 0 auto 15px;
}

.timeline-item.success .timeline-icon {
    background: linear-gradient(135deg, var(--success) 0%, #22d3ee 100%);
    animation: pulse 2s ease-in-out infinite;
}

.timeline-content h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.timeline-content p {
    font-size: 0.85rem;
    color: var(--text-light);
    max-width: 150px;
    margin: 0 auto;
}

.timeline-connector {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-light) 0%, var(--primary) 100%);
    margin: 0 10px;
    align-self: center;
    margin-bottom: 60px;
}

/* Process Steps */
.process-steps {
    display: flex;
    gap: 20px;
    margin-top: 60px;
    align-items: start;
    position: relative;
    padding-bottom: 20px;
}

.step-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    cursor: pointer;
    /* Only transition visual properties, not layout */
    transition: opacity 0.2s ease,
                box-shadow 0.2s ease,
                border-color 0.2s ease,
                transform 0.15s ease;
    border: 2px solid transparent;
    position: relative;
    /* Use fixed flex basis to prevent reflow */
    flex: 1 1 25%;
    min-width: 0;
    /* GPU acceleration */
    will-change: auto;
    transform: translateZ(0);
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.step-card.active {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(59, 130, 246, 0.05) 100%);
    z-index: 10;
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.2);
    /* Expand using flex-grow */
    flex: 2 1 35%;
}

/* When a card is active, shrink non-active cards */
.process-steps:has(.step-card.active) .step-card:not(.active) {
    flex: 0.8 1 20%;
    opacity: 0.85;
}

/* Prevent text wrapping changes */
.step-card h3 {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.step-card p {
    /* Hide paragraph text for non-active cards to prevent reflow */
    transition: opacity 0.15s ease;
}

.step-card:not(.active) p {
    opacity: 0;
    height: 0;
    overflow: hidden;
}

.step-card.active .step-details {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    background: white;
    border: 2px solid var(--primary);
    border-top: none;
    border-radius: 0 0 15px 15px;
    padding: 20px;
    margin-top: 20px;
    margin-left: -22px;
    margin-right: -22px;
    margin-bottom: -22px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.step-number {
    display: inline-block;
    background: var(--primary);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.step-card h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--text-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.step-details {
    display: none;
}

.step-card.active .step-details {
    display: block;
    animation: fadeInUp 0.3s ease-out;
}

.whatsapp-mock {
    background: #e3f2e8;
    border-radius: 10px;
    padding: 15px;
    margin-top: 15px;
}

.whatsapp-message {
    padding: 10px 15px;
    border-radius: 10px;
    margin-bottom: 10px;
    max-width: 80%;
}

.whatsapp-message.sent {
    background: white;
    margin-left: auto;
    text-align: right;
}

.whatsapp-message.received {
    background: #dcf8c6;
    margin-right: auto;
}

.layer-list {
    list-style: none;
    padding: 0;
    margin-top: 15px;
}

.layer-list li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.layer-icon {
    font-size: 1.2rem;
}

.notification-grid {
    display: grid;
    gap: 15px;
    margin-top: 15px;
}

.notification-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: var(--bg-light);
    border-radius: 8px;
}

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

.step-instruction {
    text-align: center;
    margin-top: 30px;
    color: var(--text-light);
    font-style: italic;
}

/* Before vs After Section */
.before-after-container {
    margin-top: 40px;
}

.before-after-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.before-column,
.after-column {
    padding: 30px;
    border-radius: 15px;
}

.before-column {
    background: linear-gradient(135deg, #fff5f5 0%, #fee2e2 100%);
    border: 2px solid #fecaca;
}

.after-column {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 2px solid #bbf7d0;
}

.before-title,
.after-title {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-align: center;
}

.before-title {
    color: var(--error);
}

.after-title {
    color: var(--success);
}

.scenario-timeline {
    position: relative;
    padding-left: 30px;
}

.scenario-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: currentColor;
    opacity: 0.2;
}

.scenario-item {
    position: relative;
    margin-bottom: 25px;
    padding-left: 20px;
}

.scenario-item::before {
    content: '';
    position: absolute;
    left: -31px;
    top: 5px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
}

.scenario-item.stress {
    color: var(--error);
}

.scenario-item.success {
    color: var(--success);
}

.scenario-time {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.scenario-content strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 3px;
}

.scenario-content p {
    font-size: 0.9rem;
    color: var(--text-light);
}

.impact-summary {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 30px;
    padding: 20px;
    border-radius: 10px;
}

.impact-summary.negative {
    background: rgba(239, 68, 68, 0.1);
}

.impact-summary.positive {
    background: rgba(16, 185, 129, 0.1);
}

.impact-item {
    font-weight: 600;
}

.demo-video-section {
    margin-top: 40px;
    text-align: center;
}

.demo-video-section h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--text-dark);
}

/* Enhanced Calculator */
.calculator-results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.calculator-result-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.result-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.result-content .result-title {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.result-content .result-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.result-content .result-label {
    font-size: 0.85rem;
    color: var(--text-light);
}

.calculator-summary {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    border-radius: 10px;
}

.calculator-summary .result-subtitle {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
}

/* Updated Feature Tour Styles */
.automation-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 10px;
    margin-bottom: 15px;
}

.auto-step {
    padding: 10px 15px;
    background: white;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.auto-arrow {
    color: var(--primary);
    font-size: 1.5rem;
}

.time-indicator {
    text-align: center;
    color: var(--success);
    font-weight: 600;
    margin-top: 10px;
}

.priority-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.priority-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    border-radius: 8px;
    background: var(--bg-light);
}

.priority-item.high {
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.05) 100%);
}

.priority-item.medium {
    background: linear-gradient(90deg, rgba(251, 191, 36, 0.1) 0%, rgba(251, 191, 36, 0.05) 100%);
}

.priority-item.low {
    background: linear-gradient(90deg, rgba(156, 163, 175, 0.1) 0%, rgba(156, 163, 175, 0.05) 100%);
}

.priority-score {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary);
}

.whatsapp-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--bg-light);
    border-radius: 10px;
}

.stat-icon {
    font-size: 2rem;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

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

/* Tablet responsive */
@media (max-width: 1024px) {
    .process-steps {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .step-card {
        flex: unset;
    }

    .step-card.active {
        flex: unset;
    }

    .process-steps:has(.step-card.active) .step-card:not(.active) {
        flex: unset;
        opacity: 0.85;
    }

    .step-card.active .step-details {
        margin-top: 20px;
        border-radius: 15px;
        border-top: 2px solid var(--primary);
    }

    /* Pricing tiers - adjust for tablet */
    .pricing-tiers {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-card.featured:hover {
        transform: scale(1);
    }
}

/* Mobile responsive */
@media (max-width: 768px) {
    /* Typography optimizations */
    .hero h1 {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 16px;
    }

    .hero .subtitle {
        font-size: 1.1rem;
        line-height: 1.6;
        margin-bottom: 30px;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

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

    .result-value {
        font-size: 2.2rem;
    }

    .cta-section h2 {
        font-size: 2rem;
    }

    .cta-section p {
        font-size: 1.1rem;
    }

    /* Hero section optimizations */
    .hero {
        padding: 60px 0 40px;
        min-height: auto;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        max-width: 280px;
        margin: 0 auto 40px;
    }

    .btn {
        width: 100%;
        padding: 14px 20px;
        font-size: 1rem;
    }

    .trust-indicators {
        gap: 15px;
        padding-top: 20px;
    }

    .trust-item {
        font-size: 0.9rem;
    }

    /* Timeline responsive */
    .timeline-container {
        flex-direction: column;
        gap: 20px;
    }

    .timeline-connector {
        width: 2px;
        height: 40px;
        margin: 10px auto;
    }

    /* Process steps - Mobile carousel style */
    .process-steps {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 15px;
        padding: 20px 10px 30px;
        margin: 0 -20px;
    }

    .step-card {
        flex: 0 0 85%;
        scroll-snap-align: center;
        min-height: auto;
        padding: 15px;
    }

    .step-card h3 {
        font-size: 1rem;
        white-space: normal;
    }

    .step-card.active {
        transform: none;
        flex: 0 0 85%;
    }

    .step-card.active .step-details {
        position: static;
        margin: 15px -15px -15px;
        border-radius: 0 0 15px 15px;
        padding: 15px;
    }

    .process-steps:has(.step-card.active) .step-card:not(.active) {
        opacity: 1;
        flex: 0 0 85%;
    }

    .step-instruction {
        font-size: 0.85rem;
        margin-top: 20px;
    }

    /* Before/After responsive */
    .before-after-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .before-column,
    .after-column {
        padding: 20px;
    }

    /* Calculator responsive */
    .calculator-container {
        padding: 25px 20px;
    }

    .calculator-results-grid {
        grid-template-columns: 1fr;
    }

    .whatsapp-stats {
        grid-template-columns: 1fr;
    }

    /* Problem section */
    .problem {
        padding: 60px 0;
    }

    .problem-content,
    .tour-item,
    .tour-item:nth-child(even) {
        grid-template-columns: 1fr;
        direction: ltr;
        text-align: center;
    }

    .problem-stats {
        grid-template-columns: 1fr;
        margin-top: 30px;
    }

    /* Features section */
    .features {
        padding: 60px 0;
    }

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

    .feature-card {
        padding: 30px 20px;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    /* Tour section */
    .features-tour {
        padding: 60px 0;
    }

    .tour-items {
        gap: 50px;
    }

    .tour-content h3 {
        font-size: 1.5rem;
    }

    .tour-content p {
        font-size: 1rem;
    }

    /* Pricing section */
    .pricing {
        padding: 60px 0;
    }

    .pricing-simple-table {
        margin: 30px 0;
    }

    .pricing-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding: 25px 20px;
    }

    .pricing-size {
        font-size: 1.1rem;
    }

    .pricing-price {
        flex-direction: column;
        gap: 5px;
        align-items: flex-start;
    }

    .price-large {
        font-size: 2rem;
    }

    .pricing-features-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .pricing-included h3 {
        font-size: 1.5rem;
    }

    /* Founders section */
    .founders {
        padding: 60px 0;
    }

    .founders-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .founder-card {
        padding: 30px 20px;
    }

    .founder-avatar {
        width: 100px;
        height: 100px;
    }

    /* CTA section */
    .cta-section {
        padding: 60px 0;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
        max-width: 280px;
        margin: 0 auto;
    }

    /* Navigation */
    .nav-links {
        display: none;
    }

    /* Coffee cup on mobile */
    .coffee-visual {
        position: static;
        transform: none;
        margin-top: 20px;
    }

    .coffee-icon {
        width: 60px;
        height: 60px;
        animation: float-mobile 3s ease-in-out infinite;
    }

    /* Video container */
    .video-container {
        padding-bottom: 56.25%;
    }

    /* Reduce animations for performance */
    .animate-in {
        animation-duration: 0.2s;
    }

    @media (prefers-reduced-motion: no-preference) {
        .feature-card:hover,
        .founder-card:hover,
        .pricing-card:hover {
            transform: none;
        }
    }
}

/* Very small devices */
@media (max-width: 375px) {
    .hero h1 {
        font-size: 1.75rem;
    }

    .hero .subtitle {
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .btn {
        padding: 12px 16px;
        font-size: 0.95rem;
    }

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

    .feature-card {
        padding: 25px 15px;
    }

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

    .result-value {
        font-size: 2rem;
    }

    .price-amount {
        font-size: 2rem;
    }

    .step-card {
        flex: 0 0 90%;
    }

    .step-card.active {
        flex: 0 0 90%;
    }

    .calculator-container {
        padding: 20px 15px;
    }
}

/* Landscape mobile */
@media (max-width: 812px) and (orientation: landscape) {
    .hero {
        padding: 40px 0 30px;
        min-height: auto;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .process-steps {
        padding: 15px 10px;
    }

    .step-card {
        flex: 0 0 45%;
    }

    .step-card.active {
        flex: 0 0 45%;
    }

    .features,
    .problem,
    .features-tour,
    .pricing,
    .founders,
    .cta-section {
        padding: 40px 0;
    }
}

/* Mobile float animation */
@keyframes float-mobile {
    0%, 100% {
        transform: translateY(0) rotate(-3deg);
    }
    50% {
        transform: translateY(-8px) rotate(3deg);
    }
}

.inline-style-3 { background: #25d366; border-radius: 5px; color: white; margin-bottom: 10px; padding: 10px; }
.inline-style-4 { background: #f1f1f1; border-radius: 5px; margin-bottom: 5px; padding: 10px; }
.inline-style-5 { background: #dcf8c6; border-radius: 5px; padding: 10px; text-align: right; }
.inline-style-6 { margin-bottom: 20px; text-align: center; }
.inline-style-7 { font-weight: bold; }
.inline-style-8 { display: grid; gap: 10px; }
.inline-style-9 { background: #fef3c7; border-radius: 5px; padding: 10px; }
.inline-style-10 { background: #dbeafe; border-radius: 5px; padding: 10px; }
.inline-style-11 { background: #d1fae5; border-radius: 5px; padding: 10px; }
.inline-style-12 { color: #2563eb; font-size: 2rem; font-weight: bold; }
.inline-style-13 { color: #6b7280; }
.inline-style-14 { background: linear-gradient(to top, #dbeafe, #2563eb); border-radius: 5px; height: 100px; position: relative; }
.inline-style-15 { bottom: 10px; color: white; font-weight: bold; left: 50%; position: absolute; transform: translateX(-50%); }

/* ===== Footer ===== */
footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-column h3 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: white;
}

.footer-column p,
.footer-column a {
    color: var(--text-light);
    line-height: 1.8;
}

.footer-column a {
    text-decoration: none;
    display: block;
    padding: 0.25rem 0;
    transition: color var(--transition-base);
}

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

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

/* ===== Mobile Menu ===== */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
}
/* ===== FAQ Section ===== */
.faq {
    padding: var(--section-padding) 0;
    background: white;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: all var(--transition-base);
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-item.active {
    background: white;
    border-color: var(--primary);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.5rem;
    background: none;
    border: none;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all var(--transition-base);
}

.faq-arrow {
    font-size: 1.25rem;
    transition: transform var(--transition-base);
    color: var(--primary);
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all var(--transition-base);
    color: var(--text-secondary);
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 500px;
}
