/* Automation Premium Section Styles */
.automation-premium {
    padding: 100px 0;
    background: var(--bg-color);
    position: relative;
    overflow: hidden;
}

.max-w-800 {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(212, 175, 55, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

/* Intro Grid */
.automation-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 80px;
    margin-bottom: 80px;
}

.automation-intro-grid.reverse {
    direction: ltr;
}

.automation-intro-grid.reverse>div:nth-child(1) {
    order: 2;
}

.automation-intro-grid.reverse>div:nth-child(2) {
    order: 1;
}

.intro-text-card {
    padding: 50px;
    border-radius: 40px;
    position: relative;
    border: 1px solid var(--glass-border);
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--btn-champagne);
    color: #333;
    font-weight: 800;
    font-size: 1.2rem;
    border-radius: 18px;
    margin-bottom: 30px;
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

.intro-text-card h3 {
    font-size: 2.2rem;
    margin-bottom: 25px;
    color: var(--text-primary);
    letter-spacing: -1px;
}

.intro-text-card p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Image Stack */
.intro-image-card {
    position: relative;
}

.image-stack {
    position: relative;
    width: 100%;
    border-radius: 24px;
    overflow: visible;
}

.img-main {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
}

.floating-icon {
    position: absolute;
    width: 80px;
    height: 80px;
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    box-shadow: var(--card-shadow);
    z-index: 5;
    animation: floatIcon 4s ease-in-out infinite;
}

.icon-make {
    top: -20px;
    right: -20px;
    color: #eb008b;
}

.icon-airtable {
    bottom: -20px;
    left: -20px;
    color: #18bfff;
    animation-delay: 2s;
}

.voice-wave-animation {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 40px;
}

.wave {
    width: 6px;
    height: 15px;
    background: var(--accent-color);
    border-radius: 10px;
    animation: wavePulse 1.2s ease-in-out infinite;
}

.wave:nth-child(2) {
    height: 35px;
    animation-delay: 0.2s;
}

.wave:nth-child(3) {
    height: 25px;
    animation-delay: 0.4s;
}

@keyframes wavePulse {

    0%,
    100% {
        transform: scaleY(1);
        opacity: 0.5;
    }

    50% {
        transform: scaleY(1.8);
        opacity: 1;
        filter: brightness(1.2);
    }
}

@keyframes floatIcon {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* Features Grid */
.what-we-do-section {
    padding: 80px 0;
    border-top: 1px solid var(--glass-border);
}

.automation-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.auto-feat-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    padding: 35px;
    border-radius: 24px;
    transition: all 0.3s ease;
}

.auto-feat-item:hover {
    background: rgba(59, 130, 246, 0.05);
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.feat-icon {
    width: 60px;
    height: 60px;
    background: var(--btn-champagne);
    color: #333;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 25px;
}

.auto-feat-item h4 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.auto-feat-item p {
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Best Option Boxes */
.best-option-section {
    margin-top: 100px;
}

.best-option-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.option-box {
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 24px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.option-box:hover {
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.option-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-main);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.option-box:hover::before {
    opacity: 1;
}

.option-icon {
    font-size: 45px;
    color: var(--primary-color);
    margin-bottom: 25px;
    filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.3));
}

.option-box h4 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.option-box p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .best-option-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .automation-intro-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .best-option-grid {
        grid-template-columns: 1fr;
    }

    .intro-text-card {
        padding: 30px;
    }
}

/* Catalog Section */
.integral-catalog-section {
    margin-top: 100px;
    padding: 0 20px;
}

.integral-catalog-section .section-header {
    margin-bottom: 60px;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 30px;
}

.catalog-card {
    padding: 35px;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: var(--bg-secondary);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
}

/* Subtle gradient overlay */
.catalog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 1;
    pointer-events: none;
}

[data-theme="dark"] .catalog-card::before {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(0, 0, 0, 0.2) 100%);
}


.catalog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.catalog-card h4 {
    font-size: 1.35rem;
    margin-bottom: 20px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--glass-border);
}

.catalog-card h4 i {
    font-size: 1.6rem;
    color: var(--primary-color);
    background: rgba(212, 175, 55, 0.1);
    min-width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    transition: all 0.4s ease;
}

.catalog-card:hover h4 i {
    background: var(--primary-color);
    color: #fff;
    transform: rotateY(180deg);
}

[data-theme="light"] .catalog-card:hover h4 i {
    color: #333;
}


.catalog-card p {
    margin-bottom: 25px;
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.catalog-card ul {
    list-style: none;
    padding: 0;
    margin-top: auto;
}

.catalog-card li {
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.catalog-card li strong {
    color: var(--text-primary);
    font-weight: 600;
    margin-right: 4px;
}

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