@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Inter:wght@400;500;600;700&display=swap');

/* ==========================================================================
   Hero Section
   ========================================================================== */
.automaton-hero {
    position: relative;
    width: 100%;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0c162f;
    background-image: url('https://automatonai.com/wp-content/uploads/2025/02/download-1_11zon.webp');
    background-size: 100% auto;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    overflow: hidden;
}

.automaton-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    width: 100%;
    padding: 60px 40px;
    text-align: center;
    color: #ffffff;
}

.automaton-hero h1 {
    font-family: 'Manrope', sans-serif;
    font-size: 48px;
    font-weight: 500;
    line-height: 1.2;
    margin: 0 0 20px 0;
    letter-spacing: -0.5px;
}

.automaton-hero-subheadline {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 500;
    margin: 0 0 30px 0;
    color: #a0aec0;
    letter-spacing: 0.5px;
}

.automaton-hero-description {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    margin: 0 0 40px 0;
    color: #e2e8f0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.automaton-hero-ctas {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.automaton-hero-cta {
    display: inline-block;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
    background: transparent;
    color: #ffffff;
    border: 2px solid;
    border-image-source: linear-gradient(to right, #00c6ff, #ff4c9d);
    border-image-slice: 1;
}

.automaton-hero-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 198, 255, 0.3);
}

.automaton-hero-cta-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 76, 157, 0.3);
}

.automaton-watch-video {
    position: absolute;
    top: 40px;
    right: 40px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.automaton-watch-video:hover {
    color: #a0aec0;
}

.automaton-watch-video-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
}

.automaton-watch-video:hover .automaton-watch-video-icon {
    background-color: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

.automaton-watch-video-icon::before {
    content: '';
    width: 0;
    height: 0;
    border-left: 6px solid #ffffff;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    margin-left: 2px;
}

/* Hero Section - Responsive */
@media (max-width: 768px) {
    .automaton-hero {
        min-height: 500px;
        background-attachment: scroll;
    }
    .automaton-hero-content { padding: 80px 20px 40px 20px; }
    .automaton-watch-video { top: 15px; right: 15px; font-size: 12px; gap: 6px; }
    .automaton-watch-video-icon { width: 32px; height: 32px; }
    .automaton-hero h1 { font-size: 32px; margin-bottom: 15px; }
    .automaton-hero-subheadline { font-size: 16px; margin-bottom: 20px; }
    .automaton-hero-description { font-size: 16px; margin-bottom: 30px; }
    .automaton-hero-ctas { flex-direction: column; gap: 12px; }
    .automaton-hero-cta { width: 100%; }
}

@media (max-width: 480px) {
    .automaton-hero { min-height: 400px; }
    .automaton-hero-content { padding: 70px 15px 30px 15px; }
    .automaton-watch-video { top: 12px; right: 12px; font-size: 11px; gap: 5px; }
    .automaton-watch-video-icon { width: 28px; height: 28px; }
    .automaton-hero h1 { font-size: 24px; }
}

/* ==========================================================================
   Trusted By Section
   ========================================================================== */
.trusted-by-wrapper {
    background-color: #ffffff;
    padding: 80px 0;
    text-align: center;
    font-family: 'Inter', 'Manrope', sans-serif;
    color: #0C162F;
    overflow: hidden;
}

.trusted-by-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.trusted-by-label {
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #00CFFF;
    margin-bottom: 20px;
    display: block;
}

.trusted-by-heading {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.3;
    max-width: 900px;
    margin: 0 auto;
    color: #0C162F;
    letter-spacing: -0.01em;
}

.trusted-by-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 50px;
    max-width: 1200px;
    margin: 60px auto 0;
    padding: 0 20px;
}

.trusted-by-item {
    flex: 0 1 160px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.trusted-by-item img {
    max-width: 100%;
    height: auto;
    max-height: 60px;
    object-fit: contain;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: grayscale(100%) opacity(0.8);
}

.trusted-by-item:hover img {
    transform: scale(1.05);
    filter: grayscale(0%) opacity(1);
}

/* Trusted By - Responsive */
@media (max-width: 768px) {
    .trusted-by-wrapper { padding: 60px 0; }
    .trusted-by-heading { font-size: 28px; }
    .trusted-by-label { font-size: 14px; }
    .trusted-by-grid { 
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 20px; 
        margin-top: 40px; 
        padding: 0 20px; 
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }
    .trusted-by-grid::-webkit-scrollbar { display: none; }
    .trusted-by-item { flex: 0 0 calc(50% - 10px); scroll-snap-align: center; }
    .trusted-by-item img { max-height: 45px; }
}

/* ==========================================================================
   Full Width Template
   ========================================================================== */
body .site-main,
body .site-content {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.automaton-hero {
    min-height: 100vh;
}

/* ==========================================================================
   Stat Bar Section
   ========================================================================== */
.automaton-stat-bar-v2 {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background-color: #f8fafc;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    padding: 40px 0;
    margin-top: 0;
    margin-bottom: 0;
}

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

.automaton-stat-item-v2 {
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
}

.stat-icon-v2 {
    flex-shrink: 0;
}

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

.stat-number-v2 {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 700;
    font-size: 36px;
    color: #3d4b9e;
    line-height: 1;
    margin-bottom: 5px;
}

.stat-text-v2 {
    font-family: 'Manrope', sans-serif !important;
    font-weight: 600;
    font-size: 14px;
    color: #3d4b9e;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.stat-body-v2 {
    font-family: 'Inter', sans-serif !important;
    font-weight: 400;
    font-size: 14px;
    color: #4a5568;
    line-height: 1.5;
    max-width: 280px;
}

.stat-divider-v2 {
    width: 1px;
    height: 50px;
    background-color: #e2e8f0;
    margin: 0 20px;
}

/* Stat Bar - Responsive */
@media (max-width: 991px) {
    .automaton-stat-container-v2 {
        flex-wrap: wrap;
        gap: 30px;
        justify-content: center;
    }
    .stat-divider-v2 { display: none; }
    .automaton-stat-item-v2 { flex: 0 1 45%; }
}

@media (max-width: 640px) {
    .automaton-stat-item-v2 {
        flex: 0 1 100%;
        justify-content: flex-start;
        padding-left: 15%;
    }
    .stat-number-v2 { font-size: 24px; }
    .stat-text-v2 { font-size: 14px; }
}
