/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #1D1D1F;
    background-color: #FFFFFF;
    overflow-x: hidden;
}

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

/* ===== Header ===== */
.header {
    padding: 60px 0 40px;
    text-align: center;
    background: linear-gradient(135deg, #F7F7F7 0%, #FFFFFF 100%);
    border-bottom: 1px solid #E5E5E5;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 122, 255, 0.03) 0%, transparent 70%);
    animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(10px, 10px) scale(1.1); }
}

.main-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1D1D1F;
    letter-spacing: -0.5px;
    position: relative;
    z-index: 1;
}

.subtitle {
    font-size: 1.1rem;
    color: #666;
    font-weight: 400;
    position: relative;
    z-index: 1;
}

/* ===== Main Content ===== */
.main-content {
    padding: 60px 0;
}

/* ===== Tool Card ===== */
.tool-card {
    background: #FFFFFF;
    border: 1px solid #E5E5E5;
    margin-bottom: 40px;
    padding: 30px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(30px);
    /* Unique cut-corner design */
    clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 0 100%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.tool-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Alternating layout */
.tool-card-left {
    margin-left: 0;
    margin-right: auto;
    max-width: 95%;
}

.tool-card-right {
    margin-left: auto;
    margin-right: 0;
    max-width: 95%;
}

.tool-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* ===== Tool Header ===== */
.tool-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid #F7F7F7;
}

.tool-logo {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    background: #FFFFFF;
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease;
}

.tool-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.tool-card:hover .tool-logo {
    transform: scale(1.1) rotate(5deg);
}

.tool-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1D1D1F;
    flex: 1;
    min-width: 200px;
}

.tool-badge {
    background: #007AFF;
    color: #FFFFFF;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

/* ===== Tool Body ===== */
.tool-body {
    margin-bottom: 25px;
}

.tool-intro {
    font-size: 1rem;
    margin-bottom: 20px;
    line-height: 1.7;
    color: #333;
}

.tool-features h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1D1D1F;
}

.tool-features ul {
    list-style: none;
    padding-left: 0;
}

.tool-features li {
    margin-bottom: 10px;
    padding-left: 0;
    line-height: 1.6;
    color: #444;
}

.tool-scenario {
    margin: 20px 0;
    padding: 20px;
    background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
    border-radius: 12px;
    border-left: 4px solid #0EA5E9;
}

.tool-scenario h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #0369A1;
}

.tool-scenario p {
    margin-bottom: 10px;
    line-height: 1.7;
    color: #334155;
}

.tool-scenario .highlight-text {
    background: #FFFFFF;
    padding: 12px 15px;
    border-radius: 8px;
    margin-top: 12px;
    border-left: 3px solid #F59E0B;
    font-weight: 500;
}

.tool-summary {
    margin-top: 20px;
    padding: 15px;
    background: #F7F7F7;
    border-left: 4px solid #007AFF;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ===== Tool Footer ===== */
.tool-footer {
    text-align: right;
}

.btn-primary {
    display: inline-block;
    background: #007AFF;
    color: #FFFFFF;
    padding: 12px 28px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 122, 255, 0.2);
}

.btn-primary:hover {
    background: #0051D5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
}

/* ===== Footer ===== */
.footer {
    background: #F7F7F7;
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid #E5E5E5;
}

.footer-text {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1D1D1F;
}

.workflow-steps {
    font-size: 1rem;
    color: #666;
    line-height: 1.8;
}

.workflow-steps span {
    display: inline-block;
    padding: 4px 10px;
    background: #FFFFFF;
    border-radius: 6px;
    margin: 5px;
    border: 1px solid #E5E5E5;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .main-title {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .tool-card {
        padding: 20px;
        clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
    }

    .tool-card-left,
    .tool-card-right {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .tool-title {
        font-size: 1.3rem;
        min-width: auto;
    }

    .tool-logo {
        width: 50px;
        height: 50px;
    }

    .tool-scenario {
        padding: 15px;
        font-size: 0.95rem;
    }

    .tool-scenario h4 {
        font-size: 0.95rem;
    }

    .tool-footer {
        text-align: center;
    }

    .btn-primary {
        width: 100%;
        text-align: center;
    }

    .workflow-steps span {
        display: block;
        margin: 8px auto;
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 40px 0 30px;
    }

    .main-title {
        font-size: 1.6rem;
    }

    .subtitle {
        font-size: 0.9rem;
    }

    .tool-card {
        margin-bottom: 30px;
    }

    .tool-header {
        gap: 10px;
    }

    .tool-title {
        font-size: 1.2rem;
    }

    .tool-badge {
        font-size: 0.75rem;
        padding: 5px 12px;
    }
}

/* ===== Animation Delays ===== */
.tool-card:nth-child(1) { transition-delay: 0.1s; }
.tool-card:nth-child(2) { transition-delay: 0.2s; }
.tool-card:nth-child(3) { transition-delay: 0.3s; }
.tool-card:nth-child(4) { transition-delay: 0.4s; }
.tool-card:nth-child(5) { transition-delay: 0.5s; }

