* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #7c3aed;
    --primary-light: #a78bfa;
    --accent-color: #06b6d4;
    --text-dark: #1f2937;
}

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding: 40px 20px;
}

.container-main {
    max-width: 1400px;
    margin: 0 auto;
}

h1 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 50px;
    font-size: 2.5rem;
    font-weight: bold;
}

/* ===== Layout ===== */
.steps-section {
    margin-top: 40px;
    position: relative;
}

.row-custom {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

@media (max-width: 1024px) {
    .row-custom {
        flex-direction: column;
    }

    .phone-preview {
        position: static;
        margin-top: 40px;
    }
}

/* ===== Timeline Styles ===== */
.timeline-container {
    flex: 1;
    position: relative;
}

.timeline {
    position: relative;
    padding-right: 60px;
}

.timeline-line {
    position: absolute;
    right: 25px;
    top: 0;
    width: 4px;
    height: 100%;
    background: #e5e7eb;
    border-radius: 20px;
}

.timeline-fill {
    position: absolute;
    right: 25px;
    top: 0;
    width: 4px;
    height: 0%;
    background: linear-gradient(
        180deg,
        var(--primary-color),
        var(--accent-color)
    );
    border-radius: 20px;
    box-shadow: 0 0 15px rgba(124, 58, 237, 0.6);
    z-index: 2;
    transition: height 0.3s ease;
}

.timeline-point {
    position: absolute;
    right: 10px;
    width: 30px;
    height: 30px;
    background: white;
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    z-index: 3;
    box-shadow: 0 0 12px rgba(124, 58, 237, 0.4);
    transition: all 0.3s ease;
}

.timeline-point.active {
    background: var(--primary-color);
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.8);
    transform: scale(1.3);
}

/* ===== Step Cards ===== */
.step-card {
    background: white;
    border-radius: 12px;
    padding: 25px 25px 25px 40px;
    margin-bottom: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-right: 5px solid var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.step-card:hover {
    transform: translateX(-10px);
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.2);
}

.step-card.active {
    background: linear-gradient(
        135deg,
        rgba(124, 58, 237, 0.05),
        rgba(6, 182, 212, 0.05)
    );
    border-right-color: var(--accent-color);
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.3);
}

.step-number {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(
        135deg,
        var(--primary-color),
        var(--accent-color)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    line-height: 1;
}

.step-title {
    font-size: 1rem;
    color: var(--text-dark);
    line-height: 1.6;
    font-weight: 500;
}

/* ===== Phone Styles ===== */
.phone-preview {
    flex: 1;
    position: sticky;
    top: 20px;
    max-width: 320px;
}

.phone-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 9/16;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 28px;
    background: #1a1a2e;
    border-radius: 0 0 20px 20px;
    z-index: 10;
}

.phone-screen-window {
    position: relative;
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 35px;
    overflow: hidden;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.1);
}

.phone-screen-track {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    will-change: transform;
}

.phone-screen {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: linear-gradient(135deg, #f0f4f8, #e8f0f8);
    position: relative;
}

.phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
}
