/* Modern Landing Page - Motor Monitoring */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #dc2626;
    --primary-dark: #b91c1c;
    --primary-light: #ef4444;
    --secondary: #f59e0b;
    --accent: #f97316;
    --success: #dc2626;
    --warning: #f59e0b;
    --danger: #dc2626;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    overflow-x: hidden;
}

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

.hero .container {
    max-width: 1400px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid var(--gray-200);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 24px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.logo:hover {
    opacity: 0.8;
}

.logo svg {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
    margin-left: 48px;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray-700);
    font-weight: 500;
    transition: color 0.2s;
}

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

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: var(--gray-100);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s;
}

.lang-toggle:hover {
    background: var(--gray-200);
}

.lang-icon {
    font-size: 18px;
}

/* Language Dropdown */
.lang-dropdown {
    position: relative;
    z-index: 100;
}

.lang-dropdown-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 12px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 20px;
    line-height: 1;
    transition: all 0.2s ease;
    min-width: 70px;
}

.lang-dropdown-btn:hover {
    background: #f9fafb;
    border-color: #d1d5db;
}

.lang-dropdown-btn .current-flag {
    display: inline-block;
    line-height: 1;
}

.lang-dropdown-btn svg {
    width: 10px;
    height: 10px;
    color: #6b7280;
    transition: transform 0.2s ease;
}

.lang-dropdown.active .lang-dropdown-btn {
    background: #f9fafb;
    border-color: #dc2626;
}

.lang-dropdown.active .lang-dropdown-btn svg {
    transform: rotate(180deg);
}

.lang-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1000;
    min-width: 140px;
    overflow: hidden;
}

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

.lang-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.15s ease;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    border: none;
    background: transparent;
    width: 100%;
    text-align: left;
}

.lang-dropdown-item:hover {
    background: #f3f4f6;
}

.lang-dropdown-item.active {
    background: #ecfdf5;
    color: #dc2626;
    font-weight: 600;
}

.lang-dropdown-item .flag {
    font-size: 20px;
    line-height: 1;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

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

/* Hero Section */
.hero {
    position: relative;
    padding: 140px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
}

.hero-simple {
    min-height: auto;
    padding: 120px 0 80px;
    text-align: center;
}

.hero-simple .hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-simple h1 {
    font-size: 3rem;
    margin-bottom: 24px;
}

.hero-simple .hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
}

@media (max-width: 768px) {
    .hero-simple {
        padding: 100px 0 60px;
    }

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

    .hero-simple .hero-subtitle {
        font-size: 1.125rem;
    }

    .nav-actions {
        gap: 8px !important;
    }

    .lang-dropdown-btn {
        padding: 6px 10px;
        font-size: 18px;
    }

    .btn-login {
        padding: 8px 16px !important;
        font-size: 14px !important;
    }
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(16, 185, 129, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(20, 184, 166, 0.08) 0%, transparent 50%);
    background-size: 200% 200%;
    animation: gradientMove 15s ease infinite;
    pointer-events: none;
}

@keyframes gradientMove {
    0%, 100% { background-position: 0% 0%; }
    50% { background-position: 100% 100%; }
}

.hero-container {
    display: grid;
    grid-template-columns: 55% 42%;
    gap: 0;
    align-items: center;
    position: relative;
}

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

.hero-visual {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
}

.dashboard-mockup {
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(20, 184, 166, 0.1));
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 100px;
    font-size: 15px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 28px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 28px;
    color: var(--gray-900);
    letter-spacing: -0.02em;
}

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

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

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.125rem;
}

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

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

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

.btn-secondary {
    background: white;
    color: var(--gray-700);
    border-color: var(--gray-300);
}

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

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.stat {
    text-align: center;
}

.stat-value {
    font-size: 2.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 1rem;
    color: var(--gray-600);
    font-weight: 500;
}

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

.dashboard-mockup {
    position: relative;
    animation: fadeInUp 1s ease;
    width: 100%;
}

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

.mockup-window {
    background: white;
    border-radius: 16px;
    box-shadow:
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.04),
        0 0 0 1px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.window-header {
    display: flex;
    gap: 8px;
    padding: 16px;
    background: var(--gray-100);
    border-bottom: 1px solid var(--gray-200);
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray-300);
}

.window-content {
    padding: 24px;
}

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

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

.metric-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 20px;
}

.metric-icon.operational {
    background: rgba(16, 185, 129, 0.1);
}

.metric-icon.warning {
    background: rgba(245, 158, 11, 0.1);
}

.metric-icon.critical {
    background: rgba(239, 68, 68, 0.1);
}

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

.metric-label {
    font-size: 0.75rem;
    color: var(--gray-600);
}

.chart-area {
    margin-bottom: 24px;
    height: 150px;
}

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

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

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

.chart-area {
    opacity: 0;
    animation: fadeIn 1s ease 0.5s forwards;
}

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

.equipment-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.equipment-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--gray-50);
    border-radius: 8px;
    border: 1px solid var(--gray-200);
}

.equipment-status {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.equipment-status.online {
    background: var(--success);
    box-shadow: 0 0 8px var(--success);
}

.equipment-status.warning {
    background: var(--warning);
    box-shadow: 0 0 8px var(--warning);
}

.equipment-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.equipment-metrics {
    display: flex;
    gap: 12px;
    font-size: 0.75rem;
    color: var(--gray-600);
}

/* Solution Section */
.solution {
    padding: 100px 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--gray-900);
}

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

.solution-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.step {
    position: relative;
    padding: 32px;
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: 16px;
    transition: all 0.3s;
}

.step:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(16, 185, 129, 0.15);
}

.step-number {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 3rem;
    font-weight: 900;
    color: var(--gray-100);
}

.step-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 16px;
    color: white;
    margin-bottom: 24px;
}

.step h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--gray-900);
}

.step p {
    color: var(--gray-600);
    line-height: 1.7;
}

/* Technology Section */
.technology {
    padding: 100px 0;
    background: var(--gray-50);
}

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

.technology-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--gray-900);
}

.technology-text > p {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 32px;
    line-height: 1.8;
}

.tech-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.tech-feature {
    display: flex;
    gap: 16px;
}

.tech-check {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--success);
    color: white;
    border-radius: 50%;
    font-weight: 800;
    flex-shrink: 0;
}

.tech-feature h4 {
    font-size: 1.125rem;
    margin-bottom: 4px;
    color: var(--gray-900);
}

.tech-feature p {
    color: var(--gray-600);
}

.tech-stack {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    height: 100%;
    align-content: space-between;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 48px 32px;
    background: white;
    border-radius: 16px;
    border: 2px solid var(--gray-200);
    transition: all 0.3s;
    animation: float 3s ease-in-out infinite;
    min-height: 160px;
}

.tech-item:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
}

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

.tech-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    color: var(--gray-700);
    transition: color 0.3s;
}

.tech-logo svg {
    width: 100%;
    height: 100%;
}

.tech-item:hover .tech-logo {
    color: var(--primary);
}

.tech-item span {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-800);
    text-align: center;
}

/* Results Section */
.results {
    padding: 100px 0;
    background: rgb(249, 250, 251);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.result-card {
    padding: 32px;
    background: var(--gray-50);
    border-radius: 16px;
    border: 2px solid var(--gray-200);
    transition: all 0.3s;
}

.result-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.result-metric {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 16px;
}

.result-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--gray-900);
}

.result-card p {
    color: var(--gray-600);
    line-height: 1.7;
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 64px;
}

.testimonial-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.testimonial-rating {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.star {
    font-size: 20px;
}

.testimonial-text {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--gray-700);
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 20px;
    border-top: 1px solid #f3f4f6;
}

.author-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.author-avatar svg {
    width: 28px;
    height: 28px;
    color: white;
}

.author-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.author-role {
    font-size: 0.875rem;
    color: var(--gray-600);
}

/* Social Proof Stats */
.social-proof-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 64px;
    padding-top: 64px;
    border-top: 2px solid #e5e7eb;
}

.proof-stat {
    text-align: center;
}

.proof-number {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    line-height: 1;
}

.proof-label {
    font-size: 1rem;
    color: var(--gray-600);
    font-weight: 500;
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .social-proof-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

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

/* Demo Section */
.demo {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
}

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

.demo-text h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 24px;
}

.demo-text > p {
    font-size: 1.125rem;
    opacity: 0.95;
    margin-bottom: 32px;
    line-height: 1.8;
}

.demo-benefits {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.demo-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.125rem;
}

.demo-form {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--gray-700);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
}

.form-note {
    text-align: center;
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-top: 16px;
}

.success-message {
    text-align: center;
    padding: 48px 32px;
}

.success-message svg {
    color: var(--success);
    margin-bottom: 24px;
}

.success-message h3 {
    font-size: 1.5rem;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.success-message p {
    color: var(--gray-600);
}

/* Footer */
.footer {
    background: #971d1d;
    color: white;
    padding: 60px 0 32px;
}

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

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

.footer-brand p {
    opacity: 0.7;
}

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

.footer-links h4 {
    margin-bottom: 16px;
    font-size: 1rem;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    line-height: 2;
    transition: color 0.2s;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
}

/* Responsive - Hide mockup below 1200px */
@media (max-width: 1200px) {
    .hero-container {
        grid-template-columns: 1fr;
    }

    .hero-visual,
    .dashboard-mockup {
        display: none !important;
    }

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

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

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

    .hero-title {
        font-size: 3.5rem;
    }
}

/* Responsive - Mobile Optimizations */
@media (max-width: 768px) {
    /* Hide dashboard mockup on mobile for cleaner look */
    .dashboard-mockup {
        display: none !important;
    }

    .hero-visual {
        display: none !important;
    }

    /* Hide decorative particles on mobile for better performance */
    .particles-canvas {
        display: none !important;
    }

    #particles {
        display: none !important;
    }

    .hero-bg-pattern {
        opacity: 0.3;
    }

    .hero {
        padding: 100px 0 40px;
        min-height: auto;
    }

    .hero-content {
        text-align: center;
    }

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

    .nav-container {
        padding: 1rem 16px;
    }

    .logo {
        gap: 8px;
    }

    .logo svg {
        width: 32px;
        height: 32px;
    }

    .logo span {
        font-size: 1rem;
    }

    .nav-links {
        display: none;
        margin-left: 0;
    }

    .mobile-menu-btn {
        display: flex;
        order: 3;
        margin-left: 12px;
    }

    .nav-actions {
        gap: 6px;
        margin-left: auto;
        order: 2;
    }

    .lang-switcher {
        padding: 2px;
        gap: 2px;
    }

    .lang-btn {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }

    .btn-login {
        padding: 8px;
    }

    .btn-login span {
        display: none;
    }

    .btn-login svg {
        width: 18px;
        height: 18px;
    }

    .hero-container,
    .technology-content,
    .demo-content,
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

    .hero-title {
        font-size: 2.25rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        line-height: 1.6;
    }

    .hero-cta {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

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

    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

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

    .stat-label {
        font-size: 0.75rem;
    }

    .hero-badge {
        font-size: 0.875rem;
    }

    .btn-large {
        padding: 14px 24px;
        font-size: 1rem;
    }

    .hero-visual {
        order: -1;
        max-width: 100%;
    }

    .dashboard-mockup {
        max-width: 100%;
    }

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

    .solution-steps {
        grid-template-columns: 1fr;
    }

    .metric-cards {
        grid-template-columns: 1fr;
    }

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

    .tech-stack {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .tech-item {
        padding: 24px 20px;
        min-height: auto;
    }

    .tech-logo {
        width: 40px;
        height: 40px;
    }

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

/* Mobile menu active state */
.nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    padding: 24px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.7);
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }
}

/* Button nav style */
.btn-nav {
    padding: 8px 16px;
    background: var(--primary);
    color: white !important;
    border-radius: 8px;
    transition: all 0.3s;
}

.btn-nav:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Nav Actions Container */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: auto;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    gap: 4px;
    padding: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.lang-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 20px;
    text-decoration: none;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.05);
}

.lang-btn.active {
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.lang-btn .flag {
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.btn-login {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white !important;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.2);
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

.btn-login svg {
    flex-shrink: 0;
}

/* Contact page specific styles */
@media (max-width: 768px) {
    .contact-content > div > div {
        grid-template-columns: 1fr !important;
    }
}

/* Active nav link */
.nav-links a.active {
    color: var(--primary);
    font-weight: 600;
}

/* Utility Classes */
.section {
    padding: 80px 0;
}

.bg-light {
    background: #f9fafb;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-align: center;
}

.section-subtitle {
    font-size: 2rem;
    margin-bottom: 24px;
}

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

.center {
    text-align: center;
}

.text-large {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 24px;
    color: #374151;
}

/* Grid Layouts */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Card Components */
.card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.card h2 {
    font-size: 1.75rem;
    margin-bottom: 16px;
    color: #1f2937;
}

.card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.card p {
    color: #6b7280;
    line-height: 1.8;
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.gradient-bg {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
}

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

/* Stat Components */
.stat-item {
    text-align: center;
}

.stat-label {
    color: #6b7280;
    margin-top: 8px;
    font-size: 1.125rem;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    color: white;
}

.cta-content {
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 16px 40px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
}

.btn-white {
    background: white;
    color: #dc2626;
}

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

.btn-block {
    width: 100%;
}

/* Contact Page Styles */
.contact-info-card {
    margin-bottom: 24px;
}

.contact-item {
    display: flex;
    align-items: start;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item .card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 0;
    flex-shrink: 0;
}

.contact-link {
    color: #dc2626;
    text-decoration: none;
}

.contact-link:hover {
    text-decoration: underline;
}

/* Form Styles */
.contact-form {
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #374151;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
}

.form-input:focus {
    outline: none;
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

textarea.form-input {
    resize: vertical;
    min-height: 120px;
}

/* Success Message */
.success-message {
    padding: 24px;
    background: #d1fae5;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #065f46;
}

.success-message svg {
    flex-shrink: 0;
}

.success-message h3 {
    font-weight: 600;
    margin-bottom: 4px;
}

.success-message p {
    font-size: 0.875rem;
    margin: 0;
}

/* ============================================
   MARKETING MOCKUP STYLES
   ============================================ */

.marketing-mockup {
    background: #0f172a;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
    width: 100%;
    transform: scale(1.35);
    transform-origin: left center;
}

.marketing-mockup .window-header {
    background: #1e293b;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid #334155;
}

.marketing-mockup .window-header .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.marketing-mockup .window-header .dot.red { background: #ef4444; }
.marketing-mockup .window-header .dot.yellow { background: #f59e0b; }
.marketing-mockup .window-header .dot.green { background: #22c55e; }

.marketing-mockup .window-title {
    margin-left: 10px;
    color: #94a3b8;
    font-size: 0.7rem;
    font-weight: 500;
}

.marketing-dashboard {
    padding: 12px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

/* Stats Row */
.marketing-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 10px;
}

.marketing-stat-card {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid #334155;
    border-radius: 8px;
    padding: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: transform 0.2s, border-color 0.2s;
}

.marketing-stat-card:hover {
    transform: translateY(-1px);
    border-color: #475569;
}

.stat-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-icon svg {
    width: 14px;
    height: 14px;
}

.stat-icon.blue { background: rgba(59, 130, 246, 0.2); color: #60a5fa; }
.stat-icon.purple { background: rgba(168, 85, 247, 0.2); color: #c084fc; }
.stat-icon.orange { background: rgba(249, 115, 22, 0.2); color: #fb923c; }

.stat-content {
    flex: 1;
    min-width: 0;
}

.stat-number {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: #f1f5f9;
    line-height: 1.1;
}

.stat-text {
    display: block;
    font-size: 0.6rem;
    color: #94a3b8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.stat-badge {
    font-size: 0.55rem;
    padding: 2px 4px;
    border-radius: 3px;
    font-weight: 600;
    flex-shrink: 0;
}

.stat-badge.green { background: rgba(34, 197, 94, 0.2); color: #4ade80; }
.stat-badge.blue { background: rgba(59, 130, 246, 0.2); color: #60a5fa; }

/* Content Grid - simplified single column */
.marketing-content-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Landing Page Preview Card */
.marketing-preview-card {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid #334155;
    border-radius: 8px;
    padding: 8px;
    overflow: hidden;
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.preview-title {
    font-size: 0.65rem;
    font-weight: 600;
    color: #e2e8f0;
}

.preview-badge {
    font-size: 0.5rem;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.preview-badge.live {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
    animation: pulse-live 2s infinite;
}

@keyframes pulse-live {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* Landing Page Mini Preview */
.landing-preview {
    background: #ffffff;
    border-radius: 6px;
    padding: 8px;
    margin-bottom: 6px;
    min-height: 70px;
}

.lp-header-bar {
    height: 4px;
    background: linear-gradient(90deg, #dc2626 0%, #f97316 100%);
    border-radius: 2px;
    margin-bottom: 6px;
}

.lp-hero-section {
    margin-bottom: 6px;
}

.lp-title-placeholder {
    height: 6px;
    width: 80%;
    background: #e5e7eb;
    border-radius: 3px;
    margin-bottom: 4px;
}

.lp-subtitle-placeholder {
    height: 4px;
    width: 60%;
    background: #f3f4f6;
    border-radius: 2px;
    margin-bottom: 6px;
}

.lp-cta-btn {
    height: 12px;
    width: 40px;
    background: linear-gradient(90deg, #dc2626 0%, #ef4444 100%);
    border-radius: 3px;
}

.lp-features {
    display: flex;
    gap: 4px;
}

.lp-feature-box {
    flex: 1;
    height: 16px;
    background: #f3f4f6;
    border-radius: 3px;
}

.preview-stats {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    padding-top: 8px;
    border-top: 1px solid #334155;
}

.preview-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ps-value {
    font-size: 0.85rem;
    font-weight: 700;
    color: #22c55e;
}

.ps-label {
    font-size: 0.5rem;
    color: #64748b;
    text-align: center;
}

/* Side Panels */
.marketing-side-panels {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* AI Content Card */
.ai-content-card {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid #334155;
    border-radius: 8px;
    padding: 8px;
    flex: 1;
}

.ai-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.ai-icon {
    font-size: 0.8rem;
}

.ai-title {
    font-size: 0.6rem;
    font-weight: 600;
    color: #e2e8f0;
}

.ai-content-preview {
    background: rgba(15, 23, 42, 0.5);
    border-radius: 4px;
    padding: 6px;
}

.ai-typing {
    display: flex;
    align-items: center;
    gap: 3px;
    margin-bottom: 4px;
}

.typing-text {
    font-size: 0.55rem;
    color: #a855f7;
}

.typing-cursor {
    width: 2px;
    height: 8px;
    background: #a855f7;
    animation: blink 1s infinite;
}

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

.ai-output {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.ai-line {
    height: 3px;
    background: linear-gradient(90deg, #475569 0%, #334155 100%);
    border-radius: 2px;
    width: 100%;
}

.ai-line.short { width: 60%; }
.ai-line.medium { width: 80%; }

/* Competitor Card */
.competitor-card {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid #334155;
    border-radius: 8px;
    padding: 8px;
    flex: 1;
}

.competitor-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.comp-icon {
    font-size: 0.8rem;
}

.comp-title {
    font-size: 0.6rem;
    font-weight: 600;
    color: #e2e8f0;
}

.competitor-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.competitor-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 2px 0;
}

.comp-rank {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #334155;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.5rem;
    font-weight: 700;
    color: #94a3b8;
    flex-shrink: 0;
}

.comp-info {
    flex: 1;
    min-width: 0;
}

.comp-name {
    display: block;
    font-size: 0.5rem;
    color: #cbd5e1;
    margin-bottom: 2px;
}

.comp-bar {
    height: 3px;
    border-radius: 2px;
    transition: width 1s ease;
}

.comp-bar.you {
    background: linear-gradient(90deg, #22c55e 0%, #4ade80 100%);
}

.comp-bar.other {
    background: linear-gradient(90deg, #475569 0%, #64748b 100%);
}

.comp-score {
    font-size: 0.55rem;
    font-weight: 700;
    color: #94a3b8;
    flex-shrink: 0;
}

/* Bottom Row - Mini Cards */
.marketing-bottom-row {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.ai-mini-card,
.comp-mini-card {
    flex: 1;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid #334155;
    border-radius: 8px;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ai-mini-icon,
.comp-mini-icon {
    font-size: 0.9rem;
}

.ai-mini-text,
.comp-mini-text {
    font-size: 0.6rem;
    color: #94a3b8;
    flex: 1;
}

.ai-mini-cursor {
    width: 2px;
    height: 10px;
    background: #a855f7;
    animation: blink 1s infinite;
}

.comp-mini-badge {
    font-size: 0.55rem;
    padding: 2px 6px;
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
    border-radius: 4px;
    font-weight: 600;
}

.stat-icon.green { background: rgba(34, 197, 94, 0.2); color: #4ade80; }

/* Responsive adjustments for mockup */
@media (max-width: 768px) {
    .marketing-stats-row {
        grid-template-columns: 1fr;
    }

    .marketing-content-grid {
        grid-template-columns: 1fr;
    }

    .marketing-stat-card {
        padding: 10px;
    }

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

/* ============================================
   AUTOMATION WORKFLOWS SECTION
   ============================================ */
.workflows-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    position: relative;
    overflow: hidden;
}

.workflows-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(220, 38, 38, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(249, 115, 22, 0.1) 0%, transparent 40%);
    pointer-events: none;
}

.workflows-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.workflows-text {
    color: white;
}

.workflows-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(220, 38, 38, 0.2);
    border: 1px solid rgba(220, 38, 38, 0.4);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #f87171;
    margin-bottom: 24px;
}

.workflows-badge svg {
    color: #f87171;
}

.workflows-text h2 {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.workflows-text > p {
    font-size: 1.125rem;
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 32px;
}

.workflows-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.workflow-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.workflow-feature:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(220, 38, 38, 0.3);
    transform: translateX(4px);
}

.wf-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wf-icon svg {
    width: 22px;
    height: 22px;
}

.wf-icon.trigger {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.2), rgba(220, 38, 38, 0.1));
    color: #f87171;
}

.wf-icon.condition {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.2), rgba(249, 115, 22, 0.1));
    color: #fb923c;
}

.wf-icon.action {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(34, 197, 94, 0.1));
    color: #4ade80;
}

.wf-icon.analytics {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(99, 102, 241, 0.1));
    color: #818cf8;
}

.wf-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #f1f5f9;
    margin-bottom: 4px;
}

.wf-content p {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.5;
}

/* Workflow Visual Builder Mockup */
.workflows-visual {
    position: relative;
}

.workflow-builder-mockup {
    background: linear-gradient(145deg, #1e293b, #0f172a);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 0 80px rgba(220, 38, 38, 0.15),
        0 25px 50px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

.workflow-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.workflow-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #e2e8f0;
}

.workflow-status {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 100px;
}

.workflow-status.active {
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.workflow-canvas {
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    min-height: 400px;
    background:
        radial-gradient(circle at 50% 0%, rgba(220, 38, 38, 0.08) 0%, transparent 50%),
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 100% 100%, 20px 20px, 20px 20px;
}

.workflow-node {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: rgba(30, 41, 59, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    position: relative;
    transition: all 0.3s ease;
}

.workflow-node:hover {
    transform: scale(1.02);
    border-color: rgba(220, 38, 38, 0.5);
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.2);
}

.node-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.node-icon svg {
    width: 18px;
    height: 18px;
}

.node-icon.trigger {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: white;
}

.node-icon.condition {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.node-icon.action {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
}

.node-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #e2e8f0;
    white-space: nowrap;
}

/* Connection Lines */
.workflow-line {
    width: 2px;
    height: 30px;
    background: linear-gradient(to bottom, rgba(220, 38, 38, 0.6), rgba(220, 38, 38, 0.3));
    position: relative;
}

.line-pulse {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: #dc2626;
    border-radius: 50%;
    animation: linePulse 2s ease-in-out infinite;
}

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

/* Branch Structure */
.workflow-branch {
    display: flex;
    gap: 80px;
    padding: 10px 0;
}

.branch-line {
    width: 2px;
    height: 40px;
    position: relative;
}

.branch-line.left {
    background: linear-gradient(to bottom, rgba(34, 197, 94, 0.6), rgba(34, 197, 94, 0.3));
}

.branch-line.right {
    background: linear-gradient(to bottom, rgba(249, 115, 22, 0.6), rgba(249, 115, 22, 0.3));
}

.branch-label {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
}

.branch-label.yes {
    right: 12px;
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
}

.branch-label.no {
    left: 12px;
    background: rgba(249, 115, 22, 0.2);
    color: #fb923c;
}

.branch-line .line-pulse {
    background: #22c55e;
}

.branch-line.right .line-pulse {
    background: #f97316;
    animation-delay: 0.5s;
}

.line-pulse.delay {
    animation-delay: 1s;
}

/* Action Nodes Row */
.workflow-actions {
    display: flex;
    gap: 40px;
    margin-top: 5px;
}

.action-node.hot {
    border-color: rgba(34, 197, 94, 0.3);
}

.action-node.nurture {
    border-color: rgba(249, 115, 22, 0.3);
}

/* Workflow Stats Bar */
.workflow-stats-bar {
    display: flex;
    justify-content: space-around;
    padding: 16px 20px;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 30px;
    width: calc(100% + 60px);
    margin-left: -30px;
    margin-bottom: -40px;
}

.wf-stat {
    text-align: center;
}

.wf-stat-value {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: #f1f5f9;
}

.wf-stat-label {
    font-size: 0.75rem;
    color: #64748b;
}

/* Responsive */
@media (max-width: 1024px) {
    .workflows-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .workflows-text h2 {
        font-size: 2.25rem;
    }

    .workflow-actions {
        flex-direction: column;
        gap: 20px;
    }

    .workflow-branch {
        gap: 40px;
    }
}

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

    .workflows-text h2 {
        font-size: 1.875rem;
    }

    .workflow-canvas {
        padding: 30px 15px;
    }

    .workflow-stats-bar {
        flex-direction: column;
        gap: 16px;
    }

    .workflow-node {
        padding: 10px 14px;
    }

    .node-label {
        font-size: 0.75rem;
    }
}
